/external/mockito/src/test/java/org/mockito/internal/matchers/apachecommons/ |
D | EqualsBuilderTest.java | 383 TestObject[] obj1 = new TestObject[3]; in testObjectArray() local 384 obj1[0] = new TestObject(4); in testObjectArray() 385 obj1[1] = new TestObject(5); in testObjectArray() 386 obj1[2] = null; in testObjectArray() 392 assertTrue(new EqualsBuilder().append(obj1, obj1).isEquals()); in testObjectArray() 394 assertTrue(new EqualsBuilder().append(obj1, obj2).isEquals()); in testObjectArray() 395 obj1[1].setA(6); in testObjectArray() 396 assertTrue(!new EqualsBuilder().append(obj1, obj2).isEquals()); in testObjectArray() 397 obj1[1].setA(5); in testObjectArray() 398 assertTrue(new EqualsBuilder().append(obj1, obj2).isEquals()); in testObjectArray() [all …]
|
/external/pdfium/core/fxcrt/ |
D | retain_ptr_unittest.cpp | 94 PseudoRetainable obj1; in TEST() local 97 RetainPtr<PseudoRetainable> ptr(&obj1); in TEST() 99 EXPECT_EQ(1, obj1.retain_count()); in TEST() 100 EXPECT_EQ(1, obj1.release_count()); in TEST() 104 EXPECT_EQ(1, obj1.retain_count()); in TEST() 105 EXPECT_EQ(1, obj1.release_count()); in TEST() 111 PseudoRetainable obj1; in TEST() local 114 RetainPtr<PseudoRetainable> ptr1(&obj1); in TEST() 118 EXPECT_EQ(1, obj1.retain_count()); in TEST() 119 EXPECT_EQ(0, obj1.release_count()); in TEST() [all …]
|
D | observable_unittest.cpp | 139 PseudoObservable obj1; in TEST() local 142 PseudoObservable::ObservedPtr obj1_ptr1(&obj1); in TEST() 148 PseudoObservable::ObservedPtr obj1_ptr2(&obj1); in TEST() 160 PseudoObservable obj1; in TEST() local 163 PseudoObservable::ObservedPtr obj1_ptr1(&obj1); in TEST() 167 PseudoObservable::ObservedPtr obj1_ptr2(&obj1); in TEST() 179 PseudoObservable obj1; in TEST() local 181 PseudoObservable::ObservedPtr obj1_ptr(&obj1); in TEST()
|
/external/skqp/tests/ |
D | UtilsTest.cpp | 50 RefClass obj1(1); in test_autostarray() local 52 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray() 62 tmp[1].reset(SkRef(&obj1)); in test_autostarray() 64 REPORTER_ASSERT(reporter, !obj1.unique()); in test_autostarray() 70 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray() 75 tmp[1].reset(SkRef(&obj1)); in test_autostarray() 80 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray() 88 tmp[1].reset(SkRef(&obj1)); in test_autostarray() 90 REPORTER_ASSERT(reporter, !obj1.unique()); in test_autostarray() 95 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray() [all …]
|
/external/skia/tests/ |
D | UtilsTest.cpp | 50 RefClass obj1(1); in test_autostarray() local 52 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray() 62 tmp[1].reset(SkRef(&obj1)); in test_autostarray() 64 REPORTER_ASSERT(reporter, !obj1.unique()); in test_autostarray() 70 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray() 75 tmp[1].reset(SkRef(&obj1)); in test_autostarray() 80 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray() 88 tmp[1].reset(SkRef(&obj1)); in test_autostarray() 90 REPORTER_ASSERT(reporter, !obj1.unique()); in test_autostarray() 95 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_pep247.py | 26 obj1 = module.new(key) 34 obj1 = module.new() 44 self.assertTrue(hasattr(obj1, 'digest_size')) 47 self.assertEqual(obj1.digest_size, module.digest_size) 49 self.assertEqual(obj1.digest_size, len(h1)) 50 obj1.update('string') 51 obj_copy = obj1.copy() 52 self.assertEqual(obj1.digest(), obj_copy.digest()) 53 self.assertEqual(obj1.hexdigest(), obj_copy.hexdigest()) 55 digest, hexdigest = obj1.digest(), obj1.hexdigest()
|
/external/clang/test/Rewriter/ |
D | properties.m | 44 Foo *obj1, *obj2; 46 if (obj1.i == obj2.rrrr) 47 obj1.i = 33; 48 obj1.i = func(obj2.rrrr); 49 obj1.i = obj2.rrrr; 50 obj1.i = (obj2.rrrr); 51 [obj1 setI:[obj2 rrrr]]; 52 obj1.i = [obj2 rrrr]; 53 obj1.i = 3 + [obj2 rrrr]; 54 i = obj1.o.i; [all …]
|
D | objc-modern-implicit-cast.mm | 22 id obj1 = block; 24 void(^block1)(void) = obj1; 28 return_id(obj1); 32 return_block(obj1);
|
/external/antlr/runtime/ObjC/Framework/test/runtime/misc/ |
D | TestDictionary.m | 32 NSString *obj1 = @"obj101"; 35 [testDict setObject:obj1 forKey:key1]; 36 NSString *expected = obj1; 45 NSString *obj1 = @"obj101"; 50 [testDict setObject:obj1 forKey:key1]; 52 NSString *expected = obj1; 61 NSString *obj1 = @"obj101"; 64 [testDict setObject:obj1 forKey:key1]; 85 NSString *obj1 = @"obj101"; 88 [testDict setObject:obj1 forKey:key1]; [all …]
|
/external/fonttools/Lib/fontTools/misc/ |
D | psOperators.py | 237 obj1 = self.pop() 239 self.push(obj1) 414 obj1 = self.pop() 419 obj3.value[obj2.value] = obj1 421 obj3.value[obj2.value] = obj1 424 obj3.value = obj3.value[:index] + chr(obj1.value) + obj3.value[index+1:] 427 obj1 = self.pop() 428 if obj1.value == "Encoding": 433 self.push(obj2.value[obj1.value]) 435 self.push(obj2.value[obj1.value]) [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
D | YamlStream.java | 62 Object obj1 = niterator.next(); in YamlStream() local 64 if (obj1 instanceof Map) { in YamlStream() 66 Map<Object, Object> map1 = (Map<Object, Object>) obj1; in YamlStream() 82 if (!obj1.equals(obj2)) { in YamlStream() 83 throw new AssertionFailedError("Expected: " + obj1 + "; but was: " + obj2); in YamlStream()
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
D | apply_extended_types.pass.cpp | 33 A_int_0() : obj1(0){} in A_int_0() 34 A_int_0(int x) : obj1(x) {} in A_int_0() 37 int const obj1; member 103 obj1_t obj1 = &T::obj1; in test_ext_int_0() local 172 assert(42 == std::apply(obj1, t)); in test_ext_int_0() 178 assert(42 == std::apply(obj1, t)); in test_ext_int_0() 184 assert(42 == std::apply(obj1, t)); in test_ext_int_0() 190 assert(42 == std::apply(obj1, t)); in test_ext_int_0()
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_pmaps.c | 118 ASN1_OBJECT *obj1, *obj2; in v2i_POLICY_MAPPINGS() local 135 obj1 = OBJ_txt2obj(val->name, 0); in v2i_POLICY_MAPPINGS() 137 if (!obj1 || !obj2) { in v2i_POLICY_MAPPINGS() 149 pmap->issuerDomainPolicy = obj1; in v2i_POLICY_MAPPINGS()
|
/external/autotest/frontend/ |
D | db_router.py | 95 def allow_relation(self, obj1, obj2, **hints): argument 106 if (not self._should_be_in_server_db(type(obj1)) == 109 if (not self._should_be_in_global(type(obj1)) ==
|
/external/opencensus-java/contrib/appengine_standard_util/src/test/java/io/opencensus/contrib/appengine/standard/util/ |
D | AppEngineCloudTraceContextUtilsTest.java | 156 private static boolean cloudTraceContextEquals(CloudTraceContext obj1, CloudTraceContext obj2) { in cloudTraceContextEquals() argument 157 return Arrays.equals(obj1.getTraceId(), obj2.getTraceId()) in cloudTraceContextEquals() 158 && obj1.getSpanId() == obj2.getSpanId() in cloudTraceContextEquals() 159 && obj1.getTraceMask() == obj2.getTraceMask(); in cloudTraceContextEquals()
|
/external/apache-http/src/org/apache/http/util/ |
D | LangUtils.java | 68 public static boolean equals(final Object obj1, final Object obj2) { in equals() argument 69 return obj1 == null ? obj2 == null : obj1.equals(obj2); in equals()
|
/external/llvm/test/Transforms/RewriteStatepointsForGC/ |
D | statepoint-format.ll | 6 define i64 addrspace(1)* @test_invoke_format(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "s… 9 …e, i32 1, i32 0, i64 addrspace(1)* %obj, i32 0, i32 0, i64 addrspace(1)* %obj1, i64 addrspace(1)* … 20 ret i64 addrspace(1)* %obj1 23 define i64 addrspace(1)* @test_call_format(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "sta…
|
D | invokes.ll | 6 define i64 addrspace(1)* @test_basic(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "statepoin… 29 ret i64 addrspace(1)* %obj1 32 define i64 addrspace(1)* @test_two_invokes(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "sta… 61 ret i64 addrspace(1)* %obj1
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/ |
D | ListOrganizerTest.java | 55 Object obj1 = new Object(); in testMoveToBottom() local 60 list.add(obj1); in testMoveToBottom() 64 assertEquals(obj1, list.getFirst()); in testMoveToBottom()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/RewriteStatepointsForGC/ |
D | statepoint-format.ll | 7 define i64 addrspace(1)* @test_invoke_format(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "s… 10 …e, i32 1, i32 0, i64 addrspace(1)* %obj, i32 0, i32 0, i64 addrspace(1)* %obj1, i64 addrspace(1)* … 21 ret i64 addrspace(1)* %obj1 24 define i64 addrspace(1)* @test_call_format(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "sta…
|
/external/tensorflow/tensorflow/tools/docs/ |
D | doc_generator_visitor_test.py | 152 obj1 = object() variable in DocGeneratorVisitorTest.test_duplicates_defining_class.Parent 182 id(Parent.obj1): 'tf.Parent.obj1', 220 obj1 = object() variable in DocGeneratorVisitorTest.test_duplicates_name.Parent 222 Parent.obj2 = Parent.obj1 250 id(Parent.obj1): 'tf.submodule.Parent.obj1',
|
/external/jdiff/src/jdiff/ |
D | ComparePkgPdiffs.java | 16 public int compare(Object obj1, Object obj2){ in compare() argument 17 PackageDiff p1 = (PackageDiff)obj1; in compare()
|
D | CompareClassPdiffs.java | 16 public int compare(Object obj1, Object obj2){ in compare() argument 17 ClassDiff c1 = (ClassDiff)obj1; in compare()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Verifier/ |
D | statepoint.ll | 55 define i8 addrspace(1)* @test3(i8 addrspace(1)* %obj, i8 addrspace(1)* %obj1) gc "statepoint-exampl… 60 …0, i32 0, i32 5, i32 0, i32 -1, i32 0, i32 0, i32 0, i8 addrspace(1)* %obj, i8 addrspace(1)* %obj1) 69 …%obj1.relocated = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %0, i32 1… 79 …%obj1.relocated1 = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %landing… 80 ret i8 addrspace(1)* %obj1.relocated1
|
/external/llvm/test/Verifier/ |
D | statepoint.ll | 55 define i8 addrspace(1)* @test3(i8 addrspace(1)* %obj, i8 addrspace(1)* %obj1) gc "statepoint-exampl… 60 …0, i32 0, i32 5, i32 0, i32 -1, i32 0, i32 0, i32 0, i8 addrspace(1)* %obj, i8 addrspace(1)* %obj1) 69 …%obj1.relocated = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %0, i32 1… 79 …%obj1.relocated1 = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %landing… 80 ret i8 addrspace(1)* %obj1.relocated1
|