sm 555 lib/widget/wtools.c status_msg_t *sm; sm 557 lib/widget/wtools.c sm = g_try_new (status_msg_t, 1); sm 558 lib/widget/wtools.c status_msg_init (sm, title, delay, init_cb, update_cb, deinit_cb); sm 560 lib/widget/wtools.c return sm; sm 571 lib/widget/wtools.c status_msg_destroy (status_msg_t *sm) sm 573 lib/widget/wtools.c status_msg_deinit (sm); sm 574 lib/widget/wtools.c g_free (sm); sm 590 lib/widget/wtools.c status_msg_init (status_msg_t *sm, const char *title, double delay, status_msg_cb init_cb, sm 600 lib/widget/wtools.c sm->dlg = dlg_create (TRUE, 0, 0, 7, MIN (MAX (40, COLS / 2), COLS), WPOS_CENTER, FALSE, sm 602 lib/widget/wtools.c sm->start = start; sm 603 lib/widget/wtools.c sm->delay = (gint64) (delay * G_USEC_PER_SEC); sm 604 lib/widget/wtools.c sm->block = FALSE; sm 606 lib/widget/wtools.c sm->init = init_cb; sm 607 lib/widget/wtools.c sm->update = update_cb; sm 608 lib/widget/wtools.c sm->deinit = deinit_cb; sm 610 lib/widget/wtools.c if (sm->init != NULL) sm 611 lib/widget/wtools.c sm->init (sm); sm 613 lib/widget/wtools.c if (mc_time_elapsed (&start, sm->delay)) sm 616 lib/widget/wtools.c dlg_init (sm->dlg); sm 628 lib/widget/wtools.c status_msg_deinit (status_msg_t *sm) sm 630 lib/widget/wtools.c if (sm == NULL) sm 633 lib/widget/wtools.c if (sm->deinit != NULL) sm 634 lib/widget/wtools.c sm->deinit (sm); sm 637 lib/widget/wtools.c dlg_run_done (sm->dlg); sm 638 lib/widget/wtools.c widget_destroy (WIDGET (sm->dlg)); sm 651 lib/widget/wtools.c status_msg_common_update (status_msg_t *sm) sm 656 lib/widget/wtools.c if (sm == NULL) sm 660 lib/widget/wtools.c if (sm->dlg == NULL) sm 663 lib/widget/wtools.c if (widget_get_state (WIDGET (sm->dlg), WST_CONSTRUCT)) sm 668 lib/widget/wtools.c gint64 start = sm->start; sm 670 lib/widget/wtools.c if (mc_time_elapsed (&start, sm->delay)) sm 671 lib/widget/wtools.c dlg_init (sm->dlg); sm 677 lib/widget/wtools.c c = tty_get_event (&event, FALSE, sm->block); sm 683 lib/widget/wtools.c sm->dlg->ret_value = B_ENTER; sm 684 lib/widget/wtools.c dlg_process_event (sm->dlg, c, &event); sm 686 lib/widget/wtools.c return sm->dlg->ret_value; sm 697 lib/widget/wtools.c simple_status_msg_init_cb (status_msg_t *sm) sm 699 lib/widget/wtools.c simple_status_msg_t *ssm = SIMPLE_STATUS_MSG (sm); sm 700 lib/widget/wtools.c Widget *wd = WIDGET (sm->dlg); sm 701 lib/widget/wtools.c WGroup *wg = GROUP (sm->dlg); sm 22 lib/widget/wtools.h typedef void (*status_msg_cb) (status_msg_t * sm); sm 23 lib/widget/wtools.h typedef int (*status_msg_update_cb) (status_msg_t * sm); sm 90 lib/widget/wtools.h void status_msg_destroy (status_msg_t * sm); sm 91 lib/widget/wtools.h void status_msg_init (status_msg_t * sm, const char *title, double delay, status_msg_cb init_cb, sm 93 lib/widget/wtools.h void status_msg_deinit (status_msg_t * sm); sm 94 lib/widget/wtools.h int status_msg_common_update (status_msg_t * sm); sm 96 lib/widget/wtools.h void simple_status_msg_init_cb (status_msg_t * sm); sm 158 src/editor/edit.c edit_load_status_update_cb (status_msg_t *sm) sm 160 src/editor/edit.c simple_status_msg_t *ssm = SIMPLE_STATUS_MSG (sm); sm 161 src/editor/edit.c edit_buffer_read_file_status_msg_t *rsm = (edit_buffer_read_file_status_msg_t *) sm; sm 162 src/editor/edit.c Widget *wd = WIDGET (sm->dlg); sm 184 src/editor/edit.c return status_msg_common_update (sm); sm 696 src/editor/editbuffer.c edit_buffer_read_file_status_msg_t *sm, gboolean *aborted) sm 702 src/editor/editbuffer.c status_msg_t *s = STATUS_MSG (sm); sm 752 src/editor/editbuffer.c if (sm->buf == NULL) sm 753 src/editor/editbuffer.c sm->buf = buf; sm 755 src/editor/editbuffer.c sm->loaded = ret; sm 785 src/editor/editbuffer.c sm->loaded = ret; sm 64 src/editor/editbuffer.h edit_buffer_read_file_status_msg_t * sm, gboolean * aborted); sm 733 src/editor/editsearch.c status_msg_t *sm = STATUS_MSG (user_data); sm 735 src/editor/editsearch.c ((edit_search_status_msg_t *) sm)->offset = (off_t) char_offset; sm 737 src/editor/editsearch.c return (sm->update (sm) == B_CANCEL ? MC_SEARCH_CB_ABORT : MC_SEARCH_CB_OK); sm 743 src/editor/editsearch.c edit_search_status_update_cb (status_msg_t *sm) sm 745 src/editor/editsearch.c simple_status_msg_t *ssm = SIMPLE_STATUS_MSG (sm); sm 746 src/editor/editsearch.c edit_search_status_msg_t *esm = (edit_search_status_msg_t *) sm; sm 747 src/editor/editsearch.c Widget *wd = WIDGET (sm->dlg); sm 769 src/editor/editsearch.c return status_msg_common_update (sm); sm 29 src/editor/editsearch.h int edit_search_status_update_cb (status_msg_t * sm); sm 202 src/filemanager/file.c status_msg_t *sm = STATUS_MSG (dsm); sm 203 src/filemanager/file.c Widget *wd = WIDGET (sm->dlg); sm 641 src/filemanager/file.c status_msg_t *sm = STATUS_MSG (dsm); sm 678 src/filemanager/file.c if (ret == FILE_CONT && sm->update != NULL && mc_time_elapsed (×tamp, delay)) sm 683 src/filemanager/file.c ret = sm->update (sm); sm 705 src/filemanager/file.c panel_compute_totals (const WPanel *panel, dirsize_status_msg_t *sm, size_t *ret_count, sm 728 src/filemanager/file.c status = do_compute_dir_size (p, sm, &dir_count, ret_count, ret_total, stat_func); sm 3367 src/filemanager/file.c dirsize_status_init_cb (status_msg_t *sm) sm 3369 src/filemanager/file.c dirsize_status_msg_t *dsm = (dirsize_status_msg_t *) sm; sm 3370 src/filemanager/file.c WGroup *gd = GROUP (sm->dlg); sm 3371 src/filemanager/file.c Widget *wd = WIDGET (sm->dlg); sm 3412 src/filemanager/file.c dirsize_status_update_cb (status_msg_t *sm) sm 3414 src/filemanager/file.c dirsize_status_msg_t *dsm = (dirsize_status_msg_t *) sm; sm 3415 src/filemanager/file.c Widget *wd = WIDGET (sm->dlg); sm 3436 src/filemanager/file.c switch (status_msg_common_update (sm)) sm 3451 src/filemanager/file.c dirsize_status_deinit_cb (status_msg_t *sm) sm 3453 src/filemanager/file.c (void) sm; sm 3468 src/filemanager/file.c compute_dir_size (const vfs_path_t *dirname_vpath, dirsize_status_msg_t *sm, sm 3472 src/filemanager/file.c return do_compute_dir_size (dirname_vpath, sm, ret_dir_count, ret_marked_count, ret_total, sm 61 src/filemanager/file.h FileProgressStatus compute_dir_size (const vfs_path_t * dirname_vpath, dirsize_status_msg_t * sm, sm 65 src/filemanager/file.h void dirsize_status_init_cb (status_msg_t * sm); sm 66 src/filemanager/file.h int dirsize_status_update_cb (status_msg_t * sm); sm 67 src/filemanager/file.h void dirsize_status_deinit_cb (status_msg_t * sm); sm 255 src/vfs/tar/tar.c GArray *sm = (GArray *) inode->user_data; sm 258 src/vfs/tar/tar.c for (i = 0; i < sm->len; i++) sm 262 src/vfs/tar/tar.c sp = &g_array_index (sm, struct sp_array, i); sm 1133 src/vfs/tar/tar.c const GArray *sm = (const GArray *) fh->ino->user_data; sm 1139 src/vfs/tar/tar.c chunk_idx = tar_get_sparse_chunk_idx (sm, fh->pos); sm 1143 src/vfs/tar/tar.c chunk = &g_array_index (sm, struct sp_array, chunk_idx - 1); sm 1159 src/vfs/tar/tar.c chunk = &g_array_index (sm, struct sp_array, -chunk_idx - 1); sm 1177 src/vfs/tar/tar.c const GArray *sm = (const GArray *) fh->ino->user_data; sm 1182 src/vfs/tar/tar.c chunk_idx = tar_get_sparse_chunk_idx (sm, offset); sm 1187 src/vfs/tar/tar.c chunk = &g_array_index (sm, struct sp_array, chunk_idx - 1); sm 1205 src/vfs/tar/tar.c chunk = &g_array_index (sm, struct sp_array, sm->len - 1); sm 1211 src/vfs/tar/tar.c chunk = &g_array_index (sm, struct sp_array, -chunk_idx - 1); sm 84 src/viewer/search.c mcview_search_status_update_cb (status_msg_t *sm) sm 86 src/viewer/search.c simple_status_msg_t *ssm = SIMPLE_STATUS_MSG (sm); sm 87 src/viewer/search.c mcview_search_status_msg_t *vsm = (mcview_search_status_msg_t *) sm; sm 88 src/viewer/search.c Widget *wd = WIDGET (sm->dlg); sm 114 src/viewer/search.c return status_msg_common_update (sm); sm 313 src/viewer/search.c status_msg_t *sm = STATUS_MSG (user_data); sm 340 src/viewer/search.c if (do_update && sm->update (sm) == B_CANCEL)