Lines Matching full:progress
2 * progress.c - Numeric progress meter
38 struct ext2fs_numeric_progress_struct * progress, in ext2fs_numeric_progress_init() argument
43 * progress-related messages, whereas the SKIP_PROGRESS in ext2fs_numeric_progress_init()
55 memset(progress, 0, sizeof(*progress)); in ext2fs_numeric_progress_init()
57 progress->skip_progress++; in ext2fs_numeric_progress_init()
63 progress->max = max; in ext2fs_numeric_progress_init()
64 progress->log_max = int_log10(max); in ext2fs_numeric_progress_init()
74 struct ext2fs_numeric_progress_struct * progress, in ext2fs_numeric_progress_update() argument
81 if (progress->skip_progress) in ext2fs_numeric_progress_update()
88 printf("%*llu/%*llu", progress->log_max, (unsigned long long) val, in ext2fs_numeric_progress_update()
89 progress->log_max, (unsigned long long) progress->max); in ext2fs_numeric_progress_update()
90 fprintf(stdout, "%.*s", (2*progress->log_max)+1, backspaces); in ext2fs_numeric_progress_update()
94 struct ext2fs_numeric_progress_struct * progress, in ext2fs_numeric_progress_close() argument
99 fprintf(stdout, "%.*s", (2*progress->log_max)+1, spaces); in ext2fs_numeric_progress_close()
100 fprintf(stdout, "%.*s", (2*progress->log_max)+1, backspaces); in ext2fs_numeric_progress_close()