/external/clang/test/CodeGen/ |
H A D | uint128_t.c | 4 extern uint64_t numer; 13 tmp *= numer;
|
/external/skia/include/core/ |
H A D | SkMath.h | 123 * Stores numer/denom and numer%denom into div and mod respectively. 126 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { argument 134 const In d = numer/denom; 136 *mod = static_cast<Out>(numer-d*denom); 139 *div = static_cast<Out>(numer/denom); 140 *mod = static_cast<Out>(numer%denom);
|
/external/skqp/include/core/ |
H A D | SkMath.h | 123 * Stores numer/denom and numer%denom into div and mod respectively. 126 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { argument 134 const In d = numer/denom; 136 *mod = static_cast<Out>(numer-d*denom); 139 *div = static_cast<Out>(numer/denom); 140 *mod = static_cast<Out>(numer%denom);
|
/external/mesa3d/src/compiler/nir/ |
H A D | nir_lower_idiv.c | 42 nir_ssa_def *numer, *denom, *af, *bf, *a, *b, *q, *r; local 55 numer = nir_ssa_for_alu_src(bld, alu, 0); 59 af = nir_i2f(bld, numer); 63 a = nir_iabs(bld, numer); 66 af = nir_u2f(bld, numer); 68 a = numer; 103 r = nir_ixor(bld, numer, denom);
|
/external/webrtc/webrtc/system_wrappers/source/ |
H A D | tick_util.cc | 36 timebase_from_millisecond_fract = (timebase.denom * 1e6) / timebase.numer; 55 timebase_microsecond_fract = timebase.numer / (timebase.denom * 1e6); 74 timebase_microsecond_fract = timebase.numer / (timebase.denom * 1e3);
|
/external/compiler-rt/test/builtins/timing/ |
H A D | timing.h | 23 conversion = (double) freq * (1e-9 * (double) info.numer / (double) info.denom);
|
/external/libcups/cups/ |
H A D | pwg-media.c | 40 static int pwg_scan_measurement(const char *buf, char **bufptr, int numer, int denom); 679 numer, /* Unit scaling factor */ local 689 numer = 2540; 696 numer = 2540; 721 numer = 1000; 726 numer = 2540 * 12; 731 numer = 2540; 736 numer = 100; 741 numer = 100000; 746 numer 852 int numer; /* Scale factor for units */ local 1135 pwg_scan_measurement( const char *buf, char **bufptr, int numer, int denom) argument [all...] |
/external/skia/src/effects/ |
H A D | SkEmbossMask.cpp | 74 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; local 78 if (numer > 0) { // preflight when numer/denom will be <= 0 80 SkFixed dot = numer / denom;
|
/external/skqp/src/effects/ |
H A D | SkEmbossMask.cpp | 74 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; local 78 if (numer > 0) { // preflight when numer/denom will be <= 0 80 SkFixed dot = numer / denom;
|
/external/skia/src/pathops/ |
H A D | SkPathOpsLine.cpp | 40 double numer = len.fX * ab0.fX + ab0.fY * len.fY; local 41 if (!between(0, numer, denom)) { 47 double t = numer / denom; 70 double numer = len.fX * ab0.fX + ab0.fY * len.fY; local 71 double t = numer / denom;
|
H A D | SkPathOpsQuad.cpp | 348 static int valid_unit_divide(double numer, double denom, double* ratio) argument 350 if (numer < 0) { 351 numer = -numer; 354 if (denom == 0 || numer == 0 || numer >= denom) { 357 double r = numer / denom; 358 if (r == 0) { // catch underflow if numer <<<< denom
|
/external/skqp/src/pathops/ |
H A D | SkPathOpsLine.cpp | 40 double numer = len.fX * ab0.fX + ab0.fY * len.fY; local 41 if (!between(0, numer, denom)) { 47 double t = numer / denom; 70 double numer = len.fX * ab0.fX + ab0.fY * len.fY; local 71 double t = numer / denom;
|
H A D | SkPathOpsQuad.cpp | 345 static int valid_unit_divide(double numer, double denom, double* ratio) argument 347 if (numer < 0) { 348 numer = -numer; 351 if (denom == 0 || numer == 0 || numer >= denom) { 354 double r = numer / denom; 355 if (r == 0) { // catch underflow if numer <<<< denom
|
/external/skia/include/private/ |
H A D | SkFixed.h | 91 #define SkFixedDiv(numer, denom) \ 92 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
|
/external/skqp/include/private/ |
H A D | SkFixed.h | 91 #define SkFixedDiv(numer, denom) \ 92 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
|
/external/tensorflow/tensorflow/contrib/eager/python/ |
H A D | metrics_impl.py | 278 self.numer = self.add_variable(name="numer", shape=(), 302 self.numer.assign_add(math_ops.cast(values, self.dtype)) 307 self.numer.assign_add(math_ops.reduce_sum(values)) 313 t = self.numer / self.denom
|
/external/skia/tests/ |
H A D | MathTest.cpp | 497 SkFixed numer = rand.nextS(); local 499 SkFixed result = SkFixedDiv(numer, denom); 500 int64_t check = SkLeftShift((int64_t)numer, 16) / denom; 502 (void)SkCLZ(numer); 512 ERRORF(reporter, "\nFixed Divide: %8x / %8x -> %8x %8x\n", numer, denom, result, check); 569 T numer; member in struct:__anon20953 583 const T numer = kEdgeCases[i].numer; local 586 SkTDivMod(numer, denom, &div, &mod); 587 REPORTER_ASSERT(r, numer/deno 593 const T numer = (T)rand.nextS(); local [all...] |
/external/skqp/tests/ |
H A D | MathTest.cpp | 497 SkFixed numer = rand.nextS(); local 499 SkFixed result = SkFixedDiv(numer, denom); 500 int64_t check = SkLeftShift((int64_t)numer, 16) / denom; 502 (void)SkCLZ(numer); 512 ERRORF(reporter, "\nFixed Divide: %8x / %8x -> %8x %8x\n", numer, denom, result, check); 569 T numer; member in struct:__anon21623 583 const T numer = kEdgeCases[i].numer; local 586 SkTDivMod(numer, denom, &div, &mod); 587 REPORTER_ASSERT(r, numer/deno 593 const T numer = (T)rand.nextS(); local [all...] |
/external/libcxx/src/ |
H A D | chrono.cpp | 143 // mach_absolute_time() * MachInfo.numer / MachInfo.denom is the number of 144 // nanoseconds since the computer booted up. MachInfo.numer and MachInfo.denom 148 // MachInfo.numer / MachInfo.denom is often 1 on the latest equipment. Specialize 164 return static_cast<double>(MachInfo.numer) / MachInfo.denom; 183 if (MachInfo.numer == MachInfo.denom)
|
/external/compiler-rt/test/tsan/ |
H A D | test.h | 61 return (mach_absolute_time() * timebase_info.numer) / timebase_info.denom;
|
/external/libevent/ |
H A D | evutil_time.c | 353 base->mach_timebase_units.numer = 0; 363 if (base->mach_timebase_units.numer == 0) { 371 usec = (abstime * base->mach_timebase_units.numer)
|
/external/python/cpython2/Mac/Modules/fm/ |
H A D | _Fmmodule.c | 176 Point numer; local 182 PyMac_GetPoint, &numer, 185 _rv = IsOutline(numer, 321 PyDoc_STR("(Point numer, Point denom) -> (Boolean _rv)")},
|
/external/curl/lib/ |
H A D | timeval.c | 108 usecs *= timebase.numer;
|
/external/perfetto/include/perfetto/base/ |
H A D | time.h | 69 return timebase_info.numer / timebase_info.denom;
|
/external/dhcpcd-6.8.2/ |
H A D | common.c | 106 factor = (double)info.numer / (double)info.denom; 112 if ((info.denom != 1 || info.numer != 1) && factor != 0.0)
|