Searched refs:barwidth (Results 1 – 3 of 3) sorted by relevance
21 int barwidth; member36 if (prog->labelwidth + prog->barwidth > 80) { in ext2fs_progress_display()41 for (i=0; i < prog->barwidth; i++) in ext2fs_progress_display()43 for (i=0; i < prog->barwidth; i++) in ext2fs_progress_display()54 level = prog->barwidth * current / prog->maxdone; in ext2fs_progress_update()55 old_level = prog->barwidth * prog->current / prog->maxdone; in ext2fs_progress_update()79 int labelwidth, int barwidth, in ext2fs_progress_init() argument97 prog->barwidth = barwidth; in ext2fs_progress_init()
180 int labelwidth, int barwidth,
51 int barwidth; in tool_progress_cb() local87 barwidth = bar->width - 7; in tool_progress_cb()88 num = (int) (((double)barwidth) * frac); in tool_progress_cb()93 snprintf(format, sizeof(format), "\r%%-%ds %%5.1f%%%%", barwidth); in tool_progress_cb()