Home
last modified time | relevance | path

Searched refs:test_array (Results 1 – 25 of 68) sorted by relevance

123

/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/meta/meta.unary/meta.unary.comp/
H A Dis_bounded_array.pass.cpp27 void test_array() in test_array() function
51 test_array<void, false>(); in main()
52 test_array<std::nullptr_t, false>(); in main()
53 test_array<int, false>(); in main()
54 test_array<double, false>(); in main()
55 test_array<void *, false>(); in main()
56 test_array<int &, false>(); in main()
57 test_array<int &&, false>(); in main()
58 test_array<Empty, false>(); in main()
59 test_array<Union, false>(); in main()
[all …]
H A Dis_unbounded_array.pass.cpp27 void test_array() in test_array() function
51 test_array<void, false>(); in main()
52 test_array<std::nullptr_t, false>(); in main()
53 test_array<int, false>(); in main()
54 test_array<double, false>(); in main()
55 test_array<void *, false>(); in main()
56 test_array<int &, false>(); in main()
57 test_array<int &&, false>(); in main()
58 test_array<Empty, false>(); in main()
59 test_array<Union, false>(); in main()
[all …]
H A Darray.pass.cpp30 void test_array() in test_array() function
46 test_array<array>(); in main()
47 test_array<const_array>(); in main()
48 test_array<incomplete_array>(); in main()
49 test_array<incomplete_type[]>(); in main()
/aosp_15_r20/external/rust/android-crates-io/crates/bit_field/src/
Dtests.rs365 let mut test_array = [0xffu8, 0x00u8, 0xffu8]; in test_set_bit_array() localVariable
366 &test_array.set_bit(7, false); in test_set_bit_array()
367 &test_array.set_bit(8, true); in test_set_bit_array()
368 &test_array.set_bit(16, false); in test_set_bit_array()
370 assert_eq!(test_array, [0x7fu8, 0x01u8, 0xfeu8]); in test_set_bit_array()
379 let test_array = [0xffu8, 0x00u8, 0xffu8]; in test_get_bit_array() localVariable
380 assert_eq!(test_array.get_bit(7), true); in test_get_bit_array()
381 assert_eq!(test_array.get_bit(8), false); in test_get_bit_array()
382 assert_eq!(test_array.get_bit(16), true); in test_get_bit_array()
404 let mut test_array = [0xffu8, 0x00u8, 0xffu8]; in test_set_bits_array() localVariable
[all …]
/aosp_15_r20/external/libchrome/mojo/public/cpp/bindings/tests/
H A Dserialization_warning_unittest.cc161 auto test_array = CreateTestNestedHandleArray(); in TEST_F() local
162 test_array[0] = base::nullopt; in TEST_F()
163 (*test_array[1])[0] = ScopedHandle(); in TEST_F()
167 TestArrayWarning<MojomType>(std::move(test_array), in TEST_F()
171 test_array = CreateTestNestedHandleArray(); in TEST_F()
172 test_array[0] = base::nullopt; in TEST_F()
176 std::move(test_array), in TEST_F()
180 test_array = CreateTestNestedHandleArray(); in TEST_F()
181 (*test_array[1])[0] = ScopedHandle(); in TEST_F()
185 std::move(test_array), in TEST_F()
[all …]
/aosp_15_r20/external/trace-cmd/utest/
H A Dtracefs-utest.c29 static struct test_sample test_array[TEST_ARRAY_SIZE]; variable
46 if (test_array[i].value == sample->value && in test_callback()
47 test_array[i].cpu == cpu) { in test_callback()
48 test_array[i].value = 0; in test_callback()
80 test_array[i].cpu = rand() % cpus; in test_iter_write()
81 test_array[i].value = random(); in test_iter_write()
82 if (!test_array[i].value) in test_iter_write()
83 test_array[i].value++; in test_iter_write()
84 CU_TEST(test_array[i].cpu < cpus); in test_iter_write()
86 CPU_SET(test_array[i].cpu, cpuset); in test_iter_write()
[all …]
/aosp_15_r20/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
H A Darray.pass.cpp29 void test_array() in test_array() function
45 test_array<array>(); in main()
46 test_array<const_array>(); in main()
47 test_array<incomplete_array>(); in main()
48 test_array<incomplete_type[]>(); in main()
/aosp_15_r20/external/cronet/base/apple/
H A Dfoundation_util_unittest.mm24 ScopedCFTypeRef<CFTypeRef> test_array(
57 EXPECT_TRUE(test_array);
76 EXPECT_EQ(test_array.get(), CFCast<CFArrayRef>(test_array.get()));
99 EXPECT_FALSE(CFCast<CFStringRef>(test_array.get()));
130 EXPECT_EQ(test_array.get(), CFCastStrict<CFArrayRef>(test_array.get()));
169 id test_array = @[];
185 EXPECT_TRUE(test_array);
201 EXPECT_EQ(test_array, ObjCCast<NSArray>(test_array));
217 EXPECT_FALSE(ObjCCast<NSString>(test_array));
243 EXPECT_EQ(test_array, ObjCCastStrict<NSArray>(test_array));
/aosp_15_r20/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
H A Darray.pass.cpp39 void test_array() in test_array() function
54 test_array<array>(); in main()
55 test_array<const_array>(); in main()
56 test_array<incomplete_array>(); in main()
57 test_array<Incomplete[]>(); in main()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/meta/meta.unary/meta.unary.cat/
H A Darray.pass.cpp38 void test_array() in test_array() function
53 test_array<array>(); in main()
54 test_array<const_array>(); in main()
55 test_array<incomplete_array>(); in main()
56 test_array<Incomplete[]>(); in main()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/align/test/
Dalignment_of_test.cpp93 void test_array() in test_array() function
103 test_array<T>(); in test_cv()
104 test_array<const T>(); in test_cv()
105 test_array<volatile T>(); in test_cv()
106 test_array<const volatile T>(); in test_cv()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/numeric/odeint/test/
Dstepper_copying.cpp45 class test_array class
91 class test_array2 : public test_array< T , Dim >
126 struct state_wrapper< test_array< T , Dim > >
128 typedef state_wrapper< test_array< T , Dim > > state_wrapper_type;
129 typedef test_array< T , Dim > state_type;
207 typedef test_array< double , 3 > state_type;
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/parameter/test/
Dntp.cpp313 typedef int test_array[1]; in MPL_TEST_CASE() typedef
319 test::with_ntp<test_array,test_function>::type in MPL_TEST_CASE()
320 , void(*)(test_array&, test_function, void*, void*) in MPL_TEST_CASE()
328 test::with_ntp<test_array,test_function>::type in MPL_TEST_CASE()
329 , void(*)(test_array&, test_function, void*, void*) in MPL_TEST_CASE()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/serialization/performance/
Dpeformance_array.cpp62 int test_array(T) in test_array() function
111 int res = test_array(A()); in test_main()
114 res = test_array(0); in test_main()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/format/format.formatter/format.formatter.spec/
H A Dformatter.char_array.pass.cpp117 void test_array() { in test_array() function
144 test_array<char>(); in main()
146 test_array<wchar_t>(); in main()
/aosp_15_r20/external/libtracefs/utest/
H A Dtracefs-utest.c62 static struct test_sample test_array[TEST_ARRAY_SIZE]; variable
86 if (test_array[i].value == sample->value && in test_callback()
87 test_array[i].cpu == cpu) { in test_callback()
88 test_array[i].value = 0; in test_callback()
151 test_array[i].cpu = rand() % cpus; in test_iter_write()
152 test_array[i].value = random(); in test_iter_write()
153 if (!test_array[i].value) in test_iter_write()
154 test_array[i].value++; in test_iter_write()
155 CU_TEST(test_array[i].cpu < cpus); in test_iter_write()
156 set_affinity(test_array[i].cpu); in test_iter_write()
[all …]
/aosp_15_r20/external/clang/test/SemaCXX/
H A Ddecltype-pr4448.cpp7 int test_array[5]; variable
9 Convoluted< int *, test_array, nullptr > tarray;
/aosp_15_r20/external/skia/tests/sksl/runtime/
H A DPrecisionQualifiers.skrp284 trace_enter TraceEnter(bool test_array()) when $13 is true
338 copy_slot_masked [test_array].result = Mask($28)
339 trace_var TraceVar([test_array].result) when $13 is true
341 trace_exit TraceExit(bool test_array()) when $13 is true
342 copy_slot_unmasked $27 = [test_array].result
/aosp_15_r20/external/libbrillo/brillo/
H A Dsecure_blob_test.cc273 uint64_t *test_array = e.allocate(4100); in TEST() local
277 test_array[i] = 0xF0F0F0F0F0F0F0F0; in TEST()
280 e.deallocate(test_array, 4100); in TEST()
/aosp_15_r20/external/skia/resources/sksl/runtime/
H A DPrecisionQualifiers.rts44 bool test_array() {
66 return (test_scalar() && test_vector() && test_matrix() && test_array() &&
/aosp_15_r20/art/test/004-JniTest/
H A Djni_test.cc631 const char* test_array = "Test"; in Java_Main_testNewStringObject() local
632 int byte_array_length = strlen(test_array); in Java_Main_testNewStringObject()
634 …->SetByteArrayRegion(byte_array, 0, byte_array_length, reinterpret_cast<const jbyte*>(test_array)); in Java_Main_testNewStringObject()
642 CHECK_EQ(strcmp(test_array, chars), 0); in Java_Main_testNewStringObject()
683 CHECK_EQ(strcmp(test_array, chars6), 0); in Java_Main_testNewStringObject()
/aosp_15_r20/external/libpcap/
H A Dconfigure1697 static int test_array [1 - 2 * !(($2) >= 0)];
1698 test_array [0] = 0;
1699 return test_array [0];
1714 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1715 test_array [0] = 0;
1716 return test_array [0];
1741 static int test_array [1 - 2 * !(($2) < 0)];
1742 test_array [0] = 0;
1743 return test_array [0];
1758 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
[all …]
/aosp_15_r20/external/eigen/unsupported/test/
H A Dcxx11_tensor_fixed_size.cpp226 static void test_array() in test_array() function
260 CALL_SUBTEST(test_array()); in EIGEN_DECLARE_TEST()
/aosp_15_r20/external/tcpdump/
H A Dconfigure1807 static int test_array [1 - 2 * !(($2) >= 0)];
1808 test_array [0] = 0;
1809 return test_array [0];
1824 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1825 test_array [0] = 0;
1826 return test_array [0];
1851 static int test_array [1 - 2 * !(($2) < 0)];
1852 test_array [0] = 0;
1853 return test_array [0];
1868 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
[all …]
/aosp_15_r20/external/jsmn/test/
H A Dtests.c50 int test_array(void) { in test_array() function
342 test(test_array, "test for a JSON arrays"); in main()

123