Searched refs:numer (Results 1 - 25 of 66) sorted by relevance

123

/macosx-10.10/Libc-1044.1.2/stdlib/FreeBSD/
H A Dimaxdiv.c34 imaxdiv(intmax_t numer, intmax_t denom) argument
38 retval.quot = numer / denom;
39 retval.rem = numer % denom;
40 if (numer >= 0 && retval.rem < 0) {
H A Dlldiv.c34 lldiv(long long numer, long long denom) argument
38 retval.quot = numer / denom;
39 retval.rem = numer % denom;
40 if (numer >= 0 && retval.rem < 0) {
/macosx-10.10/xnu-2782.1.97/osfmk/mach/
H A Dmach_time.h37 uint32_t numer; member in struct:mach_timebase_info
/macosx-10.10/dtrace-147/
H A Ddarwin_shim.c55 // return (elapsed * (uint64_t)sTimebaseInfo.numer)/(uint64_t)sTimebaseInfo.denom;
59 if (sTimebaseInfo.denom == sTimebaseInfo.numer)
62 return elapsed * (uint64_t)sTimebaseInfo.numer;
68 uint32_t numer = sTimebaseInfo.numer, denom = sTimebaseInfo.denom; local
70 // Form product of elapsed64 (decomposed) and numer:
71 uint64_t mu64 = numer * eta32;
72 uint64_t lambda64 = numer * eps32;
/macosx-10.10/python_modules-40/tmpprefix/f2c/
H A Dcpu_time__.c24 ratio = (real)info.numer / ((real)info.denom * NSEC_PER_SEC);
/macosx-10.10/cups-408/cups/cups/
H A Dpwg-media.c42 static int pwg_scan_measurement(const char *buf, char **bufptr, int numer,
692 numer, /* Unit scaling factor */ local
702 numer = 2540;
709 numer = 2540;
734 numer = 1000;
739 numer = 2540 * 12;
744 numer = 2540;
749 numer = 100;
754 numer = 100000;
759 numer
861 int numer; /* Scale factor for units */ local
1134 pwg_scan_measurement( const char *buf, char **bufptr, int numer, int denom) argument
[all...]
/macosx-10.10/libdispatch-442.1.4/src/
H A Dbenchmark.c65 lcost *= bdata->tbi.numer;
118 conversion *= bdata.tbi.numer;
H A Dtime.c57 _dispatch_host_time_data.frac = tbi.numer;
59 _dispatch_host_time_data.ratio_1_to_1 = (tbi.numer == tbi.denom);
/macosx-10.10/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dsched_tests.c27 nanos_to_abs(uint64_t ns, uint32_t numer, uint32_t denom) argument
29 return (uint64_t)(ns * (((double)denom) / ((double)numer)));
44 pol.period = nanos_to_abs(1000000000, mti.numer, mti.denom);
45 pol.constraint = nanos_to_abs(100000000, mti.numer, mti.denom);
46 pol.computation = nanos_to_abs(10000000, mti.numer, mti.denom);
/macosx-10.10/Security-57031.1.35/Security/include/security_cryptkit/
H A DgiantIntegers.h153 void divg_via_recip(giant denom, giant recip, giant numer);
154 /* numer := |n|/d. */
155 void modg_via_recip(giant denom, giant recip, giant numer);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cryptkit/lib/
H A DgiantIntegers.h153 void divg_via_recip(giant denom, giant recip, giant numer);
154 /* numer := |n|/d. */
155 void modg_via_recip(giant denom, giant recip, giant numer);
/macosx-10.10/swig-12/Lib/
H A Dinttypes.i45 extern imaxdiv_t imaxdiv (intmax_t numer, intmax_t denom);
/macosx-10.10/Libc-1044.1.2/gen/
H A Dnanosleep.c264 /* If numer == denom == 1 (as in intel), no conversion needed */
265 unity = (info.numer == info.denom);
272 (uint64_t)info.numer,
280 + (uint64_t)info.denom * requested_time->tv_nsec / info.numer;
294 muldiv128((uint64_t)info.numer,
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/utilLib/
H A Dcputime.c14 double machRatio = (double)tinfo.numer / (double)tinfo.denom;
/macosx-10.10/xnu-2782.1.97/tools/tests/jitter/
H A Dtimer_jitter.c114 pol.constraint = CONSTRAINT_NANOS * g_mti.denom / g_mti.numer;
115 pol.computation = COMPUTATION_NANOS * g_mti.denom / g_mti.numer;
193 printf("Max %s: %.1lfus\n", label, max / 1000.0 * (((double)g_mti.numer) / ((double)g_mti.denom)));
194 printf("Min %s: %.1lfus\n", label, min / 1000.0 * (((double)g_mti.numer) / ((double)g_mti.denom)));
195 printf("Avg magnitude of %s: %.1lfus\n", label, avg / 1000.0 * (((double)g_mti.numer) / ((double)g_mti.denom)));
196 printf("Stddev: %.1lfus\n", stddev / 1000.0 * (((double)g_mti.numer) / ((double)g_mti.denom)));
362 sleep_length_abs = (uint64_t) (get_random_sleep_length_abs_ns(min_sleep_ns, max_sleep_ns) * (((double)g_mti.denom) / ((double)g_mti.numer)));
/macosx-10.10/tcl-105/tcl/tcl/unix/
H A DtclUnixTime.c214 maxClicksForUInt64 = UINT64_MAX / tb.numer;
217 nsec = ((uint64_t) clicks) * tb.numer / tb.denom;
219 nsec = ((long double) (uint64_t) clicks) * tb.numer / tb.denom;
/macosx-10.10/CommonCrypto-60061/lib/
H A DCommonKeyDerivation.c78 return (uint64_t) (timeNano * globals->timebaseInfo.numer) / (globals->timebaseInfo.denom * 1000000);
/macosx-10.10/libauto-186/auto_tester/
H A Dauto_perf.c36 return (end - start) * timebase.numer / timebase.denom;
/macosx-10.10/top-100.1.2/
H A Dcpu.c142 used_ns = used_ns * timebase_info.numer / timebase_info.denom;
209 used_ns = used_ns * timebase_info.numer / timebase_info.denom;
/macosx-10.10/xnu-2782.1.97/tools/tests/libMicro/
H A Dlibmicro.c86 // return (elapsed * (long long)sTimebaseInfo.numer)/(long long)sTimebaseInfo.denom;
90 if (sTimebaseInfo.denom == sTimebaseInfo.numer)
93 return elapsed * (long long)sTimebaseInfo.numer;
99 long long numer = sTimebaseInfo.numer, denom = sTimebaseInfo.denom; local
101 // Form product of elapsed64 (decomposed) and numer:
102 long long mu64 = numer * eta32;
103 long long lambda64 = numer * eps32;
/macosx-10.10/xnu-2782.1.97/bsd/dev/dtrace/
H A Ddtrace_glue.c1123 * return (elapsed * (uint64_t)sTimebaseInfo.numer)/(uint64_t)sTimebaseInfo.denom;
1128 if (sTimebaseInfo.denom == sTimebaseInfo.numer)
1131 return elapsed * (uint64_t)sTimebaseInfo.numer;
1137 uint32_t numer = sTimebaseInfo.numer, denom = sTimebaseInfo.denom; local
1139 /* Form product of elapsed64 (decomposed) and numer: */
1140 uint64_t mu64 = numer * eta32;
1141 uint64_t lambda64 = numer * eps32;
/macosx-10.10/IOHIDFamily-606.1.7/IOHIDEventSystemPlugIns/
H A DIOHIDEventSystemStatistics.cpp427 ts = ts * sTimebaseInfo.numer / sTimebaseInfo.denom;
481 ts = ts * sTimebaseInfo.numer / sTimebaseInfo.denom;
/macosx-10.10/IOKitUser-1050.1.21/
H A DTests.c102 #define numer 1000 macro
104 printf("elapsed %d us\n", (int)((end - start) / (clock_freq / divisor / 4 ) * numer ));
/macosx-10.10/IOKitUser-1050.1.21/graphics.subproj/
H A DWSTests.c102 #define numer 1000 macro
104 printf("elapsed %d us\n", (int)((end - start) / (clock_freq / divisor / 4 ) * numer ));
/macosx-10.10/IOGraphics-485/tools/
H A Dfbshared.c143 double usecs = delta * timebase.numer / timebase.denom / 1e6;

Completed in 323 milliseconds

123