/external/openthread/tests/unit/ |
D | test_array.cpp | 244 Array<Entry, kMaxSize> array2; in TestArrayCopyAndFindMatching() local 248 VerifyOrQuit(array2.IsEmpty()); in TestArrayCopyAndFindMatching() 257 SuccessOrQuit(array2.PushBack(ps3)); in TestArrayCopyAndFindMatching() 258 SuccessOrQuit(array2.PushBack(ps5)); in TestArrayCopyAndFindMatching() 259 VerifyOrQuit(array2.GetLength() == 2); in TestArrayCopyAndFindMatching() 261 array3 = array2 = array1; in TestArrayCopyAndFindMatching() 264 VerifyOrQuit(array2.GetLength() == 4); in TestArrayCopyAndFindMatching() 269 VerifyOrQuit(array1[index] == array2[index]); in TestArrayCopyAndFindMatching() 280 Array<Entry, kMaxSize> array4(array2); in TestArrayCopyAndFindMatching() 286 VerifyOrQuit(array2[index] == array4[index]); in TestArrayCopyAndFindMatching() [all …]
|
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/ |
D | ArraySorterTest.java | 31 final byte[] array2 = array1.clone(); in testSortByteArray() 33 assertArrayEquals(array1, ArraySorter.sort(array2)); in testSortByteArray() 39 final char[] array2 = array1.clone(); in testSortCharArray() local 41 assertArrayEquals(array1, ArraySorter.sort(array2)); in testSortCharArray() 47 final String[] array2 = array1.clone(); in testSortComparable() local 49 assertArrayEquals(array1, ArraySorter.sort(array2, String::compareTo)); in testSortComparable() 55 final double[] array2 = array1.clone(); in testSortDoubleArray() local 57 assertArrayEquals(array1, ArraySorter.sort(array2)); in testSortDoubleArray() 63 final float[] array2 = array1.clone(); in testSortFloatArray() local 65 assertArrayEquals(array1, ArraySorter.sort(array2)); in testSortFloatArray() [all …]
|
/external/deqp/android/cts/main/vk-main-2024-03-01/ |
D | fragment-shading-barycentric.txt | 1 dEQP-VK.fragment_shading_barycentric.data.shader_combos.with_geom_shader.array2.double 2 dEQP-VK.fragment_shading_barycentric.data.shader_combos.with_geom_shader.array2.dvec2 3 dEQP-VK.fragment_shading_barycentric.data.shader_combos.with_geom_shader.array2.dvec3 4 dEQP-VK.fragment_shading_barycentric.data.shader_combos.with_geom_shader.array2.dvec4 5 dEQP-VK.fragment_shading_barycentric.data.shader_combos.with_geom_shader.array2.float 6 dEQP-VK.fragment_shading_barycentric.data.shader_combos.with_geom_shader.array2.int 7 dEQP-VK.fragment_shading_barycentric.data.shader_combos.with_geom_shader.array2.ivec2 8 dEQP-VK.fragment_shading_barycentric.data.shader_combos.with_geom_shader.array2.ivec3 9 dEQP-VK.fragment_shading_barycentric.data.shader_combos.with_geom_shader.array2.ivec4 10 dEQP-VK.fragment_shading_barycentric.data.shader_combos.with_geom_shader.array2.uint [all …]
|
/external/mockito/src/test/java/org/mockito/internal/matchers/apachecommons/ |
D | EqualsBuilderTest.java | 652 long[][] array2 = new long[2][2]; in testMultiLongArray() local 656 array2[i][j] = (i + 1) * (j + 1); in testMultiLongArray() 660 assertTrue(new EqualsBuilder().append(array1, array2).isEquals()); in testMultiLongArray() 662 assertTrue(!new EqualsBuilder().append(array1, array2).isEquals()); in testMultiLongArray() 668 int[][] array2 = new int[2][2]; in testMultiIntArray() local 672 array2[i][j] = (i + 1) * (j + 1); in testMultiIntArray() 676 assertTrue(new EqualsBuilder().append(array1, array2).isEquals()); in testMultiIntArray() 678 assertTrue(!new EqualsBuilder().append(array1, array2).isEquals()); in testMultiIntArray() 684 short[][] array2 = new short[2][2]; in testMultiShortArray() local 688 array2[i][j] = i; in testMultiShortArray() [all …]
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/util/ |
D | ArrayUtils.java | 47 public static <E> List<E> toUnmodifiableCompositeList(E[] array1, E[] array2) { in toUnmodifiableCompositeList() argument 50 result = toUnmodifiableList(array2); in toUnmodifiableCompositeList() 51 } else if (array2.length == 0) { in toUnmodifiableCompositeList() 54 result = new CompositeUnmodifiableArrayList<E>(array1, array2); in toUnmodifiableCompositeList() 84 private final E[] array2; field in ArrayUtils.CompositeUnmodifiableArrayList 86 CompositeUnmodifiableArrayList(E[] array1, E[] array2) { in CompositeUnmodifiableArrayList() argument 88 this.array2 = array2; in CompositeUnmodifiableArrayList() 96 } else if (index - array1.length < array2.length) { in get() 97 element = array2[index - array1.length]; in get() 106 return array1.length + array2.length; in size()
|
/external/sdv/vsomeip/third_party/boost/phoenix/test/algorithm/ |
D | transformation1.cpp | 107 int array2[] = {1,2,3}; in transform_test() local 109 boost::phoenix::transform(arg1, arg2, arg3, std::plus<int>())(array, array2, array) == in transform_test() 269 int array2[2]; in remove_copy_test() local 270 BOOST_TEST(boost::phoenix::remove_copy(arg1, arg2, 2)(array, array2) == array2 + 2); in remove_copy_test() 271 BOOST_TEST(array2[0] == 1); in remove_copy_test() 272 BOOST_TEST(array2[1] == 3); in remove_copy_test() 282 int array2[2]; in remove_copy_if_test() local 283 BOOST_TEST(boost::phoenix::remove_copy_if(arg1, arg2, even())(array, array2) == array2 + 2); in remove_copy_if_test() 284 BOOST_TEST(array2[0] == 1); in remove_copy_if_test() 285 BOOST_TEST(array2[1] == 3); in remove_copy_if_test() [all …]
|
D | querying.cpp | 165 int array2[] = {1,2,3}; in equal_test() local 168 boost::phoenix::equal(arg1, arg2)(array, array2)); in equal_test() 173 boost::phoenix::equal(arg1, arg2, mod_2_comparison())(array, array2)); in equal_test() 201 int array2[] = {3,2,1}; in lower_bound_test() local 202 const std::set<int, std::greater<int> > test_set2(array2, array2 + 3); in lower_bound_test() 203 BOOST_TEST(boost::phoenix::lower_bound(arg1, 2, std::greater<int>())(array2) == in lower_bound_test() 204 array2 + 1); in lower_bound_test() 218 int array2[] = {3,2,1}; in upper_bound_test() local 219 const std::set<int, std::greater<int> > test_set2(array2, array2 + 3); in upper_bound_test() 220 BOOST_TEST(boost::phoenix::upper_bound(arg1, 2, std::greater<int>())(array2) == in upper_bound_test() [all …]
|
D | transformation3.cpp | 47 int array2[] = {2,3,4}; in merge_test() local 50 BOOST_TEST(merge(arg1, arg2, arg3)(array, array2, output) == output + 6); in merge_test() 73 int array2[] = {5,4,3,4,3,2}; in inplace_merge_test() local 74 boost::phoenix::inplace_merge(arg1, array2 + 3, std::greater<int>())(array2); in inplace_merge_test() 76 BOOST_TEST(std::equal(array2, array2 + 6, expected_result2)); in inplace_merge_test() 87 int array2[] = {2,3,4}; in set_union_test() local 89 BOOST_TEST(set_union(arg1, arg2, arg3)(array, array2, output) == output + 4); in set_union_test() 111 int array2[] = {2,3,4}; in set_intersection_test() local 113 BOOST_TEST(set_intersection(arg1, arg2, arg3)(array, array2, output) == output + 2); in set_intersection_test() 135 int array2[] = {2,3,4}; in set_difference_test() local [all …]
|
D | transformation2.cpp | 46 int array2[3]; in rotate_copy_test() local 47 rotate_copy(arg1, array + 1, arg2)(array, array2); in rotate_copy_test() 48 BOOST_TEST(array2[0] == 2); in rotate_copy_test() 49 BOOST_TEST(array2[1] == 3); in rotate_copy_test() 50 BOOST_TEST(array2[2] == 1); in rotate_copy_test() 170 int array2[2]; in partial_sort_copy_test() local 171 partial_sort_copy(arg1, arg2)(array, array2); in partial_sort_copy_test() 172 BOOST_TEST(array2[0] == 1); in partial_sort_copy_test() 173 BOOST_TEST(array2[1] == 2); in partial_sort_copy_test() 175 boost::phoenix::partial_sort_copy(arg1, arg2, std::greater<int>())(array, array2); in partial_sort_copy_test() [all …]
|
D | querying2.cpp | 25 int array2[] = {1,2}; in includes_test() local 26 BOOST_TEST(includes(arg1, arg2)(array, array2)); in includes_test() 28 BOOST_TEST(!includes(arg1, arg2)(rng, array2)); in includes_test() 64 int array2[] = {1,2,4}; in lexicographical_compare_test() local 66 BOOST_TEST(lexicographical_compare(arg1, arg2)(array, array2)); in lexicographical_compare_test() 67 BOOST_TEST(!lexicographical_compare(arg1, arg2)(array2, array)); in lexicographical_compare_test() 70 …OST_TEST(!boost::phoenix::lexicographical_compare(arg1, arg2, std::greater<int>())(array, array2)); in lexicographical_compare_test() 71 …BOOST_TEST(boost::phoenix::lexicographical_compare(arg1, arg2, std::greater<int>())(array2, array)… in lexicographical_compare_test()
|
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/builder/ |
D | EqualsBuilderTest.java | 805 final long[][] array2 = new long[2][2]; in testMultiLongArray() local 809 array2[i][j] = (i + 1) * (j + 1); in testMultiLongArray() 813 assertTrue(new EqualsBuilder().append(array1, array2).isEquals()); in testMultiLongArray() 815 assertFalse(new EqualsBuilder().append(array1, array2).isEquals()); in testMultiLongArray() 821 final int[][] array2 = new int[2][2]; in testMultiIntArray() local 825 array2[i][j] = (i + 1) * (j + 1); in testMultiIntArray() 829 assertTrue(new EqualsBuilder().append(array1, array2).isEquals()); in testMultiIntArray() 831 assertFalse(new EqualsBuilder().append(array1, array2).isEquals()); in testMultiIntArray() 837 final short[][] array2 = new short[2][2]; in testMultiShortArray() local 841 array2[i][j] = i; in testMultiShortArray() [all …]
|
D | CompareToBuilderTest.java | 696 final long[][] array2 = new long[2][2]; in testMultiLongArray() local 701 array2[i][j] = (i + 1) * (j + 1); in testMultiLongArray() 709 assertEquals(0, new CompareToBuilder().append(array1, array2).toComparison()); in testMultiLongArray() 713 assertTrue(new CompareToBuilder().append(array1, array2).toComparison() > 0); in testMultiLongArray() 714 assertTrue(new CompareToBuilder().append(array2, array1).toComparison() < 0); in testMultiLongArray() 720 final int[][] array2 = new int[2][2]; in testMultiIntArray() local 725 array2[i][j] = (i + 1) * (j + 1); in testMultiIntArray() 733 assertEquals(0, new CompareToBuilder().append(array1, array2).toComparison()); in testMultiIntArray() 737 assertTrue(new CompareToBuilder().append(array1, array2).toComparison() > 0); in testMultiIntArray() 738 assertTrue(new CompareToBuilder().append(array2, array1).toComparison() < 0); in testMultiIntArray() [all …]
|
/external/swiftshader/tests/regres/testlists/vk-default/ |
D | fragment-shading-barycentric.txt | 2 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.double.p… 3 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.double.p… 4 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.double.p… 5 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.double.p… 6 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec2.pe… 7 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec2.pe… 8 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec2.pe… 9 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec2.pe… 10 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec3.pe… 11 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec3.pe… [all …]
|
/external/deqp/external/vulkancts/mustpass/main/vk-default/ |
D | fragment-shading-barycentric.txt | 2 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.double.p… 3 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.double.p… 4 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.double.p… 5 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.double.p… 6 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec2.pe… 7 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec2.pe… 8 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec2.pe… 9 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec2.pe… 10 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec3.pe… 11 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec3.pe… [all …]
|
/external/deqp/android/cts/main/vk-main-2025-03-01/ |
D | fragment-shading-barycentric.txt | 1 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.double.p… 2 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.double.p… 3 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.double.p… 4 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.double.p… 5 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec2.pe… 6 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec2.pe… 7 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec2.pe… 8 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec2.pe… 9 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec3.pe… 10 dEQP-VK.fragment_shading_barycentric.data.provoking_first.dynamic.line_list.no_clip.array2.dvec3.pe… [all …]
|
/external/clang/test/Sema/ |
D | self-comparison.c | 50 int array2[2]; in array_comparisons() local 65 return array1 == array2; // expected-warning{{array comparison always evaluates to false}} in array_comparisons() 66 return array1 != array2; // expected-warning{{array comparison always evaluates to true}} in array_comparisons() 71 return array1 < array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons() 72 return array1 <= array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons() 73 return array1 > array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons() 74 return array1 >= array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons()
|
/external/protobuf/objectivec/Tests/ |
D | GPBArrayTests.m | 202 //% GPB##NAME##Array *array2 = 205 //% XCTAssertNotNil(array2); 222 //% XCTAssertNotEqualObjects(array1, array2); 224 //% XCTAssertNotEqualObjects(array2, array3); 228 //% [array2 release]; 239 //% GPB##NAME##Array *array2 = [array copy]; 240 //% XCTAssertNotNil(array2); 243 //% XCTAssertNotEqual(array, array2); 244 //% XCTAssertEqualObjects(array, array2); 245 //% [array2 release]; [all …]
|
/external/cronet/stable/third_party/protobuf/objectivec/Tests/ |
D | GPBArrayTests.m | 202 //% GPB##NAME##Array *array2 = 205 //% XCTAssertNotNil(array2); 222 //% XCTAssertNotEqualObjects(array1, array2); 224 //% XCTAssertNotEqualObjects(array2, array3); 228 //% [array2 release]; 239 //% GPB##NAME##Array *array2 = [array copy]; 240 //% XCTAssertNotNil(array2); 243 //% XCTAssertNotEqual(array, array2); 244 //% XCTAssertEqualObjects(array, array2); 245 //% [array2 release]; [all …]
|
/external/cronet/tot/third_party/protobuf/objectivec/Tests/ |
D | GPBArrayTests.m | 202 //% GPB##NAME##Array *array2 = 205 //% XCTAssertNotNil(array2); 222 //% XCTAssertNotEqualObjects(array1, array2); 224 //% XCTAssertNotEqualObjects(array2, array3); 228 //% [array2 release]; 239 //% GPB##NAME##Array *array2 = [array copy]; 240 //% XCTAssertNotNil(array2); 243 //% XCTAssertNotEqual(array, array2); 244 //% XCTAssertEqualObjects(array, array2); 245 //% [array2 release]; [all …]
|
/external/sdv/vsomeip/third_party/boost/core/test/swap/ |
D | swap_array_of_int.cpp | 25 int array2[array_size]; in main() local 28 std::copy(initial_array2, initial_array2 + array_size, array2); in main() 30 boost::swap(array1, array2); in main() 33 BOOST_CHECK(std::equal(array2, array2 + array_size, initial_array1)); in main()
|
D | swap_array_of_class.cpp | 47 swap_test_class array2[array_size]; in main() local 50 std::copy(initial_array2, initial_array2 + array_size, array2); in main() 53 boost::swap(array1, array2); in main() 56 BOOST_CHECK(std::equal(array2, array2 + array_size, initial_array1)); in main()
|
D | swap_array_of_template.cpp | 57 swap_test_template<int> array2[array_size]; in main() local 60 std::copy(initial_array2, initial_array2 + array_size, array2); in main() 63 boost::swap(array1, array2); in main() 66 BOOST_CHECK(std::equal(array2, array2 + array_size, initial_array1)); in main()
|
/external/eigen/test/ |
D | mapped_matrix.cpp | 25 Scalar* array2 = internal::aligned_new<Scalar>(size); in map_class_vector() local 31 Map<VectorType, AlignedMax>(array2, size) = Map<VectorType,AlignedMax>(array1, size); in map_class_vector() 35 VectorType ma2 = Map<VectorType, AlignedMax>(array2, size); in map_class_vector() 47 internal::aligned_delete(array2, size); in map_class_vector() 61 Scalar* array2 = internal::aligned_new<Scalar>(size); in map_class_matrix() local 62 for(int i = 0; i < size; i++) array2[i] = Scalar(1); in map_class_matrix() 73 Map<MatrixType, AlignedMax> map2(array2, rows, cols); in map_class_matrix() 117 internal::aligned_delete(array2, size); in map_class_matrix() 128 Scalar* array2 = internal::aligned_new<Scalar>(size); in map_static_methods() local 133 VectorType::Map(array2, size) = VectorType::Map(array1, size); in map_static_methods() [all …]
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stackdepot_test.cc | 62 uptr array2[] = {1, 2, 3, 4, 8, 9}; in TEST() local 63 StackTrace s2(array2, ARRAY_SIZE(array2)); in TEST() 70 uptr array2[] = {7, 1, 3, 0}; in TEST() local 75 StackTrace s2(array2, ARRAY_SIZE(array2)); in TEST()
|
/external/cronet/tot/base/apple/ |
D | scoped_cftyperef_unittest.cc | 40 CFMutableArrayRef array2 = in TEST() local 42 EXPECT_EQ(1, CFGetRetainCount(array2)); in TEST() 44 array2 /* with implicit ASSUME */); in TEST() 45 EXPECT_EQ(array2, assume_scoper2.get()); in TEST() 46 EXPECT_EQ(1, CFGetRetainCount(array2)); in TEST() 212 CFMutableArrayRef array2 = in TEST() local 214 EXPECT_EQ(1, CFGetRetainCount(array2)); in TEST() 216 assume_scoper2.reset(array2 /* with implicit ASSUME */); in TEST() 217 EXPECT_EQ(array2, assume_scoper2.get()); in TEST() 218 EXPECT_EQ(1, CFGetRetainCount(array2)); in TEST()
|