/external/clang/test/CodeGen/ |
H A D | uint128_t.c | 4 extern uint64_t numer; 13 tmp *= numer;
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
H A D | SkSweepGradient.cpp | 94 // divide numer/denom, with a bias of 6bits. Assumes numer <= denom 96 // Same as (but faster than) SkFixedDiv(numer, denom) >> 10 98 //unsigned div_64(int numer, int denom); 100 static unsigned div_64(int numer, int denom) { argument 101 SkASSERT(numer <= denom); 102 SkASSERT(numer > 0); 105 int nbits = SkCLZ(numer); 115 numer <<= nbits - 1; 120 if ((numer [all...] |
/external/skia/src/effects/gradients/ |
H A D | SkSweepGradient.cpp | 94 // divide numer/denom, with a bias of 6bits. Assumes numer <= denom 96 // Same as (but faster than) SkFixedDiv(numer, denom) >> 10 98 //unsigned div_64(int numer, int denom); 100 static unsigned div_64(int numer, int denom) { argument 101 SkASSERT(numer <= denom); 102 SkASSERT(numer > 0); 105 int nbits = SkCLZ(numer); 115 numer <<= nbits - 1; 120 if ((numer [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkMath.cpp | 236 if ((numer = (numer << 1) - denom) >= 0) \ 237 result |= 1 << (n - 1); else numer += denom 239 int32_t SkDivBits(int32_t numer, int32_t denom, int shift_bias) { argument 241 if (numer == 0) { 245 // make numer and denom positive, and sign hold the resulting sign 246 int32_t sign = SkExtractSign(numer ^ denom); 247 numer = SkAbs32(numer); 250 int nbits = SkCLZ(numer) 303 SkFixedMod(SkFixed numer, SkFixed denom) argument [all...] |
H A D | SkColor.cpp | 29 static inline SkScalar ByteDivToScalar(int numer, U8CPU denom) { argument 31 return SkIntToScalar(numer) / (int)denom;
|
/external/skia/src/core/ |
H A D | SkMath.cpp | 236 if ((numer = (numer << 1) - denom) >= 0) \ 237 result |= 1 << (n - 1); else numer += denom 239 int32_t SkDivBits(int32_t numer, int32_t denom, int shift_bias) { argument 241 if (numer == 0) { 245 // make numer and denom positive, and sign hold the resulting sign 246 int32_t sign = SkExtractSign(numer ^ denom); 247 numer = SkAbs32(numer); 250 int nbits = SkCLZ(numer) 303 SkFixedMod(SkFixed numer, SkFixed denom) argument [all...] |
H A D | SkColor.cpp | 29 static inline SkScalar ByteDivToScalar(int numer, U8CPU denom) { argument 31 return SkIntToScalar(numer) / (int)denom;
|
/external/chromium_org/third_party/mesa/src/include/c99/ |
H A D | inttypes.h | 280 imaxdiv_t __cdecl imaxdiv(intmax_t numer, intmax_t denom) argument 284 result.quot = numer / denom; 285 result.rem = numer % denom; 287 if (numer < 0 && result.rem > 0) {
|
/external/compiler-rt/test/timing/ |
H A D | timing.h | 23 conversion = (double) freq * (1e-9 * (double) info.numer / (double) info.denom);
|
/external/mesa3d/include/c99/ |
H A D | inttypes.h | 280 imaxdiv_t __cdecl imaxdiv(intmax_t numer, intmax_t denom) argument 284 result.quot = numer / denom; 285 result.rem = numer % denom; 287 if (numer < 0 && result.rem > 0) {
|
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkEmbossMask.cpp | 112 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; local 116 if (numer > 0) { // preflight when numer/denom will be <= 0 119 SkFixed dot = numer / denom; 122 // can use full numer, but then we need to call SkFixedMul, since 123 // numer is 24 bits, and our table is 12 bits 125 // SkFixed dot = SkFixedMul(numer, gTable[]) >> 8 126 SkFixed dot = (unsigned)(numer >> 4) * gInvSqrtTable[(SkAbs32(nx) >> 1 << 7) | (SkAbs32(ny) >> 1)] >> 20;
|
/external/skia/src/effects/ |
H A D | SkEmbossMask.cpp | 112 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; local 116 if (numer > 0) { // preflight when numer/denom will be <= 0 119 SkFixed dot = numer / denom; 122 // can use full numer, but then we need to call SkFixedMul, since 123 // numer is 24 bits, and our table is 12 bits 125 // SkFixed dot = SkFixedMul(numer, gTable[]) >> 8 126 SkFixed dot = (unsigned)(numer >> 4) * gInvSqrtTable[(SkAbs32(nx) >> 1 << 7) | (SkAbs32(ny) >> 1)] >> 20;
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkFixed.h | 137 #define SkFixedDiv(numer, denom) SkDivBits(numer, denom, 16) 138 SkFixed SkFixedDivInt(int32_t numer, int32_t denom); 139 SkFixed SkFixedMod(SkFixed numer, SkFixed denom); 146 #define SkFractDiv(numer, denom) SkDivBits(numer, denom, 30)
|
H A D | SkMath.h | 27 int32_t SkDivBits(int32_t numer, int32_t denom, int shift);
|
/external/skia/include/core/ |
H A D | SkFixed.h | 137 #define SkFixedDiv(numer, denom) SkDivBits(numer, denom, 16) 138 SkFixed SkFixedDivInt(int32_t numer, int32_t denom); 139 SkFixed SkFixedMod(SkFixed numer, SkFixed denom); 146 #define SkFractDiv(numer, denom) SkDivBits(numer, denom, 30)
|
H A D | SkMath.h | 27 int32_t SkDivBits(int32_t numer, int32_t denom, int shift);
|
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkPathOpsLine.cpp | 75 double numer = len.fX * ab0.fX + ab0.fY * len.fY; local 76 if (!between(0, numer, denom)) { 79 double t = numer / denom;
|
H A D | SkPathOpsQuad.cpp | 300 static int valid_unit_divide(double numer, double denom, double* ratio) argument 302 if (numer < 0) { 303 numer = -numer; 306 if (denom == 0 || numer == 0 || numer >= denom) { 309 double r = numer / denom; 310 if (r == 0) { // catch underflow if numer <<<< denom
|
/external/skia/src/pathops/ |
H A D | SkPathOpsLine.cpp | 75 double numer = len.fX * ab0.fX + ab0.fY * len.fY; local 76 if (!between(0, numer, denom)) { 79 double t = numer / denom;
|
H A D | SkPathOpsQuad.cpp | 300 static int valid_unit_divide(double numer, double denom, double* ratio) argument 302 if (numer < 0) { 303 numer = -numer; 306 if (denom == 0 || numer == 0 || numer >= denom) { 309 double r = numer / denom; 310 if (r == 0) { // catch underflow if numer <<<< denom
|
/external/skia/tests/ |
H A D | MathTest.cpp | 527 SkFixed numer = rand.nextS(); local 529 SkFixed result = SkFixedDiv(numer, denom); 530 SkLONGLONG check = ((SkLONGLONG)numer << 16) / denom; 532 (void)SkCLZ(numer); 543 result = SkFractDiv(numer, denom); 544 check = ((SkLONGLONG)numer << 30) / denom; 555 numer = numer << 8 >> 8; 558 result = SkFixedMul(numer, denom); 559 SkFixed r2 = symmetric_fixmul(numer, deno [all...] |
/external/chromium_org/media/mp4/ |
H A D | track_run_iterator.h | 24 base::TimeDelta MEDIA_EXPORT TimeDeltaFromRational(int64 numer, int64 denom);
|
H A D | track_run_iterator.cc | 59 TimeDelta TimeDeltaFromRational(int64 numer, int64 denom) { argument 60 DCHECK_LT((numer > 0 ? numer : -numer), 63 base::Time::kMicrosecondsPerSecond * numer / denom);
|
/external/skia/bench/ |
H A D | BenchSysTimer_mach.cpp | 72 uint64_t elapsedNano = elapsed * sTimebaseInfo.numer
|
/external/chromium/base/ |
H A D | time_mac.cc | 125 timebase_info.numer / timebase_info.denom; 128 // With numer and denom = 1 (the expected case), the 64-bit absolute time
|