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

/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/chromium_org/third_party/skia/include/core/
H A DSkPixelRef.h171 * pow2 is the requeste power-of-two downscale that the caller needs. This
176 * To request the "base" version (original scale), pass 0 for pow2
177 * To request 1/2 scale version (1/2 width, 1/2 height), pass 1 for pow2
178 * To request 1/4 scale version (1/4 width, 1/4 height), pass 2 for pow2
184 bool decodeInto(int pow2, SkBitmap* bitmap) { argument
185 SkASSERT(pow2 >= 0);
186 return this->onDecodeInto(pow2, bitmap);
264 virtual bool onDecodeInto(int pow2, SkBitmap* bitmap);
H A DSkGeometry.h247 * N = 1 << pow2. The amount of storage needed is (1 + 2 * N)
249 int chopIntoQuadsPOW2(SkPoint pts[], int pow2) const;
282 int pow2 = conic.computeQuadPOW2(tol); local
283 fQuadCount = 1 << pow2;
285 conic.chopIntoQuadsPOW2(pts, pow2);
/external/skia/include/core/
H A DSkPixelRef.h171 * pow2 is the requeste power-of-two downscale that the caller needs. This
176 * To request the "base" version (original scale), pass 0 for pow2
177 * To request 1/2 scale version (1/2 width, 1/2 height), pass 1 for pow2
178 * To request 1/4 scale version (1/4 width, 1/4 height), pass 2 for pow2
184 bool decodeInto(int pow2, SkBitmap* bitmap) { argument
185 SkASSERT(pow2 >= 0);
186 return this->onDecodeInto(pow2, bitmap);
264 virtual bool onDecodeInto(int pow2, SkBitmap* bitmap);
H A DSkGeometry.h247 * N = 1 << pow2. The amount of storage needed is (1 + 2 * N)
249 int chopIntoQuadsPOW2(SkPoint pts[], int pow2) const;
282 int pow2 = conic.computeQuadPOW2(tol); local
283 fQuadCount = 1 << pow2;
285 conic.chopIntoQuadsPOW2(pts, pow2);
/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 DSkPixelRef.cpp227 bool SkPixelRef::onDecodeInto(int pow2, SkBitmap* bitmap) { argument
H A DSkGeometry.cpp1586 int SkConic::chopIntoQuadsPOW2(SkPoint pts[], int pow2) const {
1587 SkASSERT(pow2 >= 0);
1589 SkDEBUGCODE(SkPoint* endPts =) subdivide(*this, pts + 1, pow2);
1590 SkASSERT(endPts - pts == (2 * (1 << pow2) + 1));
1591 return 1 << pow2;
H A DSkBitmapProcState.cpp295 static bool get_locked_pixels(const SkBitmap& src, int pow2, SkBitmap* dst) { argument
297 if (pr && pr->decodeInto(pow2, dst)) {
/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 DSkPixelRef.cpp227 bool SkPixelRef::onDecodeInto(int pow2, SkBitmap* bitmap) { argument
H A DSkGeometry.cpp1586 int SkConic::chopIntoQuadsPOW2(SkPoint pts[], int pow2) const {
1587 SkASSERT(pow2 >= 0);
1589 SkDEBUGCODE(SkPoint* endPts =) subdivide(*this, pts + 1, pow2);
1590 SkASSERT(endPts - pts == (2 * (1 << pow2) + 1));
1591 return 1 << pow2;
H A DSkBitmapProcState.cpp295 static bool get_locked_pixels(const SkBitmap& src, int pow2, SkBitmap* dst) { argument
297 if (pr && pr->decodeInto(pow2, dst)) {
/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/llvm/test/MC/ARM/AlignedBundling/
H A Dgroup-bundle-arm.s23 # pow2 here
/external/chromium_org/third_party/openssl/openssl/crypto/ec/
H A Decp_smpl.c1185 size_t pow2 = 0; local
1210 pow2 = 1;
1211 while (num > pow2)
1212 pow2 <<= 1;
1213 /* Now pow2 is the smallest power of 2 satifsying pow2 >= num.
1215 pow2 <<= 1;
1217 heap = OPENSSL_malloc(pow2 * sizeof heap[0]);
1235 for (i = pow2/2 - 1; i > 0; i--)
1238 heap[pow2/
[all...]
/external/openssl/crypto/ec/
H A Decp_smpl.c1185 size_t pow2 = 0; local
1210 pow2 = 1;
1211 while (num > pow2)
1212 pow2 <<= 1;
1213 /* Now pow2 is the smallest power of 2 satifsying pow2 >= num.
1215 pow2 <<= 1;
1217 heap = OPENSSL_malloc(pow2 * sizeof heap[0]);
1235 for (i = pow2/2 - 1; i > 0; i--)
1238 heap[pow2/
[all...]
/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 GrMin(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 GrMin(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 GrMin(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 GrMin(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);
/external/dexmaker/src/test/java/com/google/dexmaker/
H A DDexMakerTest.java1138 Method pow2 = getMethod();
1139 assertEquals(1, pow2.invoke(null, 0));
1140 assertEquals(2, pow2.invoke(null, 1));
1141 assertEquals(4, pow2.invoke(null, 2));
1142 assertEquals(8, pow2.invoke(null, 3));
1143 assertEquals(16, pow2.invoke(null, 4));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 6791 milliseconds