/external/fio/lib/ |
D | num2str.c | 19 char *num2str(uint64_t num, int maxlen, int base, int pow2, int units) in num2str() argument 37 if (pow2) in num2str() 43 base /= thousand[!!pow2]; in num2str() 74 modulo = num % thousand[!!pow2]; in num2str() 75 num /= thousand[!!pow2]; in num2str() 76 carry = modulo >= thousand[!!pow2] / 2; in num2str() 107 assert(modulo < thousand[!!pow2]); in num2str() 109 sprintf(tmp, fmt, (double)modulo / (double)thousand[!!pow2]); in num2str()
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
D | gradient_paint.inl | 23 T Radius2 = pow2(Radius); 24 T Fx2 = pow2(F.x); 25 T Fy2 = pow2(F.y); 27 …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 | 23 typename genType::value_type s2 = pow2(s); 46 typename genType::value_type s2 = pow2(s);
|
D | optimum_pow.hpp | 57 GLM_FUNC_DECL genType pow2(const genType& x);
|
D | optimum_pow.inl | 13 GLM_FUNC_QUALIFIER genType pow2(genType const & x) function
|
/external/bison/lib/ |
D | frexp.c | 83 DOUBLE pow2[64]; /* pow2[i] = 2^2^i */ in FUNC() local 108 pow2[i] = pow2_i; in FUNC() 113 while (i > 0 && x < pow2[i - 1]) in FUNC() 142 pow2[i] = pow2_i; in FUNC() 155 x *= pow2[i]; in FUNC()
|
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()
|
/external/jemalloc/test/unit/ |
D | util.c | 4 unsigned i, pow2; \ 24 for (pow2 = 1; pow2 < 25; pow2++) { \ 25 for (x = (((t)1) << (pow2-1)) + 1; x <= ((t)1) << pow2; \ 28 ((t)1) << pow2, \
|
/external/jemalloc/include/jemalloc/internal/ |
D | size_classes.sh | 25 pow2() { function 54 pow2 ${lg_p}; p=${pow2_result} 55 pow2 ${lg_grp}; grp=${pow2_result} 56 pow2 ${lg_delta}; delta=${pow2_result} 66 lg ${ndelta}; lg_ndelta=${lg_result}; pow2 ${lg_ndelta} 110 pow2 $((${lg_z} + 3)); ptr_bits=${pow2_result} 111 pow2 ${lg_g}; g=${pow2_result}
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | WNafUtil.java | 81 int pow2 = 1 << width; in generateCompactWindowNaf() local 82 int mask = pow2 - 1; in generateCompactWindowNaf() 83 int sign = pow2 >>> 1; in generateCompactWindowNaf() 107 digit -= pow2; in generateCompactWindowNaf() 244 int pow2 = 1 << width; in generateWindowNaf() local 245 int mask = pow2 - 1; in generateWindowNaf() 246 int sign = pow2 >>> 1; in generateWindowNaf() 270 digit -= pow2; in generateWindowNaf()
|
D | FixedPointUtil.java | 55 ECPoint pow2 = pow2Table[bit]; in precompute() local 60 lookupTable[i] = lookupTable[i - step].add(pow2); in precompute()
|
/external/python/cpython2/Lib/test/ |
D | test_pow.py | 16 pow2 = 1 18 self.assertEqual(pow(2, i), pow2) 19 if i != 30 : pow2 = pow2*2
|
/external/llvm/test/CodeGen/AArch64/ |
D | mul_pow2.ll | 3 ; Convert mul x, pow2 to shift. 4 ; Convert mul x, pow2 +/- 1 to shift + add/sub. 64 ; Convert mul x, -pow2 to shift. 65 ; Convert mul x, -(pow2 +/- 1) to shift + add/sub.
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 718 bssl::UniquePtr<BIGNUM> sqrt(BN_new()), pow2(BN_new()); in TEST() local 721 ASSERT_TRUE(pow2); in TEST() 725 ASSERT_TRUE(BN_one(pow2.get())); in TEST() 726 ASSERT_TRUE(BN_lshift(pow2.get(), pow2.get(), 2 * bits - 1)); in TEST() 732 EXPECT_LT(BN_cmp(sqrt.get(), pow2.get()), 0); in TEST() 739 EXPECT_LT(BN_cmp(pow2.get(), sqrt.get()), 0); in TEST()
|
/external/skia/src/core/ |
D | SkGeometry.cpp | 1166 int pow2; in computeQuadPOW2() local 1167 for (pow2 = 0; pow2 < kMaxConicToQuadPOW2; ++pow2) { in computeQuadPOW2() 1185 if (altPow2 != pow2) { in computeQuadPOW2() 1186 SkDebugf("pow2 %d altPow2 %d fbits %g err %g tol %g\n", pow2, altPow2, fpow2, err, tol); in computeQuadPOW2() 1188 pow2 = altPow2; in computeQuadPOW2() 1190 return pow2; in computeQuadPOW2() 1240 int SkConic::chopIntoQuadsPOW2(SkPoint pts[], int pow2) const { in chopIntoQuadsPOW2() 1241 SkASSERT(pow2 >= 0); in chopIntoQuadsPOW2() 1244 if (pow2 == kMaxConicToQuadPOW2) { // If an extreme weight generates many quads ... in chopIntoQuadsPOW2() 1252 pow2 = 1; in chopIntoQuadsPOW2() [all …]
|
D | SkGeometry.h | 251 int SK_WARN_UNUSED_RESULT chopIntoQuadsPOW2(SkPoint pts[], int pow2) const; 397 int pow2 = conic.computeQuadPOW2(tol); in computeQuads() local 398 fQuadCount = 1 << pow2; in computeQuads() 400 fQuadCount = conic.chopIntoQuadsPOW2(pts, pow2); in computeQuads()
|
/external/skia/src/gpu/ |
D | GrPathUtils.cpp | 59 int pow2 = GrNextPow2(temp); in quadraticPointCount() local 63 if (pow2 < 1) { in quadraticPointCount() 64 pow2 = 1; in quadraticPointCount() 66 return SkTMin(pow2, kMaxPointsPerCurve); in quadraticPointCount() 115 int pow2 = GrNextPow2(temp); in cubicPointCount() local 119 if (pow2 < 1) { in cubicPointCount() 120 pow2 = 1; in cubicPointCount() 122 return SkTMin(pow2, kMaxPointsPerCurve); in cubicPointCount()
|
/external/llvm/test/MC/ARM/AlignedBundling/ |
D | group-bundle-arm.s | 23 # pow2 here
|
/external/fio/ |
D | parse.h | 80 int pow2; /* must be a power-of-2 */ member
|
/external/python/cpython2/Objects/ |
D | floatobject.c | 1237 double pow1, pow2, y, z; in _Py_double_round() local 1243 pow2 = 1e22; in _Py_double_round() 1247 pow2 = 1.0; in _Py_double_round() 1249 y = (x*pow1)*pow2; in _Py_double_round() 1256 pow2 = 1.0; /* unused; silences a gcc compiler warning */ in _Py_double_round() 1266 z = (z / pow2) / pow1; in _Py_double_round()
|
/external/lzma/CPP/7zip/UI/FileManager/ |
D | ProgressDialog2.cpp | 662 unsigned pow2 = GetPower64(mult2); in MyMultAndDiv() local 663 while (pow1 + pow2 > 64) in MyMultAndDiv() 665 if (pow1 > pow2) { pow1--; mult1 >>= 1; } in MyMultAndDiv() 666 else { pow2--; mult2 >>= 1; } in MyMultAndDiv()
|
/external/aac/libSBRdec/src/ |
D | env_dec.cpp | 675 static const FIXP_SGL pow2[ENV_EXP_FRACT] = in requantizeEnvelopeData() local 707 mantissa = (FIXP_SGL)( (mantissa * pow2[bit]) << 1); in requantizeEnvelopeData()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | fetch_jit.cpp | 653 uint32_t pow2 = 1 << (n - 1); in ConvertFormat() local 654 float scale = 1.0f / (float)(pow2 - 1); in ConvertFormat() 666 uint32_t pow2 = 1 << n; in ConvertFormat() local 670 float scale = (float)(pow2 - 1); in ConvertFormat() 678 float scale = 1.0f / (float)(pow2 - 1); in ConvertFormat()
|
/external/llvm/test/Transforms/InstSimplify/ |
D | AndOrXor.ll | 4 define i64 @pow2(i32 %x) { 5 ; CHECK-LABEL: @pow2(
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | DexMakerTest.java | 1189 Method pow2 = getMethod(); in testForLoop() local 1190 assertEquals(1, pow2.invoke(null, 0)); in testForLoop() 1191 assertEquals(2, pow2.invoke(null, 1)); in testForLoop() 1192 assertEquals(4, pow2.invoke(null, 2)); in testForLoop() 1193 assertEquals(8, pow2.invoke(null, 3)); in testForLoop() 1194 assertEquals(16, pow2.invoke(null, 4)); in testForLoop()
|