/external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/ |
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 …ement 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]); }); 66 beforeEach(function() { result = vec2.add(vecA, vecA, vecB); }); 68 it("should place values into vecA", function() { expect(vecA).toBeEqualish([4, 6]); }); 69 it("should return vecA", function() { expect(result).toBe(vecA); }); [all …]
|
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 …ement 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]); }); 67 beforeEach(function() { result = vec4.add(vecA, vecA, vecB); }); 69 … it("should place values into vecA", function() { expect(vecA).toBeEqualish([6, 8, 10, 12]); }); 70 it("should return vecA", function() { expect(result).toBe(vecA); }); [all …]
|
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, … 36 …beforeEach(function(){ vecA = [2, 7, 0]; vecB = [2, 5, 0]; result = vec3.rotateX(out, vecA, vecB, … 43 …beforeEach(function(){ vecA = [1, 0, 0]; vecB = [0, 0, 0]; result = vec3.rotateY(out, vecA, vecB, … 47 …beforeEach(function(){ vecA = [-2, 3, 10]; vecB = [-4, 3, 10]; result = vec3.rotateY(out, vecA, ve… 54 …beforeEach(function(){ vecA = [0, 1, 0]; vecB = [0, 0, 0]; result = vec3.rotateZ(out, vecA, vecB, … 58 …beforeEach(function(){ vecA = [0, 6, -5]; vecB = [0, 0, -5]; result = vec3.rotateZ(out, vecA, vecB… 68 beforeEach(function() { result = vec3.transformMat4(out, vecA, matr); }); 80 beforeEach(function() { result = vec3.transformMat4(out, vecA, matr); }); [all …]
|
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); });
|
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/ |
D | add2-vectors.cc | 111 uint8_t vecA[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, in main() local 119 uint8_t vecC[ARRAY_SIZE(vecA)]; in main() 122 assert(ARRAY_SIZE(vecA) == ARRAY_SIZE(vecB)); in main() 125 for (unsigned i = 0; i < ARRAY_SIZE(vecA); i++) { in main() 126 vecC[i] = vecA[i] + vecB[i]; in main() 130 uintptr_t vecA_addr = reinterpret_cast<uintptr_t>(vecA); in main() 138 simulator.set_xreg(2, ARRAY_SIZE(vecA)); in main() 139 PrintVector(vecA, ARRAY_SIZE(vecA)); in main() 146 PrintVector(vecA, ARRAY_SIZE(vecA)); in main() 153 for (unsigned i = 0; i < ARRAY_SIZE(vecA); i++) { in main() [all …]
|
/external/neven/Embedded/common/src/b_TensorEm/ |
D | Flt16Vec2D.c | 159 struct bts_Flt16Vec2D bts_Flt16Vec2D_createVec16( struct bts_Int16Vec2D vecA, int16 bbpA ) in bts_Flt16Vec2D_createVec16() argument 162 vecL.xE = vecA.xE; in bts_Flt16Vec2D_createVec16() 163 vecL.yE = vecA.yE; in bts_Flt16Vec2D_createVec16() 305 struct bts_Flt16Vec2D bts_Flt16Vec2D_mul( struct bts_Flt16Vec2D vecA, int16 factorA, int32 bbpFacto… in bts_Flt16Vec2D_mul() argument 307 int32 xL = ( int32 ) vecA.xE * factorA; in bts_Flt16Vec2D_mul() 308 int32 yL = ( int32 ) vecA.yE * factorA; in bts_Flt16Vec2D_mul() 309 return bts_Flt16Vec2D_create32( xL, yL, bbpFactorA + vecA.bbpE ); in bts_Flt16Vec2D_mul() 314 struct bts_Int16Vec2D bts_Flt16Vec2D_int16Vec2D( struct bts_Flt16Vec2D vecA, int32 dstBbpA ) in bts_Flt16Vec2D_int16Vec2D() argument 317 int32 shiftL = vecA.bbpE - dstBbpA; in bts_Flt16Vec2D_int16Vec2D() 321 vecL.xE = ( ( vecA.xE >> ( shiftL - 1 ) ) + 1 ) >> 1; in bts_Flt16Vec2D_int16Vec2D() [all …]
|
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 bbpFacto… 123 struct bts_Int16Vec2D bts_Flt16Vec2D_int16Vec2D( struct bts_Flt16Vec2D vecA, int32 dstBbpA );
|
D | Flt16Vec3D.c | 306 struct bts_Flt16Vec3D bts_Flt16Vec3D_mul( struct bts_Flt16Vec3D vecA, int16 factorA, int32 bbpFacto… in bts_Flt16Vec3D_mul() argument 308 int32 xL = ( int32 ) vecA.xE * factorA; in bts_Flt16Vec3D_mul() 309 int32 yL = ( int32 ) vecA.yE * factorA; in bts_Flt16Vec3D_mul() 310 int32 zL = ( int32 ) vecA.zE * factorA; in bts_Flt16Vec3D_mul() 311 return bts_Flt16Vec3D_create32( xL, yL, zL, bbpFactorA + vecA.bbpE ); in bts_Flt16Vec3D_mul()
|
D | RBFMap2D.c | 430 struct bts_Flt16Vec2D vecA ) in bts_RBFMap2D_mapVector() argument 442 struct bts_Flt16Vec2D altVecL = bts_Flt16Alt2D_mapFlt( &ptrA->altE, &vecA ); in bts_RBFMap2D_mapVector() 450 shL = vecA.bbpE - outBbpL; in bts_RBFMap2D_mapVector() 461 outBbpL = vecA.bbpE; in bts_RBFMap2D_mapVector() 482 int32 xL = vecA.xE; in bts_RBFMap2D_mapVector() 483 int32 yL = vecA.yE; in bts_RBFMap2D_mapVector() 484 int32 shiftL = ptrA->srcClusterE.bbpE - vecA.bbpE; in bts_RBFMap2D_mapVector() 520 shiftL = vecA.bbpE - ptrA->srcClusterE.bbpE; in bts_RBFMap2D_mapVector()
|
D | Flt16Vec3D.h | 119 struct bts_Flt16Vec3D bts_Flt16Vec3D_mul( struct bts_Flt16Vec3D vecA, int16 factorA, int32 bbpFacto…
|
D | RBFMap2D.h | 158 struct bts_Flt16Vec2D vecA );
|
/external/neven/Embedded/common/src/b_BasicEm/ |
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 );
|
D | Math.c | 939 void bbs_vecSqrNorm32( const int32* vecA, uint32 sizeA, uint32* manPtrA, uint32* expPtrA ) in bbs_vecSqrNorm32() argument 947 int32 vL = vecA[ iL ]; in bbs_vecSqrNorm32() 998 void bbs_vecSqrNorm16( const int16* vecA, uint32 sizeA, uint32* manPtrA, uint32* expPtrA ) in bbs_vecSqrNorm16() argument 1006 int32 vL = vecA[ iL ]; in bbs_vecSqrNorm16() 1037 uint32 bbs_vecNorm16( const int16* vecA, uint32 sizeA ) in bbs_vecNorm16() argument 1041 bbs_vecSqrNorm16( vecA, sizeA, &manL, &expL ); in bbs_vecNorm16()
|
/external/valgrind/VEX/priv/ |
D | guest_ppc_toIR.c | 17965 static IRTemp _get_quad_modulo_or_carry(IRExpr * vecA, IRExpr * vecB, in _get_quad_modulo_or_carry() argument 17975 IRExpr * _vecA_low64 = unop( Iop_V128to64, vecA ); in _get_quad_modulo_or_carry() 17977 IRExpr * _vecA_high64 = unop( Iop_V128HIto64, vecA ); in _get_quad_modulo_or_carry()
|