Home
last modified time | relevance | path

Searched refs:index (Results 126 – 150 of 280) sorted by relevance

12345678910>>...12

/art/test/683-clinit-inline-static-invoke/
Dinfo.txt2 call to a static method used a type index from the wrong dex file because the
/art/compiler/optimizing/
Dscheduler_arm.cc635 HInstruction* index = instruction->InputAt(1); in VisitArrayGet() local
647 if (index->IsConstant()) { in VisitArrayGet()
675 if (index->IsConstant()) { in VisitArrayGet()
689 if (index->IsConstant()) { in VisitArrayGet()
699 if (index->IsConstant()) { in VisitArrayGet()
709 if (index->IsConstant()) { in VisitArrayGet()
733 HInstruction* index = instruction->InputAt(1); in VisitArraySet() local
745 if (index->IsConstant()) { in VisitArraySet()
759 if (index->IsConstant()) { in VisitArraySet()
774 if (index->IsConstant()) { in VisitArraySet()
[all …]
Dload_store_elimination_test.cc143 HInstruction* AddVecLoad(HBasicBlock* block, HInstruction* array, HInstruction* index) { in AddVecLoad() argument
146 DCHECK(index != nullptr); in AddVecLoad()
150 index, in AddVecLoad()
166 HInstruction* index, in AddVecStore() argument
170 DCHECK(index != nullptr); in AddVecStore()
183 index, in AddVecStore()
196 HInstruction* AddArrayGet(HBasicBlock* block, HInstruction* array, HInstruction* index) { in AddArrayGet() argument
199 DCHECK(index != nullptr); in AddArrayGet()
200 HInstruction* get = new (GetAllocator()) HArrayGet(array, index, DataType::Type::kInt32, 0); in AddArrayGet()
211 HInstruction* index, in AddArraySet() argument
[all …]
Dintrinsics.cc310 uint32_t index = static_cast<uint32_t>(input_value) - static_cast<uint32_t>(info.low); in ComputeIntegerValueOfInfo() local
311 if (index < static_cast<uint32_t>(info.length)) { in ComputeIntegerValueOfInfo()
313 IntrinsicObjects::PatchType::kIntegerValueOfObject, index); in ComputeIntegerValueOfInfo()
346 uint32_t index = static_cast<uint32_t>(input_value) - static_cast<uint32_t>(info.low); in ComputeIntegerValueOfInfo() local
347 if (index < static_cast<uint32_t>(info.length)) { in ComputeIntegerValueOfInfo()
349 IntrinsicObjects::GetIntegerValueOfObject(boot_image_live_objects, index); in ComputeIntegerValueOfInfo()
Dinduction_var_analysis.cc168 size_t index = it->GetIndex(); in FixOutsideUse() local
174 user->ReplaceInput(replacement, index); in FixOutsideUse()
182 size_t index = it->GetIndex(); in FixOutsideUse() local
188 user->RemoveAsUserOfInput(index); in FixOutsideUse()
189 user->SetRawEnvAt(index, replacement); in FixOutsideUse()
190 replacement->AddEnvUseAt(user, index); in FixOutsideUse()
203 HInstruction* index, in RewriteBreakLoopBody() argument
208 HInstruction* exit_value = it.Current() == index ? upper : nullptr; in RewriteBreakLoopBody()
1144 HInstruction* index = cond->InputAt(c); in RewriteBreakLoop() local
1148 if (!index->IsPhi() || !IsFinite(LookupInfo(loop, upper), stride_value, type, cmp)) { in RewriteBreakLoop()
[all …]
/art/runtime/
Dclass_root-inl.h40 int32_t index = static_cast<int32_t>(class_root); in GetClassRoot() local
42 class_roots->GetWithoutChecks<kDefaultVerifyFlags, kReadBarrierOption>(index); in GetClassRoot()
Dmethod_handles-inl.h133 int index, in ConvertArgumentValue() argument
137 callsite_type->GetPTypes()->GetWithoutChecks(index), in ConvertArgumentValue()
138 callee_type->GetPTypes()->GetWithoutChecks(index), in ConvertArgumentValue()
/art/dexlayout/
Ddex_ir.h253 const ElementType& operator[](size_t index) const {
254 DCHECK_LT(index, Size());
255 return collection_[index];
257 ElementType& operator[](size_t index) {
258 DCHECK_LT(index, Size());
259 return collection_[index];
290 T* CreateAndAddIndexedItem(uint32_t index, Args&&... args) { in CreateAndAddIndexedItem() argument
292 object->SetIndex(index); in CreateAndAddIndexedItem()
296 T* operator[](size_t index) const {
297 DCHECK_NE(CollectionVector<T>::collection_[index].get(), static_cast<T*>(nullptr));
[all …]
/art/runtime/mirror/
Ddex_cache.h53 uint32_t index; member
72 DexCachePair(ObjPtr<T> object, uint32_t index);
73 DexCachePair() : index(0) {} in DexCachePair()
90 size_t index; member
93 NativeDexCachePair(T* object, uint32_t index) in NativeDexCachePair()
95 index(index) {} in NativeDexCachePair()
96 NativeDexCachePair() : object(nullptr), index(0u) { } in NativeDexCachePair()
109 if (idx != index) { in GetObjectForIndex()
Dclass_ext.cc134 void ClassExt::SetPreRedefineClassDefIndex(uint16_t index) { in SetPreRedefineClassDefIndex() argument
137 static_cast<int32_t>(index)); in SetPreRedefineClassDefIndex()
/art/openjdkjvmti/
Dti_stack.cc231 index(0) { in GetStackTraceDirectClosure()
237 frame_buffer[index] = info; in Run()
238 ++index; in Run()
249 size_t index = 0; member
301 *count_ptr = static_cast<jint>(closure.index); in GetStackTrace()
302 if (closure.index == 0) { in GetStackTrace()
441 for (size_t index = 0; index < data.frames.size(); ++index) { in GetAllStackTraces() local
442 jvmtiStackInfo& stack_info = stack_info_array.get()[index]; in GetAllStackTraces()
445 const std::vector<jvmtiFrameInfo>& thread_frames = *data.frames[index].get(); in GetAllStackTraces()
544 for (size_t index = 0; index != handles.size(); ++index) { in GetThreadListStackTraces() local
[all …]
/art/tools/veridex/
Dflow_analysis.h80 const char* str = reference_.dex_file->StringDataByIdx(dex::StringIndex(reference_.index)); in ToString()
91 return reference_.dex_file->StringByTypeIdx(dex::TypeIndex(reference_.index)); in ToString()
93 return std::string("Parameter of ") + reference_.dex_file->PrettyMethod(reference_.index); in ToString()
/art/libdexfile/dex/
Ddex_file_loader.cc175 std::string DexFileLoader::GetMultiDexClassesDexName(size_t index) { in GetMultiDexClassesDexName() argument
176 return (index == 0) ? "classes.dex" : StringPrintf("classes%zu.dex", index + 1); in GetMultiDexClassesDexName()
179 std::string DexFileLoader::GetMultiDexLocation(size_t index, const char* dex_location) { in GetMultiDexLocation() argument
180 return (index == 0) in GetMultiDexLocation()
182 : StringPrintf("%s%cclasses%zu.dex", dex_location, kMultiDexSeparator, index + 1); in GetMultiDexLocation()
Dcompact_offset_table.h46 uint32_t GetOffset(uint32_t index) const;
Dcode_item_accessors-inl.h143 int32_t index = DexFile::FindTryItem(try_items.begin(), in FindTryItem() local
146 return index != -1 ? &try_items.begin()[index] : nullptr; in FindTryItem()
Ddex_file_loader.h65 static std::string GetMultiDexClassesDexName(size_t index);
69 static std::string GetMultiDexLocation(size_t index, const char* dex_location);
/art/test/106-exceptions2/src/
DMain.java155 static void throwImplicitAIOBE(int[] array, int index) { in throwImplicitAIOBE() argument
156 array[index] = 0; in throwImplicitAIOBE()
/art/runtime/entrypoints/quick/
Dquick_default_externs.h126 extern "C" void art_quick_throw_array_bounds(int32_t index, int32_t limit);
131 extern "C" void art_quick_throw_string_bounds(int32_t index, int32_t limit);
/art/runtime/arch/
Dstub_test.cc590 size_t index = r.next() % kNumberOfLocks; in TestUnlockObject() local
593 if (!fat[index] && (r.next() % kMoveToFat == 0)) { in TestUnlockObject()
594 fat[index] = true; in TestUnlockObject()
595 objects[index]->IdentityHashCode(); in TestUnlockObject()
597 LockWord lock_iter = objects[index]->GetLockWord(false); in TestUnlockObject()
599 if (counts[index] == 0) { in TestUnlockObject()
606 if (counts[index] == 0) { in TestUnlockObject()
608 } else if (counts[index] == kThinLockLoops) { in TestUnlockObject()
616 test->Invoke3(reinterpret_cast<size_t>(objects[index].Get()), 0U, 0U, art_quick_lock_object, in TestUnlockObject()
618 counts[index]++; in TestUnlockObject()
[all …]
/art/runtime/dex/
Ddex_file_annotations.cc471 uint32_t index = DexFile::ReadUnsignedInt(annotation, value_arg, false); in ProcessAnnotationValue() local
473 annotation_value->value_.SetI(index); in ProcessAnnotationValue()
477 dex::StringIndex(index), hs.NewHandle(klass.GetDexCache())); in ProcessAnnotationValue()
486 uint32_t index = DexFile::ReadUnsignedInt(annotation, value_arg, false); in ProcessAnnotationValue() local
488 annotation_value->value_.SetI(index); in ProcessAnnotationValue()
490 dex::TypeIndex type_index(index); in ProcessAnnotationValue()
512 uint32_t index = DexFile::ReadUnsignedInt(annotation, value_arg, false); in ProcessAnnotationValue() local
514 annotation_value->value_.SetI(index); in ProcessAnnotationValue()
519 index, in ProcessAnnotationValue()
543 uint32_t index = DexFile::ReadUnsignedInt(annotation, value_arg, false); in ProcessAnnotationValue() local
[all …]
/art/test/704-multiply-accumulate/src/
DMain.java136 int index = 10; in test_long() local
139 ia[index] = 10; // array out of bound. in test_long()
/art/cmdline/
Dtoken_range.h187 const std::string& operator[](int index) const {
188 assert(index >= 0 && static_cast<size_t>(index) < Size());
189 return *(begin() + index);
/art/libartbase/base/
Dutils.cc342 off_t index = (vmstart / kPageSize) * sizeof(uint64_t); in IsAddressKnownBackedByFileOrShared() local
347 if (lseek(pagemap, index, SEEK_SET) != index) { in IsAddressKnownBackedByFileOrShared()
/art/runtime/interpreter/
Dinterpreter_intrinsics.cc191 int index = shadow_frame->GetVReg(arg[1]); in MterpStringCharAt() local
193 if (UNLIKELY(index < 0) || (index >= length)) { in MterpStringCharAt()
197 res = str->GetValueCompressed()[index]; in MterpStringCharAt()
199 res = str->GetValue()[index]; in MterpStringCharAt()
277 int32_t index = shadow_frame->GetVReg(arg[4]); in MterpStringGetCharsNoCheck() local
279 uint16_t* dst = array->GetData() + index; in MterpStringGetCharsNoCheck()
/art/runtime/interpreter/mterp/
Dnterp.cc423 dex::TypeIndex index; in NterpGetClassOrAllocateObject() local
426 index = dex::TypeIndex(inst->VRegB_21c()); in NterpGetClassOrAllocateObject()
429 index = dex::TypeIndex(inst->VRegB_21c()); in NterpGetClassOrAllocateObject()
432 index = dex::TypeIndex(inst->VRegC_22c()); in NterpGetClassOrAllocateObject()
435 index = dex::TypeIndex(inst->VRegB_21c()); in NterpGetClassOrAllocateObject()
438 index = dex::TypeIndex(inst->VRegC_22c()); in NterpGetClassOrAllocateObject()
444 ResolveVerifyAndClinit(index, in NterpGetClassOrAllocateObject()

12345678910>>...12