/art/runtime/ |
D | transaction_test.cc | 34 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F() 39 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F() 40 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F() 45 EXPECT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F() 53 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F() 55 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F() 56 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); in TEST_F() 81 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F() 91 mirror::Array::Alloc<true>(soa.Self(), h_klass.Get(), kArraySize, in TEST_F() 94 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F() [all …]
|
D | intern_table_test.cc | 41 EXPECT_TRUE(foo_1.Get() != NULL); in TEST_F() 42 EXPECT_TRUE(foo_2.Get() != NULL); 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 | proxy_test.cc | 87 mirror::ArtMethod* method = virtual_methods->Get(mth_index); in GenerateProxyClass() 120 ASSERT_TRUE(I.Get() != nullptr); in TEST_F() 121 ASSERT_TRUE(J.Get() != nullptr); in TEST_F() 124 interfaces.push_back(I.Get()); in TEST_F() 125 interfaces.push_back(J.Get()); in TEST_F() 129 ASSERT_TRUE(proxy_class.Get() != nullptr); in TEST_F() 134 EXPECT_EQ(I.Get(), mirror::Class::GetDirectInterface(soa.Self(), proxy_class, 0)); in TEST_F() 135 EXPECT_EQ(J.Get(), mirror::Class::GetDirectInterface(soa.Self(), proxy_class, 1)); in TEST_F() 154 ASSERT_TRUE(I.Get() != nullptr); in TEST_F() 155 ASSERT_TRUE(J.Get() != nullptr); in TEST_F() [all …]
|
D | monitor_test.cc | 77 mirror::ObjectArray<mirror::Object>::Alloc(self, ca.Get(), length / 4))); in FillHeap() 78 if (self->IsExceptionPending() || h.Get() == nullptr) { in FillHeap() 96 if (!self->IsExceptionPending() && h.Get() != nullptr) { in FillHeap() 118 … monitor_test_->object_.Get()->MonitorEnter(self); // Lock the object. This should transition in Run() 119 … LockWord lock_after = monitor_test_->object_.Get()->GetLockWord(false); // it to thinLocked. in Run() 124 monitor_test_->object_.Get()->MonitorExit(self); // To appease analysis. in Run() 130 monitor_test_->object_.Get()->IdentityHashCode(); in Run() 131 LockWord lock_after2 = monitor_test_->object_.Get()->GetLockWord(false); in Run() 136 monitor_test_->object_.Get()->MonitorExit(self); // To appease analysis. in Run() 151 Monitor::Wait(self, monitor_test_->object_.Get(), millis_, 0, true, in Run() [all …]
|
D | class_linker.cc | 215 CHECK(java_lang_Class.Get() != nullptr); in InitWithoutImage() 216 mirror::Class::SetClassClass(java_lang_Class.Get()); in InitWithoutImage() 217 java_lang_Class->SetClass(java_lang_Class.Get()); in InitWithoutImage() 227 AllocClass(self, java_lang_Class.Get(), mirror::ObjectArray<mirror::Class>::ClassSize()))); in InitWithoutImage() 228 class_array_class->SetComponentType(java_lang_Class.Get()); in InitWithoutImage() 232 AllocClass(self, java_lang_Class.Get(), mirror::Object::ClassSize()))); in InitWithoutImage() 233 CHECK(java_lang_Object.Get() != nullptr); in InitWithoutImage() 235 java_lang_Class->SetSuperClass(java_lang_Object.Get()); in InitWithoutImage() 240 AllocClass(self, java_lang_Class.Get(), mirror::ObjectArray<mirror::Object>::ClassSize()))); in InitWithoutImage() 241 object_array_class->SetComponentType(java_lang_Object.Get()); in InitWithoutImage() [all …]
|
D | exception_test.cc | 49 my_klass_ = klass.Get(); in SetUp() 226 ASSERT_TRUE(trace_array->Get(0) != NULL); in TEST_F() 228 trace_array->Get(0)->GetDeclaringClass()->ToModifiedUtf8().c_str()); in TEST_F() 229 …EXPECT_STREQ("ExceptionHandle.java", trace_array->Get(0)->GetFileName()->ToModifiedUtf8().c_str()); in TEST_F() 230 EXPECT_STREQ("g", trace_array->Get(0)->GetMethodName()->ToModifiedUtf8().c_str()); in TEST_F() 231 EXPECT_EQ(37, trace_array->Get(0)->GetLineNumber()); in TEST_F() 233 ASSERT_TRUE(trace_array->Get(1) != NULL); in TEST_F() 235 trace_array->Get(1)->GetDeclaringClass()->ToModifiedUtf8().c_str()); in TEST_F() 236 …EXPECT_STREQ("ExceptionHandle.java", trace_array->Get(1)->GetFileName()->ToModifiedUtf8().c_str()); in TEST_F() 237 EXPECT_STREQ("f", trace_array->Get(1)->GetMethodName()->ToModifiedUtf8().c_str()); in TEST_F() [all …]
|
D | class_linker_test.cc | 119 ASSERT_TRUE(array.Get() != NULL); in AssertArrayClass() 158 EXPECT_EQ(class_linker_->FindArrayClass(self, &array_ptr), array.Get()); in AssertArrayClass() 204 EXPECT_TRUE(klass->IsInSamePackage(klass.Get())); in AssertClass() 249 EXPECT_TRUE(klass->CanAccess(klass.Get())); in AssertClass() 255 EXPECT_EQ(klass.Get(), method->GetDeclaringClass()); in AssertClass() 262 EXPECT_TRUE(method->GetDeclaringClass()->IsAssignableFrom(klass.Get())); in AssertClass() 267 AssertField(klass.Get(), field); in AssertClass() 273 AssertField(klass.Get(), field); in AssertClass() 314 mirror::Class* k = klass.Get(); in AssertClass() 329 ASSERT_TRUE(klass.Get() != nullptr); in AssertDexFileClass() [all …]
|
D | quick_exception_handler.cc | 97 exception_handler_->SetHandlerMethod(method.Get()); in HandleTryItems() 148 self_->SetException(ThrowLocation(), exception_ref.Get()); in FindCatch() 156 exception_ref.Get()); in FindCatch() 215 CHECK(verifier_success) << PrettyMethod(h_method.Get()); in HandleDeoptimization() 216 ShadowFrame* new_frame = ShadowFrame::Create(num_regs, nullptr, h_method.Get(), dex_pc); in HandleDeoptimization() 230 reinterpret_cast<mirror::Object*>(GetVReg(h_method.Get(), in HandleDeoptimization() 236 new_frame->SetVRegLong(reg, GetVRegPair(h_method.Get(), reg, kLongLoVReg, kLongHiVReg)); in HandleDeoptimization() 238 new_frame->SetVReg(reg, GetVReg(h_method.Get(), reg, kind)); in HandleDeoptimization() 245 new_frame->SetVReg(reg, GetVReg(h_method.Get(), reg, kind)); in HandleDeoptimization() 251 … new_frame->SetVRegLong(reg, GetVRegPair(h_method.Get(), reg, kDoubleLoVReg, kDoubleHiVReg)); in HandleDeoptimization() [all …]
|
D | indirect_reference_table_test.cc | 80 EXPECT_EQ(obj0, irt.Get(iref0)); in TEST_F() 81 EXPECT_EQ(obj1, irt.Get(iref1)); in TEST_F() 82 EXPECT_EQ(obj2, irt.Get(iref2)); in TEST_F() 95 EXPECT_EQ(kInvalidIndirectRefObject, irt.Get(iref0)); in TEST_F() 134 EXPECT_EQ(kInvalidIndirectRefObject, irt.Get(iref1)); in TEST_F() 216 ASSERT_EQ(kInvalidIndirectRefObject, irt.Get(NULL)); in TEST_F() 223 EXPECT_EQ(kInvalidIndirectRefObject, irt.Get(iref0)) << "stale lookup succeeded"; in TEST_F()
|
D | object_lock.cc | 26 CHECK(object.Get() != nullptr); in ObjectLock() 37 Monitor::Wait(self_, obj_.Get(), 0, 0, false, kWaiting); in WaitIgnoringInterrupts()
|
/art/compiler/optimizing/ |
D | parallel_move_resolver.cc | 29 const MoveOperands& move = *moves_.Get(i); in EmitNativeCode() 40 const MoveOperands& move = *moves_.Get(i); in EmitNativeCode() 73 DCHECK(!moves_.Get(index)->IsPending()); in PerformMove() 74 DCHECK(!moves_.Get(index)->IsRedundant()); in PerformMove() 79 DCHECK(!moves_.Get(index)->GetSource().IsInvalid()); in PerformMove() 80 Location destination = moves_.Get(index)->MarkPending(); in PerformMove() 87 const MoveOperands& other_move = *moves_.Get(i); in PerformMove() 101 MoveOperands* move = moves_.Get(index); in PerformMove() 119 const MoveOperands& other_move = *moves_.Get(i); in PerformMove() 136 const MoveOperands& other_move = *moves_.Get(i); in PerformMove() [all …]
|
D | find_loops_test.cc | 49 ASSERT_EQ(graph->GetBlocks().Get(i)->GetLoopInformation(), nullptr); in TEST() 61 ASSERT_EQ(graph->GetBlocks().Get(i)->GetLoopInformation(), nullptr); in TEST() 76 ASSERT_EQ(graph->GetBlocks().Get(i)->GetLoopInformation(), nullptr); in TEST() 92 ASSERT_EQ(graph->GetBlocks().Get(i)->GetLoopInformation(), nullptr); in TEST() 106 ASSERT_EQ(graph->GetBlocks().Get(i)->GetLoopInformation(), nullptr); in TEST() 116 HBasicBlock* block = graph->GetBlocks().Get(block_id); in TestBlock() 290 ASSERT_TRUE(graph->GetBlocks().Get(3)->GetLoopInformation()->IsIn( in TEST() 291 *graph->GetBlocks().Get(2)->GetLoopInformation())); in TEST() 292 ASSERT_FALSE(graph->GetBlocks().Get(2)->GetLoopInformation()->IsIn( in TEST() 293 *graph->GetBlocks().Get(3)->GetLoopInformation())); in TEST() [all …]
|
D | ssa_builder.cc | 34 HBasicBlock* block = loop_headers_.Get(i); in BuildSsa() 38 HInstruction* input = ValueOfLocal(block->GetPredecessors().Get(pred), phi->GetRegNumber()); in BuildSsa() 61 return GetLocalsFor(block)->Get(local); in ValueOfLocal() 90 HInstruction* value = ValueOfLocal(block->GetPredecessors().Get(0), local); in VisitBasicBlock() 93 HInstruction* current = ValueOfLocal(block->GetPredecessors().Get(i), local); in VisitBasicBlock() 112 HInstruction* value = ValueOfLocal(block->GetPredecessors().Get(i), local); in VisitBasicBlock() 133 load->ReplaceWith(current_locals_->Get(load->GetLocal()->GetRegNumber())); in VisitLoadLocal()
|
D | register_allocator_test.cc | 70 intervals.Get(1)->SetRegister(0); in TEST() 85 intervals.Get(1)->SetRegister(0); in TEST() 100 intervals.Get(1)->SetRegister(0); in TEST() 115 intervals.Get(1)->SetRegister(0); in TEST() 125 intervals.Get(0)->SplitAt(43); in TEST() 131 intervals.Get(1)->SetRegister(0); in TEST() 136 intervals.Get(0)->GetNextSibling()->SetRegister(0); in TEST() 307 HBasicBlock* loop_header = graph->GetBlocks().Get(2); in TEST() 316 HBasicBlock* return_block = graph->GetBlocks().Get(3); in TEST() 336 HAdd* first_add = graph->GetBlocks().Get(1)->GetFirstInstruction()->AsAdd(); in TEST() [all …]
|
D | nodes.cc | 36 HBasicBlock* block = blocks_.Get(i); in RemoveDeadBlocks() 38 block->GetSuccessors().Get(j)->RemovePredecessor(block); in RemoveDeadBlocks() 59 HBasicBlock* successor = block->GetSuccessors().Get(i); in VisitBlockForBackEdges() 91 VisitBlockForDominatorTree(entry_block_->GetSuccessors().Get(i), entry_block_, &visits); in BuildDominatorTree() 125 if (visits->Get(block->GetBlockId()) == in VisitBlockForDominatorTree() 129 VisitBlockForDominatorTree(block->GetSuccessors().Get(i), block, visits); in VisitBlockForDominatorTree() 169 HBasicBlock* back_edge = info->GetBackEdges().Get(pred); in SimplifyLoop() 187 HBasicBlock* back_edge = info->GetBackEdges().Get(0); in SimplifyLoop() 189 HBasicBlock* predecessor = header->GetPredecessors().Get(pred); in SimplifyLoop() 204 HBasicBlock* block = blocks_.Get(i); in SimplifyCFG() [all …]
|
D | ssa_liveness_analysis.cc | 61 VisitBlockForLinearization(block->GetSuccessors().Get(0), order, visited); in VisitBlockForLinearization() 64 HBasicBlock* first_successor = block->GetSuccessors().Get(0); in VisitBlockForLinearization() 65 HBasicBlock* second_successor = block->GetSuccessors().Get(1); in VisitBlockForLinearization() 176 HBasicBlock* successor = block->GetSuccessors().Get(i); in ComputeLiveRanges() 191 HInstruction* current = instructions_from_ssa_index_.Get(idx); in ComputeLiveRanges() 219 HInstruction* instruction = environment->Get(i); in ComputeLiveRanges() 243 HBasicBlock* back_edge = block->GetLoopInformation()->GetBackEdges().Get(0); in ComputeLiveRanges() 247 HInstruction* current = instructions_from_ssa_index_.Get(idx); in ComputeLiveRanges() 278 HBasicBlock* successor = block.GetSuccessors().Get(i); in UpdateLiveOut()
|
D | code_generator.cc | 35 DCHECK(blocks.Get(0) == GetGraph()->GetEntryBlock()); in CompileBaseline() 36 DCHECK(GoesToNextBlock(GetGraph()->GetEntryBlock(), blocks.Get(1))); in CompileBaseline() 50 HBasicBlock* block = blocks.Get(i); in CompileBaseline() 73 DCHECK(blocks.Get(0) == GetGraph()->GetEntryBlock()); in CompileOptimized() 74 DCHECK(GoesToNextBlock(GetGraph()->GetEntryBlock(), blocks.Get(1))); in CompileOptimized() 79 HBasicBlock* block = blocks.Get(i); in CompileOptimized() 97 slow_paths_.Get(i)->EmitNativeCode(this); in GenerateSlowPaths() 283 uint32_t native_offset = pc_infos_.Get(i).native_pc; in BuildNativeGCMap() 291 struct PcInfo pc_info = pc_infos_.Get(i); in BuildNativeGCMap() 310 struct PcInfo pc_info = pc_infos_.Get(i); in BuildMappingTable() [all …]
|
D | graph_test.cc | 97 ASSERT_EQ(false_block->GetSuccessors().Get(0), return_block); in TEST() 132 ASSERT_EQ(true_block->GetSuccessors().Get(0), return_block); in TEST() 163 ASSERT_EQ(if_block->GetPredecessors().Get(0), entry_block); in TEST() 164 ASSERT_NE(if_block->GetPredecessors().Get(1), if_block); in TEST() 167 ASSERT_EQ(if_block->GetPredecessors().Get(1), in TEST() 199 ASSERT_EQ(if_block->GetPredecessors().Get(0), entry_block); in TEST() 200 ASSERT_NE(if_block->GetPredecessors().Get(1), if_block); in TEST() 203 ASSERT_EQ(if_block->GetPredecessors().Get(1), in TEST() 243 ASSERT_EQ(if_instr->IfTrueSuccessor()->GetSuccessors().Get(0), in TEST() 282 ASSERT_EQ(if_instr->IfFalseSuccessor()->GetSuccessors().Get(0), in TEST()
|
/art/runtime/arch/ |
D | stub_test.cc | 618 Invoke3(reinterpret_cast<size_t>(obj.Get()), 0U, 0U, art_quick_lock_object, self); in TEST_F() 626 Invoke3(reinterpret_cast<size_t>(obj.Get()), 0U, 0U, art_quick_lock_object, self); in TEST_F() 642 Invoke3(reinterpret_cast<size_t>(obj2.Get()), 0U, 0U, art_quick_lock_object, self); in TEST_F() 691 test->Invoke3(reinterpret_cast<size_t>(obj.Get()), 0U, 0U, art_quick_unlock_object, self); in TestUnlockObject() 700 test->Invoke3(reinterpret_cast<size_t>(obj.Get()), 0U, 0U, art_quick_lock_object, self); in TestUnlockObject() 706 test->Invoke3(reinterpret_cast<size_t>(obj.Get()), 0U, 0U, art_quick_unlock_object, self); in TestUnlockObject() 760 test->Invoke3(reinterpret_cast<size_t>(objects[index].Get()), 0U, 0U, art_quick_lock_object, in TestUnlockObject() 764 test->Invoke3(reinterpret_cast<size_t>(objects[index].Get()), 0U, 0U, in TestUnlockObject() 777 MonitorInfo info(objects[index].Get()); in TestUnlockObject() 796 test->Invoke3(reinterpret_cast<size_t>(objects[index].Get()), 0U, 0U, art_quick_unlock_object, in TestUnlockObject() [all …]
|
/art/compiler/dex/ |
D | dataflow_iterator-inl.h | 31 BasicBlockId bb_id = block_id_list_->Get(idx_); in ForwardSingleNext() 54 BasicBlockId bb_id = block_id_list_->Get(idx_); in ForwardRepeatNext() 69 BasicBlockId bb_id = block_id_list_->Get(idx_); in ReverseSingleNext() 92 BasicBlockId bb_id = block_id_list_->Get(idx_); in ReverseRepeatNext() 127 BasicBlock* bb = mir_graph_->GetBasicBlock(block_id_list_->Get(idx_ - 1)); in Next() 142 loop_ends_->Get(loop_head_stack_->Peek().first) == idx_) { in Next() 147 BasicBlock* loop_head = mir_graph_->GetBasicBlock(block_id_list_->Get(loop_head_idx)); in Next() 163 BasicBlock* bb = mir_graph_->GetBasicBlock(block_id_list_->Get(idx)); in Next() 166 if (loop_ends_->Get(idx) != 0u) { in Next()
|
/art/runtime/mirror/ |
D | array.cc | 47 int32_t array_length = dimensions->Get(current_dimension); in RecursiveCreateMultiArray() 51 Array::Alloc<true>(self, array_class.Get(), array_length, array_class->GetComponentSize(), in RecursiveCreateMultiArray() 53 if (UNLIKELY(new_array.Get() == nullptr)) { in RecursiveCreateMultiArray() 72 return new_array.Get(); in RecursiveCreateMultiArray() 86 int dimension = dimensions->Get(i); in CreateMultiArray() 95 mirror::Class* element_class_ptr = element_class.Get(); in CreateMultiArray() 99 if (UNLIKELY(array_class.Get() == nullptr)) { in CreateMultiArray() 104 mirror::Class* array_class_ptr = array_class.Get(); in CreateMultiArray() 106 if (UNLIKELY(array_class.Get() == nullptr)) { in CreateMultiArray()
|
D | object_test.cc | 133 EXPECT_TRUE(oa->Get(0) == NULL); in TEST_F() 134 EXPECT_TRUE(oa->Get(1) == NULL); in TEST_F() 135 oa->Set<false>(0, oa.Get()); in TEST_F() 136 EXPECT_TRUE(oa->Get(0) == oa.Get()); in TEST_F() 137 EXPECT_TRUE(oa->Get(1) == NULL); in TEST_F() 138 oa->Set<false>(1, oa.Get()); in TEST_F() 139 EXPECT_TRUE(oa->Get(0) == oa.Get()); in TEST_F() 140 EXPECT_TRUE(oa->Get(1) == oa.Get()); in TEST_F() 145 EXPECT_TRUE(oa->Get(-1) == NULL); in TEST_F() 150 EXPECT_TRUE(oa->Get(2) == NULL); in TEST_F() [all …]
|
D | iftable.h | 39 down_cast<ObjectArray<ArtMethod>*>(Get((i * kMax) + kMethodArray)); in GetMethodArray() 46 down_cast<ObjectArray<ArtMethod>*>(Get((i * kMax) + kMethodArray)); in GetMethodArrayCount() 56 DCHECK(Get((i * kMax) + kMethodArray) == NULL); 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/gc/space/ |
D | space_test.h | 70 InstallClass(obj, byte_array_class.Get(), bytes); in Alloc() 82 InstallClass(obj, byte_array_class.Get(), bytes); in AllocWithGrowth() 186 EXPECT_TRUE(ptr1.Get() != nullptr); in ZygoteSpaceTestBody() 199 EXPECT_TRUE(ptr3.Get() != nullptr); in ZygoteSpaceTestBody() 213 size_t free3 = space->AllocationSize(ptr3.Get(), nullptr); in ZygoteSpaceTestBody() 222 EXPECT_TRUE(ptr6.Get() != nullptr); in ZygoteSpaceTestBody() 228 size_t free1 = space->AllocationSize(ptr1.Get(), nullptr); in ZygoteSpaceTestBody() 251 EXPECT_TRUE(ptr1.Get() != nullptr); in ZygoteSpaceTestBody() 262 EXPECT_TRUE(ptr3.Get() != nullptr); in ZygoteSpaceTestBody() 269 free1 = space->AllocationSize(ptr1.Get(), nullptr); in ZygoteSpaceTestBody() [all …]
|