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

12

/external/clang/test/CodeGen/
H A Duint128_t.c4 extern uint64_t numer;
13 tmp *= numer;
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkSweepGradient.cpp94 // 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 DSkSweepGradient.cpp94 // 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 DSkMath.cpp236 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 DSkColor.cpp29 static inline SkScalar ByteDivToScalar(int numer, U8CPU denom) { argument
31 return SkIntToScalar(numer) / (int)denom;
/external/skia/src/core/
H A DSkMath.cpp236 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 DSkColor.cpp29 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 Dinttypes.h280 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 Dtiming.h23 conversion = (double) freq * (1e-9 * (double) info.numer / (double) info.denom);
/external/mesa3d/include/c99/
H A Dinttypes.h280 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 DSkEmbossMask.cpp112 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 DSkEmbossMask.cpp112 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 DSkFixed.h137 #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 DSkMath.h27 int32_t SkDivBits(int32_t numer, int32_t denom, int shift);
/external/skia/include/core/
H A DSkFixed.h137 #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 DSkMath.h27 int32_t SkDivBits(int32_t numer, int32_t denom, int shift);
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsLine.cpp75 double numer = len.fX * ab0.fX + ab0.fY * len.fY; local
76 if (!between(0, numer, denom)) {
79 double t = numer / denom;
H A DSkPathOpsQuad.cpp300 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 DSkPathOpsLine.cpp75 double numer = len.fX * ab0.fX + ab0.fY * len.fY; local
76 if (!between(0, numer, denom)) {
79 double t = numer / denom;
H A DSkPathOpsQuad.cpp300 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 DMathTest.cpp527 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 Dtrack_run_iterator.h24 base::TimeDelta MEDIA_EXPORT TimeDeltaFromRational(int64 numer, int64 denom);
H A Dtrack_run_iterator.cc59 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 DBenchSysTimer_mach.cpp72 uint64_t elapsedNano = elapsed * sTimebaseInfo.numer
/external/chromium/base/
H A Dtime_mac.cc125 timebase_info.numer / timebase_info.denom;
128 // With numer and denom = 1 (the expected case), the 64-bit absolute time

Completed in 985 milliseconds

12