Home
last modified time | relevance | path

Searched refs:perc (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/bsddialog/examples_utility/
H A Dmixedgauge.sh12 perc=0
14 while [ $perc -le 100 ]
29 "Label X" $perc
31 perc=`expr $perc + 20`
/freebsd/contrib/bsddialog/lib/
H A Dbarbox.c74 int perc; /* barlen = (w * perc) / 100 */ member
76 int label; /* rangebox and pause perc!=label */
85 barlen = b->perc > 0 ? (b->perc * b->w) / 100 : 0; in draw_bar()
119 int cols, unsigned int perc, int fd, const char *sep, const char *end) in bsddialog_gauge() argument
145 perc = MIN(perc, 100); in bsddialog_gauge()
161 b.perc = b.label = perc; in bsddialog_gauge()
326 int perc, retval, *minipercs; bsddialog_progressview() local
[all...]
H A Dbsddialog.h208 int cols, unsigned int perc, int fd, const char *sep, const char *end);
/freebsd/contrib/dialog/samples/
H A Ddialog.py252 def gauge_start(self, perc=0, text='', height=8, width=54, title=''): argument
265 '--gauge "%s" %d %d %d' % (text, height, width, perc)
271 def gauge_iterate(self, perc, text=''): argument
278 text = 'XXX\n%d\n%s\nXXX\n' % (perc, text)
280 text = '%d\n' % perc
/freebsd/usr.sbin/bsdinstall/distfetch/
H A Ddistfetch.c115 int perc; in fetch_files() local
216 perc = (fsize * 100) / ustat.size; in fetch_files()
217 miniperc[i] = perc; in fetch_files()
/freebsd/contrib/bsddialog/utility/
H A Dutil_builders.c81 unsigned int perc; in gauge_builder()
83 perc = 0; in gauge_builder()
85 perc = (u_int)strtoul(argv[0], NULL, 10); in gauge_builder()
86 perc = perc > 100 ? 100 : perc; in gauge_builder()
91 output = bsddialog_gauge(conf, text, rows, cols, perc, STDIN_FILENO, in gauge_builder()
80 unsigned int perc; gauge_builder() local
/freebsd/sys/contrib/openzfs/cmd/
H A Darc_summary376 perc = 100 * v1/v2
380 result = '{0:0.1f} %'.format(perc)
/freebsd/sbin/camcontrol/
H A Dcamcontrol.c6715 u_int val, perc; in sanitize_wait_ata()
6785 perc = 10000 * val; in sanitize_wait_ata()
6788 (perc / (0x10000 * 100)), in sanitize_wait_ata()
6789 ((perc / 0x10000) % 100), in sanitize_wait_ata()
6805 u_int val, perc; in sanitize_wait_scsi()
6862 perc = 10000 * val; in sanitize_wait_scsi()
6865 (perc / (0x10000 * 100)), in sanitize_wait_scsi()
6866 ((perc / 0x10000) % 100), in sanitize_wait_scsi()
6713 u_int val, perc; sanitize_wait_ata() local
6803 u_int val, perc; sanitize_wait_scsi() local
/freebsd/contrib/bsddialog/
H A DCHANGELOG155 * change: check/set bsddialog_gauge() perc max 100.