/aosp_15_r20/external/clang/test/CXX/class.access/class.access.dcl/ |
H A D | p1.cpp | 70 struct B : A { struct 105 void test0() { in test0() 109 void test1() { in test1() 114 void test2() { in test2() 118 void test3() { in test3() 119 char array[sizeof(union_member) == sizeof(double) ? 1 : -1]; in test3() local 122 void test4() { in test4() 126 void test5() { in test5() 141 template <class T> struct B : A { struct 177 void test0() { in test0() [all …]
|
/aosp_15_r20/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
H A D | p4.cpp | 43 struct B : A { struct 50 void test0() { in test0() 54 void test1() { in test1() 59 void test2() { in test2() 63 void test3() { in test3() 64 char array[sizeof(union_member) == sizeof(double) ? 1 : -1]; in test3() local 67 void test4() { in test4() 71 void test5() { in test5() 86 template <class T> struct B : A { struct 93 void test0() { in test0() [all …]
|
/aosp_15_r20/external/clang/test/SemaCXX/ |
H A D | constant-expression-cxx1y.cpp | 219 struct B { A a; }; argument 520 template<typename T, unsigned N> struct array { struct 521 constexpr array() : arr{} {} in array() function 523 constexpr array(X ...x) : arr{} { in array() argument 526 template<int ...I, typename ...X> constexpr void init(ints<I...>, X ...x) { in init() 529 T arr[N]; 530 struct iterator { 537 constexpr iterator begin() { return iterator(arr); } in begin() 538 constexpr iterator end() { return iterator(arr + N); } in end() 557 struct B { struct [all …]
|
H A D | c99-variable-length-array.cpp | 50 int array[N]; // expected-warning{{variable length arrays are a C99 feature}} in inst_with_vla() local 72 int array[N]; // expected-warning{{variable length arrays are a C99 feature}} in test_accept_array() local 80 …int array[N]; // expected-error{{fields must have a constant size: 'variable length array in struc… in local_classes() member 100 int array[value * i]; // expected-warning 2{{variable length arrays are a C99 feature}} in f() local 110 struct B { struct 111 typedef typename T::my_int my_int; 112 void f0() { in f0()
|
H A D | array-bounds.cpp | 56 int array[2]; // expected-note {{declared here}} in test() local 100 short array[100]; // expected-note {{array 'array' declared here}} in test_pr9240() local 130 int array[2]; in test_pr9296() local 175 enum Values { A, B, C, D }; enumerator 201 char bar(struct foo *F, baz *B) { in bar() 214 char test(foo *F, bar<1> *B) { in test()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/ |
H A D | uninitialized_copy.pass.cpp | 22 struct B struct 27 explicit B() : data_(1) { ++population_; } in B() argument 28 B(const B &b) { in B() function 35 ~B() {data_ = 0; --population_; } in ~B() argument 99 T array[N] = {1, 2, 3, 4, 5}; in main() local 110 T array[N] = {1, 2, 3, 4, 5}; in main() local
|
H A D | uninitialized_copy_n.pass.cpp | 22 struct B struct 27 explicit B() : data_(1) { ++population_; } in B() argument 28 B(const B &b) { in B() function 35 ~B() {data_ = 0; --population_; } in ~B() argument 99 T array[N] = {1, 2, 3, 4, 5}; in main() local 110 T array[N] = {1, 2, 3, 4, 5}; in main() local
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/iter/adapters/ |
H A D | filter_map.rs | 35 fn filter_map_fold<T, B, Acc>( in filter_map_fold() argument 36 mut f: impl FnMut(T) -> Option<B>, in filter_map_fold() 45 fn filter_map_try_fold<'a, T, B, Acc, R: Try<Output = Acc>>( in filter_map_try_fold() argument 63 fn next(&mut self) -> Option<B> { in next() 71 let mut array: [MaybeUninit<Self::Item>; N] = [const { MaybeUninit::uninit() }; N]; localVariable 74 array: &'a mut [MaybeUninit<T>], field 158 fn next_back(&mut self) -> Option<B> { in next_back() 161 f: &mut impl FnMut(T) -> Option<B>, in next_back()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/src/iter/adapters/ |
H A D | filter_map.rs | 35 fn filter_map_fold<T, B, Acc>( in filter_map_fold() argument 36 mut f: impl FnMut(T) -> Option<B>, in filter_map_fold() 45 fn filter_map_try_fold<'a, T, B, Acc, R: Try<Output = Acc>>( in filter_map_try_fold() argument 63 fn next(&mut self) -> Option<B> { in next() 71 let mut array: [MaybeUninit<Self::Item>; N] = MaybeUninit::uninit_array(); localVariable 74 array: &'a mut [MaybeUninit<T>], field 158 fn next_back(&mut self) -> Option<B> { in next_back() 161 f: &mut impl FnMut(T) -> Option<B>, in next_back()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/src/iter/adapters/ |
H A D | filter_map.rs | 35 fn filter_map_fold<T, B, Acc>( in filter_map_fold() argument 36 mut f: impl FnMut(T) -> Option<B>, in filter_map_fold() 45 fn filter_map_try_fold<'a, T, B, Acc, R: Try<Output = Acc>>( in filter_map_try_fold() argument 63 fn next(&mut self) -> Option<B> { in next() 71 let mut array: [MaybeUninit<Self::Item>; N] = MaybeUninit::uninit_array(); localVariable 74 array: &'a mut [MaybeUninit<T>], field 158 fn next_back(&mut self) -> Option<B> { in next_back() 161 f: &mut impl FnMut(T) -> Option<B>, in next_back()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/src/iter/adapters/ |
H A D | filter_map.rs | 35 fn filter_map_fold<T, B, Acc>( in filter_map_fold() argument 36 mut f: impl FnMut(T) -> Option<B>, in filter_map_fold() 45 fn filter_map_try_fold<'a, T, B, Acc, R: Try<Output = Acc>>( in filter_map_try_fold() argument 63 fn next(&mut self) -> Option<B> { in next() 71 let mut array: [MaybeUninit<Self::Item>; N] = [const { MaybeUninit::uninit() }; N]; localVariable 74 array: &'a mut [MaybeUninit<T>], field 158 fn next_back(&mut self) -> Option<B> { in next_back() 161 f: &mut impl FnMut(T) -> Option<B>, in next_back()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/src/iter/adapters/ |
H A D | filter_map.rs | 35 fn filter_map_fold<T, B, Acc>( in filter_map_fold() argument 36 mut f: impl FnMut(T) -> Option<B>, in filter_map_fold() 45 fn filter_map_try_fold<'a, T, B, Acc, R: Try<Output = Acc>>( in filter_map_try_fold() argument 63 fn next(&mut self) -> Option<B> { in next() 71 let mut array: [MaybeUninit<Self::Item>; N] = [const { MaybeUninit::uninit() }; N]; localVariable 74 array: &'a mut [MaybeUninit<T>], field 158 fn next_back(&mut self) -> Option<B> { in next_back() 161 f: &mut impl FnMut(T) -> Option<B>, in next_back()
|
/aosp_15_r20/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | ArrayUtilsTest.java | 44 final Object B = new Object(); in testContains() local 61 final Object B = new Object(); in testIndexOf() local 82 final Object B = new Object(); in testContainsAll() local 529 char[] array = ArrayUtils.newNonMovableCharArray(length); in testZeroizeNonMovableCharArray() local 540 char[] array = new char[length]; in testZeroizeRegularCharArray() local
|
/aosp_15_r20/libcore/json/src/test/java/libcore/org/json/ |
H A D | JSONArrayTest.java | 36 JSONArray array = new JSONArray(); in testEmptyArray() local 82 JSONArray array = new JSONArray(); in testBooleans() local 132 JSONArray array = new JSONArray(); in testCoerceStringToBoolean() local 144 JSONArray array = new JSONArray(); in testNulls() local 186 JSONArray array = new JSONArray("[\"null\",null]"); in testParseNullYieldsJSONObjectNull() local 205 JSONArray array = new JSONArray(); in testNumbers() local 251 JSONArray array = new JSONArray(); in testStrings() local 304 JSONArray array = new JSONArray(); in testJoin() local 320 JSONArray array = new JSONArray(Arrays.asList(5, 6)); in testJoinWithNull() local 325 JSONArray array = new JSONArray(Arrays.asList(5, 6)); in testJoinWithSpecialCharacters() local [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/ |
H A D | array.rs | 31 let mut array: Array = [0; $N]; in array_try_from() localVariable 342 struct B<'a> { in cell_allows_array_cycle() struct 343 a: [Cell<Option<&'a B<'a>>>; 2], in cell_allows_array_cycle() 346 impl<'a> B<'a> { in cell_allows_array_cycle() implementation 368 let array = core::array::from_fn(|idx| idx); in array_from_fn() localVariable 379 let array = core::array::try_from_fn(|i| Ok::<_, SomeError>(i)); in array_try_from_fn() localVariable
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/ |
H A D | array.rs | 31 let mut array: Array = [0; $N]; in array_try_from() localVariable 342 struct B<'a> { in cell_allows_array_cycle() struct 343 a: [Cell<Option<&'a B<'a>>>; 2], in cell_allows_array_cycle() 346 impl<'a> B<'a> { in cell_allows_array_cycle() impl 368 let array = core::array::from_fn(|idx| idx); in array_from_fn() localVariable 379 let array = core::array::try_from_fn(|i| Ok::<_, SomeError>(i)); in array_try_from_fn() localVariable
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/tests/ |
H A D | array.rs | 31 let mut array: Array = [0; $N]; in array_try_from() localVariable 342 struct B<'a> { in cell_allows_array_cycle() struct 343 a: [Cell<Option<&'a B<'a>>>; 2], in cell_allows_array_cycle() 346 impl<'a> B<'a> { in cell_allows_array_cycle() impl 368 let array = core::array::from_fn(|idx| idx); in array_from_fn() localVariable 379 let array = core::array::try_from_fn(|i| Ok::<_, SomeError>(i)); in array_try_from_fn() localVariable
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/ |
H A D | array.rs | 31 let mut array: Array = [0; $N]; in array_try_from() localVariable 342 struct B<'a> { in cell_allows_array_cycle() struct 343 a: [Cell<Option<&'a B<'a>>>; 2], in cell_allows_array_cycle() 346 impl<'a> B<'a> { in cell_allows_array_cycle() impl 368 let array = core::array::from_fn(|idx| idx); in array_from_fn() localVariable 379 let array = core::array::try_from_fn(|i| Ok::<_, SomeError>(i)); in array_try_from_fn() localVariable
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/ |
H A D | array.rs | 31 let mut array: Array = [0; $N]; in array_try_from() localVariable 342 struct B<'a> { in cell_allows_array_cycle() struct 343 a: [Cell<Option<&'a B<'a>>>; 2], in cell_allows_array_cycle() 346 impl<'a> B<'a> { in cell_allows_array_cycle() implementation 368 let array = core::array::from_fn(|idx| idx); in array_from_fn() localVariable 379 let array = core::array::try_from_fn(|i| Ok::<_, SomeError>(i)); in array_try_from_fn() localVariable
|
/aosp_15_r20/external/clang/test/CodeGenCXX/ |
H A D | empty-classes.cpp | 13 struct B : A, Empty { struct 14 B() : A(), Empty() { } in B() argument 88 float array[0]; member 91 struct B : A { struct 92 float left; 93 float right;
|
H A D | rvalue-references.cpp | 5 struct A { double array[2]; }; member 6 struct B : Spacer, A { }; struct 92 struct B { struct 93 A a; 102 B::B(int i) : a(move(i)) {} in B() function in test1::B
|
/aosp_15_r20/external/clang/test/CodeGen/ |
H A D | 2007-04-05-PadBeforeZeroLengthField.c | 4 struct B { struct 8 void foo(union A * objects, struct B *array, unsigned long k) in foo()
|
/aosp_15_r20/external/clang/test/SemaTemplate/ |
H A D | dependent-names.cpp | 4 template<typename T> class B { class 121 static const char* array [N]; member in PR8966::MyClass 130 const char* MyClass<T>::array [MyClass<T>::N] = { "A", "B", "C" }; member in PR8966::MyClass<T> 300 namespace B { namespace 363 …struct X<T>::B : public A { // expected-error{{circular inheritance between 'rdar12629723::X::A' … struct in rdar12629723::X 364 virtual void foo() { } in foo()
|
/aosp_15_r20/external/clang/test/Sema/ |
H A D | template-specialization.cpp | 10 struct B { struct 13 int array[i]; in foo() local 19 B::foo<4>(); // expected-note {{in instantiation of function template specialization 'B::foo<4>'}} in main() argument
|
/aosp_15_r20/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
H A D | p17.cpp | 11 template<const short cs> class B { }; class 20 int array[5]; in k3() local 28 int array[5]; in k4() local
|