/external/skia/src/core/ |
D | SkMath.cpp | 263 if ((numer = (numer << 1) - denom) >= 0) \ 264 result |= 1 << (n - 1); else numer += denom 266 int32_t SkDivBits(int32_t numer, int32_t denom, int shift_bias) { in SkDivBits() argument 268 if (numer == 0) { in SkDivBits() 273 int32_t sign = SkExtractSign(numer ^ denom); in SkDivBits() 274 numer = SkAbs32(numer); in SkDivBits() 277 int nbits = SkCLZ(numer) - 1; in SkDivBits() 289 numer <<= nbits; in SkDivBits() 294 if ((numer -= denom) >= 0) { in SkDivBits() 297 numer += denom; in SkDivBits() [all …]
|
D | SkGeometry.cpp | 113 static int valid_unit_divide(SkScalar numer, SkScalar denom, SkScalar* ratio) in valid_unit_divide() argument 117 if (numer < 0) in valid_unit_divide() 119 numer = -numer; in valid_unit_divide() 123 if (denom == 0 || numer == 0 || numer >= denom) in valid_unit_divide() 126 SkScalar r = SkScalarDiv(numer, denom); in valid_unit_divide() 417 Sk64 numer, denom, tmp; in SkChopQuadAtMaxCurvature() local 419 numer.setMul(Ax, -Bx); in SkChopQuadAtMaxCurvature() 421 numer.add(tmp); in SkChopQuadAtMaxCurvature() 423 if (numer.isPos()) // do nothing if numer <= 0 in SkChopQuadAtMaxCurvature() 429 if (numer < denom) in SkChopQuadAtMaxCurvature() [all …]
|
D | SkColor.cpp | 53 static inline SkScalar ByteDivToScalar(int numer, U8CPU denom) { in ByteDivToScalar() argument 55 return SkIntToScalar(numer) / (int)denom; in ByteDivToScalar()
|
D | SkMatrix.cpp | 266 static inline SkFixed roundidiv(SkFixed numer, int denom) { in roundidiv() argument 267 int ns = numer >> 31; in roundidiv() 269 numer = (numer ^ ns) - ns; in roundidiv() 272 SkFixed answer = (numer + (denom >> 1)) / denom; in roundidiv()
|
/external/skia/tests/ |
D | MathTest.cpp | 383 SkFixed numer = rand.nextS(); in TestMath() local 385 SkFixed result = SkFixedDiv(numer, denom); in TestMath() 386 SkLONGLONG check = ((SkLONGLONG)numer << 16) / denom; in TestMath() 388 (void)SkCLZ(numer); in TestMath() 399 result = SkFractDiv(numer, denom); in TestMath() 400 check = ((SkLONGLONG)numer << 30) / denom; in TestMath() 411 numer = numer << 8 >> 8; in TestMath() 414 result = SkFixedMul(numer, denom); in TestMath() 415 SkFixed r2 = symmetric_fixmul(numer, denom); in TestMath() 418 result = SkFixedMul(numer, numer); in TestMath() [all …]
|
/external/skia/include/core/ |
D | SkFixed.h | 131 #define SkFixedDiv(numer, denom) SkDivBits(numer, denom, 16) argument 132 SkFixed SkFixedDivInt(int32_t numer, int32_t denom); 133 SkFixed SkFixedMod(SkFixed numer, SkFixed denom); 140 #define SkFractDiv(numer, denom) SkDivBits(numer, denom, 30) argument
|
D | SkMath.h | 41 int32_t SkDivBits(int32_t numer, int32_t denom, int shift);
|
/external/mesa3d/include/c99/ |
D | inttypes.h | 280 imaxdiv_t __cdecl imaxdiv(intmax_t numer, intmax_t denom) in imaxdiv() argument 284 result.quot = numer / denom; in imaxdiv() 285 result.rem = numer % denom; in imaxdiv() 287 if (numer < 0 && result.rem > 0) { in imaxdiv()
|
/external/skia/src/effects/ |
D | SkEmbossMask.cpp | 119 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; in Emboss() local 123 if (numer > 0) { // preflight when numer/denom will be <= 0 in Emboss() 126 SkFixed dot = numer / denom; in Emboss() 133 …SkFixed dot = (unsigned)(numer >> 4) * gInvSqrtTable[(SkAbs32(nx) >> 1 << 7) | (SkAbs32(ny) >> 1)]… in Emboss()
|
D | SkGradientShader.cpp | 1923 static unsigned div_64(int numer, int denom) { in div_64() argument 1924 SkASSERT(numer <= denom); in div_64() 1925 SkASSERT(numer > 0); in div_64() 1928 int nbits = SkCLZ(numer); in div_64() 1938 numer <<= nbits - 1; in div_64() 1943 if ((numer -= denom) >= 0) { in div_64() 1946 numer += denom; in div_64() 1955 if ((numer = (numer << 1) - denom) >= 0) in div_64() 1958 numer += denom; in div_64() 1960 if ((numer = (numer << 1) - denom) >= 0) in div_64() [all …]
|
/external/clang/test/CodeGen/ |
D | uint128_t.c | 4 extern uint64_t numer; 13 tmp *= numer; in f()
|
/external/quake/quake/src/WinQuake/ |
D | mathlib.cpp | 500 void FloorDivMod (double numer, double denom, int *quotient, in FloorDivMod() argument 515 if (numer >= 0.0) in FloorDivMod() 518 x = floor(numer / denom); in FloorDivMod() 520 r = (int)floor(numer - (x * denom)); in FloorDivMod() 527 x = floor(-numer / denom); in FloorDivMod() 529 r = (int)floor(-numer - (x * denom)); in FloorDivMod()
|
D | mathlib.h | 64 void FloorDivMod (double numer, double denom, int *quotient,
|
/external/quake/quake/src/QW/client/ |
D | mathlib.c | 498 void FloorDivMod (double numer, double denom, int *quotient, in FloorDivMod() argument 513 if (numer >= 0.0) in FloorDivMod() 516 x = floor(numer / denom); in FloorDivMod() 518 r = (int)floor(numer - (x * denom)); in FloorDivMod() 525 x = floor(-numer / denom); in FloorDivMod() 527 r = (int)floor(-numer - (x * denom)); in FloorDivMod()
|
D | mathlib.h | 64 void FloorDivMod (double numer, double denom, int *quotient,
|
/external/dhcpcd/ |
D | common.c | 176 factor = (double)info.numer / (double)info.denom; in get_monotonic() 182 if ((info.denom != 1 || info.numer != 1) && factor != 0.0) in get_monotonic()
|
/external/skia/bench/ |
D | BenchSysTimer_mach.cpp | 65 uint64_t elapsedNano = elapsed * sTimebaseInfo.numer in endWall()
|
/external/chromium/base/ |
D | time_mac.cc | 125 timebase_info.numer / timebase_info.denom; in Now()
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
D | regress-209067.js | 96 numer=1; 100 return (numer++) +'. ' + p;
|
/external/chromium/chrome/browser/automation/ |
D | ui_controls_mac.mm | 68 timeNano = time * sTimebaseInfo.numer / sTimebaseInfo.denom;
|
/external/dnsmasq/po/ |
D | pl.po | 491 msgstr "Ustawienie dolnej granicy numer�w port�w do przesy�ania zapyta� DNS." 600 msgstr "nieprawid�owy numer portu" 608 msgstr "nieprawid�owy zakres numer�w port�w" 632 msgstr "nieprawid�owy numer portu"
|
D | fr.po | 204 msgstr "Ne pas autoriser DHCP pour les machines �numer�es dans les options." 209 msgstr "Forcer les r�ponses par 'broadcast' pour les machines �numer�es dans les options."
|
/external/e2fsprogs/po/ |
D | pl.po | 1764 msgstr "B��dny numer i-w�z�a dla '.' w i-w�le @du %i.\n" 1769 msgstr "@E ma b��dny numer i-w�z�a: %Di.\n" 2023 msgstr "@p i-w�le @du HTREE %d (%q): b��dny numer @bu %b.\n" 3409 "\tsuperblock=<numer superbloku>\n"
|