Home
last modified time | relevance | path

Searched refs:barwidth (Results 1 – 3 of 3) 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.c168 int barwidth; in tool_progress_cb() local
176 barwidth = bar->width - 7; in tool_progress_cb()
177 num = (int) (((double)barwidth) * frac); in tool_progress_cb()
182 msnprintf(format, sizeof(format), "\r%%-%ds %%5.1f%%%%", barwidth); in tool_progress_cb()