Searched refs:vecA (Results 1 - 20 of 20) sorted by relevance

/external/chromium-trace/catapult/firefighter/default/tracing/third_party/gl-matrix/spec/gl-matrix/
H A Dvec4-spec.js25 var out, vecA, vecB, result;
27 beforeEach(function() { vecA = [1, 2, 3, 4]; vecB = [5, 6, 7, 8]; out = [0, 0, 0, 0]; });
35 beforeEach(function() { result = vec4.clone(vecA); });
36 it("should return a 4 element array initialized to the values in vecA", function() { expect(result).toBeEqualish(vecA); });
45 beforeEach(function() { result = vec4.copy(out, vecA); });
58 beforeEach(function() { result = vec4.add(out, vecA, vecB); });
62 it("should not modify vecA", function() { expect(vecA).toBeEqualish([1, 2, 3, 4]); });
66 describe("when vecA i
[all...]
H A Dvec2-spec.js24 var out, vecA, vecB, result;
26 beforeEach(function() { vecA = [1, 2]; vecB = [3, 4]; out = [0, 0]; });
34 beforeEach(function() { result = vec2.clone(vecA); });
35 it("should return a 2 element array initialized to the values in vecA", function() { expect(result).toBeEqualish(vecA); });
44 beforeEach(function() { result = vec2.copy(out, vecA); });
57 beforeEach(function() { result = vec2.add(out, vecA, vecB); });
61 it("should not modify vecA", function() { expect(vecA).toBeEqualish([1, 2]); });
65 describe("when vecA i
[all...]
H A Dvec3-spec.js26 var out, vecA, vecB, result;
28 beforeEach(function() { vecA = [1, 2, 3]; vecB = [4, 5, 6]; out = [0, 0, 0]; });
32 beforeEach(function(){ vecA = [0, 1, 0]; vecB = [0, 0, 0]; result = vec3.rotateX(out, vecA, vecB, Math.PI); });
36 beforeEach(function(){ vecA = [2, 7, 0]; vecB = [2, 5, 0]; result = vec3.rotateX(out, vecA, vecB, Math.PI); });
43 beforeEach(function(){ vecA = [1, 0, 0]; vecB = [0, 0, 0]; result = vec3.rotateY(out, vecA, vecB, Math.PI); });
47 beforeEach(function(){ vecA = [-2, 3, 10]; vecB = [-4, 3, 10]; result = vec3.rotateY(out, vecA, vec
[all...]
H A Dmat2d-spec.js144 var vecA;
145 beforeEach(function() { vecA = [2, 3]; });
148 beforeEach(function() { result = mat2d.scale(out, matA, vecA); });
156 beforeEach(function() { result = mat2d.scale(matA, matA, vecA); });
164 var vecA;
165 beforeEach(function() { vecA = [2, 3]; });
168 beforeEach(function() { result = mat2d.translate(out, matA, vecA); });
176 beforeEach(function() { result = mat2d.translate(matA, matA, vecA); });
H A Dmat2-spec.js166 var vecA;
167 beforeEach(function() { vecA = [2, 3]; });
170 beforeEach(function() { result = mat2.scale(out, matA, vecA); });
178 beforeEach(function() { result = mat2.scale(matA, matA, vecA); });
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/
H A Dvec4-spec.js25 var out, vecA, vecB, result;
27 beforeEach(function() { vecA = [1, 2, 3, 4]; vecB = [5, 6, 7, 8]; out = [0, 0, 0, 0]; });
35 beforeEach(function() { result = vec4.clone(vecA); });
36 it("should return a 4 element array initialized to the values in vecA", function() { expect(result).toBeEqualish(vecA); });
45 beforeEach(function() { result = vec4.copy(out, vecA); });
58 beforeEach(function() { result = vec4.add(out, vecA, vecB); });
62 it("should not modify vecA", function() { expect(vecA).toBeEqualish([1, 2, 3, 4]); });
66 describe("when vecA i
[all...]
H A Dvec2-spec.js24 var out, vecA, vecB, result;
26 beforeEach(function() { vecA = [1, 2]; vecB = [3, 4]; out = [0, 0]; });
34 beforeEach(function() { result = vec2.clone(vecA); });
35 it("should return a 2 element array initialized to the values in vecA", function() { expect(result).toBeEqualish(vecA); });
44 beforeEach(function() { result = vec2.copy(out, vecA); });
57 beforeEach(function() { result = vec2.add(out, vecA, vecB); });
61 it("should not modify vecA", function() { expect(vecA).toBeEqualish([1, 2]); });
65 describe("when vecA i
[all...]
H A Dvec3-spec.js26 var out, vecA, vecB, result;
28 beforeEach(function() { vecA = [1, 2, 3]; vecB = [4, 5, 6]; out = [0, 0, 0]; });
32 beforeEach(function(){ vecA = [0, 1, 0]; vecB = [0, 0, 0]; result = vec3.rotateX(out, vecA, vecB, Math.PI); });
36 beforeEach(function(){ vecA = [2, 7, 0]; vecB = [2, 5, 0]; result = vec3.rotateX(out, vecA, vecB, Math.PI); });
43 beforeEach(function(){ vecA = [1, 0, 0]; vecB = [0, 0, 0]; result = vec3.rotateY(out, vecA, vecB, Math.PI); });
47 beforeEach(function(){ vecA = [-2, 3, 10]; vecB = [-4, 3, 10]; result = vec3.rotateY(out, vecA, vec
[all...]
H A Dmat2d-spec.js144 var vecA;
145 beforeEach(function() { vecA = [2, 3]; });
148 beforeEach(function() { result = mat2d.scale(out, matA, vecA); });
156 beforeEach(function() { result = mat2d.scale(matA, matA, vecA); });
164 var vecA;
165 beforeEach(function() { vecA = [2, 3]; });
168 beforeEach(function() { result = mat2d.translate(out, matA, vecA); });
176 beforeEach(function() { result = mat2d.translate(matA, matA, vecA); });
H A Dmat2-spec.js166 var vecA;
167 beforeEach(function() { vecA = [2, 3]; });
170 beforeEach(function() { result = mat2.scale(out, matA, vecA); });
178 beforeEach(function() { result = mat2.scale(matA, matA, vecA); });
/external/vixl/examples/
H A Dadd2-vectors.cc41 // vecA (pointer) -> x0
44 // Result returned in vecA.
111 uint8_t vecA[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, local
119 uint8_t vecC[ARRAY_SIZE(vecA)];
122 assert(ARRAY_SIZE(vecA) == ARRAY_SIZE(vecB));
125 for (unsigned i = 0; i < ARRAY_SIZE(vecA); i++) {
126 vecC[i] = vecA[i] + vecB[i];
130 uintptr_t vecA_addr = reinterpret_cast<uintptr_t>(vecA);
138 simulator.set_xreg(2, ARRAY_SIZE(vecA));
139 PrintVector(vecA, ARRAY_SIZ
[all...]
/external/neven/Embedded/common/src/b_TensorEm/
H A DFlt16Vec2D.h84 struct bts_Flt16Vec2D bts_Flt16Vec2D_createVec16( struct bts_Int16Vec2D vecA, int16 bbpA );
120 struct bts_Flt16Vec2D bts_Flt16Vec2D_mul( struct bts_Flt16Vec2D vecA, int16 factorA, int32 bbpFactorA );
122 /** converts vecA into bts_Int16Vec2D */
123 struct bts_Int16Vec2D bts_Flt16Vec2D_int16Vec2D( struct bts_Flt16Vec2D vecA, int32 dstBbpA );
H A DFlt16Vec2D.c159 struct bts_Flt16Vec2D bts_Flt16Vec2D_createVec16( struct bts_Int16Vec2D vecA, int16 bbpA ) argument
162 vecL.xE = vecA.xE;
163 vecL.yE = vecA.yE;
305 struct bts_Flt16Vec2D bts_Flt16Vec2D_mul( struct bts_Flt16Vec2D vecA, int16 factorA, int32 bbpFactorA ) argument
307 int32 xL = ( int32 ) vecA.xE * factorA;
308 int32 yL = ( int32 ) vecA.yE * factorA;
309 return bts_Flt16Vec2D_create32( xL, yL, bbpFactorA + vecA.bbpE );
314 struct bts_Int16Vec2D bts_Flt16Vec2D_int16Vec2D( struct bts_Flt16Vec2D vecA, int32 dstBbpA ) argument
317 int32 shiftL = vecA.bbpE - dstBbpA;
321 vecL.xE = ( ( vecA
[all...]
H A DFlt16Vec3D.c306 struct bts_Flt16Vec3D bts_Flt16Vec3D_mul( struct bts_Flt16Vec3D vecA, int16 factorA, int32 bbpFactorA ) argument
308 int32 xL = ( int32 ) vecA.xE * factorA;
309 int32 yL = ( int32 ) vecA.yE * factorA;
310 int32 zL = ( int32 ) vecA.zE * factorA;
311 return bts_Flt16Vec3D_create32( xL, yL, zL, bbpFactorA + vecA.bbpE );
H A DFlt16Vec3D.h119 struct bts_Flt16Vec3D bts_Flt16Vec3D_mul( struct bts_Flt16Vec3D vecA, int16 factorA, int32 bbpFactorA );
H A DRBFMap2D.h158 struct bts_Flt16Vec2D vecA );
H A DRBFMap2D.c430 struct bts_Flt16Vec2D vecA )
442 struct bts_Flt16Vec2D altVecL = bts_Flt16Alt2D_mapFlt( &ptrA->altE, &vecA );
449 /* if bbp was altered, change it back to bbp of vecA ( det A is always close to 1 here ) */
450 shL = vecA.bbpE - outBbpL;
461 outBbpL = vecA.bbpE;
481 /* first adapt vecA to bbp of srcCluster */
482 int32 xL = vecA.xE;
483 int32 yL = vecA.yE;
484 int32 shiftL = ptrA->srcClusterE.bbpE - vecA.bbpE;
518 /* change bbp of result back to bbp of vecA */
[all...]
/external/neven/Embedded/common/src/b_BasicEm/
H A DMath.h154 void bbs_vecSqrNorm32( const int32* vecA, uint32 sizeA, uint32* manPtrA, uint32* expPtrA );
160 void bbs_vecSqrNorm16( const int16* vecA, uint32 sizeA, uint32* manPtrA, uint32* expPtrA );
165 uint32 bbs_vecNorm16( const int16* vecA, uint32 sizeA );
H A DMath.c939 void bbs_vecSqrNorm32( const int32* vecA, uint32 sizeA, uint32* manPtrA, uint32* expPtrA ) argument
947 int32 vL = vecA[ iL ];
998 void bbs_vecSqrNorm16( const int16* vecA, uint32 sizeA, uint32* manPtrA, uint32* expPtrA ) argument
1006 int32 vL = vecA[ iL ];
1037 uint32 bbs_vecNorm16( const int16* vecA, uint32 sizeA ) argument
1041 bbs_vecSqrNorm16( vecA, sizeA, &manL, &expL );
/external/valgrind/VEX/priv/
H A Dguest_ppc_toIR.c17965 static IRTemp _get_quad_modulo_or_carry(IRExpr * vecA, IRExpr * vecB, argument
17975 IRExpr * _vecA_low64 = unop( Iop_V128to64, vecA );
17977 IRExpr * _vecA_high64 = unop( Iop_V128HIto64, vecA );

Completed in 1714 milliseconds