/aosp_15_r20/external/clang/test/SemaCXX/ |
H A D | typo-correction.cpp | 186 void test() { in test() function in ClashTool 193 struct S { struct 194 struct Foobar *f; // expected-note{{'Foobar' declared here}} 201 struct S { struct 207 template<typename T> struct S { struct 216 void test() { in test() function 277 struct S { struct 282 void test() { in test() function 298 void test() { in test() function 358 void test(Foo F, int num) { in test() function [all …]
|
/aosp_15_r20/external/clang/test/CodeGenCXX/ |
H A D | mangle.cpp | 85 void f(void (S::*)()) {} in f() 174 struct S { struct 181 template int ft6<S>(const S&); argument 212 struct S { S(); }; struct 391 int test() { in test() function 418 void test() { in test() function 482 template <char P1> struct S {}; struct 521 struct S { struct 522 static int a(), x; 533 template <int I> struct S {}; struct [all …]
|
H A D | value-init.cpp | 72 struct S { struct 73 int mem1; 74 int S::*mem2; 78 int test(S *s) { in test() function 132 struct S { int i; }; struct 135 int test() { in test() function 186 struct S { struct 187 const C &c1; 188 int i; 189 const C &c2; [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/strings/basic.string/string.cons/ |
H A D | size_char_alloc.pass.cpp | 25 TEST_CONSTEXPR_CXX20 void test(unsigned n, charT c) { in test() function 26 typedef std::basic_string<charT, std::char_traits<charT>, Alloc> S; in test() typedef 38 TEST_CONSTEXPR_CXX20 void test(unsigned n, charT c, const Alloc& a) { in test() function 39 typedef std::basic_string<charT, std::char_traits<charT>, Alloc> S; in test() typedef 51 TEST_CONSTEXPR_CXX20 void test(Tp n, Tp c) { in test() function 53 typedef std::basic_string<charT, std::char_traits<charT>, Alloc> S; in test() typedef 64 TEST_CONSTEXPR_CXX20 void test(Tp n, Tp c, const Alloc& a) { in test() function 66 typedef std::basic_string<charT, std::char_traits<charT>, Alloc> S; in test() typedef 94 TEST_CONSTEXPR_CXX20 bool test() { in test() function
|
/aosp_15_r20/external/libcxx/test/std/algorithms/alg.sorting/alg.merge/ |
H A D | inplace_merge.pass.cpp | 25 struct S { struct 26 S() : i_(0) {} in S() function 27 S(int i) : i_(i) {} in S() function 29 S(const S& rhs) : i_(rhs.i_) {} in S() argument 30 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() function 32 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument 33 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument 34 S& operator =(int i) { i_ = i; return *this; } in operator =() argument 36 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument 37 bool operator ==(const S& rhs) const { return i_ == rhs.i_; } in operator ==() argument [all …]
|
H A D | inplace_merge_comp.pass.cpp | 35 struct S { struct 36 S() : i_(0) {} in S() argument 37 S(int i) : i_(i) {} in S() function 39 S(const S& rhs) : i_(rhs.i_) {} in S() function 40 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() function 42 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument 43 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument 44 S& operator =(int i) { i_ = i; return *this; } in operator =() argument 46 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument 47 bool operator >(const S& rhs) const { return i_ > rhs.i_; } in operator >() argument [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.sorting/alg.merge/ |
H A D | inplace_merge.pass.cpp | 29 struct S { struct 30 S() : i_(0) {} in S() function 31 S(int i) : i_(i) {} in S() argument 33 S(const S& rhs) : i_(rhs.i_) {} in S() argument 34 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() argument 36 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument 37 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument 38 S& operator =(int i) { i_ = i; return *this; } in operator =() argument 40 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument 41 bool operator ==(const S& rhs) const { return i_ == rhs.i_; } in operator ==() argument [all …]
|
H A D | inplace_merge_comp.pass.cpp | 34 struct S { struct 35 S() : i_(0) {} in S() argument 36 S(int i) : i_(i) {} in S() argument 38 S(const S& rhs) : i_(rhs.i_) {} in S() argument 39 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() argument 41 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument 42 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument 43 S& operator =(int i) { i_ = i; return *this; } in operator =() argument 45 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument 46 bool operator >(const S& rhs) const { return i_ > rhs.i_; } in operator >() argument [all …]
|
/aosp_15_r20/external/libcxx/test/std/strings/basic.string/string.cons/ |
H A D | size_char_alloc.pass.cpp | 26 test(unsigned n, charT c) in test() function 28 typedef std::basic_string<charT, std::char_traits<charT>, test_allocator<charT> > S; in test() typedef 41 test(unsigned n, charT c, const A& a) in test() function 43 typedef std::basic_string<charT, std::char_traits<charT>, A> S; in test() typedef 55 test(Tp n, Tp c) in test() function 58 typedef std::basic_string<charT, std::char_traits<charT>, test_allocator<charT> > S; in test() typedef 71 test(Tp n, Tp c, const A& a) in test() function 74 typedef std::basic_string<charT, std::char_traits<charT>, A> S; in test() typedef
|
/aosp_15_r20/external/clang/test/OpenMP/ |
H A D | single_firstprivate_codegen.cpp | 21 struct S { struct 23 S(T a) : f(a + g) {} in S() argument 24 S() : f(g) {} in S() argument 25 S(const S &s, St t = St()) : f(s.f + t.a) {} in S() function 27 ~S() {} in ~S() argument 36 S<T> test; in tmain() local 51 S<float> test; variable
|
H A D | sections_firstprivate_codegen.cpp | 21 struct S { struct 23 S(T a) : f(a + g) {} in S() function 24 S() : f(g) {} in S() function 25 S(const S &s, St t = St()) : f(s.f + t.a) {} in S() function 27 ~S() {} in ~S() argument 36 S<T> test; in tmain() local 52 S<float> test; variable
|
H A D | single_private_codegen.cpp | 12 struct S { struct 14 S(T a) : f(a) {} in S() argument 15 S() : f() {} in S() argument 17 ~S() {} in ~S() argument 26 S<T> test; in tmain() local 124 S<float> test; in main() local
|
H A D | sections_private_codegen.cpp | 12 struct S { struct 14 S(T a) : f(a) {} in S() function 15 S() : f() {} in S() function 17 ~S() {} in ~S() argument 26 S<T> test; in tmain() local 133 S<float> test; in main() local
|
H A D | sections_lastprivate_codegen.cpp | 12 struct S { struct 14 S(T a) : f(a) {} in S() function 15 S() : f() {} in S() argument 18 ~S() {} in ~S() argument 30 S<T> test; in tmain() local 199 S<float> test; in main() local
|
H A D | for_firstprivate_codegen.cpp | 22 struct S { struct 24 S(T a) : f(a + g) {} in S() function 25 S() : f(g) {} in S() function 26 S(const S &s, St t = St()) : f(s.f + t.a) {} in S() function 28 ~S() {} in ~S() argument 37 S<T> test; in tmain() local 52 S<float> test; variable
|
H A D | task_firstprivate_codegen.cpp | 16 struct S { struct 18 S(T a) : f(a) {} in S() argument 19 S() : f() {} in S() function 20 S(const S &s, T t = T()) : f(s.f + t) {} in S() argument 22 ~S() {} in ~S() argument 39 S<T> test(ttt); in tmain() local 148 S<double> test(ttt); in main() local
|
H A D | for_private_codegen.cpp | 12 struct S { struct 14 S(T a) : f(a) {} in S() function 15 S() : f() {} in S() argument 17 ~S() {} in ~S() argument 27 S<T> test; in tmain() local 150 S<float> test; in main() local
|
H A D | taskloop_firstprivate_codegen.cpp | 16 struct S { struct 18 S(T a) : f(a) {} in S() argument 19 S() : f() {} in S() function 20 S(const S &s, T t = T()) : f(s.f + t) {} in S() function 22 ~S() {} in ~S() argument 39 S<T> test(ttt); in tmain() local 148 S<double> test(ttt); in main() local
|
H A D | taskloop_simd_firstprivate_codegen.cpp | 16 struct S { struct 18 S(T a) : f(a) {} in S() argument 19 S() : f() {} in S() argument 20 S(const S &s, T t = T()) : f(s.f + t) {} in S() function 22 ~S() {} in ~S() argument 39 S<T> test(ttt); in tmain() local 148 S<double> test(ttt); in main() local
|
H A D | taskloop_simd_lastprivate_codegen.cpp | 16 struct S { struct 18 S(T a) : f(a) {} in S() argument 19 S() : f() {} in S() function 20 S(const S &s, T t = T()) : f(s.f + t) {} in S() argument 22 ~S() {} in ~S() argument 39 S<T> test; in tmain() local 142 S<double> test; in main() local
|
H A D | taskloop_lastprivate_codegen.cpp | 16 struct S { struct 18 S(T a) : f(a) {} in S() argument 19 S() : f() {} in S() function 20 S(const S &s, T t = T()) : f(s.f + t) {} in S() argument 22 ~S() {} in ~S() argument 39 S<T> test; in tmain() local 142 S<double> test; in main() local
|
H A D | task_private_codegen.cpp | 17 struct S { struct 19 S(T a) : f(a) {} in S() argument 20 S() : f() {} in S() function 22 ~S() {} in ~S() argument 38 S<T> test; in tmain() local 126 S<double> test; in main() local
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/anyhow-1.0.82/tests/ |
H A D | test_ensure.rs | 33 struct S; struct 35 impl<T> Add<T> for S { implementation 89 let test = || Ok(ensure!( in test_recursion() localVariable 105 let test = || { in test_low_precedence_control_flow() localVariable 122 let test = || Ok(ensure!(false == true && false)); in test_low_precedence_binary_operator() localVariable 126 let test = || Ok(ensure!(while false == true && false {} < ())); in test_low_precedence_binary_operator() localVariable 138 let test = || Ok(ensure!(S + move || 1 == 1)); in test_closure() localVariable 141 let test = || Ok(ensure!(S + || 1 == 1)); in test_closure() localVariable 146 let test = || Ok(ensure!(S + move |()| 1 == 1)); in test_closure() localVariable 149 let test = || Ok(ensure!(S + |()| 1 == 1)); in test_closure() localVariable [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/anyhow/tests/ |
D | test_ensure.rs | 33 struct S; struct 35 impl<T> Add<T> for S { implementation 89 let test = || Ok(ensure!( in test_recursion() localVariable 105 let test = || { in test_low_precedence_control_flow() localVariable 122 let test = || Ok(ensure!(false == true && false)); in test_low_precedence_binary_operator() localVariable 126 let test = || Ok(ensure!(while false == true && false {} < ())); in test_low_precedence_binary_operator() localVariable 138 let test = || Ok(ensure!(S + move || 1 == 1)); in test_closure() localVariable 141 let test = || Ok(ensure!(S + || 1 == 1)); in test_closure() localVariable 146 let test = || Ok(ensure!(S + move |()| 1 == 1)); in test_closure() localVariable 149 let test = || Ok(ensure!(S + |()| 1 == 1)); in test_closure() localVariable [all …]
|
/aosp_15_r20/external/clang/test/SemaTemplate/ |
H A D | class-template-decl.cpp | 46 struct test {}; // expected-note{{previous definition}} struct 49 struct test : T {}; // expected-error{{redefinition}} struct 120 struct S { struct 121 int C; // expected-note {{here}} 124 int D; // expected-note {{here}} 125 template<typename T> struct D { // expected-error {{different kind of symbol}} 128 int E; 129 template<typename T> friend struct E { // expected-error {{cannot define a type in a friend}} 132 int F; 139 int I, J, K; [all …]
|