/external/libcups/cups/ |
D | pwg-media.c | 40 static int pwg_scan_measurement(const char *buf, char **bufptr, int numer, int denom); 679 numer, /* Unit scaling factor */ in pwgMediaForPPD() local 689 numer = 2540; in pwgMediaForPPD() 696 numer = 2540; in pwgMediaForPPD() 721 numer = 1000; in pwgMediaForPPD() 726 numer = 2540 * 12; in pwgMediaForPPD() 731 numer = 2540; in pwgMediaForPPD() 736 numer = 100; in pwgMediaForPPD() 741 numer = 100000; in pwgMediaForPPD() 746 numer = 2540; in pwgMediaForPPD() [all …]
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_idiv.c | 42 nir_ssa_def *numer, *denom, *af, *bf, *a, *b, *q, *r; in convert_instr() local 55 numer = nir_ssa_for_alu_src(bld, alu, 0); in convert_instr() 59 af = nir_i2f32(bld, numer); in convert_instr() 63 a = nir_iabs(bld, numer); in convert_instr() 66 af = nir_u2f32(bld, numer); in convert_instr() 68 a = numer; in convert_instr() 103 r = nir_ixor(bld, numer, denom); in convert_instr()
|
/external/u-boot/lib/ |
D | ldiv.c | 12 ldiv (long int numer, long int denom) in ldiv() argument 16 result.quot = numer / denom; in ldiv() 17 result.rem = numer % denom; in ldiv() 35 if (numer >= 0 && result.rem < 0) in ldiv()
|
/external/skia/tests/ |
D | MathTest.cpp | 457 SkFixed numer = rand.nextS(); in DEF_TEST() local 459 SkFixed result = SkFixedDiv(numer, denom); in DEF_TEST() 460 int64_t check = SkLeftShift((int64_t)numer, 16) / denom; in DEF_TEST() 462 (void)SkCLZ(numer); in DEF_TEST() 472 ERRORF(reporter, "\nFixed Divide: %8x / %8x -> %8x %8x\n", numer, denom, result, check); in DEF_TEST() 527 T numer; in test_divmod() member 541 const T numer = kEdgeCases[i].numer; in test_divmod() local 544 SkTDivMod(numer, denom, &div, &mod); in test_divmod() 545 REPORTER_ASSERT(r, numer/denom == div); in test_divmod() 546 REPORTER_ASSERT(r, numer%denom == mod); in test_divmod() [all …]
|
/external/skqp/tests/ |
D | MathTest.cpp | 457 SkFixed numer = rand.nextS(); in DEF_TEST() local 459 SkFixed result = SkFixedDiv(numer, denom); in DEF_TEST() 460 int64_t check = SkLeftShift((int64_t)numer, 16) / denom; in DEF_TEST() 462 (void)SkCLZ(numer); in DEF_TEST() 472 ERRORF(reporter, "\nFixed Divide: %8x / %8x -> %8x %8x\n", numer, denom, result, check); in DEF_TEST() 526 T numer; in test_divmod() member 540 const T numer = kEdgeCases[i].numer; in test_divmod() local 543 SkTDivMod(numer, denom, &div, &mod); in test_divmod() 544 REPORTER_ASSERT(r, numer/denom == div); in test_divmod() 545 REPORTER_ASSERT(r, numer%denom == mod); in test_divmod() [all …]
|
/external/skqp/src/core/ |
D | SkMathPriv.h | 33 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { in SkTDivMod() argument 41 const In d = numer/denom; in SkTDivMod() 43 *mod = static_cast<Out>(numer-d*denom); in SkTDivMod() 46 *div = static_cast<Out>(numer/denom); in SkTDivMod() 47 *mod = static_cast<Out>(numer%denom); in SkTDivMod()
|
D | SkCubicMap.cpp | 68 float numer = 2 * fp * f; in solve_nice_cubic_halley() local 69 if (numer == 0) { in solve_nice_cubic_halley() 73 float delta = numer / denom; in solve_nice_cubic_halley() 113 float numer = 6 * f * fp2 - 3 * f2 * fpp; in solve_nice_cubic_householder() local 114 if (numer == 0) { in solve_nice_cubic_householder() 118 float delta = numer / denom; in solve_nice_cubic_householder()
|
D | SkDrawShadowInfo.h | 37 static inline float divide_and_pin(float numer, float denom, float min, float max) { in divide_and_pin() argument 38 float result = SkTPin(sk_ieee_float_divide(numer, denom), min, max); in divide_and_pin()
|
D | SkGeometry.cpp | 35 static int valid_unit_divide(SkScalar numer, SkScalar denom, SkScalar* ratio) { in valid_unit_divide() argument 38 if (numer < 0) { in valid_unit_divide() 39 numer = -numer; in valid_unit_divide() 43 if (denom == 0 || numer == 0 || numer >= denom) { in valid_unit_divide() 47 SkScalar r = numer / denom; in valid_unit_divide() 51 SkASSERTF(r >= 0 && r < SK_Scalar1, "numer %f, denom %f, r %f", numer, denom, r); in valid_unit_divide() 264 SkScalar numer = -(Ax * Bx + Ay * By); in SkFindQuadMaxCurvature() local 267 numer = -numer; in SkFindQuadMaxCurvature() 270 if (numer <= 0) { in SkFindQuadMaxCurvature() 273 if (numer >= denom) { // Also catches denom=0. in SkFindQuadMaxCurvature() [all …]
|
/external/skia/src/core/ |
D | SkMathPriv.h | 33 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { in SkTDivMod() argument 41 const In d = numer/denom; in SkTDivMod() 43 *mod = static_cast<Out>(numer-d*denom); in SkTDivMod() 46 *div = static_cast<Out>(numer/denom); in SkTDivMod() 47 *mod = static_cast<Out>(numer%denom); in SkTDivMod()
|
D | SkCubicMap.cpp | 68 float numer = 2 * fp * f; in solve_nice_cubic_halley() local 69 if (numer == 0) { in solve_nice_cubic_halley() 73 float delta = numer / denom; in solve_nice_cubic_halley() 113 float numer = 6 * f * fp2 - 3 * f2 * fpp; in solve_nice_cubic_householder() local 114 if (numer == 0) { in solve_nice_cubic_householder() 118 float delta = numer / denom; in solve_nice_cubic_householder()
|
D | SkDrawShadowInfo.h | 37 static inline float divide_and_pin(float numer, float denom, float min, float max) { in divide_and_pin() argument 38 float result = SkTPin(sk_ieee_float_divide(numer, denom), min, max); in divide_and_pin()
|
D | SkGeometry.cpp | 35 static int valid_unit_divide(SkScalar numer, SkScalar denom, SkScalar* ratio) { in valid_unit_divide() argument 38 if (numer < 0) { in valid_unit_divide() 39 numer = -numer; in valid_unit_divide() 43 if (denom == 0 || numer == 0 || numer >= denom) { in valid_unit_divide() 47 SkScalar r = numer / denom; in valid_unit_divide() 51 SkASSERTF(r >= 0 && r < SK_Scalar1, "numer %f, denom %f, r %f", numer, denom, r); in valid_unit_divide() 264 SkScalar numer = -(Ax * Bx + Ay * By); in SkFindQuadMaxCurvature() local 267 numer = -numer; in SkFindQuadMaxCurvature() 270 if (numer <= 0) { in SkFindQuadMaxCurvature() 273 if (numer >= denom) { // Also catches denom=0. in SkFindQuadMaxCurvature() [all …]
|
/external/skqp/src/pathops/ |
D | SkPathOpsLine.cpp | 40 double numer = len.fX * ab0.fX + ab0.fY * len.fY; in nearPoint() local 41 if (!between(0, numer, denom)) { in nearPoint() 47 double t = numer / denom; in nearPoint() 70 double numer = len.fX * ab0.fX + ab0.fY * len.fY; in nearRay() local 71 double t = numer / denom; in nearRay()
|
D | SkPathOpsQuad.cpp | 355 static int valid_unit_divide(double numer, double denom, double* ratio) in valid_unit_divide() argument 357 if (numer < 0) { in valid_unit_divide() 358 numer = -numer; in valid_unit_divide() 361 if (denom == 0 || numer == 0 || numer >= denom) { in valid_unit_divide() 364 double r = numer / denom; in valid_unit_divide()
|
/external/skia/src/pathops/ |
D | SkPathOpsLine.cpp | 40 double numer = len.fX * ab0.fX + ab0.fY * len.fY; in nearPoint() local 41 if (!between(0, numer, denom)) { in nearPoint() 47 double t = numer / denom; in nearPoint() 70 double numer = len.fX * ab0.fX + ab0.fY * len.fY; in nearRay() local 71 double t = numer / denom; in nearRay()
|
D | SkPathOpsQuad.cpp | 355 static int valid_unit_divide(double numer, double denom, double* ratio) in valid_unit_divide() argument 357 if (numer < 0) { in valid_unit_divide() 358 numer = -numer; in valid_unit_divide() 361 if (denom == 0 || numer == 0 || numer >= denom) { in valid_unit_divide() 364 double r = numer / denom; in valid_unit_divide()
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | tick_util.cc | 36 timebase_from_millisecond_fract = (timebase.denom * 1e6) / timebase.numer; in MillisecondsToTicks() 55 timebase_microsecond_fract = timebase.numer / (timebase.denom * 1e6); in TicksToMilliseconds() 74 timebase_microsecond_fract = timebase.numer / (timebase.denom * 1e3); in TicksToMicroseconds()
|
/external/skqp/include/private/ |
D | SkFloatingPoint.h | 202 static inline float sk_ieee_float_divide(float numer, float denom) { in sk_ieee_float_divide() argument 203 return numer / denom; in sk_ieee_float_divide() 209 static inline double sk_ieee_double_divide(double numer, double denom) { in sk_ieee_double_divide() argument 210 return numer / denom; in sk_ieee_double_divide()
|
/external/skia/include/private/ |
D | SkFloatingPoint.h | 206 static inline float sk_ieee_float_divide(float numer, float denom) { in sk_ieee_float_divide() argument 207 return numer / denom; in sk_ieee_float_divide() 213 static inline double sk_ieee_double_divide(double numer, double denom) { in sk_ieee_double_divide() argument 214 return numer / denom; in sk_ieee_double_divide()
|
/external/clang/test/CodeGen/ |
D | uint128_t.c | 4 extern uint64_t numer; 13 tmp *= numer; in f()
|
/external/skia/src/effects/ |
D | SkEmbossMask.cpp | 76 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; in Emboss() local 80 if (numer > 0) { // preflight when numer/denom will be <= 0 in Emboss() 82 SkFixed dot = numer / denom; in Emboss()
|
/external/skqp/src/effects/ |
D | SkEmbossMask.cpp | 76 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; in Emboss() local 80 if (numer > 0) { // preflight when numer/denom will be <= 0 in Emboss() 82 SkFixed dot = numer / denom; in Emboss()
|
/external/libcxx/include/ |
D | cstdlib | 67 div_t div( int numer, int denom); 68 ldiv_t div( long numer, long denom); 69 lldiv_t div(long long numer, long long denom); // C++0X 70 ldiv_t ldiv( long numer, long denom); 71 lldiv_t lldiv(long long numer, long long denom); // C99
|
/external/tensorflow/tensorflow/contrib/rate/ |
D | rate.py | 74 self.numer = self._add_variable( 138 state_ops.assign(self.numer, math_ops.subtract(values, self.prev_values)) 144 return math_ops.div_no_nan(self.numer,
|