/art/runtime/ |
D | intern_table_test.cc | 41 EXPECT_TRUE(foo_1.Get() != nullptr); in TEST_F() 42 EXPECT_TRUE(foo_2.Get() != nullptr); in TEST_F() 43 EXPECT_EQ(foo_1.Get(), foo_2.Get()); in TEST_F() 44 EXPECT_NE(foo_1.Get(), bar.Get()); in TEST_F() 45 EXPECT_NE(foo_2.Get(), bar.Get()); in TEST_F() 46 EXPECT_NE(foo_3.Get(), bar.Get()); in TEST_F() 57 t.InternWeak(foo.Get()); in TEST_F() 107 Handle<mirror::String> s0(hs.NewHandle(t.InternWeak(hello.Get()))); in TEST_F() 108 Handle<mirror::String> s1(hs.NewHandle(t.InternWeak(world.Get()))); in TEST_F() 114 p.Expect(s0.Get()); in TEST_F() [all …]
|
D | transaction_test.cc | 37 ASSERT_TRUE(class_loader.Get() != nullptr); in testTransactionAbort() 45 ASSERT_TRUE(h_klass.Get() != nullptr); in testTransactionAbort() 51 ASSERT_TRUE(h_klass.Get() != nullptr); in testTransactionAbort() 58 ASSERT_TRUE(h_klass.Get() != nullptr); in testTransactionAbort() 64 ASSERT_TRUE(h_klass.Get() != nullptr); in testTransactionAbort() 97 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F() 102 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F() 103 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F() 108 EXPECT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F() 117 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F() [all …]
|
D | proxy_test.cc | 114 ASSERT_TRUE(I.Get() != nullptr); in TEST_F() 115 ASSERT_TRUE(J.Get() != nullptr); in TEST_F() 118 interfaces.push_back(I.Get()); in TEST_F() 119 interfaces.push_back(J.Get()); in TEST_F() 123 ASSERT_TRUE(proxy_class.Get() != nullptr); in TEST_F() 128 EXPECT_EQ(I.Get(), mirror::Class::GetDirectInterface(soa.Self(), proxy_class, 0)); in TEST_F() 129 EXPECT_EQ(J.Get(), mirror::Class::GetDirectInterface(soa.Self(), proxy_class, 1)); in TEST_F() 148 ASSERT_TRUE(I.Get() != nullptr); in TEST_F() 149 ASSERT_TRUE(J.Get() != nullptr); in TEST_F() 154 interfaces.push_back(I.Get()); in TEST_F() [all …]
|
D | monitor_test.cc | 78 mirror::ObjectArray<mirror::Object>::Alloc(self, ca.Get(), length / 4))); in FillHeap() 79 if (self->IsExceptionPending() || h.Get() == nullptr) { in FillHeap() 97 if (!self->IsExceptionPending() && h.Get() != nullptr) { in FillHeap() 119 monitor_test_->object_.Get()->MonitorEnter(self); // Lock the object. This should transition in Run() 120 LockWord lock_after = monitor_test_->object_.Get()->GetLockWord(false); // it to thinLocked. in Run() 125 monitor_test_->object_.Get()->MonitorExit(self); // To appease analysis. in Run() 131 monitor_test_->object_.Get()->IdentityHashCode(); in Run() 132 LockWord lock_after2 = monitor_test_->object_.Get()->GetLockWord(false); in Run() 137 monitor_test_->object_.Get()->MonitorExit(self); // To appease analysis. in Run() 152 Monitor::Wait(self, monitor_test_->object_.Get(), millis_, 0, true, in Run() [all …]
|
D | class_linker.cc | 308 CHECK(java_lang_Class.Get() != nullptr); in InitWithoutImage() 309 mirror::Class::SetClassClass(java_lang_Class.Get()); in InitWithoutImage() 310 java_lang_Class->SetClass(java_lang_Class.Get()); in InitWithoutImage() 322 AllocClass(self, java_lang_Class.Get(), class_array_class_size))); in InitWithoutImage() 323 class_array_class->SetComponentType(java_lang_Class.Get()); in InitWithoutImage() 327 AllocClass(self, java_lang_Class.Get(), mirror::Object::ClassSize(image_pointer_size_)))); in InitWithoutImage() 328 CHECK(java_lang_Object.Get() != nullptr); in InitWithoutImage() 330 java_lang_Class->SetSuperClass(java_lang_Object.Get()); in InitWithoutImage() 335 AllocClass(self, java_lang_Class.Get(), in InitWithoutImage() 337 object_array_class->SetComponentType(java_lang_Object.Get()); in InitWithoutImage() [all …]
|
D | exception_test.cc | 50 my_klass_ = klass.Get(); in SetUp() 221 ASSERT_TRUE(trace_array->Get(0) != nullptr); in TEST_F() 223 trace_array->Get(0)->GetDeclaringClass()->ToModifiedUtf8().c_str()); in TEST_F() 225 trace_array->Get(0)->GetFileName()->ToModifiedUtf8().c_str()); in TEST_F() 226 EXPECT_STREQ("g", trace_array->Get(0)->GetMethodName()->ToModifiedUtf8().c_str()); in TEST_F() 227 EXPECT_EQ(37, trace_array->Get(0)->GetLineNumber()); in TEST_F() 229 ASSERT_TRUE(trace_array->Get(1) != nullptr); in TEST_F() 231 trace_array->Get(1)->GetDeclaringClass()->ToModifiedUtf8().c_str()); in TEST_F() 233 trace_array->Get(1)->GetFileName()->ToModifiedUtf8().c_str()); in TEST_F() 234 EXPECT_STREQ("f", trace_array->Get(1)->GetMethodName()->ToModifiedUtf8().c_str()); in TEST_F() [all …]
|
D | class_linker_test.cc | 120 ASSERT_TRUE(array.Get() != nullptr); in AssertArrayClass() 159 EXPECT_EQ(class_linker_->FindArrayClass(self, &array_ptr), array.Get()); in AssertArrayClass() 202 EXPECT_TRUE(klass->IsInSamePackage(klass.Get())); in AssertClass() 247 EXPECT_TRUE(klass->CanAccess(klass.Get())); in AssertClass() 252 EXPECT_EQ(klass.Get(), method.GetDeclaringClass()); in AssertClass() 258 EXPECT_TRUE(method.GetDeclaringClass()->IsAssignableFrom(klass.Get())); in AssertClass() 263 AssertField(klass.Get(), field); in AssertClass() 269 AssertField(klass.Get(), field); in AssertClass() 307 mirror::Class* k = klass.Get(); in AssertClass() 328 ASSERT_TRUE(klass.Get() != nullptr); in AssertDexFileClass() [all …]
|
/art/runtime/base/ |
D | variant_map_test.cc | 52 EXPECT_NULL(fm.Get(FruitMap::Apple)); in TEST() 54 EXPECT_NULL(fm.Get(FruitMap::Orange)); in TEST() 58 EXPECT_NULL(fm.Get(FruitMap::Orange)); in TEST() 59 EXPECT_EQ(1, *fm.Get(FruitMap::Apple)); in TEST() 63 EXPECT_NULL(fm.Get(FruitMap::Orange)); in TEST() 64 EXPECT_EQ(5, *fm.Get(FruitMap::Apple)); in TEST() 68 EXPECT_EQ(5, *fm.Get(FruitMap::Apple)); in TEST() 69 EXPECT_DOUBLE_EQ(555.0, *fm.Get(FruitMap::Orange)); in TEST() 86 auto* ptr = fm.Get(FruitMap::Label); in TEST() 94 auto* new_ptr = fm.Get(FruitMap::Label); in TEST() [all …]
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 39 ASSERT_TRUE(ref_class.Get() != nullptr); in TEST_F() 41 ASSERT_TRUE(ref1.Get() != nullptr); in TEST_F() 43 ASSERT_TRUE(ref2.Get() != nullptr); in TEST_F() 45 queue.EnqueuePendingReference(ref1.Get()); in TEST_F() 48 queue.EnqueuePendingReference(ref2.Get()); in TEST_F() 51 ASSERT_EQ(queue.DequeuePendingReference(), ref2.Get()); in TEST_F() 54 ASSERT_EQ(queue.DequeuePendingReference(), ref1.Get()); in TEST_F() 69 ASSERT_TRUE(weak_ref_class.Get() != nullptr); in TEST_F() 73 ASSERT_TRUE(finalizer_ref_class.Get() != nullptr); in TEST_F() 75 ASSERT_TRUE(ref1.Get() != nullptr); in TEST_F() [all …]
|
/art/compiler/optimizing/ |
D | parallel_move_resolver.cc | 42 const MoveOperands& move = *moves_.Get(i); in EmitNativeCode() 53 MoveOperands* move = moves_.Get(i); in EmitNativeCode() 112 MoveOperands* move = moves_.Get(index); in PerformMove() 133 const MoveOperands& other_move = *moves_.Get(i); in PerformMove() 152 } else if (required_swap == moves_.Get(i)) { in PerformMove() 160 moves_.Get(index)->ClearPending(destination); in PerformMove() 187 const MoveOperands& other_move = *moves_.Get(i); in PerformMove() 193 return moves_.Get(i); in PerformMove() 210 const MoveOperands& other_move = *moves_.Get(i); in PerformMove() 212 UpdateSourceOf(moves_.Get(i), source, swap_destination); in PerformMove() [all …]
|
D | find_loops_test.cc | 50 ASSERT_EQ(graph->GetBlocks().Get(i)->GetLoopInformation(), nullptr); in TEST() 63 ASSERT_EQ(graph->GetBlocks().Get(i)->GetLoopInformation(), nullptr); in TEST() 79 ASSERT_EQ(graph->GetBlocks().Get(i)->GetLoopInformation(), nullptr); in TEST() 96 ASSERT_EQ(graph->GetBlocks().Get(i)->GetLoopInformation(), nullptr); in TEST() 111 ASSERT_EQ(graph->GetBlocks().Get(i)->GetLoopInformation(), nullptr); in TEST() 121 HBasicBlock* block = graph->GetBlocks().Get(block_id); in TestBlock() 299 ASSERT_TRUE(graph->GetBlocks().Get(3)->GetLoopInformation()->IsIn( in TEST() 300 *graph->GetBlocks().Get(2)->GetLoopInformation())); in TEST() 301 ASSERT_FALSE(graph->GetBlocks().Get(2)->GetLoopInformation()->IsIn( in TEST() 302 *graph->GetBlocks().Get(3)->GetLoopInformation())); in TEST() [all …]
|
D | nodes.cc | 56 HBasicBlock* block = blocks_.Get(i); in RemoveInstructionsAsUsersFromDeadBlocks() 68 HBasicBlock* block = blocks_.Get(i); in RemoveDeadBlocks() 71 block->GetSuccessors().Get(j)->RemovePredecessor(block); in RemoveDeadBlocks() 89 HBasicBlock* successor = block->GetSuccessors().Get(i); in VisitBlockForBackEdges() 141 VisitBlockForDominatorTree(entry_block_->GetSuccessors().Get(i), entry_block_, &visits); in ComputeDominanceInformation() 175 if (visits->Get(block->GetBlockId()) == in VisitBlockForDominatorTree() 180 VisitBlockForDominatorTree(block->GetSuccessors().Get(i), block, visits); in VisitBlockForDominatorTree() 223 HBasicBlock* predecessor = header->GetPredecessors().Get(pred); in SimplifyLoop() 233 if (info->IsBackEdge(*header->GetPredecessors().Get(0))) { in SimplifyLoop() 234 HBasicBlock* to_swap = header->GetPredecessors().Get(0); in SimplifyLoop() [all …]
|
D | stack_map_stream.cc | 139 location_catalog_entries_.Get(location_catalog_entry_index); in ComputeDexRegisterLocationCatalogSize() 171 StackMapEntry entry = stack_maps_.Get(i); in ComputeDexRegisterMapsSize() 218 DexRegisterLocation dex_register_location = location_catalog_entries_.Get(i); in FillIn() 229 StackMapEntry entry = stack_maps_.Get(i); in FillIn() 268 dex_register_locations_.Get(entry.dex_register_locations_start_index in FillIn() 295 InlineInfoEntry inline_entry = inline_infos_.Get(j + entry.inline_infos_start_index); in FillIn() 320 size_t test_entry_index = entries_it->second.Get(i); in FindEntryWithTheSameDexMap() 321 if (HaveTheSameDexMaps(stack_maps_.Get(test_entry_index), current_entry_)) { in FindEntryWithTheSameDexMap() 346 size_t a_loc = dex_register_locations_.Get( in HaveTheSameDexMaps() 348 size_t b_loc = dex_register_locations_.Get( in HaveTheSameDexMaps()
|
D | graph_test.cc | 102 ASSERT_EQ(false_block->GetSuccessors().Get(0), return_block); in TEST() 137 ASSERT_EQ(true_block->GetSuccessors().Get(0), return_block); in TEST() 167 ASSERT_EQ(if_block->GetPredecessors().Get(0), entry_block); in TEST() 168 ASSERT_NE(if_block->GetPredecessors().Get(1), if_block); in TEST() 171 ASSERT_EQ(if_block->GetPredecessors().Get(1), in TEST() 202 ASSERT_EQ(if_block->GetPredecessors().Get(0), entry_block); in TEST() 203 ASSERT_NE(if_block->GetPredecessors().Get(1), if_block); in TEST() 206 ASSERT_EQ(if_block->GetPredecessors().Get(1), in TEST() 245 ASSERT_EQ(if_instr->IfTrueSuccessor()->GetSuccessors().Get(0), in TEST() 283 ASSERT_EQ(if_instr->IfFalseSuccessor()->GetSuccessors().Get(0), in TEST()
|
D | dominator_test.cc | 39 if (graph->GetBlocks().Get(i) == nullptr) { in TestCode() 43 ASSERT_EQ(nullptr, graph->GetBlocks().Get(i)->GetDominator()); in TestCode() 44 ASSERT_TRUE(graph->GetBlocks().Get(i)->IsEntryBlock()); in TestCode() 47 ASSERT_NE(nullptr, graph->GetBlocks().Get(i)->GetDominator()); in TestCode() 48 ASSERT_EQ(blocks[i], graph->GetBlocks().Get(i)->GetDominator()->GetBlockId()); in TestCode()
|
D | side_effects_analysis.cc | 76 return loop_effects_.Get(block->GetBlockId()); in GetLoopEffects() 80 return block_effects_.Get(block->GetBlockId()); in GetBlockEffects() 85 loop_effects_.Put(id, loop_effects_.Get(id).Union(effects)); in UpdateLoopEffects()
|
/art/runtime/arch/ |
D | stub_test.cc | 865 Invoke3(reinterpret_cast<size_t>(obj.Get()), 0U, 0U, art_quick_lock_object, self); in TEST_F() 873 Invoke3(reinterpret_cast<size_t>(obj.Get()), 0U, 0U, art_quick_lock_object, self); in TEST_F() 889 Invoke3(reinterpret_cast<size_t>(obj2.Get()), 0U, 0U, art_quick_lock_object, self); in TEST_F() 939 test->Invoke3(reinterpret_cast<size_t>(obj.Get()), 0U, 0U, art_quick_unlock_object, self); in TestUnlockObject() 948 test->Invoke3(reinterpret_cast<size_t>(obj.Get()), 0U, 0U, art_quick_lock_object, self); in TestUnlockObject() 954 test->Invoke3(reinterpret_cast<size_t>(obj.Get()), 0U, 0U, art_quick_unlock_object, self); in TestUnlockObject() 1008 test->Invoke3(reinterpret_cast<size_t>(objects[index].Get()), 0U, 0U, art_quick_lock_object, in TestUnlockObject() 1012 test->Invoke3(reinterpret_cast<size_t>(objects[index].Get()), 0U, 0U, in TestUnlockObject() 1025 MonitorInfo info(objects[index].Get()); in TestUnlockObject() 1044 test->Invoke3(reinterpret_cast<size_t>(objects[index].Get()), 0U, 0U, art_quick_unlock_object, in TestUnlockObject() [all …]
|
/art/runtime/mirror/ |
D | object_test.cc | 113 EXPECT_TRUE(oa->Get(0) == nullptr); in TEST_F() 114 EXPECT_TRUE(oa->Get(1) == nullptr); in TEST_F() 115 oa->Set<false>(0, oa.Get()); in TEST_F() 116 EXPECT_TRUE(oa->Get(0) == oa.Get()); in TEST_F() 117 EXPECT_TRUE(oa->Get(1) == nullptr); in TEST_F() 118 oa->Set<false>(1, oa.Get()); in TEST_F() 119 EXPECT_TRUE(oa->Get(0) == oa.Get()); in TEST_F() 120 EXPECT_TRUE(oa->Get(1) == oa.Get()); in TEST_F() 125 EXPECT_TRUE(oa->Get(-1) == nullptr); in TEST_F() 130 EXPECT_TRUE(oa->Get(2) == nullptr); in TEST_F() [all …]
|
D | array.cc | 47 int32_t array_length = dimensions->Get(current_dimension); in RecursiveCreateMultiArray() 51 Array::Alloc<true>(self, array_class.Get(), array_length, in RecursiveCreateMultiArray() 54 if (UNLIKELY(new_array.Get() == nullptr)) { in RecursiveCreateMultiArray() 73 return new_array.Get(); in RecursiveCreateMultiArray() 87 int dimension = dimensions->Get(i); in CreateMultiArray() 96 mirror::Class* element_class_ptr = element_class.Get(); in CreateMultiArray() 100 if (UNLIKELY(array_class.Get() == nullptr)) { in CreateMultiArray() 105 mirror::Class* array_class_ptr = array_class.Get(); in CreateMultiArray() 107 if (UNLIKELY(array_class.Get() == nullptr)) { in CreateMultiArray()
|
D | field-inl.h | 37 if (type.Get() == nullptr) { in CreateFromArtField() 53 if (UNLIKELY(ret.Get() == nullptr)) { in CreateFromArtField() 76 ret->SetType<kTransactionActive>(type.Get()); in CreateFromArtField() 81 return ret.Get(); in CreateFromArtField()
|
D | iftable.h | 38 auto* method_array = down_cast<PointerArray*>(Get((i * kMax) + kMethodArray)); in GetMethodArray() 44 auto* method_array = down_cast<PointerArray*>(Get((i * kMax) + kMethodArray)); in GetMethodArrayCount() 51 DCHECK(Get(idx) == nullptr); in SetMethodArray()
|
D | stack_trace_element.cc | 61 declaring_class.Get()); in Init() 63 method_name.Get()); in Init() 65 file_name.Get()); in Init()
|
/art/runtime/native/ |
D | java_lang_Class.cc | 78 if (c.Get() == nullptr) { in Class_classForName() 93 return soa.AddLocalReference<jclass>(c.Get()); in Class_classForName() 134 if (object_array.Get() == nullptr) { in GetDeclaredFields() 165 return object_array.Get(); in GetDeclaredFields() 294 if (UNLIKELY(h_constructors.Get() == nullptr)) { in Class_getDeclaredConstructorsInternal() 309 return soa.AddLocalReference<jobjectArray>(h_constructors.Get()); in Class_getDeclaredConstructorsInternal() 324 if (UNLIKELY(h_method_name.Get() == nullptr)) { in Class_getDeclaredMethodInternal() 335 if (!np_name->Equals(h_method_name.Get()) || !np_method->EqualParameters(h_args)) { in Class_getDeclaredMethodInternal() 362 if (!np_name->Equals(h_method_name.Get()) || !np_method->EqualParameters(h_args)) { in Class_getDeclaredMethodInternal() 429 return soa.AddLocalReference<jobjectArray>(ret.Get()); in Class_getDeclaredMethodsUnchecked() [all …]
|
D | java_lang_reflect_Constructor.cc | 44 PrettyDescriptor(c.Get()).c_str()); in Constructor_newInstance() 52 if (caller != nullptr && !caller->CanAccess(c.Get())) { in Constructor_newInstance() 53 if (PrettyDescriptor(c.Get()) == "dalvik.system.DexPathList$Element") { in Constructor_newInstance() 61 PrettyClass(c.Get()).c_str(), PrettyClass(caller).c_str()); in Constructor_newInstance()
|
/art/runtime/gc/space/ |
D | space_test.h | 74 InstallClass(obj, byte_array_class.Get(), bytes); in Alloc() 88 InstallClass(obj, byte_array_class.Get(), bytes); in AllocWithGrowth() 196 EXPECT_TRUE(ptr1.Get() != nullptr); in ZygoteSpaceTestBody() 211 EXPECT_TRUE(ptr3.Get() != nullptr); in ZygoteSpaceTestBody() 226 size_t free3 = space->AllocationSize(ptr3.Get(), nullptr); in ZygoteSpaceTestBody() 236 EXPECT_TRUE(ptr6.Get() != nullptr); in ZygoteSpaceTestBody() 243 size_t free1 = space->AllocationSize(ptr1.Get(), nullptr); in ZygoteSpaceTestBody() 267 EXPECT_TRUE(ptr1.Get() != nullptr); in ZygoteSpaceTestBody() 280 EXPECT_TRUE(ptr3.Get() != nullptr); in ZygoteSpaceTestBody() 288 free1 = space->AllocationSize(ptr1.Get(), nullptr); in ZygoteSpaceTestBody() [all …]
|