/freebsd/contrib/dialog/samples/ |
H A D | gauge | 6 PCT=10 8 while test $PCT != 100 12 $PCT 14 message ($PCT percent) 17 PCT=`expr $PCT + 10`
|
H A D | gauge0 | 6 PCT=10 9 while test $PCT != 110 13 $PCT 15 message ($PCT percent) 18 PCT=`expr $PCT + 10`
|
H A D | gauge0-input-fd | 8 PCT=10 11 while test $PCT != 110 15 $PCT 17 message ($PCT percent) 20 PCT=`expr $PCT + 10`
|
/freebsd/tools/test/stress2/tools/ |
H A D | swap.c | 51 fprintf(stderr, "Usage: %s [-d delay] [-p pct] [-t runtime] " in usage() 174 int ch, i, pct, verbose; in main() local 183 pct = 80; in main() 185 pct = 101; in main() 193 if (sscanf(optarg, "%d", &pct) != 1) in main() 208 if (s == 0 && pct > 80) in main() 209 errx(1, "pct range with no swap is 0-80"); in main() 210 size = u / 100 * pct; in main() 212 fprintf(stderr, "pct = %d, sleep = %d usec, size = %lumb\n", in main() 213 pct, utime, size / 1024 / 1024); in main()
|
/freebsd/tools/test/stress2/testcases/swap/ |
H A D | swap.c | 53 int mi, mx, pct; in setup() local 60 pct = 0; in setup() 84 pct = random_int(mi, mx); in setup() 87 pct = random_int(30, 50); in setup() 93 size = mem / 100 * pct; in setup() 95 size = mem / 100 * pct; in setup() 98 pct = size * 100 / mem; in setup() 114 getpid(), pct, (int)(size / 1024 / 1024 * in setup()
|
/freebsd/sys/contrib/device-tree/Bindings/arc/ |
H A D | pct.txt | 4 CPU and cache events like cache misses and hits. Like conventional PCT there 8 * The ARC 700 PCT does not support interrupts; although HW events may be 14 "snps,arc700-pct" 19 compatible = "snps,arc700-pct";
|
H A D | archs-pct.txt | 4 CPU and cache events like cache misses and hits. Like conventional PCT there 11 "snps,archs-pct" 16 compatible = "snps,archs-pct";
|
H A D | snps,archs-pct.yaml | 4 $id: http://devicetree.org/schemas/arc/snps,archs-pct.yaml# 14 CPU and cache events like cache misses and hits. Like conventional PCT there 20 const: snps,archs-pct
|
/freebsd/contrib/dialog/ |
H A D | demo.pl | 195 my $pct = 0; 200 $midcols * 3, $pct 202 while ( $pct < 100 ) { 203 $pct++; 206 &rhs_update_gauge($pct); 208 $pct = 99; 209 &rhs_update_gauge_and_message( "This will go faster", $pct ); 210 while ( $pct > 0 ) { 211 $pct--; 214 &rhs_update_gauge($pct);
|
/freebsd/tools/test/stress2/misc/ |
H A D | sort2.sh | 38 pct=-1 43 [ $p -gt $pct ] && pct=$p 46 echo "Max swap used is ${pct}%"
|
H A D | flock.sh | 155 int i, n, pct; 177 pct = abs((int)share[i + 1] - n) * 100 / n; 178 if (pct > 1) { 181 pct = abs((int)share[i + 1] - n) * 100 / n;
|
H A D | perf.sh | 98 pct=$(((t2 - base) * 100 / base)) 100 $t2 "$i" $pct 101 [ $pct -gt 10 ] && s=111
|
/freebsd/tools/test/stress2/testcases/mkdir/ |
H A D | mkdir.c | 48 int pct; in setup() local 54 pct = 90; in setup() 56 pct = random_int(1, 90); in setup() 57 size = size / 100 * pct + 1; in setup()
|
/freebsd/tools/test/stress2/testcases/symlink/ |
H A D | symlink.c | 50 int pct; in setup() local 57 pct = 90; in setup() 59 pct = random_int(1, 90); in setup() 60 size = size / 100 * pct + 1; in setup()
|
/freebsd/tools/test/stress2/testcases/creat/ |
H A D | creat.c | 46 int pct; in setup() local 58 pct = 90; in setup() 60 pct = random_int(1, 90); in setup() 61 size = size / 100 * pct + 1; in setup()
|
/freebsd/tools/test/stress2/testcases/link/ |
H A D | link.c | 51 int pct; in setup() local 59 pct = 90; in setup() 61 pct = random_int(1, 90); in setup() 62 size = size / 100 * pct + 1; in setup()
|
/freebsd/lib/libdpv/ |
H A D | dprompt.c | 78 struct dpv_file_node *curfile, int pct); 241 pct_lsize = (pbar_size - 4) / 2; /* -4 == printf("%-3s%%", pct) */ in dprompt_init() 375 struct dpv_file_node *curfile, int pct) in dprompt_add_files() argument 417 if (pbar_size >= 0 && pct >= 0 && curfile != NULL && in dprompt_add_files() 420 pct, pct_rsize, ""); in dprompt_add_files() 423 pwidth = pct * pbar_size / 100; in dprompt_add_files() 425 if ((pct * pbar_size % 100) > 50) in dprompt_add_files() 495 if (fp == curfile && pct < 100) { in dprompt_add_files() 536 dstate = pct < 100 ? in dprompt_add_files() 672 struct dpv_file_node *curfile, int pct) in dprompt_recreate() argument [all …]
|
H A D | dpv.c | 123 int pct; in dpv() local 553 pct = 0; in dpv() 560 pct = 0 - increment; in dpv() 602 pct += increment; in dpv() 607 pct = action(curfile, output_out); in dpv() 610 keep_going = (pct < 100); in dpv() 631 )) || pct == 100 in dpv() 634 overall = (100 * nthfile - 100 + pct) / in dpv() 636 if (((100 * nthfile - 100 + pct) * 10 / in dpv() 640 dprompt_recreate(list_head, curfile, pct); in dpv()
|
/freebsd/tools/test/stress2/testcases/rw/ |
H A D | rw.c | 53 int pct; in setup() local 59 pct = 90; in setup() 61 pct = random_int(1, 90); in setup() 62 size = size / 100 * pct + 1; in setup()
|
/freebsd/sys/contrib/device-tree/src/arc/ |
H A D | nsim_700.dts | 55 arcpct0: pct { 56 compatible = "snps,arc700-pct";
|
H A D | haps_hs_idu.dts | 68 arcpct0: pct { 69 compatible = "snps,archs-pct";
|
H A D | nsimosci.dts | 84 arcpct0: pct { 85 compatible = "snps,arc700-pct";
|
H A D | nsimosci_hs.dts | 84 arcpct0: pct { 85 compatible = "snps,archs-pct";
|
/freebsd/sys/contrib/openzfs/lib/libzpool/ |
H A D | taskq.c | 262 int pct; in taskq_create() local 265 pct = MIN(nthreads, 100); in taskq_create() 266 pct = MAX(pct, 0); in taskq_create() 268 nthreads = (sysconf(_SC_NPROCESSORS_ONLN) * pct) / 100; in taskq_create()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/ |
H A D | slog_015_neg.ksh | 54 for PCT in 0 1 2 4 8 16 32 64 128 256 512 1024; do 55 log_must set_tunable64 COMMIT_TIMEOUT_PCT $PCT
|