/packages/apps/Gallery2/jni/filters/ |
shadows.c | 36 double *poly = (double *) malloc(5*sizeof(double)); local 38 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s); 47 double v = (fastevalPoly(poly,5,hsv[0]/4080.)*4080); 54 free(poly);
|
hsv.c | 20 double fastevalPoly(double *poly,int n, double x){ 23 double sum = poly[0]+poly[1]*f; 27 sum += poly[i]*f;
|
filters.h | 51 extern double fastevalPoly(double *poly,int n, double x);
|
/external/srtp/test/ |
lfsr.c | 120 weight(uint32_t poly) { 124 wt += octet_weight[poly & 0xff]; 125 wt += octet_weight[(poly >> 8) & 0xff]; 126 wt += octet_weight[(poly >> 16) & 0xff]; 127 wt += octet_weight[(poly >> 24)]; 137 period(uint32_t poly) { 149 x = (x >> 1) ^ poly; 167 * code generated by the polynomial poly 176 weight_distribution2(uint32_t poly, int *A) { 194 x = (x >> 1) ^ poly; [all...] |
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
ocb_init.c | 50 int poly, x, y, m, err; local 63 for (poly = 0; poly < (int)(sizeof(polys)/sizeof(polys[0])); poly++) { 64 if (polys[poly].len == ocb->block_len) { 68 if (polys[poly].len != ocb->block_len) { 102 ocb->Ls[x][y] ^= polys[poly].poly_mul[y]; 118 ocb->Lr[x] ^= polys[poly].poly_div[x];
|
/external/dropbear/libtomcrypt/src/mac/pmac/ |
pmac_init.c | 48 int poly, x, y, m, err; local 61 for (poly = 0; poly < (int)(sizeof(polys)/sizeof(polys[0])); poly++) { 62 if (polys[poly].len == pmac->block_len) { 66 if (polys[poly].len != pmac->block_len) { 105 pmac->Ls[x][y] ^= polys[poly].poly_mul[y]; 121 pmac->Lr[x] ^= polys[poly].poly_div[x];
|
/external/openssl/crypto/ec/ |
ec2_smpl.c | 164 group->poly[0] = 0; 165 group->poly[1] = 0; 166 group->poly[2] = 0; 167 group->poly[3] = 0; 168 group->poly[4] = 0; 169 group->poly[5] = -1; 182 dest->poly[0] = src->poly[0]; 183 dest->poly[1] = src->poly[1] [all...] |
ec2_oct.c | 117 if (!BN_GF2m_mod_arr(x, x_, group->poly)) goto err; 120 if (!BN_GF2m_mod_sqrt_arr(y, &group->b, group->poly, ctx)) goto err; 128 if (!BN_GF2m_mod_solve_quad_arr(z, tmp, group->poly, ctx))
|
ec_asn1.c | 75 while (group->poly[i] != 0) 93 || !((group->poly[0] != 0) && (group->poly[1] != 0) && (group->poly[2] == 0))) 100 *k = group->poly[1]; 111 || !((group->poly[0] != 0) && (group->poly[1] != 0) && (group->poly[2] != 0) && (group->poly[3] != 0) && (group->poly[4] == 0)) [all...] |
ec2_mult.c | 249 if (!BN_GF2m_mod_arr(x1, &point->X, group->poly)) goto err; /* x1 = x */
|
/external/clang/utils/TableGen/ |
NeonEmitter.cpp | 99 ClassS, // signed/unsigned/poly, e.g., "s8", "u8" or "p8" suffix 291 static char ClassifyType(StringRef ty, bool &quad, bool &poly, bool &usgn) { 300 // remember poly. 302 poly = true; 318 static char ModType(const char mod, char type, bool &quad, bool &poly, 322 if (poly) { 323 poly = false; 329 poly = false; 335 poly = false; 396 bool poly = false local 484 bool poly = false; local 582 bool poly = false; local 1019 bool poly = false; local 1313 bool dummy, quad = false, poly = false; local 1510 bool quad = false, poly = false, usgn = false; local [all...] |
/external/clang/test/Sema/ |
flexible-array-init.c | 47 struct polygon poly = { variable in typeref:struct:polygon
|
/external/clang/test/SemaCXX/ |
dynamic-cast.cpp | 13 struct Poly 18 struct PolyDerived : Poly 64 void poly() function 66 (void)dynamic_cast<A*>((Poly*)0); 67 (void)dynamic_cast<A&>(*((Poly*)0)); 72 (void)dynamic_cast<Poly*>((A*)0); // expected-error {{'A' is not polymorphic}}
|
/external/qemu/distrib/zlib-1.2.3/ |
crc32.c | 110 unsigned long poly; /* polynomial exclusive-or pattern */ local 122 poly = 0UL; 124 poly |= 1UL << (31 - p[n]); 130 c = c & 1 ? poly ^ (c >> 1) : c >> 1;
|
/external/quake/quake/src/QW/client/ |
gl_rsurf.c | 322 // normal lightmaped poly 428 // normal lightmaped poly 816 // add the poly to the proper lightmap chain 1491 glpoly_t *poly; local 1501 poly = Hunk_Alloc (sizeof(glpoly_t) + (lnumverts-4) * VERTEXSIZE*sizeof(float)); 1502 poly->next = fa->polys; 1503 poly->flags = fa->flags; 1504 fa->polys = poly; 1505 poly->numverts = lnumverts; 1527 VectorCopy (vec, poly->verts[i]) [all...] |
gl_warp.c | 64 glpoly_t *poly; local 123 poly = Hunk_Alloc (sizeof(glpoly_t) + (numverts-4) * VERTEXSIZE*sizeof(float)); 124 poly->next = warpface->polys; 125 warpface->polys = poly; 126 poly->numverts = numverts; 129 VectorCopy (verts, poly->verts[i]); 132 poly->verts[i][3] = s; 133 poly->verts[i][4] = t;
|
/external/zlib/src/ |
crc32.c | 94 z_crc_t poly; /* polynomial exclusive-or pattern */ local 106 poly = 0; 108 poly |= (z_crc_t)1 << (31 - p[n]); 114 c = c & 1 ? poly ^ (c >> 1) : c >> 1;
|
/external/skia/src/core/ |
SkMatrix.cpp | [all...] |
/external/webkit/Source/WebCore/platform/graphics/wince/ |
PlatformPathWinCE.cpp | 204 static void addArcPoint(PathPolygon& poly, const PathPoint& center, const PathPoint& radius, double angle) 209 if (poly.isEmpty() || poly.last() != p) 210 poly.append(p); 213 static void addArcPoints(PathPolygon& poly, const PlatformPathElement::ArcTo& data) 215 const PathPoint& startPoint = poly.last(); 229 addArcPoint(poly, data.m_center, data.m_radius, curAngle); 231 if (poly.isEmpty() || poly.last() != data.m_end) 232 poly.append(data.m_end) [all...] |
/external/quake/quake/src/WinQuake/ |
gl_rsurf.cpp | 323 // normal lightmaped poly 424 // normal lightmaped poly 884 // add the poly to the proper lightmap chain 1565 glpoly_t *poly; local [all...] |
gl_warp.cpp | 64 glpoly_t *poly; local 123 poly = (glpoly_t*) Hunk_Alloc (sizeof(glpoly_t) + (numverts-4) * VERTEXSIZE*sizeof(float)); 124 poly->next = warpface->polys; 125 warpface->polys = poly; 126 poly->numverts = numverts; 129 VectorCopy (verts, poly->verts[i]); 132 poly->verts[i][3] = s; 133 poly->verts[i][4] = t;
|
/external/dropbear/libtomcrypt/src/encauth/gcm/ |
gcm_gf_mult.c | 74 static const unsigned char poly[] = { 0x00, 0xE1 }; variable 98 V[0] ^= poly[z];
|
/frameworks/base/core/jni/android/opengl/ |
util.cpp | 39 #include "poly.h" 75 print_poly(const char* label, Poly* pPoly) { 136 Poly poly; local 137 float* pDest = & poly.vert[0].sx; 139 poly.n = 3; 143 result = poly_clip_to_frustum(&poly);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
TSPacketizer.cpp | 824 uint32_t poly = 0x04C11DB7; local 829 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0);
|
/frameworks/av/media/libstagefright/ |
MPEG2TSWriter.cpp | 997 uint32_t poly = 0x04C11DB7; local 1002 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0);
|