/external/clang/test/CodeGen/ |
H A D | uint128_t.c | 5 extern uint64_t denom; 14 tmp /= denom;
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | Extrema.cpp | 10 static int validUnitDivide(double numer, double denom, double* ratio) argument 14 denom = -denom; 16 if (denom == 0 || numer == 0 || numer >= denom) 18 double r = numer / denom; 19 if (r == 0) { // catch underflow if numer <<<< denom
|
H A D | LineIntersection.cpp | 21 double denom = byLen * axLen - ayLen * bxLen; local 22 SkASSERT(denom); 25 p.x = (term1 * bxLen - axLen * term2) / denom; 26 p.y = (term1 * byLen - ayLen * term2) / denom; 48 /* Slopes match when denom goes to zero: 52 byLen * axLen - ayLen * bxLen == 0 ( == denom ) 54 double denom = byLen * axLen - ayLen * bxLen; local 59 bool mayNotOverlap = (numerA < 0 && denom > numerA) || (numerA > 0 && denom < numerA) 60 || (numerB < 0 && denom > numer [all...] |
/external/skia/experimental/Intersection/ |
H A D | Extrema.cpp | 10 static int validUnitDivide(double numer, double denom, double* ratio) argument 14 denom = -denom; 16 if (denom == 0 || numer == 0 || numer >= denom) 18 double r = numer / denom; 19 if (r == 0) { // catch underflow if numer <<<< denom
|
H A D | LineIntersection.cpp | 21 double denom = byLen * axLen - ayLen * bxLen; local 22 SkASSERT(denom); 25 p.x = (term1 * bxLen - axLen * term2) / denom; 26 p.y = (term1 * byLen - ayLen * term2) / denom; 48 /* Slopes match when denom goes to zero: 52 byLen * axLen - ayLen * bxLen == 0 ( == denom ) 54 double denom = byLen * axLen - ayLen * bxLen; local 59 bool mayNotOverlap = (numerA < 0 && denom > numerA) || (numerA > 0 && denom < numerA) 60 || (numerB < 0 && denom > numer [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_format_rgb9e5.h | 108 double denom; local 119 denom = pow(2, exp_shared - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS); 121 maxm = (int) floor(maxrgb / denom + 0.5); 123 denom *= 2; 130 rm = (int) floor(rc / denom + 0.5); 131 gm = (int) floor(gc / denom + 0.5); 132 bm = (int) floor(bc / denom + 0.5);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_format_rgb9e5.h | 108 double denom; local 119 denom = pow(2, exp_shared - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS); 121 maxm = (int) floor(maxrgb / denom + 0.5); 123 denom *= 2; 130 rm = (int) floor(rc / denom + 0.5); 131 gm = (int) floor(gc / denom + 0.5); 132 bm = (int) floor(bc / denom + 0.5);
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkMath.h | 44 * Computes numer1 * numer2 / denom in full 64 intermediate precision. 45 * It is an error for denom to be 0. There is no special handling if 48 static inline int32_t SkMulDiv(int32_t numer1, int32_t numer2, int32_t denom) { argument 49 SkASSERT(denom); 51 int64_t tmp = sk_64_mul(numer1, numer2) / denom; 56 * Computes (numer1 << shift) / denom in full 64 intermediate precision. 57 * It is an error for denom to be 0. There is no special handling if 60 int32_t SkDivBits(int32_t numer, int32_t denom, int shift); 208 * Stores numer/denom and numer%denom int 211 SkTDivMod(In numer, In denom, Out* div, Out* mod) argument [all...] |
/external/skia/include/core/ |
H A D | SkMath.h | 44 * Computes numer1 * numer2 / denom in full 64 intermediate precision. 45 * It is an error for denom to be 0. There is no special handling if 48 static inline int32_t SkMulDiv(int32_t numer1, int32_t numer2, int32_t denom) { argument 49 SkASSERT(denom); 51 int64_t tmp = sk_64_mul(numer1, numer2) / denom; 56 * Computes (numer1 << shift) / denom in full 64 intermediate precision. 57 * It is an error for denom to be 0. There is no special handling if 60 int32_t SkDivBits(int32_t numer, int32_t denom, int shift); 208 * Stores numer/denom and numer%denom int 211 SkTDivMod(In numer, In denom, Out* div, Out* mod) argument [all...] |
/external/aac/libSBRenc/src/ |
H A D | sbr_misc.cpp | 238 return: num*scale/denom 241 FIXP_DBL FDKsbrEnc_LSI_divide_scale_fract(FIXP_DBL num, FIXP_DBL denom, FIXP_DBL scale) argument 248 INT shiftDenom = CountLeadingBits(denom); 256 if ( denom > (tmp >> fixMin(shiftNum+shiftScale-1,(DFRACT_BITS-1))) ) { 257 denom = denom << shiftDenom; 258 tmp = schur_div(tmp,denom,15);
|
H A D | sbr_misc.h | 104 FIXP_DBL FDKsbrEnc_LSI_divide_scale_fract(FIXP_DBL num, FIXP_DBL denom, FIXP_DBL scale);
|
/external/chromium_org/third_party/webrtc/modules/video_coding/utility/ |
H A D | frame_dropper.cc | 239 float denom = 1.0f - _dropRatio.Value(); 240 if (denom < 1e-5) 242 denom = (float)1e-5; 244 int32_t limit = static_cast<int32_t>(1.0f / denom - 1.0f + 0.5f); 282 float denom = _dropRatio.Value(); 283 if (denom < 1e-5) 285 denom = (float)1e-5; 287 int32_t limit = -static_cast<int32_t>(1.0f / denom - 1.0f + 0.5f);
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkMath.cpp | 71 if ((numer = (numer << 1) - denom) >= 0) \ 72 result |= 1 << (n - 1); else numer += denom 74 int32_t SkDivBits(int32_t numer, int32_t denom, int shift_bias) { argument 75 SkASSERT(denom != 0); 80 // make numer and denom positive, and sign hold the resulting sign 81 int32_t sign = SkExtractSign(numer ^ denom); 83 denom = SkAbs32(denom); 86 int dbits = SkCLZ(denom) - 1; 96 denom << [all...] |
/external/skia/src/core/ |
H A D | SkMath.cpp | 71 if ((numer = (numer << 1) - denom) >= 0) \ 72 result |= 1 << (n - 1); else numer += denom 74 int32_t SkDivBits(int32_t numer, int32_t denom, int shift_bias) { argument 75 SkASSERT(denom != 0); 80 // make numer and denom positive, and sign hold the resulting sign 81 int32_t sign = SkExtractSign(numer ^ denom); 83 denom = SkAbs32(denom); 86 int dbits = SkCLZ(denom) - 1; 96 denom << [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | smooth.c | 36 int32_t B_W32, denom, num; local 141 /* denom is in Q16 */ 142 denom = WebRtcSpl_DivW32W16(endiff, (int16_t)WEBRTC_SPL_RSHIFT_W32(w00w00, 16)); 144 denom = 65536; 147 if( denom > 7){ /* eliminates numerical problems 150 scale=WebRtcSpl_GetSizeInBits(denom)-15; 154 denomW16=(int16_t)WEBRTC_SPL_RSHIFT_W32(denom, scale); 160 denomW16=(int16_t)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; 290 result.rem -= denom;
|
/external/compiler-rt/test/builtins/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; 290 result.rem -= denom;
|
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkDLineIntersection.cpp | 19 double denom = byLen * axLen - ayLen * bxLen; local 20 SkASSERT(denom); 24 p.fX = (term1 * bxLen - axLen * term2) / denom; 25 p.fY = (term1 * byLen - ayLen * term2) / denom; 69 /* Slopes match when denom goes to zero: 73 byLen * axLen - ayLen * bxLen == 0 ( == denom ) 75 double denom = bLen.fY * aLen.fX - aLen.fY * bLen.fX; local 80 if (!between(0, numerA, denom) || !between(0, numerB, denom)) { 85 numerA /= denom; 150 double denom = axByLen - ayBxLen; local [all...] |
/external/skia/src/pathops/ |
H A D | SkDLineIntersection.cpp | 19 double denom = byLen * axLen - ayLen * bxLen; local 20 SkASSERT(denom); 24 p.fX = (term1 * bxLen - axLen * term2) / denom; 25 p.fY = (term1 * byLen - ayLen * term2) / denom; 69 /* Slopes match when denom goes to zero: 73 byLen * axLen - ayLen * bxLen == 0 ( == denom ) 75 double denom = bLen.fY * aLen.fX - aLen.fY * bLen.fX; local 80 if (!between(0, numerA, denom) || !between(0, numerB, denom)) { 85 numerA /= denom; 150 double denom = axByLen - ayBxLen; local [all...] |
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
H A D | tick_util.cc | 73 if (timebase.denom == 0) { 88 result.ticks_ = mach_absolute_time() * timebase.numer / timebase.denom;
|
/external/chromium_org/ui/gfx/ |
H A D | skbitmap_operations.cc | 372 const int32_t denom = 65536; local 373 int32_t s_numer = static_cast<int32_t>(hsl_shift.s * 2 * denom); 389 // Use denom * L to avoid rounding. 390 int32_t denom_l = (vmax + vmin) * (denom / 2); 393 r = (denom_l + r * s_numer - s_numer_l) / denom; 394 g = (denom_l + g * s_numer - s_numer_l) / denom; 395 b = (denom_l + b * s_numer - s_numer_l) / denom; 409 // Can't be too big since we need room for denom*denom and a bit for sign. 410 const int32_t denom local 449 const int32_t denom = 1024; local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | FloatPoint.cpp | 117 float denom = pxLength * dyLength - pyLength * dxLength; local 118 if (!denom) 121 float param = ((d1.x() - p1.x()) * dyLength - (d1.y() - p1.y()) * dxLength) / denom;
|
/external/libvorbis/lib/ |
H A D | lsp.c | 321 double p=defl[m],pp=0.f,ppp=0.f,denom; local 331 denom=(m-1) * ((m-1)*pp*pp - m*p*ppp); 332 if(denom<0) 336 denom = pp + sqrt(denom); 337 if(denom<EPSILON)denom=EPSILON; 339 denom = pp - sqrt(denom); 340 if(denom> [all...] |
/external/chromium_org/third_party/skia/tests/ |
H A D | MathTest.cpp | 472 SkFixed denom = rand.nextS(); local 473 SkFixed result = SkFixedDiv(numer, denom); 474 int64_t check = ((int64_t)numer << 16) / denom; 477 (void)SkCLZ(denom); 540 T denom; member in struct:__anon14649 554 const T denom = kEdgeCases[i].denom; local 556 SkTDivMod(numer, denom, &div, &mod); 557 REPORTER_ASSERT(r, numer/denom == div); 558 REPORTER_ASSERT(r, numer%denom 564 T denom = 0; local [all...] |