Home
last modified time | relevance | path

Searched refs:barwidth (Results 1 – 4 of 4) sorted by relevance

/external/e2fsprogs/resize/
Dsim_progress.c22 int barwidth; member
37 if (prog->labelwidth + prog->barwidth > 80) { in ext2fs_progress_display()
42 for (i=0; i < prog->barwidth; i++) in ext2fs_progress_display()
44 for (i=0; i < prog->barwidth; i++) in ext2fs_progress_display()
55 level = prog->barwidth * current / prog->maxdone; in ext2fs_progress_update()
56 old_level = prog->barwidth * prog->current / prog->maxdone; in ext2fs_progress_update()
80 int labelwidth, int barwidth, in ext2fs_progress_init() argument
98 prog->barwidth = barwidth; in ext2fs_progress_init()
Dresize2fs.h183 int labelwidth, int barwidth,
/external/curl/src/
Dtool_cb_prg.c183 int barwidth; in tool_progress_cb() local
191 barwidth = bar->width - 7; in tool_progress_cb()
192 num = (int) (((double)barwidth) * frac); in tool_progress_cb()
197 msnprintf(format, sizeof(format), "\r%%-%ds %%5.1f%%%%", barwidth); in tool_progress_cb()
/external/mesa3d/src/freedreno/perfcntrs/
Dfdperf.c577 int barwidth, n; in redraw_counter_value_cycles() local
583 barwidth = (int)(val * valwidth); in redraw_counter_value_cycles()
589 barwidth = MIN2(barwidth, valwidth - 1); in redraw_counter_value_cycles()
593 waddnstr(win, str, barwidth); in redraw_counter_value_cycles()
594 if (barwidth > n) { in redraw_counter_value_cycles()
595 whline(win, ' ', barwidth - n); in redraw_counter_value_cycles()
596 wmove(win, getcury(win), x + barwidth); in redraw_counter_value_cycles()
599 if (barwidth < n) in redraw_counter_value_cycles()
600 waddstr(win, str + barwidth); in redraw_counter_value_cycles()