/external/eigen/doc/snippets/ |
H A D | Tutorial_AdvancedInitialization_Join.cpp | 5 RowVectorXd vec2(4); 6 vec2 << 1, 4, 9, 16;; 7 std::cout << "vec2 = " << vec2 << std::endl; 10 joined << vec1, vec2; variable
|
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/src/gl-matrix/ |
H A D | vec2.js | 25 * @name vec2 27 var vec2 = {}; 30 * Creates a new, empty vec2 32 * @returns {vec2} a new 2D vector 34 vec2.create = function() { 42 * Creates a new vec2 initialized with values from an existing vector 44 * @param {vec2} a vector to clone 45 * @returns {vec2} a new 2D vector 47 vec2.clone = function(a) { 55 * Creates a new vec2 initialize [all...] |
/external/mesa3d/src/glsl/builtins/profiles/ |
H A D | ARB_shader_texture_lod.glsl | 5 vec2 P, float dPdx, float dPdy); 10 vec2 P, vec2 dPdx, vec2 dPdy); 12 vec3 P, vec2 dPdx, vec2 dPdy); 14 vec4 P, vec2 dPdx, vec2 dPdy); 30 vec3 P, vec2 dPdx, vec2 dPd [all...] |
H A D | ARB_shader_texture_lod.frag | 6 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod); 8 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod);
|
/external/clang/test/Sema/ |
H A D | ext_vector_components.c | 11 float2 vec2, vec2_2; local 17 vec2.z; // expected-error {{vector component access exceeds type 'float2'}} 18 vec2.xyzw; // expected-error {{vector component access exceeds type 'float2'}} 22 vec2 = vec4.s01; // legal, shorten 23 vec2 = vec4.S01; // legal, shorten 26 f = vec2.x; // legal, shorten 32 vec2.x = f; 33 vec2.xx = vec2_2.xy; // expected-error {{vector is not assignable (contains duplicate components)}} 34 vec2.yx = vec2_2.xy;
|
H A D | ext_vector_casts.c | 14 float2 vec2; local 23 vec3 += vec2; // expected-error {{can't convert between vector values of different size}} 40 vec4 = (float4)vec2; // expected-error {{invalid conversion between ext-vector type 'float4' (vector of 4 'float' values) and 'float2' (vector of 2 'float' values)}}
|
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/spec/gl-matrix/ |
H A D | vec2-spec.js | 21 describe("vec2", function() { 22 var vec2 = require("../../src/gl-matrix/vec2.js"); 29 beforeEach(function() { result = vec2.create(); }); 34 beforeEach(function() { result = vec2.clone(vecA); }); 39 beforeEach(function() { result = vec2.fromValues(1, 2); }); 44 beforeEach(function() { result = vec2.copy(out, vecA); }); 50 beforeEach(function() { result = vec2.set(out, 1, 2); }); 57 beforeEach(function() { result = vec2.add(out, vecA, vecB); }); 66 beforeEach(function() { result = vec2 [all...] |
/external/jmonkeyengine/engine/src/bullet-native/ |
H A D | com_jme3_bullet_collision_shapes_SimplexCollisionShape.cpp | 67 btVector3 vec2 = btVector3(); local 68 jmeBulletUtil::convert(env, vector2, &vec2); 69 btBU_Simplex1to4* simplexShape = new btBU_Simplex1to4(vec1, vec2); 82 btVector3 vec2 = btVector3(); local 83 jmeBulletUtil::convert(env, vector2, &vec2); 86 btBU_Simplex1to4* simplexShape = new btBU_Simplex1to4(vec1, vec2, vec3); 99 btVector3 vec2 = btVector3(); local 100 jmeBulletUtil::convert(env, vector2, &vec2); 105 btBU_Simplex1to4* simplexShape = new btBU_Simplex1to4(vec1, vec2, vec3, vec4);
|
H A D | com_jme3_bullet_joints_HingeJoint.cpp | 214 btVector3 vec2 = btVector3(); local 218 jmeBulletUtil::convert(env, pivotB, &vec2); 221 btHingeConstraint* joint = new btHingeConstraint(*bodyA, *bodyB, vec1, vec2, vec3, vec4);
|
H A D | com_jme3_bullet_objects_PhysicsVehicle.cpp | 138 btVector3 vec2 = btVector3(); local 141 jmeBulletUtil::convert(env, direction, &vec2); 144 btWheelInfo* info = &vehicle->addWheel(vec1, vec2, vec3, restLength, radius, tune, frontWheel);
|
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/src/ |
H A D | gl-matrix.js | 35 exports.vec2 = require("./gl-matrix/vec2.js");
|
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/ |
H A D | simple_water.frag | 18 uniform vec2 m_FrustumNearFar; 54 vec4 readDepth(vec2 uv){ 65 vec4 disdis = texture2D(m_water_dudvmap, vec2(waterTex2 * m_texScale)); 66 vec4 fdist = texture2D(m_water_dudvmap, vec2(waterTex1 + disdis*m_distortionMix)); 71 vec4 nmap = texture2D(m_water_normalmap, vec2(waterTex1 + disdis*m_distortionMix)); 82 vec4 refl = texture2D(m_water_reflection, vec2(projCoord.x,1.0-projCoord.y)); 83 vec4 refr = texture2D(m_water_refraction, vec2(projCoord)); 84 vec4 wdepth =readDepth(vec2(projCoord));
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_quad.c | 96 LLVMValueRef vec1, vec2; local 114 vec2 = lp_build_swizzle_aos(bld, a, swizzle2); 117 return LLVMBuildFSub(builder, vec2, vec1, "ddxddy"); 119 return LLVMBuildSub(builder, vec2, vec1, "ddxddy"); 131 LLVMValueRef vec1, vec2; local 151 vec2 = LLVMBuildShuffleVector(builder, a, b, 154 return LLVMBuildFSub(builder, vec2, vec1, "ddxddyddxddy"); 156 return LLVMBuildSub(builder, vec2, vec1, "ddxddyddxddy");
|
/external/clang/test/PCH/ |
H A D | exprs.h | 79 extern double2 vec2, vec2b; 80 typedef typeof(vec2.x) ext_vector_element; 103 typedef typeof(__builtin_shufflevector(vec2, vec2b, 2, 1)) shuffle_expr; 107 typedef typeof(__builtin_convertvector(vec2, float2)) convert_expr;
|
H A D | exprs.c | 99 shuffle_expr *vec_ptr = &vec2;
|
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/ |
H A D | push_back_exception_safety.pass.cpp | 74 std::vector<CMyClass> vec2(vec); 76 assert(is_contiguous_container_asan_correct(vec2)); 83 assert(vec==vec2);
|
/external/eigen/test/ |
H A D | sparse_solvers.cpp | 47 DenseVector vec2 = vec1, vec3 = vec1; local 53 VERIFY_IS_APPROX(refMat2.template triangularView<Lower>().solve(vec2), 58 VERIFY_IS_APPROX(refMat2.template triangularView<Upper>().solve(vec2), 60 VERIFY_IS_APPROX(refMat2.conjugate().template triangularView<Upper>().solve(vec2), 66 VERIFY_IS_APPROX(refMat2.conjugate().template triangularView<Upper>().solve(vec2), 72 VERIFY_IS_APPROX(refMat2.transpose().template triangularView<Upper>().solve(vec2), 77 VERIFY_IS_APPROX(refMat2.transpose().template triangularView<Lower>().solve(vec2), 99 VERIFY_IS_APPROX(refMat2.template triangularView<Lower>().solve(vec2),
|
H A D | eigensolver_complex.cpp | 19 void verify_is_approx_upto_permutation(const VectorType& vec1, const VectorType& vec2) argument 24 VERIFY(vec2.cols() == 1); 25 VERIFY(vec1.rows() == vec2.rows()); 28 VERIFY_IS_APPROX(vec1.array().pow(RealScalar(k)).sum(), vec2.array().pow(RealScalar(k)).sum());
|
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
H A D | push_back_exception_safety.pass.cpp | 72 std::deque<CMyClass> vec2(vec); 79 assert(vec==vec2);
|
H A D | push_front_exception_safety.pass.cpp | 72 std::deque<CMyClass> vec2(vec); 79 assert(vec==vec2);
|
/external/clang/test/CodeGen/ |
H A D | ext-vector.c | 20 float2 vec2, vec2_2; variable 31 vec2 = vec4.xy; // shorten 32 f = vec2.x; // extract elt 35 vec2.x = f; // insert one. 36 vec2.yx = vec2; // reverse
|
/external/eigen/test/eigen2/ |
H A D | eigen2_sparse_solvers.cpp | 47 DenseVector vec2 = vec1, vec3 = vec1; local 53 VERIFY_IS_APPROX(refMat2.template marked<LowerTriangular>().solveTriangular(vec2), 58 VERIFY_IS_APPROX(refMat2.template marked<LowerTriangular>().transpose().solveTriangular(vec2), 63 VERIFY_IS_APPROX(refMat2.template marked<UpperTriangular>().solveTriangular(vec2), 68 VERIFY_IS_APPROX(refMat2.template marked<UpperTriangular>().transpose().solveTriangular(vec2),
|
/external/opencv/cv/src/ |
H A D | cvoptflowbm.cpp | 48 icvCmpBlocksL1_8u_C1( const uchar * vec1, const uchar * vec2, int len ) argument 54 int t0 = abs(vec1[i] - vec2[i]); 55 int t1 = abs(vec1[i + 1] - vec2[i + 1]); 56 int t2 = abs(vec1[i + 2] - vec2[i + 2]); 57 int t3 = abs(vec1[i + 3] - vec2[i + 3]); 64 int t0 = abs(vec1[i] - vec2[i]);
|
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/dist/ |
H A D | gl-matrix.js | 118 exports.vec2 = __webpack_require__(9); 391 * Scales the mat2 by the dimensions in the given vec2 395 * @param {vec2} v the vec2 to scale the matrix by 437 * @param {vec2} v Scaling vector 684 * Scales the mat2d by the dimensions in the given vec2 688 * @param {vec2} v the vec2 to scale the matrix by 704 * Translates the mat2d by the dimensions in the given vec2 708 * @param {vec2} [all...] |
/external/freetype/src/base/ |
H A D | ftoutln.c | 227 FT_Vector vec1, vec2; local 240 vec2.x = SCALED( point[-1].x ); 241 vec2.y = SCALED( point[-1].y ); 255 vec2.x / 64.0, vec2.y / 64.0 )); 256 error = func_interface->cubic_to( &vec1, &vec2, &vec, user ); 266 vec2.x / 64.0, vec2.y / 64.0 )); 267 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );
|