Searched defs:poly (Results 1 - 25 of 44) sorted by relevance

12

/external/gptfdisk/
H A Dcrc32.cc52 unsigned long crc, poly; local
55 poly = 0xEDB88320L;
63 crc = (crc >> 1) ^ poly;
/external/opencv3/modules/features2d/test/
H A Dtest_orb.cpp58 Point poly[] = {Point(100, 20), Point(300, 50), Point(400, 200), Point(10, 500)}; local
59 fillConvexPoly(roi, poly, int(sizeof(poly) / sizeof(poly[0])), Scalar(255));
/external/v8/test/mjsunit/regress/
H A Dregress-deep-proto.js28 function poly(x) { function
42 poly(one);
43 poly(two);
44 poly(three);
/external/clang/test/SemaCXX/
H A Ddynamic-cast.cpp66 void poly() function
/external/eigen/unsupported/Eigen/src/Polynomials/
H A DPolynomialUtils.h18 * \param[in] poly : the vector of coefficients of the polynomial ordered
19 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial
28 T poly_eval_horner( const Polynomials& poly, const T& x ) argument
30 T val=poly[poly.size()-1];
31 for(DenseIndex i=poly.size()-2; i>=0; --i ){
32 val = val*x + poly[i]; }
39 * \param[in] poly : the vector of coefficients of the polynomial ordered
40 * by degrees i.e. poly[i] is the coefficient of degree i of the polynomial
46 T poly_eval( const Polynomials& poly, cons argument
[all...]
/external/lzma/Java/Tukaani/src/org/tukaani/xz/check/
H A DCRC64.java13 private static final long poly = 0xC96C5795D7870F42L; field in class:CRC64
23 r = (r >>> 1) ^ poly;
/external/lzma/xz-embedded/
H A Dxz_crc32.c32 const uint32_t poly = 0xEDB88320; local
41 r = (r >> 1) ^ (poly & ~((r & 1) - 1));
H A Dxz_crc64.c23 const uint64_t poly = 0xC96C5795D7870F42; local
32 r = (r >> 1) ^ (poly & ~((r & 1) - 1));
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/
H A Dcom.badlogic.gdx.physics.box2d.PolygonShape.cpp11 b2PolygonShape* poly = new b2PolygonShape(); local
12 return (jlong)poly;
23 b2PolygonShape* poly = (b2PolygonShape*)addr; local
29 poly->Set(verticesOut, numVertices);
41 b2PolygonShape* poly = (b2PolygonShape*)addr; local
42 poly->SetAsBox(hx, hy);
52 b2PolygonShape* poly = (b2PolygonShape*)addr; local
53 poly->SetAsBox( hx, hy, b2Vec2( centerX, centerY ), angle );
63 b2PolygonShape* poly = (b2PolygonShape*)addr; local
64 return poly
75 b2PolygonShape* poly = (b2PolygonShape*)addr; local
[all...]
/external/ceres-solver/internal/ceres/
H A Dpolynomial_test.cc51 Vector poly(1);
52 poly(0) = value;
53 return poly;
56 // Return the polynomial p(x) = poly(x) * (x - root).
57 Vector AddRealRoot(const Vector& poly, double root) { argument
58 Vector poly2(poly.size() + 1);
60 poly2.head(poly.size()) += poly;
61 poly2.tail(poly.size()) -= root * poly;
67 AddComplexRootPair(const Vector& poly, double real, double imag) argument
96 Vector poly = ConstantPolynomial(1.23); local
130 Vector poly = ConstantPolynomial(1.23); local
174 Vector poly = ConstantPolynomial(1.23); local
[all...]
/external/opencv3/3rdparty/zlib/
H A Dcrc32.c94 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/srtp/test/
H A Dlfsr.c120 weight(uint32_t poly) { argument
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) { argument
149 x = (x >> 1) ^ poly;
167 * code generated by the polynomial poly
176 weight_distribution2(uint32_t poly, int *A) { argument
194 x = (x >> 1) ^ poly;
217 weight_distribution(uint32_t poly, int *A) argument
[all...]
/external/zlib/src/
H A Dcrc32.c94 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/boringssl/mac-x86_64/crypto/ec/
H A Dp256-x86_64-asm.S7 L$poly:
31 leaq L$poly(%rip),%rsi
81 leaq L$poly(%rip),%rsi
149 movq L$poly+8(%rip),%r14
155 movq L$poly+24(%rip),%r15
469 movq L$poly+8(%rip),%rsi
470 movq L$poly+24(%rip),%rbp
568 movq L$poly+24(%rip),%r13
573 movq L$poly+8(%rip),%r12
903 movq L$poly
[all...]
/external/clang/test/Sema/
H A Dflexible-array-init.c47 struct polygon poly = { variable in typeref:struct:polygon
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dpolygon.c70 static void polygon_print(struct polygon *poly)
74 debug_printf("Polygon %p, size = %d\n", poly, poly->num_verts);
75 for (i = 0; i < poly->num_verts; ++i) {
76 vert = ptr_to_vertex(poly->data, i);
86 struct polygon *poly = (struct polygon*)malloc(sizeof(struct polygon)); local
88 poly->data = malloc(sizeof(float) * COMPONENTS * size);
89 poly->size = size;
90 poly->num_verts = 0;
91 poly
99 struct polygon *poly = polygon_create(size); local
109 polygon_destroy(struct polygon *poly) argument
115 polygon_resize(struct polygon *poly, int new_size) argument
127 polygon_size(struct polygon *poly) argument
132 polygon_vertex_count(struct polygon *poly) argument
137 polygon_data(struct polygon *poly) argument
244 polygon_prepare_buffer(struct vg_context *ctx, struct polygon *poly) argument
260 polygon_fill(struct polygon *poly, struct vg_context *ctx) argument
337 struct polygon *poly = (((struct polygon**)polys->data)[i]); local
[all...]
/external/pdfium/third_party/zlib_v128/
H A Dcrc32.c94 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/pdfium/xfa/src/fxbarcode/common/reedsolomon/
H A DBC_ReedSolomonDecoder.cpp34 CBC_ReedSolomonGF256Poly poly; local
35 poly.Init(m_field, received, e);
42 int32_t eval = poly.EvaluateAt(m_field->Exp(dataMatrix ? i + 1 : i));
/external/pdfium/xfa/src/fxbarcode/pdf417/
H A DBC_PDF417ECModulusPoly.cpp140 CBC_PDF417ECModulusPoly* poly = other->negative(e); local
142 modulusPoly = add(poly, e);
143 delete poly;
/external/skia/samplecode/
H A DSamplePathClip.cpp264 DragPolyClick(SkView* view, SkPoint poly[], int count) argument
265 : MyClick(view), fPoly(poly), fCount(count)
268 memcpy(fSrc, poly, count * sizeof(SkPoint));
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python2/crcmod/
H A Dtest.py92 class poly: class in inherits:
122 return poly(self.p ^ x)
125 return poly(self.p ^ other.p)
128 return poly(self.p ^ other.p)
133 if a == 0 or b == 0: return poly(0)
140 return poly(x)
148 if n == 0: return (self,poly(0))
149 if m < n: return (poly(0),self)
165 return (poly(q),poly(
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python3/crcmod/
H A Dtest.py87 class poly: class in inherits:
117 return poly(self.p ^ x)
120 return poly(self.p ^ other.p)
123 return poly(self.p ^ other.p)
128 if a == 0 or b == 0: return poly(0)
135 return poly(x)
143 if n == 0: return (self,poly(0))
144 if m < n: return (poly(0),self)
160 return (poly(q),poly(
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod_osx/crcmod/
H A Dtest.py92 class poly: class in inherits:
122 return poly(self.p ^ x)
125 return poly(self.p ^ other.p)
128 return poly(self.p ^ other.p)
133 if a == 0 or b == 0: return poly(0)
140 return poly(x)
148 if n == 0: return (self,poly(0))
149 if m < n: return (poly(0),self)
165 return (poly(q),poly(
[all...]
/external/opencv3/modules/photo/src/
H A Dcontrast_preserve.hpp72 void wei_update_matrix(vector < vector <double> > &poly, vector <double> &Cg, Mat &X);
343 void Decolor::wei_update_matrix(vector < vector <double> > &poly, vector <double> &Cg, Mat &X) argument
345 int size = static_cast<int>(poly.size()), size0 = static_cast<int>(poly[0].size());
351 P.at<float>(i,j) = (float) poly[i][j];
358 B.at<float>(i,j) = (float) (poly[i][j] * Cg[j]);
/external/pdfium/xfa/src/fxbarcode/qrcode/
H A DBC_QRCoderMatrixUtil.cpp234 int32_t CBC_QRCoderMatrixUtil::CalculateBCHCode(int32_t value, int32_t poly) { argument
235 int32_t msbSetInPoly = FindMSBSet(poly);
238 value ^= poly << (FindMSBSet(value) - msbSetInPoly);

Completed in 702 milliseconds

12