Searched refs:percent (Results 1 - 25 of 53) sorted by relevance

123

/freebsd-11-stable/contrib/dialog/samples/
H A Dgauge14 message ($PCT percent)
H A Dgauge015 message ($PCT percent)
H A Dgauge0-input-fd17 message ($PCT percent)
/freebsd-11-stable/contrib/dialog/
H A Dguage.c45 int percent; member in struct:_my_obj
154 (void) wprintw(dialog, "%3d%%", obj->percent);
161 x = (obj->percent * (obj->width - 2 * (3 + MARGIN))) / 100;
202 obj->percent = atoi(buf);
220 obj->percent = atoi(buf);
273 dlg_update_gauge(void *objptr, int percent) argument
280 obj->percent = percent;
294 int percent)
343 obj->percent
289 dlg_reallocate_gauge(void *objptr, const char *title, const char *cprompt, int height, int width, int percent) argument
358 dlg_allocate_gauge(const char *title, const char *cprompt, int height, int width, int percent) argument
389 dialog_gauge(const char *title, const char *cprompt, int height, int width, int percent) argument
[all...]
H A Darrows.c169 int percent; local
181 percent = (!total_data
186 if (percent < 0)
187 percent = 0;
188 else if (percent > 100)
189 percent = 100;
192 (void) sprintf(buffer, "%d%%", percent);
H A Dmixedgauge.c120 float percent; local
159 if (sscanf(status, "%f%%", &percent) != 1)
160 percent = 0.0;
161 xxx = (int) ((cells * (percent + 0.5)) / 100.0);
213 dlg_update_mixedgauge(DIALOG_MIXEDGAUGE * dlg, int percent) argument
229 (void) wprintw(dlg->dialog, "%3d%%", percent);
236 x = (percent * (dlg->width - 2 * (3 + MARGIN))) / 100;
379 int percent,
389 dlg_update_mixedgauge(&dlg, percent);
375 dialog_mixedgauge(const char *title, const char *cprompt, int height, int width, int percent, int item_no, char **items) argument
H A Ddialog.pl87 local ( $title, $message, $width, $percent ) = @_;
100 open(GAUGE, "|dialog --title \"$title\" --gauge \"$message\" $height $width $percent");
104 local ( $percent ) = @_;
106 &printflush(GAUGE, "$percent\n");
110 local ( $message, $percent ) = @_;
114 &printflush(GAUGE, "XXX\n$percent\n$message\nXXX\n");
/freebsd-11-stable/sbin/camcontrol/
H A Dprogress.h48 uint64_t percent; /* cache the percentage complete */ member in struct:progress_t
H A Dprogress.c91 prog->percent = (prog->done * 100) / prog->size;
165 starc = (barlength * prog->percent) / 100;
197 (long long)prog->percent,
/freebsd-11-stable/usr.bin/fortune/fortune/
H A Dfortune.c85 int percent; member in struct:fd
364 int i, percent; local
398 percent = NO_PROB;
402 percent = 0;
404 percent = percent * 10 + *sp - '0';
405 if (percent > 100) {
419 percent = NO_PROB;
442 } else if (!add_file(percent, sp, NULL, &File_list,
456 add_file(int percent, cons argument
884 int percent, num_noprob, frac; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-diff/
H A DDiffConsumer.cpp167 size_t percent = format.find('%'); local
168 if (percent == StringRef::npos) {
172 assert(format[percent] == '%');
174 if (percent > 0) out << format.substr(0, percent);
176 switch (format[percent+1]) {
183 format = format.substr(percent+2);
/freebsd-11-stable/lib/libipsec/
H A Dpolicy_token.l74 percent \%
/freebsd-11-stable/contrib/less/
H A Djump.c138 jump_percent(percent, fraction)
139 int percent;
158 pos = percent_pos(len, percent, fraction);
H A Dos.c337 percent_pos(pos, percent, fraction)
339 int percent;
342 /* Change percent (parts per 100) to perden (parts per NUM_FRAC_DENOM). */
343 POSITION perden = (percent * (NUM_FRAC_DENOM / 100)) + (fraction / 100);
/freebsd-11-stable/crypto/openssh/
H A Dprogressmeter.c125 int percent; local
173 /* percent of transfer done */
175 percent = 100;
177 percent = ((float)cur_pos / end_pos) * 100;
179 " %3d%% ", percent);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
H A DOperatorPrecedence.cpp69 case tok::percent:
/freebsd-11-stable/sbin/dump/
H A Doptr.c191 double percent; local
207 percent = (blockswritten * 100.0) / tapesize;
215 disk, passno, percent, hours, mins, tdone_str);
220 msg("%3.2f%% done, finished in %d:%02d at %s\n", percent,
/freebsd-11-stable/lib/libdpv/
H A Ddprompt.c427 /* Round up based on one-tenth of a percent */
719 int percent = gauge_percent; local
722 gauge_percent = percent = overall;
724 prefix ? prefix : "", dprompt, append ? append : "", percent);
734 int percent = gauge_percent; local
740 gauge_percent = percent = overall;
742 buf, dheight, dwidth, percent);
743 dlg_update_gauge(gauge, percent);
/freebsd-11-stable/contrib/ncurses/progs/
H A Ddump_entry.c500 bool percent = FALSE; local
506 percent = FALSE;
510 percent = TRUE;
515 if (percent) {
516 percent = FALSE;
549 if (percent) {
550 percent = FALSE;
570 if (percent && params) {
576 percent = FALSE;
583 percent
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DTokenConcatenation.cpp83 TokenInfo[tok::percent ] |= aci_custom_firstchar;
117 TokenInfo[tok::percent ] |= aci_avoid_equal; // %=
285 case tok::percent: // %>, %:
/freebsd-11-stable/bin/date/tests/
H A Dformat_string_test.sh90 format_string_test percent % % %
/freebsd-11-stable/libexec/rtld-elf/
H A Drtld_printf.c126 const char *p, *percent, *q; local
152 percent = fmt - 1;
416 while (percent < fmt)
417 PCHAR(*percent++);
/freebsd-11-stable/sys/cddl/dev/dtrace/
H A Ddtrace_debug.c233 const char *p, *percent, *q; local
259 percent = fmt - 1;
520 while (percent < fmt)
521 dtrace_debug__putc(cpu, *percent++);
/freebsd-11-stable/stand/libsa/
H A Dprintf.c253 const char *p, *percent, *q; local
284 percent = fmt - 1;
552 while (percent < fmt)
553 PCHAR(*percent++);
/freebsd-11-stable/contrib/apr-util/test/
H A Dabts.c207 float percent = ((float)dptr->failed / (float)dptr->num_test); local
209 dptr->num_test, dptr->failed, percent * 100);

Completed in 173 milliseconds

123