Home
last modified time | relevance | path

Searched refs:arr1 (Results 1 – 25 of 69) sorted by relevance

123

/external/libcxx/test/std/containers/views/span.sub/
Dsubspan.pass.cpp108 int arr1[] = {5,6,7}; variable
169 testRuntimeSpan<Sp, 0, 3>(Sp{arr1}); in main()
170 testRuntimeSpan<Sp, 0, 2>(Sp{arr1}); in main()
171 testRuntimeSpan<Sp, 0, 1>(Sp{arr1}); in main()
172 testRuntimeSpan<Sp, 0, 0>(Sp{arr1}); in main()
174 testRuntimeSpan<Sp, 1, 2>(Sp{arr1}); in main()
175 testRuntimeSpan<Sp, 2, 1>(Sp{arr1}); in main()
176 testRuntimeSpan<Sp, 3, 0>(Sp{arr1}); in main()
182 testRuntimeSpan<Sp, 0, 3>(Sp{arr1}); in main()
183 testRuntimeSpan<Sp, 0, 2>(Sp{arr1}); in main()
[all …]
/external/libcxx/test/std/containers/sequences/list/list.cons/
Dinput_iterator.pass.cpp88 int arr1[] = {42}; in test_emplacable_concept() local
94 std::list<T> v(It(arr1), It(std::end(arr1))); in test_emplacable_concept()
112 std::list<T> v(It(arr1), It(std::end(arr1))); in test_emplacable_concept()
135 int arr1[] = {42}; in test_emplacable_concept_with_alloc() local
142 std::list<T> v(It(arr1), It(std::end(arr1)), a); in test_emplacable_concept_with_alloc()
161 std::list<T> v(It(arr1), It(std::end(arr1)), a); in test_emplacable_concept_with_alloc()
182 int arr1[] = {42}; in test_ctor_under_alloc() local
189 C v(It(arr1), It(std::end(arr1))); in test_ctor_under_alloc()
201 C v(It(arr1), It(std::end(arr1))); in test_ctor_under_alloc()
213 int arr1[] = {42}; in test_ctor_under_alloc_with_alloc() local
[all …]
/external/llvm/test/CodeGen/X86/
Dlea-opt.ll7 @arr1 = external global [65 x %struct.anon1], align 16
12 …%a = getelementptr inbounds [65 x %struct.anon1], [65 x %struct.anon1]* @arr1, i64 0, i64 %x, i32 0
14 …%b = getelementptr inbounds [65 x %struct.anon1], [65 x %struct.anon1]* @arr1, i64 0, i64 %x, i32 1
17 …%c = getelementptr inbounds [65 x %struct.anon1], [65 x %struct.anon1]* @arr1, i64 0, i64 %x, i32 2
39 ; CHECK: movl arr1([[REG1]],[[REG1]],2), {{.*}}
40 ; CHECK: leaq arr1+4([[REG1]],[[REG1]],2), [[REG2:%[a-z]+]]
41 ; CHECK: subl arr1+4([[REG1]],[[REG1]],2), {{.*}}
42 ; DISABLED: leaq arr1+8([[REG1]],[[REG1]],2), [[REG3:%[a-z]+]]
43 ; CHECK: addl arr1+8([[REG1]],[[REG1]],2), {{.*}}
54 …%a = getelementptr inbounds [65 x %struct.anon1], [65 x %struct.anon1]* @arr1, i64 0, i64 %x, i32 0
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DHashingTest.cpp136 const int arr1[] = { 1, 2, 3 }; in TEST() local
137 hash_code arr1_hash = hash_combine_range(begin(arr1), end(arr1)); in TEST()
139 EXPECT_EQ(arr1_hash, hash_combine_range(begin(arr1), end(arr1))); in TEST()
141 const std::vector<int> vec(begin(arr1), end(arr1)); in TEST()
144 const std::list<int> list(begin(arr1), end(arr1)); in TEST()
147 const std::deque<int> deque(begin(arr1), end(arr1)); in TEST()
337 const int arr1[] = { i1, i2, i3, i4, i5, i6 }; in TEST() local
338 EXPECT_EQ(hash_combine_range(arr1, arr1 + 1), hash_combine(i1)); in TEST()
339 EXPECT_EQ(hash_combine_range(arr1, arr1 + 2), hash_combine(i1, i2)); in TEST()
340 EXPECT_EQ(hash_combine_range(arr1, arr1 + 3), hash_combine(i1, i2, i3)); in TEST()
[all …]
/external/llvm/unittests/ADT/
DHashingTest.cpp136 const int arr1[] = { 1, 2, 3 }; in TEST() local
137 hash_code arr1_hash = hash_combine_range(begin(arr1), end(arr1)); in TEST()
139 EXPECT_EQ(arr1_hash, hash_combine_range(begin(arr1), end(arr1))); in TEST()
141 const std::vector<int> vec(begin(arr1), end(arr1)); in TEST()
144 const std::list<int> list(begin(arr1), end(arr1)); in TEST()
147 const std::deque<int> deque(begin(arr1), end(arr1)); in TEST()
337 const int arr1[] = { i1, i2, i3, i4, i5, i6 }; in TEST() local
338 EXPECT_EQ(hash_combine_range(arr1, arr1 + 1), hash_combine(i1)); in TEST()
339 EXPECT_EQ(hash_combine_range(arr1, arr1 + 2), hash_combine(i1, i2)); in TEST()
340 EXPECT_EQ(hash_combine_range(arr1, arr1 + 3), hash_combine(i1, i2, i3)); in TEST()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DStringPoolTest.java55 final String[] arr1 = pool.get(new String[0]); in testGetEmptyArray() local
58 assertEquals(0, arr1.length); in testGetEmptyArray()
59 assertSame(arr1, arr2); in testGetEmptyArray()
64 final String[] arr1 = pool.get(new String[] { new String("JaCoCo") }); in testGetArray() local
67 assertEquals(1, arr1.length); in testGetArray()
68 assertEquals("JaCoCo", arr1[0]); in testGetArray()
69 assertSame(arr1[0], arr2[0]); in testGetArray()
/external/libcxx/test/std/containers/sequences/vector/vector.cons/
Dconstruct_iter_iter.pass.cpp81 int arr1[] = {42}; in emplaceable_concept_tests() local
87 std::vector<T> v(It(arr1), It(std::end(arr1))); in emplaceable_concept_tests()
101 std::vector<T> v(It(arr1), It(std::end(arr1))); in emplaceable_concept_tests()
120 int arr1[] = {42}; in test_ctor_under_alloc() local
127 C v(It(arr1), It(std::end(arr1))); in test_ctor_under_alloc()
139 C v(It(arr1), It(std::end(arr1))); in test_ctor_under_alloc()
Dconstruct_iter_iter_alloc.pass.cpp92 int arr1[] = {42}; in emplaceable_concept_tests() local
100 std::vector<T> v(It(arr1), It(std::end(arr1)), a); in emplaceable_concept_tests()
116 std::vector<T> v(It(arr1), It(std::end(arr1)), a); in emplaceable_concept_tests()
133 int arr1[] = {42}; in test_ctor_under_alloc() local
142 C v(It(arr1), It(std::end(arr1)), a); in test_ctor_under_alloc()
156 C v(It(arr1), It(std::end(arr1)), a); in test_ctor_under_alloc()
Dassign_iter_iter.pass.cpp30 int arr1[] = {42}; in test_emplaceable_concept() local
37 v.assign(It(arr1), It(std::end(arr1))); in test_emplaceable_concept()
53 v.assign(It(arr1), It(std::end(arr1))); in test_emplaceable_concept()
/external/libcxx/test/libcxx/containers/sequences/vector/vector.cons/
Dconstruct_iter_iter.pass.cpp20 int arr1[] = {42}; in test_ctor_under_alloc() local
27 C v(arr1, arr1 + 1); in test_ctor_under_alloc()
41 C v(arr1, arr1 + 1); in test_ctor_under_alloc()
Dconstruct_iter_iter_alloc.pass.cpp21 int arr1[] = {42}; in test_ctor_under_alloc() local
29 C v(arr1, arr1 + 1, a); in test_ctor_under_alloc()
44 C v(arr1, arr1 + 1, a); in test_ctor_under_alloc()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dlea-opt.ll8 @arr1 = external global [65 x %struct.anon1], align 16
15 ; ENABLED-NEXT: movl arr1(%rdi,%rdi,2), %ecx
16 ; ENABLED-NEXT: leaq arr1+4(%rdi,%rdi,2), %rax
17 ; ENABLED-NEXT: subl arr1+4(%rdi,%rdi,2), %ecx
18 ; ENABLED-NEXT: addl arr1+8(%rdi,%rdi,2), %ecx
37 ; DISABLED-NEXT: movl arr1(%rdi,%rdi,2), %edx
38 ; DISABLED-NEXT: leaq arr1+4(%rdi,%rdi,2), %rax
39 ; DISABLED-NEXT: subl arr1+4(%rdi,%rdi,2), %edx
40 ; DISABLED-NEXT: leaq arr1+8(%rdi,%rdi,2), %rcx
41 ; DISABLED-NEXT: addl arr1+8(%rdi,%rdi,2), %edx
[all …]
/external/clang/test/OpenMP/
Dtarget_parallel_for_simd_ast_print.cpp65 T arr[N][10], arr1[N]; in tmain() local
95 …(d) if(parallel:argc > 0) num_threads(N) proc_bind(master) reduction(+:c, arr1[argc]) reduction(ma… in tmain()
131 #pragma omp target parallel for simd map(arr1[0:10], i) in tmain()
155 #pragma omp target parallel for simd depend(in : argc, arr[i:argc], arr1[:]) in tmain()
179 #pragma omp target parallel for simd aligned(arr1:N-1) in tmain()
190 int arr[5][10], arr1[5]; in main() local
215 …d) if (parallel:argc > 0) num_threads(5) proc_bind(master) reduction(+:c, arr1[argc]) reduction(ma… in main()
251 #pragma omp target parallel for simd map(arr1[0:10], i) in main()
275 #pragma omp target parallel for simd depend(in : argc, arr[i:argc], arr1[:]) in main()
299 #pragma omp target parallel for simd aligned(arr1:4) in main()
Dtarget_parallel_for_ast_print.cpp65 T arr[N][10], arr1[N]; in tmain() local
102 …d) if (parallel:argc > 0) num_threads(N) proc_bind(master) reduction(+:c, arr1[argc]) reduction(ma… in tmain()
132 #pragma omp target parallel for map(arr1[0:10], i) in tmain()
152 #pragma omp target parallel for depend(in : argc, arr[i:argc], arr1[:]) in tmain()
168 int arr[5][10], arr1[5]; in main() local
189 …d) if (parallel:argc > 0) num_threads(5) proc_bind(master) reduction(+:c, arr1[argc]) reduction(ma… in main()
219 #pragma omp target parallel for map(arr1[0:10], i) in main()
239 #pragma omp target parallel for depend(in : argc, arr[i:argc], arr1[:]) in main()
/external/libcxx/test/std/containers/sequences/deque/deque.cons/
Diter_iter_alloc.pass.cpp61 int arr1[] = {42}; in test_emplacable_concept() local
68 std::deque<T> v(It(arr1), It(std::end(arr1)), a); in test_emplacable_concept()
83 std::deque<T> v(It(arr1), It(std::end(arr1)), a); in test_emplacable_concept()
Diter_iter.pass.cpp72 int arr1[] = {42}; in test_emplacable_concept() local
78 std::deque<T> v(It(arr1), It(std::end(arr1))); in test_emplacable_concept()
92 std::deque<T> v(It(arr1), It(std::end(arr1))); in test_emplacable_concept()
Dassign_iter_iter.pass.cpp112 int arr1[] = {42}; in test_emplacable_concept() local
119 v.assign(It(arr1), It(std::end(arr1))); in test_emplacable_concept()
135 v.assign(It(arr1), It(std::end(arr1))); in test_emplacable_concept()
/external/llvm/test/Instrumentation/AddressSanitizer/
Dstack_layout.ll29 %arr1.ptr = bitcast [10 x i8]* %XXX to i8*
30 store volatile i8 0, i8* %arr1.ptr
50 %arr1.ptr = bitcast [5 x i8]* %AAA to i8*
51 store volatile i8 0, i8* %arr1.ptr
72 %arr1.ptr = bitcast [128 x i8]* %AAA to i8*
73 store volatile i8 0, i8* %arr1.ptr
/external/eigen/test/
Devaluators.cpp250 ArrayXXd arr1(6,6), arr2(6,6); in test_evaluators() local
251 VERIFY_IS_APPROX_EVALUATOR(arr1, ArrayXXd::Constant(6,6, 3.0)); in test_evaluators()
252 VERIFY_IS_APPROX_EVALUATOR(arr2, arr1); in test_evaluators()
258 VERIFY_IS_APPROX_EVALUATOR(arr2, arr1); in test_evaluators()
354 arr1.setRandom(6,6); in test_evaluators()
355 VERIFY_IS_APPROX_EVALUATOR(mat2, arr1.matrix()); in test_evaluators()
357 VERIFY_IS_APPROX_EVALUATOR(mat2, (arr1 + 2).matrix()); in test_evaluators()
359 mat2.array() = arr1 * arr1; in test_evaluators()
360 VERIFY_IS_APPROX(mat2, (arr1 * arr1).matrix()); in test_evaluators()
365 VERIFY_IS_APPROX_EVALUATOR(arr2, arr1.reverse()); in test_evaluators()
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Darray2d_test.cc158 Array2D<int> arr1 = {{1, 2}, {3, 4}, {5, 6}}; in TEST() local
159 EXPECT_TRUE(arr0 == arr1); in TEST()
160 EXPECT_FALSE(arr0 != arr1); in TEST()
161 EXPECT_TRUE(arr1 == arr0); in TEST()
162 EXPECT_FALSE(arr1 != arr0); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Instrumentation/AddressSanitizer/
Dstack_layout.ll33 %arr1.ptr = bitcast [10 x i8]* %XXX to i8*
34 store volatile i8 0, i8* %arr1.ptr
55 %arr1.ptr = bitcast [5 x i8]* %AAA to i8*
56 store volatile i8 0, i8* %arr1.ptr
78 %arr1.ptr = bitcast [128 x i8]* %AAA to i8*
79 store volatile i8 0, i8* %arr1.ptr
/external/llvm/test/CodeGen/ARM/
Dmemfunc.ll123 %arr1 = alloca [9 x i8], align 1
124 %1 = bitcast [9 x i8]* %arr1 to i8*
165 %arr1 = alloca [7 x i8], align 1
166 %1 = bitcast [7 x i8]* %arr1 to i8*
204 %arr1 = alloca [9 x i8], align 1
205 %1 = getelementptr inbounds [9 x i8], [9 x i8]* %arr1, i32 0, i32 4
243 %arr1 = alloca [13 x i8], align 1
244 %1 = getelementptr inbounds [13 x i8], [13 x i8]* %arr1, i32 0, i32 1
282 %arr1 = alloca [13 x i8], align 1
283 %1 = getelementptr inbounds [13 x i8], [13 x i8]* %arr1, i32 0, i32 %i
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Dmemfunc.ll123 %arr1 = alloca [9 x i8], align 1
124 %1 = bitcast [9 x i8]* %arr1 to i8*
165 %arr1 = alloca [7 x i8], align 1
166 %1 = bitcast [7 x i8]* %arr1 to i8*
204 %arr1 = alloca [9 x i8], align 1
205 %1 = getelementptr inbounds [9 x i8], [9 x i8]* %arr1, i32 0, i32 4
243 %arr1 = alloca [13 x i8], align 1
244 %1 = getelementptr inbounds [13 x i8], [13 x i8]* %arr1, i32 0, i32 1
282 %arr1 = alloca [13 x i8], align 1
283 %1 = getelementptr inbounds [13 x i8], [13 x i8]* %arr1, i32 0, i32 %i
[all …]
/external/llvm/test/CodeGen/Thumb/
Dstack-access.ll22 %arr1 = alloca [1024 x i8], align 1
27 store [1024 x i8]* %arr1, [1024 x i8]** %p, align 4
96 %arr1 = alloca [224 x i32], align 4
100 %arr1idx1 = getelementptr inbounds [224 x i32], [224 x i32]* %arr1, i32 0, i32 0
105 %arr1idx2 = getelementptr inbounds [224 x i32], [224 x i32]* %arr1, i32 0, i32 32
/external/pdfium/core/fpdfapi/parser/
Dcpdf_array_unittest.cpp130 std::unique_ptr<CPDF_Array> arr1 = ToArray(arr->Clone()); in TEST() local
131 ASSERT_EQ(arr->GetCount(), arr1->GetCount()); in TEST()
137 CPDF_Array* arr1_elem = arr1->GetObjectAt(i)->AsArray(); in TEST()
159 ASSERT_EQ(kNumOfRows, arr1->GetCount()); in TEST()
163 auto* elem_obj1 = arr1->GetObjectAt(i)->AsArray()->GetObjectAt(j); in TEST()

123