/external/pdfium/core/fxcrt/ |
D | autorestorer_unittest.cpp | 77 PseudoRetainable obj1; in TEST() local 79 RetainPtr<PseudoRetainable> ptr(&obj1); in TEST() 80 EXPECT_EQ(1, obj1.retain_count()); in TEST() 81 EXPECT_EQ(0, obj1.release_count()); in TEST() 85 EXPECT_EQ(2, obj1.retain_count()); in TEST() 86 EXPECT_EQ(0, obj1.release_count()); in TEST() 91 EXPECT_TRUE(obj1.alive()); in TEST() 92 EXPECT_EQ(2, obj1.retain_count()); in TEST() 93 EXPECT_EQ(1, obj1.release_count()); in TEST() 96 EXPECT_TRUE(obj1.alive()); in TEST() [all …]
|
D | retain_ptr_unittest.cpp | 79 PseudoRetainable obj1; in TEST() local 82 RetainPtr<PseudoRetainable> ptr(&obj1); in TEST() 84 EXPECT_EQ(1, obj1.retain_count()); in TEST() 85 EXPECT_EQ(1, obj1.release_count()); in TEST() 89 EXPECT_EQ(1, obj1.retain_count()); in TEST() 90 EXPECT_EQ(1, obj1.release_count()); in TEST() 96 PseudoRetainable obj1; in TEST() local 99 RetainPtr<PseudoRetainable> ptr1(&obj1); in TEST() 103 EXPECT_EQ(1, obj1.retain_count()); in TEST() 104 EXPECT_EQ(0, obj1.release_count()); in TEST() [all …]
|
D | observed_ptr_unittest.cpp | 146 PseudoObservable obj1; in TEST() local 149 ObservedPtr<PseudoObservable> obj1_ptr1(&obj1); in TEST() 151 EXPECT_TRUE(&obj1 == obj1_ptr1); in TEST() 152 EXPECT_TRUE(obj1_ptr1 == &obj1); in TEST() 159 ObservedPtr<PseudoObservable> obj1_ptr2(&obj1); in TEST() 171 PseudoObservable obj1; in TEST() local 174 ObservedPtr<PseudoObservable> obj1_ptr1(&obj1); in TEST() 176 EXPECT_FALSE(&obj1 != obj1_ptr1); in TEST() 177 EXPECT_FALSE(obj1_ptr1 != &obj1); in TEST() 182 ObservedPtr<PseudoObservable> obj1_ptr2(&obj1); in TEST() [all …]
|
/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/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/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/llvm-project/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/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/llvm-project/polly/lib/External/isl/ |
D | isl_align_params_templ.c | 15 isl_stat FN(FN(ARG1,align_params),SUFFIX)(__isl_keep ARG1 **obj1, in FN() 21 space1 = FN(ARG1,peek_space)(*obj1); in FN() 28 if (FN(ARG1,check_named_params)(*obj1) < 0 || in FN() 31 *obj1 = FN(ARG1,align_params)(*obj1, FN(ARG2,get_space)(*obj2)); in FN() 32 *obj2 = FN(ARG2,align_params)(*obj2, FN(ARG1,get_space)(*obj1)); in FN() 33 if (!*obj1 || !*obj2) in FN() 37 *obj1 = FN(ARG1,free)(*obj1); in FN()
|
D | isl_type_check_equal_space_templ.c | 12 isl_stat FN(TYPE_PAIR,check_equal_space)(__isl_keep TYPE1 *obj1, in FN() 17 equal = FN(TYPE_PAIR,has_equal_space)(obj1, obj2); in FN() 21 isl_die(FN(TYPE1,get_ctx)(obj1), isl_error_invalid, in FN()
|
/external/llvm-project/clang/test/Driver/ |
D | hip-link-save-temps.hip | 6 // RUN: touch %T/obj1.o 10 // RUN: --offload-arch=gfx906 %T/obj1.o %T/obj2.o 2>&1 | \ 14 // RUN: touch %T/obj1.o 18 // RUN: --offload-arch=gfx906 %T/obj1.o %T/obj2.o 2>&1 | \ 22 // RUN: touch %T/obj1.o 27 // RUN: --offload-arch=gfx906 %T/obj1.o %T/obj2.o 2>&1 | \ 31 // RUN: touch %T/obj1.o 36 // RUN: --offload-arch=gfx906 %T/obj1.o %T/obj2.o 2>&1 | \ 39 …offload-bundler.*}}" {{.*}} "-outputs=obj1-host-x86_64-unknown-linux-gnu.o,obj1-hip-amdgcn-amd-amd… 45 // CHECK-SAME: "-o" "a.out-hip-amdgcn-amd-amdhsa-gfx900" "obj1-hip-amdgcn-amd-amdhsa-gfx900.o" "obj… [all …]
|
/external/libchrome/base/containers/ |
D | id_map_unittest.cc | 37 TestObject obj1; in TEST() local 40 int32_t id1 = map.Add(&obj1); in TEST() 43 EXPECT_EQ(&obj1, map.Lookup(id1)); in TEST() 49 EXPECT_EQ(&obj1, map.Lookup(id1)); in TEST() 60 map.AddWithID(&obj1, 1); in TEST() 62 EXPECT_EQ(&obj1, map.Lookup(1)); in TEST() 65 EXPECT_EQ(&obj2, map.Replace(2, &obj1)); in TEST() 66 EXPECT_EQ(&obj1, map.Lookup(2)); in TEST() 74 TestObject obj1; in TEST() local 78 map.Add(&obj1); in TEST() [all …]
|
/external/llvm-project/compiler-rt/test/tsan/Darwin/ |
D | objc-synchronize-cycle.mm | 10 NSObject* obj1 = [NSObject new]; 13 // obj1 -> obj2 14 @synchronized(obj1) { 19 // obj1 -> obj1 21 @synchronized(obj1) {
|
D | objc-synchronize-nested-recursive.mm | 8 NSObject* obj1 = [NSObject new]; 11 @synchronized(obj1) { 12 @synchronized(obj1) { 18 @synchronized(obj1) { 20 @synchronized(obj1) {
|
/external/llvm-project/clang/docs/analyzer/checkers/ |
D | callandmessage_example.c | 37 MyClass *obj1; local 38 long double ld1 = [obj1 longDoubleM]; 49 MyClass *obj1; local 50 id i = obj1.x; // warn: uninitialized object pointer 64 MyClass *obj1; local 65 id i = obj1[0]; // warn: uninitialized object pointer
|
/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 | 234 obj1 = self.pop() 236 self.push(obj1) 411 obj1 = self.pop() 416 obj3.value[obj2.value] = obj1 418 obj3.value[obj2.value] = obj1 421 obj3.value = obj3.value[:index] + chr(obj1.value) + obj3.value[index+1:] 424 obj1 = self.pop() 425 if obj1.value == "Encoding": 430 self.push(obj2.value[obj1.value]) 432 self.push(obj2.value[obj1.value]) [all …]
|
/external/llvm-project/lld/test/ELF/ |
D | trace-ar.s | 3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/trace-ar1.s -o %t.obj1.o 6 # RUN: llvm-ar rcs %t.boo.a %t.obj1.o %t.obj2.o 11 # CHECK-NEXT: {{.*}}.boo.a({{.*}}.obj1.o) 15 # RUN: ld.lld %t.foo.o --start-lib %t.obj1.o %t.obj2.o -o %t.out -t 2>&1 | FileCheck --check-prefix… 17 # STARTLIB-NEXT: {{.*}}.obj1.o
|
/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/llvm-project/llvm/test/CodeGen/X86/ |
D | statepoint-fixup-invoke.mir | 14 …define i64 addrspace(1)* @test_basic(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "statepoi… 16 …obj, i32 0, i32 0) [ "gc-live"(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1), "deopt"(i32 0, i3… 21 …%obj1.relocated = call coldcc i64 addrspace(1)* @llvm.experimental.gc.relocate.p1i64(token %0, i32… 31 …%obj1.relocated1 = call coldcc i64 addrspace(1)* @llvm.experimental.gc.relocate.p1i64(token %landi… 32 ret i64 addrspace(1)* %obj1.relocated1
|
/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/llvm-project/llvm/test/CodeGen/AArch64/ |
D | wrong-callee-save-size-after-livedebugvariables.mir | 2 # RUN: llvm-dwarfdump --name=obj1 %t | FileCheck %s --check-prefix=CHECKDWARF1 6 # Test that the location for obj1 and obj2 in the debug information is 22 %obj1 = alloca i8, align 1 47 !11 = !DILocalVariable(name: "obj1", scope: !7, file: !1, line: 4, type: !10) 70 - { id: 0, name: obj1, type: default, offset: 0, size: 1, alignment: 1, 85 renamable $w0 = LDRBBui %stack.0.obj1, 0, debug-location !20 :: (load 1 from %ir.obj1)
|
/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()
|