Home
last modified time | relevance | path

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

12

/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/vulkan-validation-layers/libs/glm/gtx/
Dgradient_paint.inl23 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 - …
Dspline.inl23 typename genType::value_type s2 = pow2(s);
46 typename genType::value_type s2 = pow2(s);
Doptimum_pow.hpp57 GLM_FUNC_DECL genType pow2(const genType& x);
Doptimum_pow.inl13 GLM_FUNC_QUALIFIER genType pow2(genType const & x) function
/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/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/jemalloc/test/unit/
Dutil.c4 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/
Dsize_classes.sh25 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/
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.
Dfcvt_combine.ll114 ; Combine if mix of undef and pow2.
/external/skia/src/core/
DSkGeometry.cpp1099 int pow2; in computeQuadPOW2() local
1100 for (pow2 = 0; pow2 < kMaxConicToQuadPOW2; ++pow2) { in computeQuadPOW2()
1118 if (altPow2 != pow2) { in computeQuadPOW2()
1119 SkDebugf("pow2 %d altPow2 %d fbits %g err %g tol %g\n", pow2, altPow2, fpow2, err, tol); in computeQuadPOW2()
1121 pow2 = altPow2; in computeQuadPOW2()
1123 return pow2; in computeQuadPOW2()
1173 int SkConic::chopIntoQuadsPOW2(SkPoint pts[], int pow2) const { in chopIntoQuadsPOW2()
1174 SkASSERT(pow2 >= 0); in chopIntoQuadsPOW2()
1177 if (pow2 == kMaxConicToQuadPOW2) { // If an extreme weight generates many quads ... in chopIntoQuadsPOW2()
1185 pow2 = 1; in chopIntoQuadsPOW2()
[all …]
DSkGeometry.h238 int SK_WARN_UNUSED_RESULT chopIntoQuadsPOW2(SkPoint pts[], int pow2) const;
384 int pow2 = conic.computeQuadPOW2(tol); in computeQuads() local
385 fQuadCount = 1 << pow2; in computeQuads()
387 fQuadCount = conic.chopIntoQuadsPOW2(pts, pow2); in computeQuads()
DSkPath.cpp3266 SkScalar w, SkPoint pts[], int pow2) { in ConvertConicToQuads() argument
3268 return conic.chopIntoQuadsPOW2(pts, pow2); in ConvertConicToQuads()
/external/skia/src/gpu/
DGrPathUtils.cpp61 int pow2 = GrNextPow2(temp); in quadraticPointCount() local
65 if (pow2 < 1) { in quadraticPointCount()
66 pow2 = 1; in quadraticPointCount()
68 return SkTMin(pow2, MAX_POINTS_PER_CURVE); in quadraticPointCount()
119 int pow2 = GrNextPow2(temp); in cubicPointCount() local
123 if (pow2 < 1) { in cubicPointCount()
124 pow2 = 1; in cubicPointCount()
126 return SkTMin(pow2, MAX_POINTS_PER_CURVE); in cubicPointCount()
/external/llvm/test/MC/ARM/AlignedBundling/
Dgroup-bundle-arm.s23 # pow2 here
/external/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.cpp642 unsigned pow2 = GetPower64(mult2); in MyMultAndDiv() local
643 while (pow1 + pow2 > 64) in MyMultAndDiv()
645 if (pow1 > pow2) { pow1--; mult1 >>= 1; } in MyMultAndDiv()
646 else { pow2--; mult2 >>= 1; } in MyMultAndDiv()
/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/llvm/test/Transforms/InstSimplify/
DAndOrXor.ll4 define i64 @pow2(i32 %x) {
5 ; CHECK-LABEL: @pow2(
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DDexMakerTest.java1189 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()
/external/skia/include/core/
DSkPath.h651 SkScalar w, SkPoint pts[], int pow2);

12