/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/ |
p3-0x.cpp | 28 struct S2 { 33 S2 s21 = { 1, 2, 3.0 }; 34 S2 s22 { 1.0, 2, 3 }; // expected-error {{type 'double' cannot be narrowed to 'int' in initializer list}} expected-note {{silence}} 35 S2 s23 { }; 46 S s2 = { 1, 2, 3 }; member in namespace:bullet4_example1 65 S s2 { 1.0, 2, 3 }; // expected-error {{type 'double' cannot be narrowed to 'int' in initializer list}} expected-note {{silence}}
|
/external/clang/test/CXX/temp/temp.spec/temp.explicit/ |
p3.cpp | 60 struct S2 { 68 template void S<int>::S2::h(); 73 template <typename T> void S<T>::S2::h() {}
|
/external/clang/test/Sema/ |
type-spec-struct-union.c | 9 struct S2 *x; 14 int test_struct_scope(S1 *s1, struct S2 *s2, struct S3 *s3) { 15 if (s1->u1.x == s2) return 1; 21 struct S2 { int x; } *s2 = 0; local 22 if (s1->u1.x == s2) return 1; /* expected-warning {{comparison of distinct pointer types ('struct S2 *' and 'struct S2 *')}} */
|
/external/clang/test/SemaCXX/ |
typedef-redecl.cpp | 78 struct S2 90 S2<1> b; 92 S2<2> b2; 93 b2.f(); // expected-note{{in instantiation of member function 'PR11630::S2<2>::f' requested here}}
|
warn-reorder-ctor-initialization.cpp | 10 : s2(1), // expected-warning {{field 's2' will be initialized after field 's1'}} 17 int s2; member in class:complex 91 struct S2: virtual S1 { }; 94 struct S4: virtual S3, S2 { 95 S4() : S2(), // expected-warning {{base class 'T1::S2' will be initialized after base 'T1::S3'}}
|
/external/chromium_org/v8/test/mjsunit/compiler/ |
dead-string-char-code-at.js | 31 var S2 = "@@string2"; 53 var S3 = S1 + S2; 55 assertEquals(S1, dead1(S1, S2)); 56 assertEquals(S1, dead2(S1, S2)); 57 assertEquals("11", dead3(S1, S2)); 59 assertEquals(S2, dead1(S2, 677)); 60 assertEquals(S2, dead2(S2, S3)); 61 assertEquals("11", dead3(S2, S3)) [all...] |
dead-string-char-code-at2.js | 31 var S2 = "@@string2"; 53 var S3 = S1 + S2; 55 assertEquals(S1, dead1(S1, S2)); 56 assertEquals(S1, dead2(S1, S2)); 57 assertEquals("11", dead3(S1, S2)); 59 assertEquals(S2, dead1(S2, 677)); 60 assertEquals(S2, dead2(S2, S3)); 61 assertEquals("11", dead3(S2, S3)) [all...] |
/external/clang/test/CodeGen/ |
stdcall-fastcall.c | 84 struct S2 { 89 void __attribute__((fastcall)) foo5(struct S2 y); 90 void bar5(struct S2 y) { 92 // CHECK: call x86_fastcallcc void @foo5(%struct.S2* byval align 4 % 117 void __attribute__((fastcall)) foo9(struct S2 a, int b); 118 void bar9(struct S2 a, int b) { 120 // CHECK: call x86_fastcallcc void @foo9(%struct.S2* byval align 4 %{{.*}}, i32 %
|
xcore-stringtype.c | 104 // CHECK: !"f{0}(s(S1){m(ps2){p(s(S2){m(ps3){p(s(S3){m(s1){s(S1){}}})}})}})"} 105 // CHECK: !23 = metadata !{void (%struct.S2*)* @structureType2, metadata 106 // CHECK: !"f{0}(s(S2){m(ps3){p(s(S3){m(s1){s(S1){m(ps2){p(s(S2){})}}}})}})"} 108 // CHECK: !"f{0}(s(S3){m(s1){s(S1){m(ps2){p(s(S2){m(ps3){p(s(S3){})}})}}}})"} 110 // CHECK: !"f{0}(s(S4){m(s1){s(S1){m(ps2){p(s(S2){m(ps3){p(s(S3){m(s1){s(S1){}}})}})}}}})"} 116 struct S2; 117 struct S1{struct S2 *ps2;}; 119 struct S2{struct S3 *ps3;}; 123 void structureType2(struct S2 s2){ [all...] |
/external/clang/test/OpenMP/ |
parallel_for_copyin_messages.cpp | 11 class S2 { 15 S2() : a(0) {} 16 S2 &operator=(S2 &s2) { return *this; } 47 S2 k;
|
parallel_reduction_messages.cpp | 12 class S2 { 14 S2 &operator+=(const S2 &arg) { return (*this); } 17 S2() : a(0) {} 18 S2(S2 &s2) : a(s2.a) {} 22 const float S2::S2sc = 0; // expected-note 2 {{'S2sc' defined here}} 23 S2 b; // expected-note 2 {{'b' defined here} [all...] |
parallel_sections_reduction_messages.cpp | 12 class S2 { 14 S2 &operator+=(const S2 &arg) { return (*this); } 17 S2() : a(0) {} 18 S2(S2 &s2) : a(s2.a) {} 22 const float S2::S2sc = 0; // expected-note 2 {{'S2sc' defined here}} 23 S2 b; // expected-note 2 {{'b' defined here} [all...] |
sections_reduction_messages.cpp | 12 class S2 { 14 S2 &operator+=(const S2 &arg) { return (*this); } 17 S2() : a(0) {} 18 S2(S2 &s2) : a(s2.a) {} 22 const float S2::S2sc = 0; // expected-note 2 {{'S2sc' defined here}} 23 S2 b; // expected-note 2 {{'b' defined here} [all...] |
parallel_sections_firstprivate_messages.cpp | 12 class S2 { 16 S2() : a(0) {} 17 S2(S2 &s2) : a(s2.a) {} 21 const float S2::S2sc = 0; 22 const S2 b; 23 const S2 ba[5]; 228 #pragma omp parallel sections firstprivate(S2::S2s) // O [all...] |
parallel_sections_lastprivate_messages.cpp | 12 class S2 { 16 S2() : a(0) {} 17 S2(S2 &s2) : a(s2.a) {} 21 const float S2::S2sc = 0; // expected-note {{static data member is predetermined as shared}} 22 const S2 b; 23 const S2 ba[5]; 214 #pragma omp parallel sections lastprivate(S2::S2s) // expected-error {{shared variable cannot be lastprivate} [all...] |
sections_firstprivate_messages.cpp | 12 class S2 { 16 S2() : a(0) {} 17 S2(S2 &s2) : a(s2.a) {} 21 const float S2::S2sc = 0; 22 const S2 b; 23 const S2 ba[5]; 259 #pragma omp sections firstprivate(S2::S2s) // O [all...] |
sections_lastprivate_messages.cpp | 12 class S2 { 16 S2() : a(0) {} 17 S2(S2 &s2) : a(s2.a) {} 21 const float S2::S2sc = 0; // expected-note {{static data member is predetermined as shared}} 22 const S2 b; 23 const S2 ba[5]; 244 #pragma omp sections lastprivate(S2::S2s) // expected-error {{shared variable cannot be lastprivate} [all...] |
sections_private_messages.cpp | 12 class S2 { 16 S2() : a(0) {} 18 const S2 b; 19 const S2 ba[5];
|
simd_lastprivate_messages.cpp | 12 class S2 { 16 S2() : a(0) {} 17 S2(S2 &s2) : a(s2.a) {} 21 const float S2::S2sc = 0; // expected-note {{static data member is predetermined as shared}} 22 const S2 b; 23 const S2 ba[5]; 175 #pragma omp simd lastprivate(S2::S2s) // expected-error {{shared variable cannot be lastprivate} [all...] |
single_firstprivate_messages.cpp | 12 class S2 { 16 S2() : a(0) {} 17 S2(S2 &s2) : a(s2.a) {} 21 const float S2::S2sc = 0; 22 const S2 b; 23 const S2 ba[5]; 191 #pragma omp single firstprivate(S2::S2s) // O [all...] |
/external/clang/test/CodeGenCXX/ |
explicit-instantiation.cpp | 99 struct S2 { 114 template void S<int>::S2::h(); 119 template <typename T> void S<T>::S2::h() {}
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_vector.java | 113 Short2 S2 = s.get_u8_2(); 114 if (S2.x != 1 || S2.y != 2) { 117 S2.x = 2; 118 S2.y = 3; 119 s.set_u8_2(S2); 140 S2 = s.get_i16_2(); 141 if (S2.x != 1 || S2.y != 2) { 144 S2.x = 2 [all...] |
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_vector.java | 113 Short2 S2 = s.get_u8_2(); 114 if (S2.x != 1 || S2.y != 2) { 117 S2.x = 2; 118 S2.y = 3; 119 s.set_u8_2(S2); 140 S2 = s.get_i16_2(); 141 if (S2.x != 1 || S2.y != 2) { 144 S2.x = 2 [all...] |
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
UT_vector.java | 113 Short2 S2 = s.get_u8_2(); 114 if (S2.x != 1 || S2.y != 2) { 117 S2.x = 2; 118 S2.y = 3; 119 s.set_u8_2(S2); 140 S2 = s.get_i16_2(); 141 if (S2.x != 1 || S2.y != 2) { 144 S2.x = 2 [all...] |
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
UT_vector.java | 113 Short2 S2 = s.get_u8_2(); 114 if (S2.x != 1 || S2.y != 2) { 117 S2.x = 2; 118 S2.y = 3; 119 s.set_u8_2(S2); 140 S2 = s.get_i16_2(); 141 if (S2.x != 1 || S2.y != 2) { 144 S2.x = 2 [all...] |