/external/eigen/doc/snippets/ |
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/clang/test/Sema/ |
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;
|
ext_vector_casts.c | 10 float2 vec2; local 32 vec4 = (float4)vec2; // expected-error {{invalid conversion between ext-vector type 'float4' and 'float2'}}
|
/external/quake/quake/src/QW/client/ |
cl_cam.c | 136 pmtrace_t Cam_DoTrace(vec3_t vec1, vec3_t vec2) 147 return PM_PlayerMove(pmove.origin, vec2); 204 vec3_t vec, vec2; local 214 VectorAdd(forward, up, vec2); 215 VectorAdd(vec2, right, vec2); 216 if ((f = Cam_TryFlyby(self, player, vec2, checkvis)) < max) { 218 VectorCopy(vec2, vec); 220 VectorAdd(forward, up, vec2); 221 VectorSubtract(vec2, right, vec2) [all...] |
/external/jmonkeyengine/engine/src/bullet-native/ |
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);
|
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/ |
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/webkit/Source/WebCore/platform/graphics/chromium/ |
ShaderChromium.cpp | 55 attribute vec2 a_texCoord; 57 varying vec2 v_texCoord; 86 attribute vec2 a_texCoord; 88 varying vec2 y_texCoord; 89 varying vec2 uv_texCoord; 95 y_texCoord = vec2(y_widthScaleFactor * a_texCoord.x, a_texCoord.y); 96 uv_texCoord = vec2(uv_widthScaleFactor * a_texCoord.x, a_texCoord.y); 141 attribute vec2 a_texCoord; 144 varying vec2 v_texCoord; 171 varying vec2 v_texCoord [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/ |
shader2v.glsl | 8 varying vec2 varTex0;
|
/external/clang/test/PCH/ |
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;
|
exprs.c | 99 shuffle_expr *vec_ptr = &vec2;
|
/frameworks/native/services/surfaceflinger/ |
Transform.h | 98 struct vec2 { struct in class:android::Transform 100 inline vec2() { } function in struct:android::Transform::vec2 101 inline vec2(float a, float b) { function in struct:android::Transform::vec2 116 vec2 transform(const vec2& v) const;
|
Transform.cpp | 176 Transform::vec2 Transform::transform(const vec2& v) const { 177 vec2 r; 195 vec2 v(x, y); 209 vec2 lt( bounds.left, bounds.top ); 210 vec2 rt( bounds.right, bounds.top ); 211 vec2 lb( bounds.left, bounds.bottom ); 212 vec2 rb( bounds.right, bounds.bottom );
|
/external/eigen/test/ |
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),
|
eigensolver_complex.cpp | 19 void verify_is_approx_upto_permutation(const VectorType& vec1, const VectorType& vec2) 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());
|
/frameworks/base/libs/hwui/ |
PathTessellator.cpp | 87 inline vec2 totalOffsetFromNormals(const vec2& normalA, const vec2& normalB) { 127 inline void scaleOffsetForStrokeWidth(vec2& offset) const { 141 inline vec2 deriveAAOffset(const vec2& offset) const { 142 return vec2(offset.x * 0.5f * inverseScaleX, 195 vec2 lastNormal(current->position[1] - last->position[1], 200 vec2 nextNormal(next->position[1] - current->position[1], 204 vec2 totalOffset = totalOffsetFromNormals(lastNormal, nextNormal) [all...] |
Vector.h | 114 typedef Vector2 vec2; typedef in namespace:android::uirenderer
|
/ndk/tests/build/issue22345-ICE-postreload/jni/ |
issue22345-ICE-postreload.cpp | 7 inline float32x4_t dot4VecResult(const float32x4_t& vec1, const float32x4_t& vec2) { 8 float32x4_t result = vmulq_f32(vec1, vec2);
|
/external/clang/test/CodeGen/ |
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/ |
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),
|
/bionic/libc/kernel/common/linux/ |
bio.h | 137 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 140 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/development/ndk/platforms/android-3/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/external/kernel-headers/original/linux/ |
bio.h | 211 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) \ 212 ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 215 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) \ 216 ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
bio.h | 138 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2))) 141 #define BIOVEC_VIRT_MERGEABLE(vec1, vec2) ((((bvec_to_phys((vec1)) + (vec1)->bv_len) | bvec_to_phys((vec2))) & (BIO_VMERGE_BOUNDARY - 1)) == 0)
|