/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 | 60 static int valid_unit_divide(SkScalar numer, SkScalar denom, SkScalar* ratio) in valid_unit_divide() argument 64 if (numer < 0) in valid_unit_divide() 66 numer = -numer; in valid_unit_divide() 70 if (denom == 0 || numer == 0 || numer >= denom) in valid_unit_divide() 73 SkScalar r = SkScalarDiv(numer, denom); in valid_unit_divide() 339 Sk64 numer, denom, tmp; in SkChopQuadAtMaxCurvature() local 341 numer.setMul(Ax, -Bx); in SkChopQuadAtMaxCurvature() 343 numer.add(tmp); in SkChopQuadAtMaxCurvature() 345 if (numer.isPos()) // do nothing if numer <= 0 in SkChopQuadAtMaxCurvature() 351 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 | 218 static inline SkFixed roundidiv(SkFixed numer, int denom) { in roundidiv() argument 219 int ns = numer >> 31; in roundidiv() 221 numer = (numer ^ ns) - ns; in roundidiv() 224 SkFixed answer = (numer + (denom >> 1)) / denom; in roundidiv()
|
/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 | 1216 static unsigned div_64(int numer, int denom) in div_64() argument 1218 SkASSERT(numer <= denom); in div_64() 1219 SkASSERT(numer > 0); in div_64() 1222 int nbits = SkCLZ(numer); in div_64() 1231 numer <<= nbits - 1; in div_64() 1236 if ((numer -= denom) >= 0) in div_64() 1239 numer += denom; in div_64() 1248 if ((numer = (numer << 1) - denom) >= 0) in div_64() 1251 numer += denom; in div_64() 1253 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/skia/test/ |
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/dhcpcd/ |
D | common.c | 227 factor = (double)info.numer / (double)info.denom; in get_monotonic() 234 if ((info.denom != 1 || info.numer != 1) && factor != 0.0) in get_monotonic()
|
/external/skia/src/gl/ |
D | SkGLDevice.cpp | 544 #define SkDiv16ToScalar(numer, denom) (SkIntToFixed(numer) / (denom)) argument 546 #define SkDiv16ToScalar(numer, denom) SkScalarDiv(numer, denom) argument
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
D | regress-209067.js | 96 numer=1; 100 return (numer++) +'. ' + p;
|
/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"
|