Home
last modified time | relevance | path

Searched refs:pow2 (Results 1 – 17 of 17) sorted by relevance

/external/fio/lib/
Dnum2str.c12 char *num2str(uint64_t num, int maxlen, int base, int pow2, int unit_base) in num2str() argument
25 base /= thousand[!!pow2]; in num2str()
43 modulo = num % thousand[!!pow2]; in num2str()
44 num /= thousand[!!pow2]; in num2str()
45 carry = modulo >= thousand[!!pow2] / 2; in num2str()
/external/bison/lib/
Dfrexp.c83 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()
Dprintf-frexp.c90 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/
Dutil.c5 unsigned i, pow2; in TEST_BEGIN() local
25 for (pow2 = 1; pow2 < 25; pow2++) { in TEST_BEGIN()
26 for (x = (ZU(1) << (pow2-1)) + 1; x <= ZU(1) << pow2; x++) { in TEST_BEGIN()
27 assert_zu_eq(pow2_ceil(x), ZU(1) << pow2, in TEST_BEGIN()
/external/opencv/cvaux/src/
Dcvvecfacetracking.cpp95 iEnergy = 1 * pow2(r.width - prev.r.width) + in Energy()
96 1 * pow2(r.height - prev.r.height) + in Energy()
97 1 * pow2(iColor - prev_color) / 4 + in Energy()
810 4 * pow2(ppNew[LEYE]->r.width - ppNew[REYE]->r.width) + in GetEnergy()
811 4 * pow2(ppNew[LEYE]->r.height - ppNew[REYE]->r.height) + in GetEnergy()
871 …double dbXtXt = double(pow2(pTemplPoints[0].x) + pow2(pTemplPoints[1].x) + pow2(pTemplPoints[2].x)… in CalculateTransformationLMS3()
872 …double dbYtYt = double(pow2(pTemplPoints[0].y) + pow2(pTemplPoints[1].y) + pow2(pTemplPoints[2].y)… in CalculateTransformationLMS3()
874 …double dbXsXs = double(pow2(pSrcPoints[0].x) + pow2(pSrcPoints[1].x) + pow2(pSrcPoints[2].x)) / 3.… in CalculateTransformationLMS3()
875 …double dbYsYs = double(pow2(pSrcPoints[0].y) + pow2(pSrcPoints[1].y) + pow2(pSrcPoints[2].y)) / 3.… in CalculateTransformationLMS3()
938 …double dbXtXt = double(pow2(pTemplPoints[0].x) + pow2(pTemplPoints[1].x) + pow2(pTemplPoints[2].x)… in CalculateTransformationLMS3_0()
[all …]
D_cvvectrack.h57 inline int pow2(int v) in pow2() function
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DWNafUtil.java81 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()
DFixedPointUtil.java52 ECPoint pow2 = pow2Table[bit]; in precompute() local
57 lookupTable[i] = lookupTable[i - step].add(pow2); in precompute()
/external/llvm/test/CodeGen/AArch64/
Dmul_pow2.ll3 ; 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/jemalloc/include/jemalloc/internal/
Dsize_classes.sh25 pow2() { function
51 lg ${ndelta}; lg_ndelta=${lg_result}; pow2 ${lg_ndelta}
94 pow2 $((${lg_z} + 3)); ptr_bits=${pow2_result}
95 pow2 ${lg_g}; g=${pow2_result}
/external/skia/src/core/
DSkGeometry.h262 int chopIntoQuadsPOW2(SkPoint pts[], int pow2) const;
312 int pow2 = conic.computeQuadPOW2(tol); in computeQuads() local
313 fQuadCount = 1 << pow2; in computeQuads()
315 conic.chopIntoQuadsPOW2(pts, pow2); in computeQuads()
DSkGeometry.cpp1369 int pow2; in computeQuadPOW2() local
1370 for (pow2 = 0; pow2 < kMaxConicToQuadPOW2; ++pow2) { in computeQuadPOW2()
1388 if (altPow2 != pow2) { in computeQuadPOW2()
1389 SkDebugf("pow2 %d altPow2 %d fbits %g err %g tol %g\n", pow2, altPow2, fpow2, err, tol); in computeQuadPOW2()
1391 pow2 = altPow2; in computeQuadPOW2()
1393 return pow2; in computeQuadPOW2()
1411 int SkConic::chopIntoQuadsPOW2(SkPoint pts[], int pow2) const { in chopIntoQuadsPOW2()
1412 SkASSERT(pow2 >= 0); in chopIntoQuadsPOW2()
1414 SkDEBUGCODE(SkPoint* endPts =) subdivide(*this, pts + 1, pow2); in chopIntoQuadsPOW2()
1415 SkASSERT(endPts - pts == (2 * (1 << pow2) + 1)); in chopIntoQuadsPOW2()
[all …]
/external/skia/src/gpu/
DGrPathUtils.cpp58 int pow2 = GrNextPow2(temp); in quadraticPointCount() local
62 if (pow2 < 1) { in quadraticPointCount()
63 pow2 = 1; in quadraticPointCount()
65 return SkTMin(pow2, MAX_POINTS_PER_CURVE); in quadraticPointCount()
114 int pow2 = GrNextPow2(temp); in cubicPointCount() local
118 if (pow2 < 1) { in cubicPointCount()
119 pow2 = 1; in cubicPointCount()
121 return SkTMin(pow2, MAX_POINTS_PER_CURVE); in cubicPointCount()
/external/llvm/test/MC/ARM/AlignedBundling/
Dgroup-bundle-arm.s23 # pow2 here
/external/llvm/test/Transforms/InstSimplify/
DAndOrXor.ll3 define i64 @pow2(i32 %x) {
4 ; CHECK-LABEL: @pow2(
/external/aac/libSBRdec/src/
Denv_dec.cpp675 static const FIXP_SGL pow2[ENV_EXP_FRACT] = in requantizeEnvelopeData() local
707 mantissa = (FIXP_SGL)( (mantissa * pow2[bit]) << 1); in requantizeEnvelopeData()
/external/dexmaker/src/test/java/com/google/dexmaker/
DDexMakerTest.java1148 Method pow2 = getMethod(); in testForLoop() local
1149 assertEquals(1, pow2.invoke(null, 0)); in testForLoop()
1150 assertEquals(2, pow2.invoke(null, 1)); in testForLoop()
1151 assertEquals(4, pow2.invoke(null, 2)); in testForLoop()
1152 assertEquals(8, pow2.invoke(null, 3)); in testForLoop()
1153 assertEquals(16, pow2.invoke(null, 4)); in testForLoop()