| /freebsd-9-stable/usr.sbin/burncd/ |
| D | burncd.c | 210 int blank, pct, last = 0; in main() local 224 if (ioctl(fd, CDRIOCGETPROGRESS, &pct) == -1) in main() 226 if (pct > 0 && !quiet) in main() 230 "eras" : "blank", pct); in main() 231 if (pct == 100 || (pct == 0 && last > 90)) in main() 233 last = pct; in main() 544 int count, i, pct, last = 0; in do_format() local 603 if (ioctl(the_fd, CDRIOCGETPROGRESS, &pct) == -1) in do_format() 605 if (pct > 0 && !quiet) in do_format() 607 pct); in do_format() [all …]
|
| /freebsd-9-stable/cddl/contrib/opensolaris/lib/libzpool/common/ |
| D | taskq.c | 231 int pct; in taskq_create() local 234 pct = MIN(nthreads, 100); in taskq_create() 235 pct = MAX(pct, 0); in taskq_create() 237 nthreads = (sysconf(_SC_NPROCESSORS_ONLN) * pct) / 100; in taskq_create()
|
| /freebsd-9-stable/usr.sbin/mptutil/ |
| D | mpt_volume.c | 133 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()
|
| /freebsd-9-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
| D | libzfs_iter.c | 373 char *pct = strchr(comma_separated, '%'); in zfs_iter_snapspec() local 374 if (pct != NULL) { in zfs_iter_snapspec() 379 if (pct == comma_separated) in zfs_iter_snapspec() 383 *pct = '\0'; in zfs_iter_snapspec() 384 ssa.ssa_last = pct + 1; in zfs_iter_snapspec()
|
| /freebsd-9-stable/lib/libc/stdio/ |
| D | xprintf.c | 265 __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()
|
| /freebsd-9-stable/sys/gnu/fs/xfs/ |
| D | xfs_fsops.c | 137 int pct; in xfs_growfs_data_private() local 142 pct = in->imaxpct; in xfs_growfs_data_private() 143 if (nb < mp->m_sb.sb_dblocks || pct < 0 || pct > 100) in xfs_growfs_data_private() 145 dpct = pct - mp->m_sb.sb_imax_pct; in xfs_growfs_data_private()
|
| /freebsd-9-stable/sys/dev/ct/ |
| D | ct_isa.c | 195 struct ct_isa_softc *pct = device_get_softc(dev); in ct_isa_attach() local 196 struct ct_softc *ct = &pct->sc_ct; in ct_isa_attach() 199 struct bshw_softc *bs = &pct->sc_bshw; in ct_isa_attach()
|
| /freebsd-9-stable/contrib/llvm/tools/llvm-bcanalyzer/ |
| D | llvm-bcanalyzer.cpp | 565 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()
|
| /freebsd-9-stable/sys/kern/ |
| D | kern_racct.c | 913 uint64_t pct_estimate, pct; in racct_proc_exit() local 934 pct = racct_getpcpu(p, pct_estimate); in racct_proc_exit() 938 racct_add_cred_locked(p->p_ucred, RACCT_PCTCPU, pct); in racct_proc_exit() 1109 uint64_t pct, pct_estimate; in racctd() local 1150 pct = racct_getpcpu(p, pct_estimate); in racctd() 1152 racct_set_force_locked(p, RACCT_PCTCPU, pct); in racctd()
|
| D | vfs_cache.c | 362 int count, maxlength, used, pct; in sysctl_debug_hashstat_nchash() local 385 pct = (used * 100 * 100) / n_nchash; in sysctl_debug_hashstat_nchash() 395 error = SYSCTL_OUT(req, &pct, sizeof(pct)); in sysctl_debug_hashstat_nchash()
|
| /freebsd-9-stable/contrib/gcc/ |
| D | gdbinit.in | 34 define pct 38 document pct
|
| D | ChangeLog.tree-ssa | 17596 * gdbinit.in (pct): New macro, calls debug_c_tree.
|
| D | ChangeLog-2002 | 11338 * gdbinit.in (pct): New macro.
|
| /freebsd-9-stable/usr.bin/top/ |
| D | machine.c | 89 #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 850 pct = pctdouble(pp->ki_pctcpu); in format_next_process() 1039 ps.wcpu ? 100.0 * weighted_cpu(pct, pp) : 100.0 * pct, in format_next_process()
|
| /freebsd-9-stable/contrib/top/ |
| D | m-template | 113 #define weighted_cpu(pct, pp) ((pp)->p_time == 0 ? 0.0 : \ 114 ((pct) / (1.0 - exp((pp)->p_time * logcpu))))
|
| /freebsd-9-stable/contrib/file/magic/Magdir/ |
| D | claris | 9 # .pct claris works clip art files
|
| /freebsd-9-stable/usr.bin/vmstat/ |
| D | vmstat.c | 165 static long pct(long, long); 926 pct(long top, long bot) in pct() function 936 #define PCT(top, bot) pct((long)(top), (long)(bot)) 1062 percent(double pct, int *over) in percent() argument 1067 l = snprintf(buf, sizeof(buf), "%.0f", pct); in percent()
|
| /freebsd-9-stable/contrib/nvi/common/ |
| D | exf.c | 1037 char *bp, *estr, *p, *pct, *slash, *t, *wfname, buf[8192]; local 1106 pct = t; 1131 (void)snprintf(pct, blen - (pct - bp), "%d", maxnum + 1);
|
| /freebsd-9-stable/contrib/gnu-sort/ |
| D | ChangeLog | 522 Rewrite pct calculation to avoid cast.
|