/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_scrub/ |
H A D | zpool_scrub_003_pos.ksh | 42 # 3. Check the completed percent and invoke another scrub 43 # 4. Check the percent again, verify a new scrub started. 59 typeset -i percent 60 percent=$($ZPOOL status $TESTPOOL | $GREP "^ scrub" | \ 63 percent=100 65 $ECHO $percent 72 typeset -i PERCENT=30 percent=0 73 while ((percent < PERCENT)) ; do 74 percent=$(get_scrub_percent) 78 percent [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | HeatUtils.cpp | 66 double percent = (freq > 0) ? log2(double(freq)) / log2(maxFreq) : 0; local 67 return getHeatColor(percent); 70 std::string getHeatColor(double percent) { argument 71 if (percent > 1.0) 72 percent = 1.0; 73 if (percent < 0.0) 74 percent = 0.0; 75 unsigned colorId = unsigned(round(percent * (heatSize - 1.0)));
|
/freebsd-current/usr.bin/backlight/ |
H A D | backlight.c | 99 long percent = -1; local 146 percent = strtonum(argv[0], 0, 100, &percent_error); 186 if (percent == -1) 188 props.brightness = percent; 194 if (percent == 0) 199 percent = percent == -1 ? 10 : percent; 200 percent = action == BACKLIGHT_INCR ? percent [all...] |
/freebsd-current/contrib/dialog/samples/ |
H A D | gauge0-input-fd | 17 message ($PCT percent)
|
H A D | gauge0 | 15 message ($PCT percent)
|
H A D | gauge | 14 message ($PCT percent)
|
/freebsd-current/contrib/bmake/unit-tests/ |
H A D | dep-percent.exp | 1 make: don't know how to make dep-percent.o (continuing)
|
H A D | dep-wildcards.exp | 9 dep-percent.mk
|
H A D | export.mk | 18 %= percent
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | HeatUtils.h | 34 // Calculates heat color based on percent of "hotness". 35 std::string getHeatColor(double percent);
|
/freebsd-current/sbin/camcontrol/ |
H A D | progress.h | 46 uint64_t percent; /* cache the percentage complete */ member in struct:progress_t
|
H A D | progress.c | 89 prog->percent = (prog->done * 100) / prog->size; 163 starc = (barlength * prog->percent) / 100; 195 (long long)prog->percent,
|
/freebsd-current/usr.bin/fortune/fortune/ |
H A D | fortune.c | 71 int percent; member in struct:fd 350 int i, percent; local 384 percent = NO_PROB; 388 percent = 0; 390 percent = percent * 10 + *sp - '0'; 391 if (percent > 100) { 406 percent = NO_PROB; 429 } else if (!add_file(percent, sp, NULL, &File_list, 443 add_file(int percent, cons argument 871 int percent, num_noprob, frac; local [all...] |
/freebsd-current/contrib/dialog/ |
H A D | guage.c | 45 int percent; member in struct:_my_obj 155 (void) wprintw(dialog, "%3d%%", obj->percent); 162 x = (obj->percent * (obj->width - 2 * (3 + MARGIN))) / 100; 205 obj->percent = atoi(buf); 223 obj->percent = atoi(buf); 281 dlg_update_gauge(void *objptr, int percent) argument 288 obj->percent = percent; 302 int percent) 351 obj->percent 297 dlg_reallocate_gauge(void *objptr, const char *title, const char *cprompt, int height, int width, int percent) argument 366 dlg_allocate_gauge(const char *title, const char *cprompt, int height, int width, int percent) argument 401 dialog_gauge(const char *title, const char *cprompt, int height, int width, int percent) argument [all...] |
H A D | arrows.c | 180 int percent; local 183 percent = (!total_data 188 if (percent < 0) 189 percent = 0; 190 else if (percent > 100) 191 percent = 100; 194 (void) sprintf(buffer, "%d%%", percent);
|
H A D | mixedgauge.c | 119 float percent; local 161 if (sscanf(status, "%f%%", &percent) != 1) 162 percent = 0.0; 163 xxx = (int) ((cells * (percent + 0.5)) / 100.0); 216 dlg_update_mixedgauge(DIALOG_MIXEDGAUGE * dlg, int percent) argument 232 (void) wprintw(dlg->dialog, "%3d%%", percent); 239 x = (percent * (dlg->width - 2 * (3 + MARGIN))) / 100; 386 int percent, 398 DLG_TRACE2N("percent", percent); 382 dialog_mixedgauge(const char *title, const char *cprompt, int height, int width, int percent, int item_no, char **items) argument [all...] |
/freebsd-current/usr.sbin/pwm/ |
H A D | pwm.c | 81 char *percent; local 121 duty = strtoul(optarg, &percent, 10); 122 if (*percent == '%') { 128 } else if (*percent != '\0') 196 if (*percent != '\0')
|
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-diff/lib/ |
H A D | DiffConsumer.cpp | 172 size_t percent = format.find('%'); local 173 if (percent == StringRef::npos) { 177 assert(format[percent] == '%'); 179 if (percent > 0) out << format.substr(0, percent); 181 switch (format[percent+1]) { 188 format = format.substr(percent+2);
|
/freebsd-current/contrib/bc/src/ |
H A D | file.c | 301 char* percent; local 310 // Find each percent sign. 311 while ((percent = strchr(ptr, '%')) != NULL) 315 // If the percent sign is not where we are, write what's inbetween 317 if (percent != ptr) 319 size_t len = (size_t) (percent - ptr); 323 c = percent[1]; 368 assert((c == 'l' || c == 'z') && percent[2] == 'u'); 383 ptr = percent + 2 + (c == 'l' || c == 'z'); 386 // If we get here, there are no more percent sign [all...] |
/freebsd-current/lib/libipsec/ |
H A D | policy_token.l | 75 percent \%
|
/freebsd-current/sys/dev/pwm/ |
H A D | pwm_backlight.c | 75 static int pwm_backlight_find_level_per_percent(struct pwm_backlight_softc *sc, int percent); 185 pwm_backlight_find_level_per_percent(struct pwm_backlight_softc *sc, int percent) argument 190 if (percent < 0 || percent > 100) 194 if (sc->levels[i] == percent) 196 else if (sc->levels[i] < percent) 197 diff = percent - sc->levels[i]; 199 if (diff < abs((percent - sc->levels[i])))
|
/freebsd-current/contrib/llvm-project/clang/lib/Basic/ |
H A D | OperatorPrecedence.cpp | 69 case tok::percent:
|
/freebsd-current/crypto/openssh/ |
H A D | progressmeter.c | 130 int percent; local 186 /* percent of transfer done */ 188 percent = 100; 190 percent = ((float)cur_pos / end_pos) * 100; 192 /* percent / amount transferred / bandwidth usage */ 193 xextendf(&buf, NULL, " %3d%% %s %s/s ", percent, format_size(cur_pos),
|
/freebsd-current/contrib/less/ |
H A D | jump.c | 137 public void jump_percent(int percent, long fraction) argument 155 pos = percent_pos(len, percent, fraction);
|
/freebsd-current/sbin/dump/ |
H A D | optr.c | 185 double percent; local 201 percent = (blockswritten * 100.0) / tapesize; 209 disk, passno, percent, hours, mins, tdone_str); 214 msg("%3.2f%% done, finished in %d:%02d at %s\n", percent,
|