Searched defs:float2 (Results 1 - 25 of 27) sorted by relevance

12

/external/clang/test/PCH/Inputs/
H A Dchain-ext_vector1.h3 typedef __attribute__((ext_vector_type(2))) float float2; typedef
/external/clang/test/PCH/
H A Dext_vector.h3 typedef __attribute__((ext_vector_type(2))) float float2; typedef
H A Dexprs.h106 typedef __attribute__(( ext_vector_type(2) )) float float2; typedef
107 typedef typeof(__builtin_convertvector(vec2, float2)) convert_expr;
/external/clang/test/Sema/
H A Dext_vector_components.c3 typedef __attribute__(( ext_vector_type(2) )) float float2; typedef
11 float2 vec2, vec2_2;
17 vec2.z; // expected-error {{vector component access exceeds type 'float2'}}
18 vec2.xyzw; // expected-error {{vector component access exceeds type 'float2'}}
36 vec4.xy.w; // expected-error {{vector component access exceeds type 'float2'}}
43 vec2.a; // expected-error {{vector component access exceeds type 'float2'}}
44 vec2.rgba; // expected-error {{vector component access exceeds type 'float2'}}
64 vec4.rg.b; // expected-error {{vector component access exceeds type 'float2'}}
71 float2 lo(float3 x) { return x.lo; }
72 float2 h
[all...]
H A Dvector-cast.c47 typedef float float2 __attribute__ ((vector_size (8))); typedef
53 float2 f2;
65 d = f2; // expected-error {{assigning to 'double' from incompatible type 'float2'}}
66 d = d + f2; // expected-error {{assigning to 'double' from incompatible type 'float2'}}
H A Dext_vector_casts.c5 typedef __attribute__(( ext_vector_type(2) )) float float2; typedef
16 float2 vec2;
42 vec4 = (float4)vec2; // expected-error {{invalid conversion between ext-vector type 'float4' (vector of 4 'float' values) and 'float2' (vector of 2 'float' values)}}
56 typedef __attribute__(( ext_vector_type(2) )) float2 vecfloat2; // expected-error{{invalid vector element type 'float2' (vector of 2 'float' values)}}
58 void inc(float2 f2) {
59 f2++; // expected-error{{cannot increment value of type 'float2' (vector of 2 'float' values)}}
60 __real f2; // expected-error{{invalid type 'float2' (vector of 2 'float' values) to __real operator}}
101 float2 vf = f;
/external/clang/test/SemaCXX/
H A Derr_init_conversion_failed.cpp39 typedef float float2 __attribute__((ext_vector_type(2))); typedef
42 void test14(const float2 in, const float2 out) {
/external/clang/test/SemaTemplate/
H A Dext-vector-type.cpp87 typedef float __attribute__((ext_vector_type(2))) float2; typedef in namespace:Deduction
92 int array2[X0<float2>::value == 2? 1 : -1];
/external/skia/src/sksl/
H A DSkSLCPP.h46 inline SkPoint float2(float xy) { return SkPoint::Make(xy, xy); } function
48 inline SkPoint float2(float x, float y) { return SkPoint::Make(x, y); } function
54 #define half2 float2
/external/skqp/src/sksl/
H A DSkSLCPP.h46 inline SkPoint float2(float xy) { return SkPoint::Make(xy, xy); } function
48 inline SkPoint float2(float x, float y) { return SkPoint::Make(x, y); } function
54 #define half2 float2
/external/clang/test/CodeGen/
H A Dext-vector.c4 typedef __attribute__(( ext_vector_type(2) )) float float2; typedef
20 float2 vec2, vec2_2;
291 void test16(float2 a, float2 b) {
292 float2 t0 = (a + b) / 2;
H A Dbuiltins-nvptx.c374 typedef float float2 __attribute__((ext_vector_type(2))); typedef
375 __nvvm_ldg_f2((const float2 *)p);
/external/clang/test/OpenMP/
H A Datomic_capture_codegen.cpp72 typedef float float2 __attribute__((ext_vector_type(2))); typedef
73 float2 float2x;
H A Datomic_read_codegen.c72 typedef float float2 __attribute__((ext_vector_type(2))); typedef
73 float2 float2x;
H A Datomic_update_codegen.cpp72 typedef float float2 __attribute__((ext_vector_type(2))); typedef
73 float2 float2x;
H A Datomic_write_codegen.c72 typedef float float2 __attribute__((ext_vector_type(2))); typedef
73 float2 float2x;
/external/python/cpython3/Lib/test/
H A Dtest_complex.py358 class float2: class in function:ComplexTest.test_constructor
364 self.assertAlmostEqual(complex(float2(42.)), 42)
365 self.assertAlmostEqual(complex(real=float2(17.), imag=float2(23.)), 17+23j)
366 self.assertRaises(TypeError, complex, float2(None))
/external/swiftshader/src/Common/
H A DTypes.hpp72 typedef ALIGN(8, float) float2[2]; member in namespace:sw
/external/swiftshader/src/OpenGL/compiler/
H A DInitialize.cpp28 TType *float2 = new TType(EbtFloat, 2); local
118 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpModf, float2, "modf", float2, outFloat2);
129 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpPackSnorm2x16, uint1, "packSnorm2x16", float2);
130 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpPackUnorm2x16, uint1, "packUnorm2x16", float2);
131 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpPackHalf2x16, uint1, "packHalf2x16", float2);
132 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpUnpackSnorm2x16, float2, "unpackSnorm2x16", uint1);
133 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpUnpackUnorm2x16, float2, "unpackUnorm2x16", uint1);
134 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpUnpackHalf2x16, float2, "unpackHalf2x16", uint1);
171 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpOuterProduct, mat2, "outerProduct", float2, float
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_complex.py357 class float2: class in function:ComplexTest.test_constructor
363 self.assertAlmostEqual(complex(float2(42.)), 42)
364 self.assertAlmostEqual(complex(real=float2(17.), imag=float2(23.)), 17+23j)
365 self.assertRaises(TypeError, complex, float2(None))
/external/vulkan-validation-layers/libs/glm/gtx/
H A Dcompatibility.hpp123 typedef detail::tvec2<float, highp> float2; //!< \brief single-precision floating-point vector with 2 components. (From GLM_GTX_compatibility extension) typedef in namespace:glm
/external/clang/lib/Headers/
H A Dopencl-c.h118 typedef float float2 __attribute__((ext_vector_type(2))); typedef
1123 char2 __ovld __cnfn convert_char2_rte(float2);
1124 char2 __ovld __cnfn convert_char2_sat_rte(float2);
1125 char2 __ovld __cnfn convert_char2_rtz(float2);
1126 char2 __ovld __cnfn convert_char2_sat_rtz(float2);
1127 char2 __ovld __cnfn convert_char2_rtp(float2);
1128 char2 __ovld __cnfn convert_char2_sat_rtp(float2);
1129 char2 __ovld __cnfn convert_char2_rtn(float2);
1130 char2 __ovld __cnfn convert_char2_sat_rtn(float2);
1131 char2 __ovld __cnfn convert_char2(float2);
[all...]
/external/dexmaker/lib/
H A Ddalvik-dx-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/dx/ com/android/dx/cf/ ...
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 1034 milliseconds

12