/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_scrub/ |
H A D | zpool_scrub_003_pos.ksh | 46 typeset -i percent 47 percent=$($ZPOOL status $TESTPOOL | $GREP "^ scrub" | \ 50 percent=100 52 $ECHO $percent 59 typeset -i PERCENT=30 percent=0 60 while ((percent < PERCENT)) ; do 61 percent=$(get_scrub_percent) 65 percent=$(get_scrub_percent) 66 if ((percent > PERCENT)); then
|
/titanic_50/usr/src/cmd/make/bin/ |
H A D | implicit.cc | 61 …ic void create_target_group_and_dependencies_list(Name target, Percent pat_rule, String percent); 62 static Boolean match_found_with_pattern(Name target, Percent pat_rule, String percent, wchar_t *pe… 63 static void construct_string_from_pattern(Percent pat_rule, String percent, String result); 446 line->body.line.percent = NULL; in find_suffix_rule() 803 String_rec percent; in find_percent_rule() local 857 if (!match_found_with_pattern(true_target, pat_rule, &percent, percent_buf)) { in find_percent_rule() 868 if (pat_depe->name->percent) { in find_percent_rule() 872 construct_string_from_pattern(pat_depe, &percent, &string); in find_percent_rule() 945 if (pat_depe->name->percent) { in find_percent_rule() 1003 if (pat_depe->name->percent) { in find_percent_rule() [all …]
|
H A D | misc.cc | 314 Percent percent, percent_depe; in dump_make_state() local 376 for (percent = percent_list; in dump_make_state() 377 percent != NULL; in dump_make_state() 378 percent = percent->next) { in dump_make_state() 380 percent->name->string_mb); in dump_make_state() 382 for (percent_depe = percent->dependencies; in dump_make_state() 390 for (rule = percent->command_template; in dump_make_state()
|
H A D | doname.cc | 200 line->body.line.percent = NULL; in enter_explicit_rule_from_dynamic_rule() 387 line->body.line.percent = NULL; in doname() 580 line->body.line.percent = in doname() 694 line->body.line.percent = NULL; in doname() 2228 tmp_name = line->body.line.percent; in build_command_strings() 2794 line->body.line.percent = NULL; in sccs_get() 2883 wchar_t *percent; in add_pattern_conditionals() local 2895 percent = (wchar_t *) wcschr(pattern, (int) percent_char); in add_pattern_conditionals() 2896 if (!wcb.equaln(pattern, percent-pattern) || in add_pattern_conditionals() 2897 !IS_WEQUAL(wcb.get_string(wcb.length()-wcslen(percent+1)), percent+1)) { in add_pattern_conditionals()
|
/titanic_50/usr/src/cmd/stat/mpstat/ |
H A D | mpstat.c | 221 double etime, percent; in print_cpu() local 250 percent = 100.0 / etime / hz; in print_cpu() 269 kstat_delta(old_sys, &c2->cs_sys, "cpu_ticks_user") * percent, in print_cpu() 270 kstat_delta(old_sys, &c2->cs_sys, "cpu_ticks_kernel") * percent, in print_cpu() 271 kstat_delta(old_sys, &c2->cs_sys, "cpu_ticks_wait") * percent, in print_cpu() 272 kstat_delta(old_sys, &c2->cs_sys, "cpu_ticks_idle") * percent); in print_cpu() 399 double etime, percent; in print_pset() local 436 percent = 100.0 / p2->ps_nr_cpus / etime / hz; in print_pset() 455 kstat_delta(&old_sys, &new_sys, "cpu_ticks_user") * percent, in print_pset() 456 kstat_delta(&old_sys, &new_sys, "cpu_ticks_kernel") * percent, in print_pset() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | thread.c | 681 size_t percent; in stk_compute_percent() local 692 percent = t_stk - sp + 1; in stk_compute_percent() 702 percent = sp - t_stk + 1; in stk_compute_percent() 705 percent = ((100 * percent) / s) + 1; in stk_compute_percent() 706 if (percent > 100) { in stk_compute_percent() 707 percent = 100; in stk_compute_percent() 709 return (percent); in stk_compute_percent() 727 size_t percent = 0; in stackinfo() local 805 (int)log[i].percent); in stackinfo() 875 percent = stk_compute_percent(t.t_stk, t.t_stkbase, in stackinfo() [all …]
|
/titanic_50/usr/src/lib/libadm/common/ |
H A D | cktime.c | 312 int percent = 0; in fmtcheck() local 317 if (percent == 0) in fmtcheck() 318 percent = 1; in fmtcheck() 330 if (percent == 1) in fmtcheck() 331 percent = 0; in fmtcheck() 338 if (percent == 1) in fmtcheck() 345 return (percent); in fmtcheck()
|
H A D | ckdate.c | 263 int percent = 0; in fmtcheck() local 268 if (percent == 0) in fmtcheck() 269 percent = 1; in fmtcheck() 282 if (percent == 1) in fmtcheck() 283 percent = 0; in fmtcheck() 291 if (percent == 1) in fmtcheck() 298 return (percent); in fmtcheck()
|
/titanic_50/usr/src/lib/libsqlite/tool/ |
H A D | spaceanal.tcl | 127 proc percent {num denom} { procedure 165 [percent [expr {$pri_pages+$ovfl_pages}] $::file_pgcnt] 169 statline "Bytes of payload" $payload [percent $payload $storage] 170 statline "Bytes of data" $data [percent $data $storage] 172 statline "Bytes of key" $key [percent $key $storage] 180 statline "Entries that use overflow" $n_ovfl [percent $n_ovfl $nentry] 185 [percent $pri_unused [expr {$pri_pages*1024}]] 187 [percent $ovfl_unused [expr {$ovfl_pages*1024}]] 190 [percent $allunused [expr {$allpgs*1024}]] 207 statline {Pages that store data} $usedcnt [percent $usedcnt $file_pgcnt] [all …]
|
/titanic_50/usr/src/lib/fm/libfmd_msg/common/ |
H A D | fmd_msg_test.out | 28 code TEST-8000-08 item 3 = <<This entry tests the percent character escape sequence: %>> 37 AUTO-RESPONSE: This entry tests the percent character escape sequence: % 44 code TEST-8000-08 item 3 = <<This entry tests the percent character escape sequence: %>> 53 AUTO-RESPONSE: This entry tests the percent character escape sequence: % 62 AUTO-RESPONSE: This entry tests the percent character escape sequence: % 69 code TEST-8000-08 item 3 = <<This entry tests the percent character escape sequence: %>> 78 AUTO-RESPONSE: This entry tests the percent character escape sequence: % 85 code TEST-8000-08 item 3 = <<This entry tests the percent character escape sequence: %>> 94 AUTO-RESPONSE: This entry tests the percent character escape sequence: % 103 AUTO-RESPONSE: This entry tests the percent character escape sequence: %
|
/titanic_50/usr/src/cmd/make/lib/mksh/ |
H A D | macro.cc | 274 wchar_t *percent = (wchar_t *)NULL; in expand_macro() local 478 ((percent = (wchar_t *) wcschr(colon + 1, in expand_macro() 520 if ((percent = (wchar_t *) wcschr(colon + 1, in expand_macro() 524 if (eq < percent) { in expand_macro() 528 if (percent > (colon + 1)) { in expand_macro() 529 tmp_len = percent - colon; in expand_macro() 536 percent - colon - 1); in expand_macro() 537 left_head[percent-colon-1] = (int) nul_char; in expand_macro() 538 left_head_len = percent-colon-1; in expand_macro() 544 if (eq > percent+1) { in expand_macro() [all …]
|
/titanic_50/usr/src/test/zfs-tests/include/ |
H A D | math.shlib | 17 # Return 0 if the percentage difference between $a and $b is $percent or 30 typeset percent=$3 39 log_note "Comparing $a and $b given $percent% (calculated: $p%)" 40 [[ '1' = $($ECHO "scale=2; if ($p >= $percent) 1" | $BC) ]] && return 0
|
/titanic_50/usr/src/uts/common/disp/ |
H A D | thread.c | 1947 size_t percent = 0; in stkinfo_end() local 2014 percent = stkinfo_percent(end, in stkinfo_end() 2026 percent = stkinfo_percent(start, in stkinfo_end() 2035 size_t, stksz, size_t, percent); in stkinfo_end() 2037 if (percent == 0) { in stkinfo_end() 2042 if (full == KMEM_STKINFO_LOG_SIZE && percent < smallest_percent) { in stkinfo_end() 2052 if (kmem_stkinfo_log[i].percent == 0) { in stkinfo_end() 2058 smallest = kmem_stkinfo_log[i].percent; in stkinfo_end() 2062 if (kmem_stkinfo_log[i].percent < smallest) { in stkinfo_end() 2063 smallest = kmem_stkinfo_log[i].percent; in stkinfo_end() [all …]
|
/titanic_50/usr/src/uts/common/inet/ipd/ |
H A D | ipd.c | 563 ipd_toggle_corrupt(ipd_netstack_t *ins, int percent) in ipd_toggle_corrupt() argument 569 if (percent < 0 || percent > 100) in ipd_toggle_corrupt() 576 if (percent == ins->ipdn_corrupt) in ipd_toggle_corrupt() 579 ins->ipdn_corrupt = percent; in ipd_toggle_corrupt() 580 rval = ipd_check_hooks(ins, IPD_CORRUPT, percent != 0); in ipd_toggle_corrupt() 624 ipd_toggle_drop(ipd_netstack_t *ins, int percent) in ipd_toggle_drop() argument 630 if (percent < 0 || percent > 100) in ipd_toggle_drop() 637 if (percent == ins->ipdn_drop) in ipd_toggle_drop() 640 ins->ipdn_drop = percent; in ipd_toggle_drop() 641 rval = ipd_check_hooks(ins, IPD_DROP, percent != 0); in ipd_toggle_drop()
|
/titanic_50/usr/src/cmd/ssh/libssh/common/ |
H A D | progressmeter.c | 128 int percent; in refresh_progress_meter() local 178 percent = (int)(((float)cur_pos / end_pos) * 100); in refresh_progress_meter() 180 percent = 100; in refresh_progress_meter() 182 " %3d%% ", percent); in refresh_progress_meter()
|
/titanic_50/usr/src/cmd/printf/ |
H A D | printf.c | 445 escape(char *fmt, int percent, size_t *len) in escape() argument 472 if (!percent) { in escape() 497 c = (!percent && *fmt == '0') ? 4 : 3; in escape() 504 if (percent && value == '%') { in escape()
|
/titanic_50/usr/src/tools/cscope-fast/ |
H A D | mouse.h | 35 int percent; member
|
H A D | mouse.c | 214 m.percent = getpercent(); in getmouseevent()
|
H A D | command.c | 703 switch (p->percent) { in scrollbar() 728 nextline = p->percent * totallines / 100; in scrollbar()
|
/titanic_50/usr/src/cmd/sa/ |
H A D | sar.c | 94 static float tdiff, sec_diff, totsec_diff = 0.0, percent; variable 543 percent = 100.0 / tdiff; in prpass() 819 (float)xx->csi.cpu[1] * percent, in prt_u_opt() 820 (float)xx->csi.cpu[2] * percent, in prt_u_opt() 821 (float)xx->csi.cpu[3] * percent, in prt_u_opt() 822 (float)xx->csi.cpu[0] * percent); in prt_u_opt() 1114 percent = 100.0 / tdiff; in prtavg()
|
/titanic_50/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 3071 int i, j, percent = -1; local 3141 if ((percent = atoi(s)) > 100) { 3148 if (percent < 1) { 3156 if (percent == 100) 3159 cylen = (Numcyl_usable * percent) / 100; 3661 unsigned int startcyl, endcyl, length, percent, remainder; local 3827 percent = length * 100 / Numcyl_usable; 3831 percent++; 3836 if (percent > 100) 3837 percent = 100; [all …]
|
/titanic_50/usr/src/cmd/stat/iostat/ |
H A D | iostat.c | 164 static double percent; /* 100 / etime */ variable 291 percent = (getime > 0.0) ? 100.0 / getime : 0.0; in main() 1572 push_out(fstr, user * percent, kern * percent, in print_cpu_data() 1574 idle * percent); in print_cpu_data()
|
/titanic_50/usr/src/cmd/fm/dicts/ |
H A D | TEST.po | 36 msgstr "This entry tests the percent character escape sequence: %%"
|
/titanic_50/usr/src/lib/libshell/common/tests/ |
H A D | builtins.sh | 226 typeset -Z3 percent=$(printf '%o\n' "'%'") 227 forrmat=\\${percent}s
|
/titanic_50/usr/src/cmd/lockstat/ |
H A D | lockstat.c | 1624 double percent; in report_stats() local 1713 percent = (lsp->ls_time * 100.00) / total_time; in report_stats() 1715 percent = (lsp->ls_count * 100.00) / total_count; in report_stats() 1717 ptotal += percent; in report_stats() 1729 (void) fprintf(out, "%3.0f%% ", percent); in report_stats()
|