/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 | 10 float2 vec2; local 32 vec4 = (float4)vec2; // expected-error {{invalid conversion between ext-vector type 'float4' and 'float2'}}
|
/external/mesa3d/src/glsl/tests/ |
H A D | constructor-05.glsl | 3 uniform vec2 a;
|
/external/quake/quake/src/QW/client/ |
H A D | cl_cam.c | 136 pmtrace_t Cam_DoTrace(vec3_t vec1, vec3_t vec2) argument 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, righ [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);
|
H A D | com_jme3_bullet_objects_PhysicsRigidBody.cpp | 586 btVector3 vec2 = btVector3(); local 588 jmeBulletUtil::convert(env, location, &vec2); 589 body->applyForce(vec1, vec2); 642 btVector3 vec2 = btVector3(); local 644 jmeBulletUtil::convert(env, location, &vec2); 645 body->applyImpulse(vec1, vec2);
|
/external/astl/tests/ |
H A D | test_vector.cpp | 51 vector<int> vec2(100); 52 EXPECT_TRUE(!vec2.empty()); 53 EXPECT_TRUE(vec2.size() == 100); 54 EXPECT_TRUE(vec2.capacity() == 100); 57 EXPECT_TRUE(vec2[i] == 0); 114 const vector<float> vec2(100, 10.0f); 118 EXPECT_TRUE(vec2[i] == 10.0f); 193 vector<int> vec2; local 195 EXPECT_TRUE(vec2.capacity() == 0); 196 EXPECT_TRUE(vec2 268 vector<int> vec2; local 397 vector<int> vec2; local 454 const vector<int> vec2; local [all...] |
/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));
|
H A D | simple_water.vert | 17 attribute vec2 inTexCoord;
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | 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_texCoor [all...] |
/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;
|
H A D | exprs.c | 95 shuffle_expr *vec_ptr = &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/mesa3d/src/pixelflinger2/ |
H A D | llvm_helper.h | 107 std::vector<Value *> vec2 = extractVector(builder, in2); local 109 Value * cmp = builder.CreateICmpSGT(vec1[i], vec2[i], name("iVecSelCmp")); 110 vec1[i] = builder.CreateSelect(cmp, vec1[i], vec2[i], name("iVecSel")); 118 std::vector<Value *> vec2 = extractVector(builder, in2); local 120 Value * cmp = builder.CreateICmpSLT(vec1[i], vec2[i], name("iVecSelCmp")); 121 vec1[i] = builder.CreateSelect(cmp, vec1[i], vec2[i], name("iVecSel"));
|
/external/kernel-headers/original/linux/ |
H A D | 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)
|
/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/freetype/src/base/ |
H A D | ftoutln.c | 223 FT_Vector vec1, vec2; local 236 vec2.x = SCALED( point[-1].x ); 237 vec2.y = SCALED( point[-1].y ); 251 vec2.x / 64.0, vec2.y / 64.0 )); 252 error = func_interface->cubic_to( &vec1, &vec2, &vec, user ); 262 vec2.x / 64.0, vec2.y / 64.0 )); 263 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );
|
H A D | ftstroke.c | 371 FT_Vector* vec2 = border->points + count - 1; local 374 for ( ; vec1 < vec2; vec1++, vec2-- ) 380 *vec1 = *vec2; 381 *vec2 = tmp; 2189 FT_Vector vec1, vec2; local 2200 vec2 = point[-1]; 2209 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &vec ); 2215 error = FT_Stroker_CubicTo( stroker, &vec1, &vec2, &v_start );
|
/external/freetype/src/smooth/ |
H A D | ftgrays.c | 1617 FT_Vector vec1, vec2; local 1630 vec2.x = SCALED( point[-1].x ); 1631 vec2.y = SCALED( point[-1].y ); 1645 vec2.x / 64.0, vec2.y / 64.0 )); 1646 error = func_interface->cubic_to( &vec1, &vec2, &vec, user ); 1656 vec2.x / 64.0, vec2.y / 64.0 )); 1657 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );
|
/external/opencv/cv/include/ |
H A D | cvcompat.h | 369 #define cvmMahalanobis(vec1, vec2, mat) cvMahalanobis( vec1, vec2, mat ) 370 #define cvmDotProduct( vec1, vec2 ) cvDotProduct( vec1, vec2 ) 371 #define cvmCrossProduct(vec1, vec2,dst) cvCrossProduct( vec1, vec2, dst )
|
/external/kernel-headers/original/asm-arm/ |
H A D | io.h | 280 #define BIOVEC_MERGEABLE(vec1, vec2) \ 281 ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2)))
|
/external/mesa3d/docs/ |
H A D | MESA_shader_debug.spec | 169 void printMESA(const vec2 value)
|
/external/freetype/src/truetype/ |
H A D | ttinterp.c | 5172 FT_Vector* vec2 = CUR.zp1.org + K; local 5175 D = CUR_Func_dualproj( vec1, vec2 ); 5180 FT_Vector* vec2 = CUR.zp1.orus + K; local 5186 D = CUR_Func_dualproj( vec1, vec2 ); 5194 vec.x = TT_MULFIX( vec1->x - vec2->x, CUR.metrics.x_scale ); 5195 vec.y = TT_MULFIX( vec1->y - vec2->y, CUR.metrics.y_scale ); 6126 FT_Vector* vec2 = &CUR.zp0.org[CUR.GS.rp0]; local 6129 org_dist = CUR_Func_dualproj( vec1, vec2 ); 6134 FT_Vector* vec2 = &CUR.zp0.orus[CUR.GS.rp0]; local 6140 org_dist = CUR_Func_dualproj( vec1, vec2 ); [all...] |