Searched refs:pow2 (Results 1 - 25 of 32) sorted by relevance

12

/external/fio/lib/
H A Dnum2str.c12 char *num2str(unsigned long num, int maxlen, int base, int pow2, int unit_base) argument
25 base /= thousand[!!pow2];
43 modulo = num % thousand[!!pow2];
44 num /= thousand[!!pow2];
45 carry = modulo >= thousand[!!pow2] / 2;
/external/bison/lib/
H A Dfrexp.c83 DOUBLE pow2[64]; /* pow2[i] = 2^2^i */ local
91 DOUBLE pow2_i; /* = pow2[i] */
108 pow2[i] = pow2_i;
113 while (i > 0 && x < pow2[i - 1])
125 DOUBLE pow2_i; /* = pow2[i] */
142 pow2[i] = pow2_i;
155 x *= pow2[i];
H A Dprintf-frexp.c90 DOUBLE pow2[64]; /* pow2[i] = 2^2^i */ local
99 DOUBLE pow2_i; /* = pow2[i] */
116 pow2[i] = pow2_i;
126 DOUBLE pow2_i; /* = pow2[i] */
143 pow2[i] = pow2_i;
159 x *= pow2[i];
175 if (x >= pow2[i])
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DWNafUtil.java66 int pow2 = 1 << width;
67 int mask = pow2 - 1;
68 int sign = pow2 >>> 1;
92 digit -= pow2;
210 int pow2 = 1 << width;
211 int mask = pow2 - 1;
212 int sign = pow2 >>> 1;
236 digit -= pow2;
H A DIntArray.java562 int ciPos = ci.length, pow2 = ciPos >>> 1, offset = 32;
565 if (ciPos == pow2)
568 addShiftedByBits(c, ci[1], c, ci[pow2], cLen, offset);
569 pow2 >>>= 1;
573 distribute(c, ci[pow2], ci[ciPos - pow2], ci[ciPos], cLen);
/external/chromium_org/third_party/skia/src/core/
H A DSkEdgeBuilder.cpp213 int pow2 = conic.computeQuadPOW2(conicTol); local
214 pow2 = SkMin32(pow2, MAX_POW2);
215 int quadCount = conic.chopIntoQuadsPOW2(storage, pow2);
256 int pow2 = conic.computeQuadPOW2(conicTol); local
257 pow2 = SkMin32(pow2, MAX_POW2);
258 int quadCount = conic.chopIntoQuadsPOW2(storage, pow2);
H A DSkGeometry.h247 * N = 1 << pow2. The amount of storage needed is (1 + 2 * N)
249 int chopIntoQuadsPOW2(SkPoint pts[], int pow2) const;
291 int pow2 = conic.computeQuadPOW2(tol); local
292 fQuadCount = 1 << pow2;
294 conic.chopIntoQuadsPOW2(pts, pow2);
H A DSkPixelRef.cpp194 bool SkPixelRef::onDecodeInto(int pow2, SkBitmap* bitmap) { argument
H A DSkGeometry.cpp1399 int SkConic::chopIntoQuadsPOW2(SkPoint pts[], int pow2) const {
1400 SkASSERT(pow2 >= 0);
1402 SkDEBUGCODE(SkPoint* endPts =) subdivide(*this, pts + 1, pow2);
1403 SkASSERT(endPts - pts == (2 * (1 << pow2) + 1));
1404 return 1 << pow2;
/external/skia/src/core/
H A DSkEdgeBuilder.cpp213 int pow2 = conic.computeQuadPOW2(conicTol); local
214 pow2 = SkMin32(pow2, MAX_POW2);
215 int quadCount = conic.chopIntoQuadsPOW2(storage, pow2);
256 int pow2 = conic.computeQuadPOW2(conicTol); local
257 pow2 = SkMin32(pow2, MAX_POW2);
258 int quadCount = conic.chopIntoQuadsPOW2(storage, pow2);
H A DSkGeometry.h247 * N = 1 << pow2. The amount of storage needed is (1 + 2 * N)
249 int chopIntoQuadsPOW2(SkPoint pts[], int pow2) const;
291 int pow2 = conic.computeQuadPOW2(tol); local
292 fQuadCount = 1 << pow2;
294 conic.chopIntoQuadsPOW2(pts, pow2);
H A DSkPixelRef.cpp239 bool SkPixelRef::onDecodeInto(int pow2, SkBitmap* bitmap) { argument
/external/jemalloc/test/unit/
H A Dutil.c5 unsigned i, pow2; local
25 for (pow2 = 1; pow2 < 25; pow2++) {
26 for (x = (ZU(1) << (pow2-1)) + 1; x <= ZU(1) << pow2; x++) {
27 assert_zu_eq(pow2_ceil(x), ZU(1) << pow2,
/external/chromium_org/third_party/skia/include/core/
H A DSkPixelRef.h201 * pow2 is the requeste power-of-two downscale that the caller needs. This
206 * To request the "base" version (original scale), pass 0 for pow2
207 * To request 1/2 scale version (1/2 width, 1/2 height), pass 1 for pow2
208 * To request 1/4 scale version (1/4 width, 1/4 height), pass 2 for pow2
214 bool decodeInto(int pow2, SkBitmap* bitmap) { argument
215 SkASSERT(pow2 >= 0);
216 return this->onDecodeInto(pow2, bitmap);
312 virtual bool onDecodeInto(int pow2, SkBitmap* bitmap);
/external/skia/include/core/
H A DSkPixelRef.h211 * pow2 is the requeste power-of-two downscale that the caller needs. This
216 * To request the "base" version (original scale), pass 0 for pow2
217 * To request 1/2 scale version (1/2 width, 1/2 height), pass 1 for pow2
218 * To request 1/4 scale version (1/4 width, 1/4 height), pass 2 for pow2
224 bool decodeInto(int pow2, SkBitmap* bitmap) { argument
225 SkASSERT(pow2 >= 0);
226 return this->onDecodeInto(pow2, bitmap);
308 virtual bool onDecodeInto(int pow2, SkBitmap* bitmap);
/external/opencv/cvaux/src/
H A Dcvvecfacetracking.cpp95 iEnergy = 1 * pow2(r.width - prev.r.width) +
96 1 * pow2(r.height - prev.r.height) +
97 1 * pow2(iColor - prev_color) / 4 +
810 4 * pow2(ppNew[LEYE]->r.width - ppNew[REYE]->r.width) +
811 4 * pow2(ppNew[LEYE]->r.height - ppNew[REYE]->r.height) +
871 double dbXtXt = double(pow2(pTemplPoints[0].x) + pow2(pTemplPoints[1].x) + pow2(pTemplPoints[2].x)) / 3.0;
872 double dbYtYt = double(pow2(pTemplPoints[0].y) + pow2(pTemplPoint
[all...]
H A D_cvvectrack.h57 inline int pow2(int v) function
/external/chromium_org/third_party/libjpeg_turbo/
H A Drrutil.h37 #define pow2(i) (1<<(i)) macro
/external/jemalloc/include/jemalloc/internal/
H A Dsize_classes.sh23 pow2() { function
49 lg ${ndelta}; lg_ndelta=${lg_result}; pow2 ${lg_ndelta}
92 pow2 $((${lg_z} + 3)); ptr_bits=${pow2_result}
93 pow2 ${lg_g}; g=${pow2_result}
/external/llvm/test/MC/ARM/AlignedBundling/
H A Dgroup-bundle-arm.s23 # pow2 here
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Drtp_utility.h56 uint32_t pow2(uint8_t exp);
H A Drtp_utility.cc187 uint32_t pow2(uint8_t exp) { function in namespace:webrtc::RtpUtility
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPathUtils.cpp55 int pow2 = GrNextPow2(temp); local
57 // such that pow2 comes out negative. Also, our point generator
59 if (pow2 < 1) {
60 pow2 = 1;
62 return SkTMin(pow2, MAX_POINTS_PER_CURVE);
106 int pow2 = GrNextPow2(temp); local
108 // such that pow2 comes out negative. Also, our point generator
110 if (pow2 < 1) {
111 pow2 = 1;
113 return SkTMin(pow2, MAX_POINTS_PER_CURV
[all...]
/external/skia/src/gpu/
H A DGrPathUtils.cpp55 int pow2 = GrNextPow2(temp); local
57 // such that pow2 comes out negative. Also, our point generator
59 if (pow2 < 1) {
60 pow2 = 1;
62 return SkTMin(pow2, MAX_POINTS_PER_CURVE);
106 int pow2 = GrNextPow2(temp); local
108 // such that pow2 comes out negative. Also, our point generator
110 if (pow2 < 1) {
111 pow2 = 1;
113 return SkTMin(pow2, MAX_POINTS_PER_CURV
[all...]
/external/aac/libSBRdec/src/
H A Denv_dec.cpp675 static const FIXP_SGL pow2[ENV_EXP_FRACT] = local
707 mantissa = (FIXP_SGL)( (mantissa * pow2[bit]) << 1);

Completed in 734 milliseconds

12