/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/mesa3d/src/glsl/tests/ |
constructor-05.glsl | 3 uniform vec2 a;
|
/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/astl/tests/ |
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.reserve()) 268 vector<int> vec2; local 397 vector<int> vec2; local 454 const vector<int> vec2; local [all...] |
/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/services/surfaceflinger/ |
Transform.h | 95 struct vec2 { struct in class:android::Transform 97 inline vec2() { } function in struct:android::Transform::vec2 98 inline vec2(float a, float b) { function in struct:android::Transform::vec2 113 vec2 transform(const vec2& v) const;
|
Transform.cpp | 176 Transform::vec2 Transform::transform(const vec2& v) const { 177 vec2 r; 196 vec2 v(x, y); 210 vec2 lt( bounds.left, bounds.top ); 211 vec2 rt( bounds.right, bounds.top ); 212 vec2 lb( bounds.left, bounds.bottom ); 213 vec2 rb( bounds.right, bounds.bottom );
|
/external/clang/test/PCH/ |
exprs.h | 79 extern double2 vec2, vec2b; 80 typedef typeof(vec2.x) ext_vector_element; 101 typedef typeof(__builtin_shufflevector(vec2, vec2b, 2, 1)) shuffle_expr;
|
exprs.c | 95 shuffle_expr *vec_ptr = &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/mesa3d/src/pixelflinger2/ |
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"));
|
/bionic/libc/kernel/common/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)
|
/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)
|
/frameworks/base/libs/hwui/ |
Vector.h | 114 typedef Vector2 vec2; typedef in namespace:android::uirenderer
|
/prebuilt/ndk/android-ndk-r4/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)
|
/prebuilt/ndk/android-ndk-r4/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)
|
/prebuilt/ndk/android-ndk-r4/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)
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/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)
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/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)
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/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)
|
/prebuilt/ndk/android-ndk-r5/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)
|
/prebuilt/ndk/android-ndk-r6/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)
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/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)
|