tctx 817 src/filemanager/file.c progress_update_one (file_op_total_context_t *tctx, file_op_context_t *ctx, off_t add) tctx 822 src/filemanager/file.c tctx->progress_count++; tctx 823 src/filemanager/file.c tctx->progress_bytes += (uintmax_t) add; tctx 834 src/filemanager/file.c file_progress_show_count (ctx, tctx->progress_count, ctx->progress_count); tctx 835 src/filemanager/file.c file_progress_show_total (tctx, ctx, tctx->progress_bytes, TRUE); tctx 1134 src/filemanager/file.c copy_file_file_display_progress (file_op_total_context_t *tctx, file_op_context_t *ctx, tctx 1160 src/filemanager/file.c remain_bytes = ctx->progress_bytes - tctx->copied_bytes; tctx 1165 src/filemanager/file.c total_secs = (tv_current - tctx->transfer_start) / G_USEC_PER_SEC; tctx 1168 src/filemanager/file.c tctx->bps = tctx->copied_bytes / total_secs; tctx 1169 src/filemanager/file.c tctx->eta_secs = (tctx->bps != 0) ? remain_bytes / tctx->bps : 0; tctx 1173 src/filemanager/file.c tctx->bps_count++; tctx 1174 src/filemanager/file.c tctx->bps = (tctx->bps * (tctx->bps_count - 1) + ctx->bps) / tctx->bps_count; tctx 1175 src/filemanager/file.c tctx->eta_secs = (tctx->bps != 0) ? remain_bytes / tctx->bps : 0; tctx 1214 src/filemanager/file.c move_file_file (const WPanel *panel, file_op_total_context_t *tctx, file_op_context_t *ctx, tctx 1298 src/filemanager/file.c return_status = progress_update_one (tctx, ctx, src_stat.st_size); tctx 1339 src/filemanager/file.c old_ask_overwrite = tctx->ask_overwrite; tctx 1340 src/filemanager/file.c tctx->ask_overwrite = FALSE; tctx 1341 src/filemanager/file.c return_status = copy_file_file (tctx, ctx, s, d); tctx 1342 src/filemanager/file.c tctx->ask_overwrite = old_ask_overwrite; tctx 1367 src/filemanager/file.c return_status = progress_update_one (tctx, ctx, src_stat.st_size); tctx 1383 src/filemanager/file.c erase_file (file_op_total_context_t *tctx, file_op_context_t *ctx, const vfs_path_t *vpath) tctx 1389 src/filemanager/file.c if (file_progress_show_deleting (ctx, vpath, &tctx->progress_count)) tctx 1391 src/filemanager/file.c file_progress_show_count (ctx, tctx->progress_count, ctx->progress_count); tctx 1398 src/filemanager/file.c if (tctx->progress_count != 0 && mc_lstat (vpath, &buf) != 0) tctx 1407 src/filemanager/file.c if (tctx->progress_count == 0) tctx 1444 src/filemanager/file.c recursive_erase (file_op_total_context_t *tctx, file_op_context_t *ctx, const vfs_path_t *vpath) tctx 1470 src/filemanager/file.c return_status = recursive_erase (tctx, ctx, tmp_vpath); tctx 1472 src/filemanager/file.c return_status = erase_file (tctx, ctx, tmp_vpath); tctx 1481 src/filemanager/file.c file_progress_show_count (ctx, tctx->progress_count, ctx->progress_count); tctx 1548 src/filemanager/file.c erase_dir_after_copy (file_op_total_context_t *tctx, file_op_context_t *ctx, tctx 1554 src/filemanager/file.c tctx->progress_count = tctx->prev_progress_count; tctx 1563 src/filemanager/file.c *status = erase_dir_iff_empty (ctx, lp->src_vpath, tctx->progress_count); tctx 1565 src/filemanager/file.c *status = erase_file (tctx, ctx, lp->src_vpath); tctx 1571 src/filemanager/file.c tctx->prev_progress_count = tctx->progress_count; tctx 1574 src/filemanager/file.c erase_dir_iff_empty (ctx, vpath, tctx->progress_count); tctx 1593 src/filemanager/file.c do_move_dir_dir (const WPanel *panel, file_op_total_context_t *tctx, file_op_context_t *ctx, tctx 1656 src/filemanager/file.c return_status = copy_dir_dir (tctx, ctx, s, d, FALSE, TRUE, TRUE, NULL); tctx 1711 src/filemanager/file.c return_status = copy_dir_dir (tctx, ctx, s, d, FALSE, FALSE, TRUE, NULL); tctx 1732 src/filemanager/file.c erase_dir_after_copy (tctx, ctx, src_vpath, &return_status); tctx 2015 src/filemanager/file.c operate_single_file (const WPanel *panel, file_op_total_context_t *tctx, file_op_context_t *ctx, tctx 2044 src/filemanager/file.c value = erase_file (tctx, ctx, src_vpath); tctx 2046 src/filemanager/file.c value = erase_dir (tctx, ctx, src_vpath); tctx 2082 src/filemanager/file.c value = copy_file_file (tctx, ctx, src, dest); tctx 2084 src/filemanager/file.c value = copy_dir_dir (tctx, ctx, src, dest, TRUE, FALSE, FALSE, NULL); tctx 2096 src/filemanager/file.c value = move_file_file (panel, tctx, ctx, src, dest); tctx 2098 src/filemanager/file.c value = do_move_dir_dir (panel, tctx, ctx, src, dest); tctx 2118 src/filemanager/file.c operate_one_file (const WPanel *panel, file_op_total_context_t *tctx, file_op_context_t *ctx, tctx 2135 src/filemanager/file.c value = erase_file (tctx, ctx, src_vpath); tctx 2137 src/filemanager/file.c value = erase_dir (tctx, ctx, src_vpath); tctx 2158 src/filemanager/file.c value = copy_file_file (tctx, ctx, src, dest); tctx 2160 src/filemanager/file.c value = copy_dir_dir (tctx, ctx, src, dest, TRUE, FALSE, FALSE, NULL); tctx 2166 src/filemanager/file.c value = move_file_file (NULL, tctx, ctx, src, dest); tctx 2168 src/filemanager/file.c value = do_move_dir_dir (NULL, tctx, ctx, src, dest); tctx 2263 src/filemanager/file.c copy_file_file (file_op_total_context_t *tctx, file_op_context_t *ctx, tctx 2377 src/filemanager/file.c if (tctx->ask_overwrite) tctx 2665 src/filemanager/file.c if (tctx->bps == 0 || (file_size / tctx->bps) > FILEOP_UPDATE_INTERVAL) tctx 2755 src/filemanager/file.c tctx->copied_bytes = tctx->progress_bytes + file_part + ctx->do_reget; tctx 2762 src/filemanager/file.c copy_file_file_display_progress (tctx, ctx, tv_current, tv_transfer_start, tctx 2772 src/filemanager/file.c force_update = (tv_current - tctx->transfer_start) > FILEOP_UPDATE_INTERVAL_US; tctx 2776 src/filemanager/file.c file_progress_show_count (ctx, tctx->progress_count, ctx->progress_count); tctx 2777 src/filemanager/file.c file_progress_show_total (tctx, ctx, tctx->copied_bytes, force_update); tctx 2949 src/filemanager/file.c return_status = progress_update_one (tctx, ctx, file_size); tctx 2966 src/filemanager/file.c copy_dir_dir (file_op_total_context_t *tctx, file_op_context_t *ctx, const char *s, const char *d, tctx 3212 src/filemanager/file.c copy_dir_dir (tctx, ctx, path, mdpath, FALSE, FALSE, do_delete, parent_dirs); tctx 3220 src/filemanager/file.c return_status = copy_file_file (tctx, ctx, path, dest_file); tctx 3240 src/filemanager/file.c return_status = erase_dir_iff_empty (ctx, tmp_vpath, tctx->progress_count); tctx 3242 src/filemanager/file.c return_status = erase_file (tctx, ctx, tmp_vpath); tctx 3283 src/filemanager/file.c move_dir_dir (file_op_total_context_t *tctx, file_op_context_t *ctx, const char *s, const char *d) tctx 3285 src/filemanager/file.c return do_move_dir_dir (NULL, tctx, ctx, s, d); tctx 3294 src/filemanager/file.c erase_dir (file_op_total_context_t *tctx, file_op_context_t *ctx, const vfs_path_t *vpath) tctx 3297 src/filemanager/file.c file_progress_show_count (ctx, tctx->progress_count, ctx->progress_count); tctx 3316 src/filemanager/file.c error = recursive_erase (tctx, ctx, vpath); tctx 3468 src/filemanager/file.c file_op_total_context_t *tctx; tctx 3514 src/filemanager/file.c tctx = file_op_total_context_new (); tctx 3515 src/filemanager/file.c tctx->transfer_start = g_get_monotonic_time (); tctx 3592 src/filemanager/file.c value = operate_single_file (panel, tctx, ctx, source, &src_stat, dest, dialog_type); tctx 3636 src/filemanager/file.c value = operate_one_file (panel, tctx, ctx, source2, &src_stat, dest); tctx 3646 src/filemanager/file.c file_progress_show_count (ctx, tctx->progress_count, ctx->progress_count); tctx 3647 src/filemanager/file.c file_progress_show_total (tctx, ctx, tctx->progress_bytes, FALSE); tctx 3695 src/filemanager/file.c file_op_total_context_destroy (tctx); tctx 44 src/filemanager/file.h FileProgressStatus copy_file_file (file_op_total_context_t * tctx, file_op_context_t * ctx, tctx 46 src/filemanager/file.h FileProgressStatus move_dir_dir (file_op_total_context_t * tctx, file_op_context_t * ctx, tctx 48 src/filemanager/file.h FileProgressStatus copy_dir_dir (file_op_total_context_t * tctx, file_op_context_t * ctx, tctx 52 src/filemanager/file.h FileProgressStatus erase_dir (file_op_total_context_t * tctx, file_op_context_t * ctx, tctx 1054 src/filemanager/filegui.c file_progress_show_total (file_op_total_context_t *tctx, file_op_context_t *ctx, tctx 1078 src/filemanager/filegui.c if (!show_summary && tctx->bps == 0) tctx 1087 src/filemanager/filegui.c file_frmt_time (buffer2, (tv_current - tctx->transfer_start) / G_USEC_PER_SEC); tctx 1091 src/filemanager/filegui.c file_eta_prepare_for_show (buffer3, tctx->eta_secs, TRUE); tctx 1092 src/filemanager/filegui.c if (tctx->bps == 0) tctx 1096 src/filemanager/filegui.c file_bps_prepare_for_show (buffer4, (long) tctx->bps); tctx 1102 src/filemanager/filegui.c if (tctx->bps == 0) tctx 1106 src/filemanager/filegui.c file_bps_prepare_for_show (buffer4, (long) tctx->bps); tctx 1114 src/filemanager/filegui.c size_trunc_len (buffer2, 5, tctx->copied_bytes, 0, panels_options.kilobyte_si); tctx 33 src/filemanager/filegui.h void file_progress_show_total (file_op_total_context_t * tctx, file_op_context_t * ctx, tctx 113 src/filemanager/fileopctx.c file_op_total_context_t *tctx; tctx 114 src/filemanager/fileopctx.c tctx = g_new0 (file_op_total_context_t, 1); tctx 115 src/filemanager/fileopctx.c tctx->ask_overwrite = TRUE; tctx 116 src/filemanager/fileopctx.c return tctx; tctx 122 src/filemanager/fileopctx.c file_op_total_context_destroy (file_op_total_context_t *tctx) tctx 124 src/filemanager/fileopctx.c g_free (tctx); tctx 183 src/filemanager/fileopctx.h void file_op_total_context_destroy (file_op_total_context_t * tctx); tctx 726 src/filemanager/tree.c file_op_total_context_t *tctx; tctx 729 src/filemanager/tree.c tctx = file_op_total_context_new (); tctx 731 src/filemanager/tree.c tctx->ask_overwrite = FALSE; tctx 732 src/filemanager/tree.c copy_dir_dir (tctx, ctx, vfs_path_as_str (tree->selected_ptr->name), dest, TRUE, FALSE, tctx 734 src/filemanager/tree.c file_op_total_context_destroy (tctx); tctx 773 src/filemanager/tree.c file_op_total_context_t *tctx; tctx 776 src/filemanager/tree.c tctx = file_op_total_context_new (); tctx 778 src/filemanager/tree.c move_dir_dir (tctx, ctx, vfs_path_as_str (tree->selected_ptr->name), dest); tctx 779 src/filemanager/tree.c file_op_total_context_destroy (tctx); tctx 814 src/filemanager/tree.c file_op_total_context_t *tctx; tctx 833 src/filemanager/tree.c tctx = file_op_total_context_new (); tctx 836 src/filemanager/tree.c if (erase_dir (tctx, ctx, tree->selected_ptr->name) == FILE_CONT) tctx 838 src/filemanager/tree.c file_op_total_context_destroy (tctx); tctx 58 src/util.c file_op_total_context_t *tctx; tctx 64 src/util.c tctx = file_op_total_context_new (); tctx 66 src/util.c copy_file_file (tctx, ctx, vfs_path_as_str (default_file_vpath), tctx 68 src/util.c file_op_total_context_destroy (tctx);