/external/libcups/cups/ |
D | pwg-media.c | 40 static int pwg_scan_measurement(const char *buf, char **bufptr, int numer, int denom); 678 numer, /* Unit scaling factor */ in pwgMediaForPPD() local 688 numer = 2540; in pwgMediaForPPD() 695 numer = 2540; in pwgMediaForPPD() 720 numer = 1000; in pwgMediaForPPD() 725 numer = 2540 * 12; in pwgMediaForPPD() 730 numer = 2540; in pwgMediaForPPD() 735 numer = 100; in pwgMediaForPPD() 740 numer = 100000; in pwgMediaForPPD() 745 numer = 2540; in pwgMediaForPPD() [all …]
|
/external/skia/include/core/ |
D | SkMath.h | 126 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { in SkTDivMod() argument 134 const In d = numer/denom; in SkTDivMod() 136 *mod = static_cast<Out>(numer-d*denom); in SkTDivMod() 139 *div = static_cast<Out>(numer/denom); in SkTDivMod() 140 *mod = static_cast<Out>(numer%denom); in SkTDivMod()
|
/external/skia/tests/ |
D | MathTest.cpp | 583 SkFixed numer = rand.nextS(); in DEF_TEST() local 585 SkFixed result = SkFixedDiv(numer, denom); in DEF_TEST() 586 int64_t check = SkLeftShift((int64_t)numer, 16) / denom; in DEF_TEST() 588 (void)SkCLZ(numer); in DEF_TEST() 598 ERRORF(reporter, "\nFixed Divide: %8x / %8x -> %8x %8x\n", numer, denom, result, check); in DEF_TEST() 655 T numer; in test_divmod() member 669 const T numer = kEdgeCases[i].numer; in test_divmod() local 672 SkTDivMod(numer, denom, &div, &mod); in test_divmod() 673 REPORTER_ASSERT(r, numer/denom == div); in test_divmod() 674 REPORTER_ASSERT(r, numer%denom == mod); in test_divmod() [all …]
|
/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 | 112 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; in Emboss() local 116 if (numer > 0) { // preflight when numer/denom will be <= 0 in Emboss() 119 SkFixed dot = numer / denom; in Emboss() 126 …SkFixed dot = (unsigned)(numer >> 4) * gInvSqrtTable[(SkAbs32(nx) >> 1 << 7) | (SkAbs32(ny) >> 1)]… in Emboss()
|
/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 | 345 static int valid_unit_divide(double numer, double denom, double* ratio) in valid_unit_divide() argument 347 if (numer < 0) { in valid_unit_divide() 348 numer = -numer; in valid_unit_divide() 351 if (denom == 0 || numer == 0 || numer >= denom) { in valid_unit_divide() 354 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/clang/test/CodeGen/ |
D | uint128_t.c | 4 extern uint64_t numer; 13 tmp *= numer; in f()
|
/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
|
D | cinttypes | 229 imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom);
|
/external/skia/include/private/ |
D | SkFixed.h | 86 #define SkFixedDiv(numer, denom) \ argument 87 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
|
/external/skia/experimental/ |
D | SkSetPoly3To3_A.cpp | 19 static SkScalar divide(SkDScalar numer, SkDScalar denom) { in divide() argument 20 return static_cast<float>(numer / denom); in divide()
|
/external/libcxx/src/ |
D | chrono.cpp | 164 return static_cast<double>(MachInfo.numer) / MachInfo.denom; in compute_steady_factor() 183 if (MachInfo.numer == MachInfo.denom) in init_steady_clock()
|
/external/compiler-rt/test/builtins/timing/ |
D | timing.h | 23 conversion = (double) freq * (1e-9 * (double) info.numer / (double) info.denom); in intervalInCycles()
|
/external/skia/src/core/ |
D | SkColor.cpp | 28 static inline SkScalar ByteDivToScalar(int numer, U8CPU denom) { in ByteDivToScalar() argument 30 return SkIntToScalar(numer) / (int)denom; in ByteDivToScalar()
|
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()
|
D | SkGeometry.h | 323 Sk2s numer = fNumer.eval(tt); in eval() local 325 return numer / denom; in eval()
|
/external/dhcpcd-6.8.2/ |
D | common.c | 106 factor = (double)info.numer / (double)info.denom; in get_monotonic() 112 if ((info.denom != 1 || info.numer != 1) && factor != 0.0) in get_monotonic()
|
/external/compiler-rt/test/tsan/ |
D | test.h | 61 return (mach_absolute_time() * timebase_info.numer) / timebase_info.denom; in monotonic_clock_ns()
|
/external/libmpeg2/decoder/ |
D | impeg2d_pic_proc.c | 313 UWORD32 numer; in impeg2d_init_video_state() local 315 numer = (UWORD32)gau2_impeg2_frm_rate_code[ps_dec->u2_frame_rate_code][1] * in impeg2d_init_video_state() 320 ps_dec->u2_framePeriod = (numer * 1000 * 100) / denom; in impeg2d_init_video_state()
|
/external/skia/src/effects/gradients/ |
D | SkTwoPointConicalGradient.cpp | 22 static int valid_divide(float numer, float denom, float* ratio) { in valid_divide() argument 27 *ratio = numer / denom; in valid_divide()
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
D | trace_time.py | 67 ticks_per_second = timebase.numer / timebase.denom * 1.0e9
|
/external/webrtc/webrtc/base/ |
D | timeutils.cc | 49 ticks = mach_absolute_time() * timebase.numer / timebase.denom; in TimeNanos()
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
D | MatrixExponential.h | 367 MatrixType numer = U + V; 369 result = denom.partialPivLu().solve(numer);
|