/external/arm-neon-tests/ |
ref_vdup.c | 66 TEST_VDUP(, poly, p, 8, 8); 67 TEST_VDUP(, poly, p, 16, 4); 78 TEST_VDUP(q, poly, p, 8, 16); 79 TEST_VDUP(q, poly, p, 16, 8); 98 TEST_VMOV(, poly, p, 8, 8); 99 TEST_VMOV(, poly, p, 16, 4); 110 TEST_VMOV(q, poly, p, 8, 16); 111 TEST_VMOV(q, poly, p, 16, 8);
|
ref_vext.c | 66 VDUP(vector2, , poly, p, 8, 8, 0x55); 67 VDUP(vector2, , poly, p, 16, 4, 0x66); 78 VDUP(vector2, q, poly, p, 8, 16, 0x55); 79 VDUP(vector2, q, poly, p, 16, 8, 0x66); 91 TEST_VEXT(, poly, p, 8, 8, 6); 92 TEST_VEXT(, poly, p, 16, 4, 2); 103 TEST_VEXT(q, poly, p, 8, 16, 12); 104 TEST_VEXT(q, poly, p, 16, 8, 6);
|
ref_vld1_lane.c | 68 ARRAY(buffer_src, poly, 8, 8); 69 ARRAY(buffer_src, poly, 16, 4); 83 ARRAY(buffer_src, poly, 8, 16); 84 ARRAY(buffer_src, poly, 16, 8); 101 TEST_VLD1_LANE(, poly, p, 8, 8, 7); 102 TEST_VLD1_LANE(, poly, p, 16, 4, 3); 116 TEST_VLD1_LANE(q, poly, p, 8, 16, 12); 117 TEST_VLD1_LANE(q, poly, p, 16, 8, 6);
|
ref_vmvn.c | 61 DECL_VARIABLE(vector, poly, 8, 8); 68 DECL_VARIABLE(vector, poly, 8, 16); 76 DECL_VARIABLE(vector_res, poly, 8, 8); 83 DECL_VARIABLE(vector_res, poly, 8, 16); 94 VLOAD(vector, buffer, , poly, p, 8, 8); 101 VLOAD(vector, buffer, q, poly, p, 8, 16); 110 TEST_UNARY_OP(INSN_NAME, , poly, p, 8, 8); 117 TEST_UNARY_OP(INSN_NAME, q, poly, p, 8, 16);
|
ref_vsXi_n.c | 76 VDUP(vector2, , poly, p, 8, 8, 20); 77 VDUP(vector2, , poly, p, 16, 4, 30); 86 VDUP(vector2, q, poly, p, 8, 16, 12); 87 VDUP(vector2, q, poly, p, 16, 8, 3); 98 TEST_VSXI_N(INSN_NAME, , poly, p, 8, 8, 2); 99 TEST_VSXI_N(INSN_NAME, , poly, p, 16, 4, 10); 108 TEST_VSXI_N(INSN_NAME, q, poly, p, 8, 16, 3); 109 TEST_VSXI_N(INSN_NAME, q, poly, p, 16, 8, 12);
|
stm-arm-neon-ref.h | 226 extern ARRAY(buffer, poly, 8, 8); 227 extern ARRAY(buffer, poly, 16, 4); 240 extern ARRAY(buffer, poly, 8, 16); 241 extern ARRAY(buffer, poly, 16, 8); 258 extern ARRAY(buffer_dup, poly, 8, 8); 259 extern ARRAY(buffer_dup, poly, 16, 4); 272 extern ARRAY(buffer_dup, poly, 8, 16); 273 extern ARRAY(buffer_dup, poly, 16, 8); 288 extern VECT_ARRAY(buffer_vld2, poly, 8, 8, 2); 289 extern VECT_ARRAY(buffer_vld2, poly, 16, 4, 2) [all...] |
ref_vmull.c | 52 DECL_VARIABLE(vector, poly, 8, 8); 59 DECL_VARIABLE(vector_res, poly, 16, 8); 69 VLOAD(vector, buffer, , poly, p, 8, 8); 77 TEST_VMULL(poly, p, 8, 16, 8);
|
ref_vset_lane.c | 65 TEST_VSET_LANE_HERE(, poly, p, 8, 8, 0x55, 6); 66 TEST_VSET_LANE_HERE(, poly, p, 16, 4, 0x66, 2); 77 TEST_VSET_LANE_HERE(q, poly, p, 8, 16, 0xDD, 14); 78 TEST_VSET_LANE_HERE(q, poly, p, 16, 8, 0xEE, 6);
|
ref_vst1_lane.c | 62 TEST_VST1_LANE(, poly, p, 8, 8, 6); 63 TEST_VST1_LANE(, poly, p, 16, 4, 2); 77 TEST_VST1_LANE(q, poly, p, 8, 16, 10); 78 TEST_VST1_LANE(q, poly, p, 16, 8, 4);
|
ref_vldX.c | 75 DECL_VLDX(poly, 8, 8, X); \ 76 DECL_VLDX(poly, 16, 4, X); \ 84 DECL_VLDX(poly, 8, 16, X); \ 85 DECL_VLDX(poly, 16, 8, X); \ 103 TEST_VLDX(, poly, p, 8, 8, X); \ 104 TEST_VLDX(, poly, p, 16, 4, X); \ 112 TEST_VLDX(q, poly, p, 8, 16, X); \ 113 TEST_VLDX(q, poly, p, 16, 8, X); \ 131 TEST_EXTRA_CHUNK(poly, 8, 8, X, Y); \ 132 TEST_EXTRA_CHUNK(poly, 16, 4, X, Y); [all...] |
ref_vget_lane.c | 41 /* Special variant for poly* types, to clear sign bits in output. */ 71 VAR_DECL(var, poly, 8); 72 VAR_DECL(var, poly, 16); 92 TEST_VGET_LANE_POLY(, poly, p, 8, 8, 6); 93 TEST_VGET_LANE_POLY(, poly, p, 16, 4, 2); 104 TEST_VGET_LANE_POLY(q, poly, p, 8, 16, 14); 105 TEST_VGET_LANE_POLY(q, poly, p, 16, 8, 6);
|
ref_vldX_lane.c | 82 DECL_VLDX_LANE(poly, 8, 8, X); \ 83 DECL_VLDX_LANE(poly, 16, 4, X); \ 88 DECL_VLDX_LANE(poly, 16, 8, X); \ 115 TEST_VLDX_LANE(, poly, p, 8, 8, X, 4); \ 116 TEST_VLDX_LANE(, poly, p, 16, 4, X, 3); \ 121 TEST_VLDX_LANE(q, poly, p, 16, 8, X, 5); \ 138 TEST_EXTRA_CHUNK(poly, 8, 8, X, Y); \ 139 TEST_EXTRA_CHUNK(poly, 16, 4, X, Y); \ 144 TEST_EXTRA_CHUNK(poly, 16, 8, X, Y); \ 171 DUMMY_ARRAY(buffer_src, poly, 8, 8, 4) [all...] |
ref_vstX_lane.c | 85 DECL_VSTX_LANE(poly, 8, 8, X); \ 86 DECL_VSTX_LANE(poly, 16, 4, X); \ 92 DECL_VSTX_LANE(poly, 16, 8, X); \ 113 TEST_VSTX_LANE(, poly, p, 8, 8, X, 4); \ 114 TEST_VSTX_LANE(, poly, p, 16, 4, X, 3); \ 119 TEST_VSTX_LANE(q, poly, p, 16, 8, X, 5); \ 135 TEST_EXTRA_CHUNK(poly, 8, 8, X, Y); \ 136 TEST_EXTRA_CHUNK(poly, 16, 4, X, Y); \ 142 TEST_EXTRA_CHUNK(poly, 16, 8, X, Y); \ 168 DUMMY_ARRAY(buffer_src, poly, 8, 8, 4) [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/check/ |
CRC64.java | 13 private static final long poly = 0xC96C5795D7870F42L; field in class:CRC64 23 r = (r >>> 1) ^ poly;
|
/prebuilts/go/darwin-x86/src/hash/crc32/ |
gen_const_ppc64le.go | 7 // Generate the constant table associated with the poly used by the 47 func get_remainder(poly uint64, deg uint, n uint) uint64 { 49 rem, _ := xnmodp(n, poly, deg) 53 func get_quotient(poly uint64, bits, n uint) uint64 { 55 _, div := xnmodp(n, poly, bits) 60 // p is the representation of the binary polynomial x**n mod (x ** deg + "poly") 62 // div is the binary representation of the polynomial x**n / (x ** deg + "poly") 63 func xnmodp(n uint, poly uint64, deg uint) (uint64, uint64) { 69 return poly, div 72 poly &= mas [all...] |
crc32_generic.go | 18 func simpleMakeTable(poly uint32) *Table { 20 simplePopulateTable(poly, t) 26 func simplePopulateTable(poly uint32, t *Table) { 31 crc = (crc >> 1) ^ poly 58 func slicingMakeTable(poly uint32) *slicing8Table { 60 simplePopulateTable(poly, &t[0])
|
/prebuilts/go/linux-x86/src/hash/crc32/ |
gen_const_ppc64le.go | 7 // Generate the constant table associated with the poly used by the 47 func get_remainder(poly uint64, deg uint, n uint) uint64 { 49 rem, _ := xnmodp(n, poly, deg) 53 func get_quotient(poly uint64, bits, n uint) uint64 { 55 _, div := xnmodp(n, poly, bits) 60 // p is the representation of the binary polynomial x**n mod (x ** deg + "poly") 62 // div is the binary representation of the polynomial x**n / (x ** deg + "poly") 63 func xnmodp(n uint, poly uint64, deg uint) (uint64, uint64) { 69 return poly, div 72 poly &= mas [all...] |
crc32_generic.go | 18 func simpleMakeTable(poly uint32) *Table { 20 simplePopulateTable(poly, t) 26 func simplePopulateTable(poly uint32, t *Table) { 31 crc = (crc >> 1) ^ poly 58 func slicingMakeTable(poly uint32) *slicing8Table { 60 simplePopulateTable(poly, &t[0])
|
/external/skia/src/utils/ |
SkInsetConvexPolygon.cpp | 141 static bool is_convex(const SkTDArray<SkPoint>& poly) { 142 if (poly.count() <= 3) { 146 SkVector v0 = poly[0] - poly[poly.count() - 1]; 147 SkVector v1 = poly[1] - poly[poly.count() - 1]; 150 for (int i = 0; i < poly.count() - 1; ++i) { 152 int k = (i + 2) % poly.count() [all...] |
/external/skqp/src/utils/ |
SkInsetConvexPolygon.cpp | 141 static bool is_convex(const SkTDArray<SkPoint>& poly) { 142 if (poly.count() <= 3) { 146 SkVector v0 = poly[0] - poly[poly.count() - 1]; 147 SkVector v1 = poly[1] - poly[poly.count() - 1]; 150 for (int i = 0; i < poly.count() - 1; ++i) { 152 int k = (i + 2) % poly.count() [all...] |
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
shadows.rs | 28 static float poly[] = { 39 static float fastevalPoly(float *poly,int n, float x){ 42 float sum = poly[0]+poly[1]*f; 46 sum += poly[i]*f; 182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s); 188 float v = (fastevalPoly(poly, 5, hsv.x * (1.f / 4080.f)) * 4080.f);
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
shadows.rs | 28 static float poly[] = { 39 static float fastevalPoly(float *poly,int n, float x){ 42 float sum = poly[0]+poly[1]*f; 46 sum += poly[i]*f; 182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s); 188 float v = (fastevalPoly(poly, 5, hsv.x * (1.f / 4080.f)) * 4080.f);
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
shadows.rs | 28 static float poly[] = { 39 static float fastevalPoly(float *poly,int n, float x){ 42 float sum = poly[0]+poly[1]*f; 46 sum += poly[i]*f; 182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s); 188 float v = (fastevalPoly(poly, 5, hsv.x * (1.f / 4080.f)) * 4080.f);
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
shadows_f.rs | 28 static float poly[] = { 39 static float fastevalPoly(float *poly,int n, float x){ 42 float sum = poly[0]+poly[1]*f; 46 sum += poly[i]*f; 182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s); 188 float v = (fastevalPoly(poly, 5, hsv.x * (1.f / 4080.f)) * 4080.f);
|
/frameworks/base/libs/hwui/ |
ShadowTessellator.cpp | 120 * @param poly The polygon, which is represented in a Vector2 array. 124 Vector2 ShadowTessellator::centroid2d(const Vector2* poly, int polyLength) { 130 double x1 = poly[p1].x; 131 double y1 = poly[p1].y; 132 double x2 = poly[p2].x; 133 double y2 = poly[p2].y; 141 Vector2 centroid = poly[0]; 151 // Make sure p1 -> p2 is going CW around the poly.
|