/external/clang/test/Sema/ |
D | self-comparison.c | 49 int array1[2]; in array_comparisons() local 55 return array1 == array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons() 56 return array1 != array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons() 57 return array1 < array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons() 58 return array1 <= array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons() 59 return array1 > array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons() 60 return array1 >= array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons() 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() [all …]
|
/external/llvm-project/clang/test/Sema/ |
D | self-comparison.c | 49 int array1[2]; in array_comparisons() local 55 return array1 == array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons() 56 return array1 != array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons() 57 return array1 < array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons() 58 return array1 <= array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons() 59 return array1 > array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons() 60 return array1 >= array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons() 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() [all …]
|
/external/mockito/src/test/java/org/mockito/internal/matchers/apachecommons/ |
D | EqualsBuilderTest.java | 555 long[][] array1 = new long[2][2]; in testMultiLongArray() local 557 for (int i = 0; i < array1.length; ++i) { in testMultiLongArray() 558 for (int j = 0; j < array1[0].length; j++) { in testMultiLongArray() 559 array1[i][j] = (i + 1) * (j + 1); in testMultiLongArray() 563 assertTrue(new EqualsBuilder().append(array1, array1).isEquals()); in testMultiLongArray() 564 assertTrue(new EqualsBuilder().append(array1, array2).isEquals()); in testMultiLongArray() 565 array1[1][1] = 0; in testMultiLongArray() 566 assertTrue(!new EqualsBuilder().append(array1, array2).isEquals()); in testMultiLongArray() 570 int[][] array1 = new int[2][2]; in testMultiIntArray() local 572 for (int i = 0; i < array1.length; ++i) { in testMultiIntArray() [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/eigen/test/ |
D | mapped_matrix.cpp | 25 Scalar* array1 = internal::aligned_new<Scalar>(size); in map_class_vector() local 31 Map<VectorType, AlignedMax>(array1, size) = VectorType::Random(size); in map_class_vector() 32 Map<VectorType, AlignedMax>(array2, size) = Map<VectorType,AlignedMax>(array1, size); in map_class_vector() 33 Map<VectorType>(array3unaligned, size) = Map<VectorType>(array1, size); in map_class_vector() 34 Map<VectorType>(array4, size) = Map<VectorType,AlignedMax>(array1, size); in map_class_vector() 35 VectorType ma1 = Map<VectorType, AlignedMax>(array1, size); in map_class_vector() 47 internal::aligned_delete(array1, size); in map_class_vector() 61 Scalar* array1 = internal::aligned_new<Scalar>(size); in map_class_matrix() local 62 for(int i = 0; i < size; i++) array1[i] = Scalar(1); in map_class_matrix() 73 Map<MatrixType> map1(array1, rows, cols); in map_class_matrix() [all …]
|
/external/llvm-project/lldb/test/API/functionalities/breakpoint/objc/ |
D | main.m | 62 …NSArray *array1 = [NSArray arrayWithObjects: @"array1 object1", @"array1 object2", @"array1 object… 63 NSArray *array2 = [NSArray arrayWithObjects: array1, @"array2 object2", @"array2 object3", nil]; 66 // expression [array1 count] 67 // expression array1.count 72 obj = [array1 objectAtIndex: 0]; // Break here for NSArray tests 73 obj = [array1 objectAtIndex: 1]; 74 obj = [array1 objectAtIndex: 2];
|
/external/eigen/doc/ |
D | QuickReference.dox | 374 array1 * array2 array1 / array2 array1 *= array2 array1 /= array2 375 array1 + scalar array1 - scalar array1 += scalar array1 -= scalar 378 array1 < array2 array1 > array2 array1 < scalar array1 > scalar 379 array1 <= array2 array1 >= array2 array1 <= scalar array1 >= scalar 380 array1 == array2 array1 != array2 array1 == scalar array1 != scalar 381 array1.min(array2) array1.max(array2) array1.min(scalar) array1.max(scalar) 384 array1.abs2() 385 array1.abs() abs(array1) 386 array1.sqrt() sqrt(array1) 387 array1.log() log(array1) [all …]
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stackdepot_test.cpp | 59 uptr array1[] = {1, 2, 3, 4, 7}; in TEST() local 60 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST() 75 uptr array1[] = {0x111, 0x222, 0x333, 0x444, 0x777}; in TEST() local 76 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST() 90 uptr array1[] = {1, 2, 3, 4, 5}; in TEST() local 95 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST()
|
/external/tensorflow/tensorflow/core/kernels/neon/ |
D | types.h | 49 int MatchingArraySize(const ArrayType1& array1, int index1, in MatchingArraySize() argument 51 DCHECK_EQ(ArraySize(array1, index1), ArraySize(array2, index2)); in MatchingArraySize() 52 return ArraySize(array1, index1); in MatchingArraySize() 56 int MatchingArraySize(const ArrayType1& array1, int index1, in MatchingArraySize() argument 58 DCHECK_EQ(ArraySize(array1, index1), ArraySize(array2, index2)); in MatchingArraySize() 59 return MatchingArraySize(array1, index1, args...); in MatchingArraySize()
|
/external/llvm-project/lldb/test/API/lang/objc/foundation/ |
D | main.m | 105 …NSArray *array1 = [NSArray arrayWithObjects: @"array1 object1", @"array1 object2", @"array1 object… 106 NSArray *array2 = [NSArray arrayWithObjects: array1, @"array2 object2", @"array2 object3", nil]; 109 // expression [array1 count] 110 // expression array1.count 115 obj = [array1 objectAtIndex: 0]; // Break here for NSArray tests 116 obj = [array1 objectAtIndex: 1]; 117 obj = [array1 objectAtIndex: 2];
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ObjectArraysTest.java | 147 private void doTestToArrayImpl2(List<Integer> list, Integer[] array1, boolean expectModify) { in doTestToArrayImpl2() argument 148 Integer[] starting = Arrays.copyOf(array1, array1.length); in doTestToArrayImpl2() 149 Integer[] array2 = Arrays.copyOf(array1, array1.length); in doTestToArrayImpl2() 150 Object[] reference = list.toArray(array1); in doTestToArrayImpl2() 160 assertTrue(Arrays.equals(expectedArray1, array1)); 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 | 147 private void doTestToArrayImpl2(List<Integer> list, Integer[] array1, boolean expectModify) { in doTestToArrayImpl2() argument 148 Integer[] starting = Arrays.copyOf(array1, array1.length); in doTestToArrayImpl2() 149 Integer[] array2 = Arrays.copyOf(array1, array1.length); in doTestToArrayImpl2() 150 Object[] reference = list.toArray(array1); in doTestToArrayImpl2() 160 assertTrue(Arrays.equals(expectedArray1, array1)); 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/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stackdepot_test.cc | 59 uptr array1[] = {1, 2, 3, 4, 7}; in TEST() local 60 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST() 69 uptr array1[] = {1, 2, 3, 4, 5}; in TEST() local 74 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST()
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | pcrel-relocation-plus-offset.ll | 18 @array1 = external local_unnamed_addr global [10 x i32], align 4 52 ; CHECK-S-NEXT: pld r3, array1@got@pcrel(0), 1 59 ; CHECK-O-NEXT: R_PPC64_GOT_PCREL34 array1 64 …%0 = load i32, i32* getelementptr inbounds ([10 x i32], [10 x i32]* @array1, i64 0, i64 4), align 4 71 ; CHECK-S-NEXT: pld r3, array1@got@pcrel(0), 1 78 ; CHECK-O-NEXT: R_PPC64_GOT_PCREL34 array1 83 …%0 = load i32, i32* getelementptr inbounds ([10 x i32], [10 x i32]* @array1, i64 0, i64 -1), align…
|
D | anon_aggr.ll | 28 define i8* @func2({ i64, i8* } %array1, %tarray* byval(%tarray) %array2) { 30 %array1_ptr = extractvalue {i64, i8* } %array1, 1 49 define i8* @func3({ i64, i8* }* byval({ i64, i8* }) %array1, %tarray* byval(%tarray) %array2) { 51 %tmp1 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %array1, i32 0, i32 1 72 { i64, i8* } %array1, %tarray* byval(%tarray) %array2) { 74 %array1_ptr = extractvalue {i64, i8* } %array1, 1
|
/external/llvm-project/llvm/test/DebugInfo/X86/ |
D | assumed_size_array.ll | 8 ; CHECK: DW_AT_name ("array1") 25 ;;subroutine sub (array1, array2) 26 ;; integer :: array1 (*) 29 ;; array1(7:8) = 9 47 define void @sub_(i64* noalias %array1, i64* noalias %array2) #0 !dbg !5 { 51 …call void @llvm.dbg.declare(metadata i64* %array1, metadata !16, metadata !DIExpression()), !dbg !… 64 %1 = bitcast i64* %array1 to i8*, !dbg !19 113 !16 = !DILocalVariable(name: "array1", arg: 1, scope: !5, file: !3, line: 1, type: !8)
|
/external/protobuf/objectivec/Tests/ |
D | GPBArrayTests.m | 194 //% GPB##NAME##Array *array1 = 197 //% XCTAssertNotNil(array1); 212 //% XCTAssertTrue([array1 isEqual:array1]); 214 //% XCTAssertFalse([array1 isEqual:@"bogus"]); 216 //% XCTAssertNotEqual(array1, array1prime); 217 //% XCTAssertEqualObjects(array1, array1prime); 219 //% XCTAssertEqual([array1 hash], [array1prime hash]); 222 //% XCTAssertNotEqualObjects(array1, array2); 223 //% XCTAssertNotEqualObjects(array1, array3); 226 //% [array1 release]; [all …]
|
/external/skqp/src/core/ |
D | SkBlurMF.cpp | 130 static uint32_t insert_into_arrays(SkScalar* array1, SkScalar* array2, in insert_into_arrays() argument 134 SkASSERT(lower >= array1[0] && higher <= array1[*num-1]); in insert_into_arrays() 139 if (lower >= array1[i] && lower < array1[i+1]) { in insert_into_arrays() 140 if (!SkScalarNearlyEqual(lower, array1[i])) { in insert_into_arrays() 141 memmove(&array1[i+2], &array1[i+1], (*num-i-1)*sizeof(SkScalar)); in insert_into_arrays() 142 array1[i+1] = lower; in insert_into_arrays() 144 array2[i+1] = interp(array1[i], lower, array1[i+2], array2[i], array2[i+2]); in insert_into_arrays() 153 if (higher > array1[i] && higher <= array1[i+1]) { in insert_into_arrays() 154 if (!SkScalarNearlyEqual(higher, array1[i+1])) { in insert_into_arrays() 155 memmove(&array1[i+2], &array1[i+1], (*num-i-1)*sizeof(SkScalar)); in insert_into_arrays() [all …]
|
/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 | 57 Array array1 = (Array) dataItem2; in shouldDecode() local 61 Assert.assertEquals(2, array1.getDataItems().size()); in shouldDecode() 64 DataItem array1item1 = array1.getDataItems().get(0); in shouldDecode() 65 DataItem array1item2 = array1.getDataItems().get(1); in shouldDecode()
|
/external/llvm-project/clang/test/Lexer/ |
D | utf8-char-literal.cpp | 6 int array1['\xF1' != u'\xf1'? 1 : -1]; variable 7 int array1['ñ' != u'\xf1'? 1 : -1]; // expected-error {{character too large for enclosing characte… variable
|
/external/clang/test/Lexer/ |
D | utf8-char-literal.cpp | 6 int array1['\xF1' != u'\xf1'? 1 : -1]; variable 7 int array1['ñ' != u'\xf1'? 1 : -1]; // expected-error {{character too large for enclosing characte… variable
|
/external/skqp/tests/ |
D | SkSLMemoryLayoutTest.cpp | 83 SkSL::Type array1(SkSL::String("float[4]"), SkSL::Type::kArray_Kind, *context.fFloat_Type, 4); in DEF_TEST() local 84 REPORTER_ASSERT(r, 64 == layout.size(array1)); in DEF_TEST() 85 REPORTER_ASSERT(r, 16 == layout.alignment(array1)); in DEF_TEST() 86 REPORTER_ASSERT(r, 16 == layout.stride(array1)); in DEF_TEST() 164 SkSL::Type array1(SkSL::String("float[4]"), SkSL::Type::kArray_Kind, *context.fFloat_Type, 4); in DEF_TEST() local 165 REPORTER_ASSERT(r, 16 == layout.size(array1)); in DEF_TEST() 166 REPORTER_ASSERT(r, 4 == layout.alignment(array1)); in DEF_TEST() 167 REPORTER_ASSERT(r, 4 == layout.stride(array1)); in DEF_TEST()
|
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/test/ |
D | AbstractTest.java | 142 protected void assertEquals(String message, byte[] array1, byte[] array2) { in assertEquals() argument 143 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals() 151 protected void assertEquals(String message, Object[] array1, Object[] array2) { in assertEquals() argument 152 assertTrue("Arrays not equal: " + message, Arrays.equals(array1, array2)); in assertEquals()
|