Home
last modified time | relevance | path

Searched refs:pct (Results 1 – 20 of 20) sorted by relevance

/trueos/lib/libdpv/
HDdpv.c123 int pct; in dpv() local
546 pct = 0; in dpv()
553 pct = 0 - increment; in dpv()
595 pct += increment; in dpv()
600 pct = action(curfile, output_out); in dpv()
603 keep_going = (pct < 100); in dpv()
624 )) || pct == 100 in dpv()
627 overall = (100 * nthfile - 100 + pct) / in dpv()
629 if (((100 * nthfile - 100 + pct) * 10 / in dpv()
633 dprompt_recreate(list_head, curfile, pct); in dpv()
HDdprompt.c81 struct dpv_file_node *curfile, int pct);
378 struct dpv_file_node *curfile, int pct) in dprompt_add_files() argument
421 if (pbar_size >= 0 && pct >= 0 && curfile != NULL && in dprompt_add_files()
424 pct, pct_rsize, ""); in dprompt_add_files()
427 pwidth = pct * pbar_size / 100; in dprompt_add_files()
429 if ((pct * pbar_size % 100) > 50) in dprompt_add_files()
499 if (fp == curfile && pct < 100) { in dprompt_add_files()
540 dstate = pct < 100 ? in dprompt_add_files()
678 struct dpv_file_node *curfile, int pct) in dprompt_recreate() argument
687 dprompt_add_files(file_list, curfile, pct); in dprompt_recreate()
/trueos/cddl/contrib/opensolaris/lib/libzpool/common/
HDtaskq.c233 int pct; in taskq_create() local
236 pct = MIN(nthreads, 100); in taskq_create()
237 pct = MAX(pct, 0); in taskq_create()
239 nthreads = (sysconf(_SC_NPROCESSORS_ONLN) * pct) / 100; in taskq_create()
/trueos/usr.sbin/mptutil/
HDmpt_volume.c133 float pct; in volume_status() local
185 pct = (float)(total - remaining) * 100 / total; in volume_status()
186 printf(" resync: %.2f%% complete\n", pct); in volume_status()
/trueos/cddl/contrib/opensolaris/lib/libzfs/common/
HDlibzfs_iter.c370 char *pct = strchr(comma_separated, '%'); in zfs_iter_snapspec() local
371 if (pct != NULL) { in zfs_iter_snapspec()
376 if (pct == comma_separated) in zfs_iter_snapspec()
380 *pct = '\0'; in zfs_iter_snapspec()
381 ssa.ssa_last = pct + 1; in zfs_iter_snapspec()
HDlibzfs_sendrecv.c1004 int pct, err, title; in send_progress_thread() local
1051 pct = bytes / total; in send_progress_thread()
1053 pct = 100; in send_progress_thread()
1054 if (pct > 100) in send_progress_thread()
1055 pct = 100; in send_progress_thread()
1058 zhp->zfs_name, pct, bytes, pa->pa_size); in send_progress_thread()
/trueos/lib/libc/stdio/
HDxprintf.c265 __v2printf(FILE *fp, const char *fmt0, unsigned pct, va_list ap) in __v2printf() argument
270 struct printf_info pia[pct + 10]; in __v2printf()
271 int argt[pct + 10]; in __v2printf()
272 union arg args[pct + 10]; in __v2printf()
576 __v3printf(FILE *fp, const char *fmt, int pct, va_list ap) in __v3printf() argument
596 ret = __v2printf(&fake, fmt, pct, ap); in __v3printf()
/trueos/sys/dev/ct/
HDct_isa.c169 struct ct_isa_softc *pct = device_get_softc(dev); in ct_isa_attach() local
170 struct ct_softc *ct = &pct->sc_ct; in ct_isa_attach()
173 struct bshw_softc *bs = &pct->sc_bshw; in ct_isa_attach()
/trueos/sys/dev/ath/ath_rate/sample/
HDsample.c168 int rix, tt, pct; in pick_best_rate() local
191 pct = sn->stats[size_bin][rix].ewma_pct; in pick_best_rate()
194 pct = 95; in pick_best_rate()
210 if (best_rate_pct > (pct + 50)) in pick_best_rate()
222 best_rate_pct = pct; in pick_best_rate()
235 best_rate_pct = pct; in pick_best_rate()
730 int pct; in update_stats() local
809 pct = ((nframes - nbad) * 1000) / nframes; in update_stats()
821 (pct * (100 - ssc->smoothing_rate))) / 100; in update_stats()
/trueos/contrib/llvm/tools/llvm-bcanalyzer/
HDllvm-bcanalyzer.cpp565 double pct = (Stats.NumBits * 100.0) / BufferSizeBits; in AnalyzeBitcode() local
566 outs() << " Percent of file: " << format("%2.4f%%", pct) << "\n"; in AnalyzeBitcode()
583 double pct = (Stats.NumAbbreviatedRecords * 100.0) / Stats.NumRecords; in AnalyzeBitcode() local
584 outs() << " Percent Abbrevs: " << format("%2.4f%%", pct) << "\n"; in AnalyzeBitcode()
/trueos/sys/kern/
HDkern_racct.c915 uint64_t pct_estimate, pct; in racct_proc_exit() local
936 pct = racct_getpcpu(p, pct_estimate); in racct_proc_exit()
940 racct_add_cred_locked(p->p_ucred, RACCT_PCTCPU, pct); in racct_proc_exit()
1111 uint64_t pct, pct_estimate; in racctd() local
1152 pct = racct_getpcpu(p, pct_estimate); in racctd()
1154 racct_set_force_locked(p, RACCT_PCTCPU, pct); in racctd()
HDvfs_cache.c362 int count, maxlength, used, pct; in sysctl_debug_hashstat_nchash() local
385 pct = (used * 100) / (n_nchash / 100); in sysctl_debug_hashstat_nchash()
395 error = SYSCTL_OUT(req, &pct, sizeof(pct)); in sysctl_debug_hashstat_nchash()
/trueos/contrib/gcc/
HDgdbinit.in34 define pct
38 document pct
HDChangeLog.tree-ssa17596 * gdbinit.in (pct): New macro, calls debug_c_tree.
HDChangeLog-200211338 * gdbinit.in (pct): New macro.
/trueos/usr.bin/top/
HDmachine.c89 #define weighted_cpu(pct, pp) ((pp)->ki_swtime == 0 ? 0.0 : \ argument
90 ((pct) / (1.0 - exp((pp)->ki_swtime * logcpu))))
811 double pct; in format_next_process() local
851 pct = pctdouble(pp->ki_pctcpu); in format_next_process()
1040 ps.wcpu ? 100.0 * weighted_cpu(pct, pp) : 100.0 * pct, in format_next_process()
/trueos/contrib/file/magic/Magdir/
HDclaris9 # .pct claris works clip art files
/trueos/contrib/top/
HDm-template113 #define weighted_cpu(pct, pp) ((pp)->p_time == 0 ? 0.0 : \
114 ((pct) / (1.0 - exp((pp)->p_time * logcpu))))
/trueos/usr.bin/vmstat/
HDvmstat.c165 static long pct(long, long);
932 pct(long top, long bot) in pct() function
942 #define PCT(top, bot) pct((long)(top), (long)(bot))
1069 percent(double pct, int *over) in percent() argument
1074 l = snprintf(buf, sizeof(buf), "%.0f", pct); in percent()
/trueos/contrib/nvi/common/
HDexf.c1030 char *bp, *estr, *p, *pct, *slash, *t, *wfname, buf[8192]; in file_backup() local
1112 pct = t; in file_backup()
1138 (void)snprintf(pct, blen - (pct - bp), "%d", maxnum + 1); in file_backup()