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

12

/external/chromium_org/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/xz-embedded/
H A Dxz_crc32.c32 const uint32_t poly = 0xEDB88320; local
41 r = (r >> 1) ^ (poly & ~((r & 1) - 1));
/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/chromium_org/third_party/libsrtp/srtp/test/
H A Dlfsr.c155 weight(uint32_t poly) { argument
159 wt += octet_weight[poly & 0xff];
160 wt += octet_weight[(poly >> 8) & 0xff];
161 wt += octet_weight[(poly >> 16) & 0xff];
162 wt += octet_weight[(poly >> 24)];
172 period(uint32_t poly) { argument
184 x = (x >> 1) ^ poly;
202 * code generated by the polynomial poly
211 weight_distribution2(uint32_t poly, int *A) { argument
229 x = (x >> 1) ^ poly;
252 weight_distribution(uint32_t poly, int *A) argument
[all...]
/external/chromium_org/third_party/zlib/
H A Dcrc32.c112 unsigned long poly; /* polynomial exclusive-or pattern */ local
124 poly = 0UL;
126 poly |= 1UL << (31 - p[n]);
132 c = c & 1 ? poly ^ (c >> 1) : c >> 1;
/external/qemu/distrib/zlib-1.2.8/
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/chromium_org/third_party/mesa/src/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...]
H A Darc.c464 struct polygon *poly = (struct polygon*)cb->user_data; local
465 polygon_vertex_append(poly, x, y);
470 struct polygon *poly = (struct polygon*)cb->user_data; local
471 bezier_add_to_polygon(bezier, poly);
656 struct polygon *poly,
664 cb.user_data = poly;
655 arc_add_to_polygon(struct arc *arc, struct polygon *poly, struct matrix *matrix) argument
H A Dbezier.c94 struct polygon *poly = polygon_create(64); local
95 polygon_vertex_append(poly, bez->x1, bez->y1);
96 bezier_add_to_polygon(bez, poly);
97 return poly;
101 struct polygon *poly)
124 polygon_vertex_append(poly, b->x4, b->y4);
136 struct bezier left, right; /* bez poly splits */
700 struct polygon *poly = polygon_create(64); local
701 polygon_vertex_append(poly, bez->x1, bez->y1);
702 bezier_add_to_polygon(bez, poly);
100 bezier_add_to_polygon(const struct bezier *bez, struct polygon *poly) argument
[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...]
H A Darc.c464 struct polygon *poly = (struct polygon*)cb->user_data; local
465 polygon_vertex_append(poly, x, y);
470 struct polygon *poly = (struct polygon*)cb->user_data; local
471 bezier_add_to_polygon(bezier, poly);
656 struct polygon *poly,
664 cb.user_data = poly;
655 arc_add_to_polygon(struct arc *arc, struct polygon *poly, struct matrix *matrix) argument
H A Dbezier.c94 struct polygon *poly = polygon_create(64); local
95 polygon_vertex_append(poly, bez->x1, bez->y1);
96 bezier_add_to_polygon(bez, poly);
97 return poly;
101 struct polygon *poly)
124 polygon_vertex_append(poly, b->x4, b->y4);
136 struct bezier left, right; /* bez poly splits */
700 struct polygon *poly = polygon_create(64); local
701 polygon_vertex_append(poly, bez->x1, bez->y1);
702 bezier_add_to_polygon(bez, poly);
100 bezier_add_to_polygon(const struct bezier *bez, struct polygon *poly) argument
[all...]
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dfx_zlib_crc32.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/chromium_org/third_party/openssl/openssl/crypto/ec/
H A Dec_lcl.h213 int poly[6]; /* Field specification for curves over GF(2^m). member in struct:ec_group_st
215 * t^poly[0] + t^poly[1] + ... + t^poly[k]
216 * where m = poly[0] > poly[1] > ... > poly[k] = 0.
217 * The array is terminated with poly[k+1]=-1.
/external/openssl/crypto/ec/
H A Dec_lcl.h213 int poly[6]; /* Field specification for curves over GF(2^m). member in struct:ec_group_st
215 * t^poly[0] + t^poly[1] + ... + t^poly[k]
216 * where m = poly[0] > poly[1] > ... > poly[k] = 0.
217 * The array is terminated with poly[k+1]=-1.
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/
H A Dd3d11u.h42 void poly(unsigned a, unsigned b, unsigned c) function in struct:triangle_list_indices
49 void poly(unsigned a, unsigned b, unsigned c, unsigned d) function in struct:triangle_list_indices
51 poly(a, b, c);
52 poly(a, c, d);
55 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e) function in struct:triangle_list_indices
57 poly(a, b, c, d);
58 poly(a, d, e);
61 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e, unsigned f) function in struct:triangle_list_indices
63 poly(a, b, c, d, e);
64 poly(
67 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e, unsigned f, unsigned g) function in struct:triangle_list_indices
73 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e, unsigned f, unsigned g, unsigned h) function in struct:triangle_list_indices
[all...]
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/
H A Dd3d11u.h42 void poly(unsigned a, unsigned b, unsigned c) function in struct:triangle_list_indices
49 void poly(unsigned a, unsigned b, unsigned c, unsigned d) function in struct:triangle_list_indices
51 poly(a, b, c);
52 poly(a, c, d);
55 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e) function in struct:triangle_list_indices
57 poly(a, b, c, d);
58 poly(a, d, e);
61 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e, unsigned f) function in struct:triangle_list_indices
63 poly(a, b, c, d, e);
64 poly(
67 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e, unsigned f, unsigned g) function in struct:triangle_list_indices
73 void poly(unsigned a, unsigned b, unsigned c, unsigned d, unsigned e, unsigned f, unsigned g, unsigned h) function in struct:triangle_list_indices
[all...]
/external/chromium_org/third_party/libyuv/source/
H A Dplanar_functions.cc2110 const float* poly,
2114 uint8* dst_argb, const float* poly,
2116 if (!src_argb || !dst_argb || !poly || width <= 0 || height == 0) {
2145 ARGBPolynomialRow(src_argb, dst_argb, poly, width);
2108 ARGBPolynomial(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, const float* poly, int width, int height) argument
/external/chromium_org/third_party/skia/src/core/
H A DSkMatrix.cpp1280 static inline bool poly_to_point(SkPoint* pt, const SkPoint poly[], int count) { argument
1285 pt1.fX = poly[1].fX - poly[0].fX;
1286 pt1.fY = poly[1].fY - poly[0].fY;
1295 pt2.fX = poly[0].fY - poly[2].fY;
1296 pt2.fY = poly[2].fX - poly[0].fX;
1299 pt2.fX = poly[
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dentropy_coding.c686 double poly[MAX_ORDER]; local
708 poly[0] = 1.0;
710 memcpy(&poly[1], ptrIO, sizeof(double) * vecSize);
711 WebRtcIsac_Poly2Rc(poly, vecSize, rc);

Completed in 985 milliseconds

12