/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 | 89 static int valid_unit_divide(SkScalar numer, SkScalar denom, SkScalar* ratio) in valid_unit_divide() argument 93 if (numer < 0) in valid_unit_divide() 95 numer = -numer; in valid_unit_divide() 99 if (denom == 0 || numer == 0 || numer >= denom) in valid_unit_divide() 102 SkScalar r = SkScalarDiv(numer, denom); in valid_unit_divide() 393 Sk64 numer, denom, tmp; in SkChopQuadAtMaxCurvature() local 395 numer.setMul(Ax, -Bx); in SkChopQuadAtMaxCurvature() 397 numer.add(tmp); in SkChopQuadAtMaxCurvature() 399 if (numer.isPos()) // do nothing if numer <= 0 in SkChopQuadAtMaxCurvature() 405 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 | 223 static inline SkFixed roundidiv(SkFixed numer, int denom) { in roundidiv() argument 224 int ns = numer >> 31; in roundidiv() 226 numer = (numer ^ ns) - ns; in roundidiv() 229 SkFixed answer = (numer + (denom >> 1)) / denom; in roundidiv()
|
/external/skia/tests/ |
D | MathTest.cpp | 301 SkFixed numer = rand.nextS(); in TestMath() local 303 SkFixed result = SkFixedDiv(numer, denom); in TestMath() 304 SkLONGLONG check = ((SkLONGLONG)numer << 16) / denom; in TestMath() 306 (void)SkCLZ(numer); in TestMath() 317 result = SkFractDiv(numer, denom); in TestMath() 318 check = ((SkLONGLONG)numer << 30) / denom; in TestMath() 329 numer = numer << 8 >> 8; in TestMath() 332 result = SkFixedMul(numer, denom); in TestMath() 333 SkFixed r2 = symmetric_fixmul(numer, denom); in TestMath() 336 result = SkFixedMul(numer, numer); in TestMath() [all …]
|
/external/skia/include/core/ |
D | SkFixed.h | 116 #define SkFixedDiv(numer, denom) SkDivBits(numer, denom, 16) argument 117 SkFixed SkFixedDivInt(int32_t numer, int32_t denom); 118 SkFixed SkFixedMod(SkFixed numer, SkFixed denom); 125 #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/skia/src/effects/ |
D | SkGradientShader.cpp | 1446 static unsigned div_64(int numer, int denom) in div_64() argument 1448 SkASSERT(numer <= denom); in div_64() 1449 SkASSERT(numer > 0); in div_64() 1452 int nbits = SkCLZ(numer); in div_64() 1461 numer <<= nbits - 1; in div_64() 1466 if ((numer -= denom) >= 0) in div_64() 1469 numer += denom; in div_64() 1478 if ((numer = (numer << 1) - denom) >= 0) in div_64() 1481 numer += denom; in div_64() 1483 if ((numer = (numer << 1) - denom) >= 0) in div_64() [all …]
|
D | SkEmbossMask.cpp | 128 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; in Emboss() local 132 if (numer > 0) // preflight when numer/denom will be <= 0 in Emboss() 136 SkFixed dot = numer / denom; in Emboss() 143 …SkFixed dot = (unsigned)(numer >> 4) * gInvSqrtTable[(SkAbs32(nx) >> 1 << 7) | (SkAbs32(ny) >> 1)]… in Emboss()
|
/external/skia/experimental/ |
D | SkSetPoly3To3_A.cpp | 12 static SkScalar div(SkDScalar numer, SkDScalar denom) { in div() argument 14 return numer / denom; in div() 22 static SkScalar div(SkDScalar numer, SkDScalar denom) { in div() argument 23 return static_cast<float>(numer / denom); in div()
|
/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,
|
D | WinQuake.ncb | 1244 …MAvec3_t vecavec3_t vecbvec3_t veccVectorNormalizeFloorDivModdouble numerdouble denomint *…
|
/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 | 227 factor = (double)info.numer / (double)info.denom; in get_monotonic() 233 if ((info.denom != 1 || info.numer != 1) && factor != 0.0) in get_monotonic()
|
/external/skia/src/gl/ |
D | SkGLDevice.cpp | 593 #define SkDiv16ToScalar(numer, denom) (SkIntToFixed(numer) / (denom)) argument 595 #define SkDiv16ToScalar(numer, denom) SkScalarDiv(numer, denom) argument
|
/external/chromium/base/ |
D | time_mac.cc | 125 timebase_info.numer / timebase_info.denom; in Now()
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
D | regress-209067.js | 96 numer=1; 100 return (numer++) +'. ' + p;
|
/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 | 1640 msgstr "B��dny numer i-w�z�a dla '.' w i-w�le @du %i.\n" 1645 msgstr "@E ma b��dny numer i-w�z�a: %Di.\n" 1898 msgstr "@p i-w�le @du HTREE %d (%q): b��dny numer @bu %b.\n" 3272 "\tsuperblock=<numer superbloku>\n"
|