/external/chromium-trace/catapult/firefighter/default/tracing/third_party/gl-matrix/spec/gl-matrix/ |
H A D | vec4-spec.js | 25 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 D | vec2-spec.js | 24 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 D | vec3-spec.js | 26 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 D | mat2d-spec.js | 144 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 D | mat2-spec.js | 166 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 D | vec4-spec.js | 25 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 D | vec2-spec.js | 24 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 D | vec3-spec.js | 26 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 D | mat2d-spec.js | 144 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 D | mat2-spec.js | 166 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 D | add2-vectors.cc | 41 // 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 D | Flt16Vec2D.h | 84 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 D | Flt16Vec2D.c | 159 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 D | Flt16Vec3D.c | 306 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 D | Flt16Vec3D.h | 119 struct bts_Flt16Vec3D bts_Flt16Vec3D_mul( struct bts_Flt16Vec3D vecA, int16 factorA, int32 bbpFactorA );
|
H A D | RBFMap2D.h | 158 struct bts_Flt16Vec2D vecA );
|
H A D | RBFMap2D.c | 430 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 D | Math.h | 154 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 D | Math.c | 939 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 D | guest_ppc_toIR.c | 17965 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 );
|