/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | gradient_paint.inl | 17 T Radius2 = pow2(Radius); 18 T Fx2 = pow2(F.x); 19 T Fy2 = pow2(F.y); 21 …T Numerator = (D.x * F.x + D.y * F.y) + sqrt(Radius2 * (pow2(D.x) + pow2(D.y)) - pow2(D.x * F.y - …
|
D | spline.inl | 17 typename genType::value_type s2 = pow2(s); 40 typename genType::value_type s2 = pow2(s);
|
D | optimum_pow.hpp | 32 GLM_FUNC_DECL genType pow2(genType const & x);
|
D | optimum_pow.inl | 7 GLM_FUNC_QUALIFIER genType pow2(genType const & x) function
|
/third_party/glib/glib/gnulib/ |
D | printf-frexp.c | 90 DOUBLE pow2[64]; /* pow2[i] = 2^2^i */ in FUNC() local 116 pow2[i] = pow2_i; in FUNC() 143 pow2[i] = pow2_i; in FUNC() 159 x *= pow2[i]; in FUNC() 175 if (x >= pow2[i]) in FUNC()
|
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/mini_c_samples/ |
D | 1.mini | 3 int pow2(n) 17 return pow2(10);
|
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure_samples/ |
D | pow2.cnj | 3 int pow2(n) 17 return pow2(10);
|
/third_party/python/Lib/test/ |
D | test_pow.py | 17 pow2 = 1 19 self.assertEqual(pow(2, i), pow2) 20 if i != 30 : pow2 = pow2*2
|
D | test_time.py | 781 for pow2 in (0, 5, 10, 15, 22, 23, 24, 30, 33): 782 ns = (2 ** pow2) * SEC_TO_NS 791 for pow2 in (3, 7, 10, 15): 792 ns = 2.0 ** (-pow2)
|
/third_party/flutter/skia/src/core/ |
D | SkGeometry.cpp | 1206 int pow2; in computeQuadPOW2() local 1207 for (pow2 = 0; pow2 < kMaxConicToQuadPOW2; ++pow2) { in computeQuadPOW2() 1225 if (altPow2 != pow2) { in computeQuadPOW2() 1226 SkDebugf("pow2 %d altPow2 %d fbits %g err %g tol %g\n", pow2, altPow2, fpow2, err, tol); in computeQuadPOW2() 1228 pow2 = altPow2; in computeQuadPOW2() 1230 return pow2; in computeQuadPOW2() 1280 int SkConic::chopIntoQuadsPOW2(SkPoint pts[], int pow2) const { in chopIntoQuadsPOW2() 1281 SkASSERT(pow2 >= 0); in chopIntoQuadsPOW2() 1284 if (pow2 == kMaxConicToQuadPOW2) { // If an extreme weight generates many quads ... in chopIntoQuadsPOW2() 1292 pow2 = 1; in chopIntoQuadsPOW2() [all …]
|
D | SkGeometry.h | 282 int SK_API SK_WARN_UNUSED_RESULT chopIntoQuadsPOW2(SkPoint pts[], int pow2) const; 428 int pow2 = conic.computeQuadPOW2(tol); in computeQuads() local 429 fQuadCount = 1 << pow2; in computeQuads() 431 fQuadCount = conic.chopIntoQuadsPOW2(pts, pow2); in computeQuads()
|
/third_party/skia/src/core/ |
D | SkGeometry.h | 353 int SK_SPI SK_WARN_UNUSED_RESULT chopIntoQuadsPOW2(SkPoint pts[], int pow2) const; 500 int pow2 = conic.computeQuadPOW2(tol); in computeQuads() local 501 fQuadCount = 1 << pow2; in computeQuads() 503 fQuadCount = conic.chopIntoQuadsPOW2(pts, pow2); in computeQuads()
|
D | SkGeometry.cpp | 1405 int pow2; in computeQuadPOW2() local 1406 for (pow2 = 0; pow2 < kMaxConicToQuadPOW2; ++pow2) { in computeQuadPOW2() 1424 if (altPow2 != pow2) { in computeQuadPOW2() 1425 SkDebugf("pow2 %d altPow2 %d fbits %g err %g tol %g\n", pow2, altPow2, fpow2, err, tol); in computeQuadPOW2() 1427 pow2 = altPow2; in computeQuadPOW2() 1429 return pow2; in computeQuadPOW2() 1479 int SkConic::chopIntoQuadsPOW2(SkPoint pts[], int pow2) const { in chopIntoQuadsPOW2() 1480 SkASSERT(pow2 >= 0); in chopIntoQuadsPOW2() 1483 if (pow2 == kMaxConicToQuadPOW2) { // If an extreme weight generates many quads ... in chopIntoQuadsPOW2() 1491 pow2 = 1; in chopIntoQuadsPOW2() [all …]
|
/third_party/skia/src/gpu/tessellate/ |
D | Tessellation.h | 62 AI constexpr float pow2(float x) { return x*x; } in pow2() function 63 AI constexpr float pow4(float x) { return pow2(x*x); } in pow4()
|
D | PathCurveTessellator.cpp | 40 float maxSegments_pow2 = pow2(maxTessellationSegments); in writePatches() 41 float maxSegments_pow4 = pow2(maxSegments_pow2); in writePatches()
|
D | PathWedgeTessellator.cpp | 139 float maxSegments_pow2 = pow2(maxTessellationSegments); in writePatches() 140 float maxSegments_pow4 = pow2(maxSegments_pow2); in writePatches()
|
D | Tessellation.cpp | 61 if (n > pow2(kMaxTessellationSegmentsPerCurve)) { in conicTo()
|
/third_party/flutter/skia/src/gpu/geometry/ |
D | GrPathUtils.cpp | 67 int pow2 = GrNextPow2(temp); in quadraticPointCount() local 71 if (pow2 < 1) { in quadraticPointCount() 72 pow2 = 1; in quadraticPointCount() 74 return SkTMin(pow2, kMaxPointsPerCurve); in quadraticPointCount() 123 int pow2 = GrNextPow2(temp); in cubicPointCount() local 127 if (pow2 < 1) { in cubicPointCount() 128 pow2 = 1; in cubicPointCount() 130 return SkTMin(pow2, kMaxPointsPerCurve); in cubicPointCount()
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/ |
D | conic.dart | 180 int pow2 = 0; 181 for (; pow2 < _maxSubdivisionCount; ++pow2) { 187 return pow2;
|
/third_party/boost/boost/random/detail/ |
D | seed_impl.hpp | 76 inline T pow2(int n) in pow2() function 93 RealType multiplier = pow2<RealType>( Bits); in generate_from_real() 339 const RealType divisor = RealType(1)/detail::pow2<RealType>(w); in seed_array_real_impl() 371 const RealType divisor = RealType(1)/detail::pow2<RealType>(w); in fill_array_real()
|
/third_party/boost/libs/math/doc/distributions/ |
D | inverse_chi_squared.qbk | 54 with known mean, model parameter [sigma][pow2] (variance). 156 [[variance][2 [nu][pow2] [xi][pow2] / (([nu] -2)[pow2] ([nu] -4)) for [nu] >4, else a __domain_erro…
|
/third_party/ffmpeg/libavcodec/ |
D | vorbisenc.c | 57 float *pow2; member 180 cb->pow2 = cb->dimensions = NULL; in ready_codebook() 184 cb->pow2 = av_mallocz_array(cb->nentries, sizeof(float)); in ready_codebook() 185 if (!cb->dimensions || !cb->pow2) in ready_codebook() 201 … cb->pow2[i] += cb->dimensions[i * cb->ndimensions + j] * cb->dimensions[i * cb->ndimensions + j]; in ready_codebook() 204 cb->pow2[i] /= 2.0; in ready_codebook() 889 float * vec = book->dimensions + i * book->ndimensions, d = book->pow2[i]; in put_vector() 1215 av_freep(&venc->codebooks[i].pow2); in vorbis_encode_close()
|
/third_party/skia/tests/ |
D | MathTest.cpp | 323 float pow2 = std::ldexp(1, i); in test_nextlog2() local 325 REPORTER_ASSERT(r, sk_float_nextlog2(pow2) == i); in test_nextlog2() 326 REPORTER_ASSERT(r, sk_float_nextlog2(pow2 + epsilon) == i + 1); in test_nextlog2() 327 REPORTER_ASSERT(r, sk_float_nextlog2(pow2 - epsilon) == i); in test_nextlog2()
|
/third_party/python/Objects/ |
D | floatobject.c | 985 double pow1, pow2, y, z; in double_round() local 991 pow2 = 1e22; in double_round() 995 pow2 = 1.0; in double_round() 997 y = (x*pow1)*pow2; in double_round() 1004 pow2 = 1.0; /* unused; silences a gcc compiler warning */ in double_round() 1014 z = (z / pow2) / pow1; in double_round()
|
/third_party/boost/boost/math/bindings/ |
D | e_float.hpp | 180 ::e_float shift = ::ef::pow2(30); in assign_large_real() 192 m_value *= ::ef::pow2(e); in assign_large_real() 329 return v.value() * ::ef::pow2(e); in ldexp() 338 return v.value() * ::ef::pow2(-i); in frexp()
|