/external/mockito/src/test/java/org/mockito/internal/matchers/apachecommons/ |
D | EqualsBuilderTest.java | 556 long[][] array2 = new long[2][2]; in testMultiLongArray() local 560 array2[i][j] = (i + 1) * (j + 1); in testMultiLongArray() 564 assertTrue(new EqualsBuilder().append(array1, array2).isEquals()); in testMultiLongArray() 566 assertTrue(!new EqualsBuilder().append(array1, array2).isEquals()); in testMultiLongArray() 571 int[][] array2 = new int[2][2]; in testMultiIntArray() local 575 array2[i][j] = (i + 1) * (j + 1); in testMultiIntArray() 579 assertTrue(new EqualsBuilder().append(array1, array2).isEquals()); in testMultiIntArray() 581 assertTrue(!new EqualsBuilder().append(array1, array2).isEquals()); in testMultiIntArray() 586 short[][] array2 = new short[2][2]; in testMultiShortArray() local 590 array2[i][j] = i; in testMultiShortArray() [all …]
|
/external/proguard/src/proguard/util/ |
D | ArrayUtil.java | 38 public static boolean equal(byte[] array1, byte[] array2, int size) in equal() argument 42 if (array1[index] != array2[index]) in equal() 59 public static boolean equal(short[] array1, short[] array2, int size) in equal() argument 63 if (array1[index] != array2[index]) in equal() 80 public static boolean equal(int[] array1, int[] array2, int size) in equal() argument 84 if (array1[index] != array2[index]) in equal() 101 public static boolean equal(Object[] array1, Object[] array2, int size) in equal() argument 105 if (!array1[index].equals(array2[index])) in equal() 122 public static boolean equalOrNull(Object[] array1, Object[] array2) in equalOrNull() argument 124 return array1 == null ? array2 == null : in equalOrNull() [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/llvm-project/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/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stackdepot_test.cpp | 62 uptr array2[] = {1, 2, 3, 4, 8, 9}; in TEST() local 63 StackTrace s2(array2, ARRAY_SIZE(array2)); in TEST() 78 uptr array2[] = {0x1111, 0x2222, 0x3333, 0x4444, 0x8888, 0x9999}; in TEST() local 79 StackTrace s2(array2, ARRAY_SIZE(array2)); in TEST() 91 uptr array2[] = {7, 1, 3, 0}; in TEST() local 96 StackTrace s2(array2, ARRAY_SIZE(array2)); in TEST()
|
/external/eigen/test/ |
D | mapped_matrix.cpp | 26 Scalar* array2 = internal::aligned_new<Scalar>(size); in map_class_vector() local 32 Map<VectorType, AlignedMax>(array2, size) = Map<VectorType,AlignedMax>(array1, size); in map_class_vector() 36 VectorType ma2 = Map<VectorType, AlignedMax>(array2, size); in map_class_vector() 48 internal::aligned_delete(array2, size); in map_class_vector() 63 Scalar* array2 = internal::aligned_new<Scalar>(size); in map_class_matrix() local 64 for(int i = 0; i < size; i++) array2[i] = Scalar(1); in map_class_matrix() 74 Map<MatrixType, AlignedMax> map2(array2, rows, cols); in map_class_matrix() 118 internal::aligned_delete(array2, size); in map_class_matrix() 130 Scalar* array2 = internal::aligned_new<Scalar>(size); in map_static_methods() local 135 VectorType::Map(array2, size) = VectorType::Map(array1, size); in map_static_methods() [all …]
|
D | mapstride.cpp | 69 Scalar* array2 = a_array2; in map_class_matrix() local 71 …array2 = (Scalar*)(internal::IntPtr(a_array2) + (internal::packet_traits<Scalar>::AlignedOnScalar?… in map_class_matrix() 73 …array2 = (Scalar*)(((internal::UIntPtr(a_array2)+EIGEN_MAX_ALIGN_BYTES-1)/EIGEN_MAX_ALIGN_BYTES)*E… in map_class_matrix() 74 Index maxsize2 = a_array2 - array2 + 256; in map_class_matrix() 81 Scalar* array = (k==0 ? array1 : array2); in map_class_matrix() 103 Scalar* array = (k==0 ? array1 : array2); in map_class_matrix() 129 Scalar* array = (k==0 ? array1 : array2); in map_class_matrix()
|
/external/llvm-project/lldb/test/API/functionalities/breakpoint/objc/ |
D | main.m | 63 NSArray *array2 = [NSArray arrayWithObjects: array1, @"array2 object2", @"array2 object3", nil]; 68 // expression [array2 count] 69 // expression array2.count 76 obj = [array2 objectAtIndex: 0]; 77 obj = [array2 objectAtIndex: 1]; 78 obj = [array2 objectAtIndex: 2];
|
/external/llvm-project/lldb/test/API/functionalities/data-formatter/poarray/ |
D | main.mm | 13 NSArray *array2 = @[@"Hello", @"World"]; 14 NSDictionary *dictionary = @{@1: array2, @"Two": array2}; 17 tobjects->two = array2;
|
/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/llvm-project/lldb/test/API/lang/objc/foundation/ |
D | main.m | 106 NSArray *array2 = [NSArray arrayWithObjects: array1, @"array2 object2", @"array2 object3", nil]; 111 // expression [array2 count] 112 // expression array2.count 119 obj = [array2 objectAtIndex: 0]; 120 obj = [array2 objectAtIndex: 1]; 121 obj = [array2 objectAtIndex: 2];
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | pcrel-relocation-plus-offset.ll | 19 @array2 = common dso_local local_unnamed_addr global [10 x i32] zeroinitializer, align 4 24 ; CHECK-S-NEXT: plwa r3, array2@PCREL+28(0), 1 28 ; CHECK-O-NEXT: R_PPC64_PCREL34 array2+0x1c 31 …%0 = load i32, i32* getelementptr inbounds ([10 x i32], [10 x i32]* @array2, i64 0, i64 7), align 4 38 ; CHECK-S-NEXT: plwa r3, array2@PCREL-8(0), 1 42 ; CHECK-O-NEXT: R_PPC64_PCREL34 array2-0x8 45 …%0 = load i32, i32* getelementptr inbounds ([10 x i32], [10 x i32]* @array2, i64 0, i64 -2), align…
|
D | anon_aggr.ll | 28 define i8* @func2({ i64, i8* } %array1, %tarray* byval(%tarray) %array2) { 31 %tmp = getelementptr inbounds %tarray, %tarray* %array2, i32 0, i32 1 49 define i8* @func3({ i64, i8* }* byval({ i64, i8* }) %array1, %tarray* byval(%tarray) %array2) { 53 %tmp2 = getelementptr inbounds %tarray, %tarray* %array2, i32 0, i32 1 72 { i64, i8* } %array1, %tarray* byval(%tarray) %array2) { 75 %tmp = getelementptr inbounds %tarray, %tarray* %array2, i32 0, i32 1
|
/external/tensorflow/tensorflow/core/kernels/neon/ |
D | types.h | 50 const ArrayType2& array2, int index2) { in MatchingArraySize() argument 51 DCHECK_EQ(ArraySize(array1, index1), ArraySize(array2, index2)); in MatchingArraySize() 57 const ArrayType2& array2, int index2, Args... args) { in MatchingArraySize() argument 58 DCHECK_EQ(ArraySize(array1, index1), ArraySize(array2, index2)); in MatchingArraySize()
|
/external/llvm-project/llvm/test/DebugInfo/X86/ |
D | assumed_size_array.ll | 11 ; CHECK: DW_AT_name ("array2") 25 ;;subroutine sub (array1, array2) 27 ;; integer :: array2 (4:9, 10:*) 30 ;; array2(5, 10) = 10 47 define void @sub_(i64* noalias %array1, i64* noalias %array2) #0 !dbg !5 { 52 …call void @llvm.dbg.declare(metadata i64* %array2, metadata !18, metadata !DIExpression()), !dbg !… 81 %11 = bitcast i64* %array2 to i8*, !dbg !24 115 !18 = !DILocalVariable(name: "array2", arg: 2, scope: !5, file: !3, line: 1, type: !12)
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/ |
D | ArrayNodeTest.java | 338 ArrayNode array2 = objectMapper().createArrayNode(); in testSimpleArray() local 339 array2.addNull(); in testSimpleArray() 340 array2.add(false); in testSimpleArray() 341 assertEquals(result, array2); in testSimpleArray() 344 JsonNode rm1 = array2.remove(0); in testSimpleArray() 346 assertEquals(1, array2.size()); in testSimpleArray() 347 assertEquals(BooleanNode.FALSE, array2.get(0)); in testSimpleArray() 348 assertFalse(result.equals(array2)); in testSimpleArray() 350 JsonNode rm2 = array2.remove(0); in testSimpleArray() 352 assertEquals(0, array2.size()); in testSimpleArray()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ObjectArraysTest.java | 149 Integer[] array2 = Arrays.copyOf(array1, array1.length); in doTestToArrayImpl2() local 152 Object[] target = ObjectArrays.toArrayImpl(list, array2); in doTestToArrayImpl2() 161 assertTrue(Arrays.equals(expectedArray2, array2)); in doTestToArrayImpl2() 228 private static boolean arrayEquals(Object[] array1, Object[] array2) { in arrayEquals() argument 229 assertSame(array1.getClass(), array2.getClass()); in arrayEquals() 230 return Arrays.equals(array1, array2); in arrayEquals()
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | ObjectArraysTest.java | 149 Integer[] array2 = Arrays.copyOf(array1, array1.length); in doTestToArrayImpl2() local 152 Object[] target = ObjectArrays.toArrayImpl(list, array2); in doTestToArrayImpl2() 161 assertTrue(Arrays.equals(expectedArray2, array2)); in doTestToArrayImpl2() 228 private static boolean arrayEquals(Object[] array1, Object[] array2) { in arrayEquals() argument 229 assertSame(array1.getClass(), array2.getClass()); in arrayEquals() 230 return Arrays.equals(array1, array2); in arrayEquals()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | warn-self-comparisons.cpp | 4 void f(int (&array1)[2], int (&array2)[2]) { in f() 5 if (array1 == array2) { } // no warning in f()
|
/external/clang/test/SemaCXX/ |
D | warn-self-comparisons.cpp | 4 void f(int (&array1)[2], int (&array2)[2]) { in f() 5 if (array1 == array2) { } // no warning in f()
|
/external/cbor-java/src/test/java/co/nstant/in/cbor/examples/ |
D | Example65Test.java | 58 Array array2 = (Array) dataItem3; in shouldDecode() local 62 Assert.assertEquals(2, array2.getDataItems().size()); in shouldDecode() 76 DataItem array2item1 = array2.getDataItems().get(0); in shouldDecode() 77 DataItem array2item2 = array2.getDataItems().get(1); in shouldDecode()
|
/external/llvm/test/CodeGen/X86/ |
D | atom-fixup-lea3.ll | 11 ;int test(int n, int * array, int * m, int * array2) 17 ; *m += array2[j++]; 23 define i32 @test(i32 %n, i32* nocapture %array, i32* nocapture %m, i32* nocapture %array2) #0 { 37 %arrayidx = getelementptr inbounds i32, i32* %array2, i32 %j.09
|
/external/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/ |
D | split-gep-and-gvn-addrspace-addressing-modes.ll | 35 @array2 = internal addrspace(2) constant [4096 x [4 x float]] zeroinitializer, align 4 40 …ntptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, i64 0, i64 %{{[a-… 43 ; IR: getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, i64 … 44 ; IR: getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, i64 … 48 …%tmp2 = getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, i… 53 …%tmp8 = getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, i… 58 …%tmp14 = getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, … 61 …%tmp18 = getelementptr inbounds [4096 x [4 x float]], [4096 x [4 x float]] addrspace(2)* @array2, …
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | atom-fixup-lea3.ll | 13 ;int test(int n, int * array, int * m, int * array2) 19 ; *m += array2[j++]; 25 …pture %array, i32* nocapture %k, i32* nocapture %l, i32* nocapture %m, i32* nocapture %array2) #0 { 39 %arrayidx = getelementptr inbounds i32, i32* %array2, i32 %j.09
|