Home
last modified time | relevance | path

Searched refs:it (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/art/test/478-checker-clinit-check-pruning/src/
DMain.java436 static void constClassAndInvokeStatic(Iterable<?> it) { in constClassAndInvokeStatic() argument
438 ClassWithClinit7.$noinline$someStaticMethod(it); in constClassAndInvokeStatic()
449 static void $noinline$someStaticMethod(Iterable<?> it) { in $noinline$someStaticMethod() argument
450 it.iterator(); in $noinline$someStaticMethod()
465 static void sgetAndInvokeStatic(Iterable<?> it) { in sgetAndInvokeStatic() argument
467 ClassWithClinit8.$noinline$someStaticMethod(it); in sgetAndInvokeStatic()
479 static void $noinline$someStaticMethod(Iterable<?> it) { in $noinline$someStaticMethod() argument
480 it.iterator(); in $noinline$someStaticMethod()
494 static void constClassSgetAndInvokeStatic(Iterable<?> it) { in constClassSgetAndInvokeStatic() argument
497 ClassWithClinit9.$noinline$someStaticMethod(it); in constClassSgetAndInvokeStatic()
[all …]
/art/test/548-checker-inlining-and-dce/src/
DMain.java21 private void inlinedForNull(Iterable it) { in inlinedForNull() argument
22 if (it != null) { in inlinedForNull()
28 private void inlinedForFalse(boolean value, Iterable it) { in inlinedForFalse() argument
42 public void testInlinedForFalseInlined(Iterable it) { in testInlinedForFalseInlined() argument
43 inlinedForFalse(false, it); in testInlinedForFalseInlined()
52 public void testInlinedForFalseNotInlined(Iterable it) { in testInlinedForFalseNotInlined() argument
53 inlinedForFalse(true, it); in testInlinedForFalseNotInlined()
63 public void testInlinedForNullInlined(Iterable it) { in testInlinedForNullInlined() argument
73 public void testInlinedForNullNotInlined(Iterable it) { in testInlinedForNullNotInlined() argument
74 inlinedForNull(it); in testInlinedForNullNotInlined()
[all …]
/art/profman/
Dboot_image_profile.cc74 for (const auto& it : metadata.GetAnnotations()) { in GetPackageUseString() local
75 result += it.GetOriginPackageName() + ","; in GetPackageUseString()
127 for (auto& it : accessor.GetStaticFields()) { in MaybeIsClassClean() local
128 if (!it.IsFinal()) { in MaybeIsClassClean()
133 for (auto& it : accessor.GetMethods()) { in MaybeIsClassClean() local
134 uint32_t flags = it.GetAccessFlags(); in MaybeIsClassClean()
230 for (const auto& it : flattend_data->GetMethodData()) { in GenerateBootImageProfile() local
231 if (IncludeMethodInProfile(flattend_data->GetMaxAggregationForMethods(), it.second, options)) { in GenerateBootImageProfile()
232 FlattenProfileData::ItemMetadata metadata(it.second); in GenerateBootImageProfile()
237 profile_methods.Put(BootImageRepresentation(it.first), metadata); in GenerateBootImageProfile()
[all …]
/art/compiler/optimizing/
Dregister_allocator.cc61 for (HInstructionIterator it(block->GetPhis()); !it.Done(); it.Advance()) { in ~RegisterAllocator() local
62 it.Current()->SetLiveInterval(bad_live_interval); in ~RegisterAllocator()
64 for (HInstructionIterator it(block->GetInstructions()); !it.Done(); it.Advance()) { in ~RegisterAllocator() local
65 it.Current()->SetLiveInterval(bad_live_interval); in ~RegisterAllocator()
114 for (AllRangesIterator it(start_interval); !it.Done(); it.Advance()) { in ValidateIntervals() local
115 max_end = std::max(max_end, it.CurrentRange()->GetEnd()); in ValidateIntervals()
128 for (AllRangesIterator it(start_interval); !it.Done(); it.Advance()) { in ValidateIntervals() local
129 LiveInterval* current = it.CurrentInterval(); in ValidateIntervals()
138 for (size_t j = it.CurrentRange()->GetStart(); j < it.CurrentRange()->GetEnd(); ++j) { in ValidateIntervals()
160 for (size_t j = it.CurrentRange()->GetStart(); j < it.CurrentRange()->GetEnd(); ++j) { in ValidateIntervals()
[all …]
Dsuperblock_cloner.cc177 for (HInstructionIterator it(orig_succ->GetPhis()); !it.Done(); it.Advance()) { in RemapOrigInternalOrIncomingEdge() local
178 HPhi* orig_phi = it.Current()->AsPhi(); in RemapOrigInternalOrIncomingEdge()
207 for (HInstructionIterator it(orig_succ->GetPhis()); !it.Done(); it.Advance()) { in AddCopyInternalEdge() local
208 HPhi* orig_phi = it.Current()->AsPhi(); in AddCopyInternalEdge()
223 for (HInstructionIterator it(orig_succ->GetPhis()); !it.Done(); it.Advance()) { in RemapCopyInternalEdge() local
224 HPhi* orig_phi = it.Current()->AsPhi(); in RemapCopyInternalEdge()
251 for (HInstructionIterator it(orig_block->GetPhis()); !it.Done(); it.Advance()) { in CopyIncomingEdgesForVersioning() local
252 HPhi* orig_phi = it.Current()->AsPhi(); in CopyIncomingEdgesForVersioning()
549 for (HInstructionIterator it(orig_block->GetPhis()); !it.Done(); it.Advance()) { in ResolveDataFlow() local
550 HPhi* orig_phi = it.Current()->AsPhi(); in ResolveDataFlow()
[all …]
Dselect_generator.cc42 for (HInstructionIterator it(block->GetInstructions()); !it.Done(); it.Advance()) { in IsSimpleBlock() local
43 HInstruction* instruction = it.Current(); in IsSimpleBlock()
78 for (HInstructionIterator it(block->GetPhis()); !it.Done(); it.Advance()) { in GetSingleChangedPhi() local
79 HPhi* phi = it.Current()->AsPhi(); in GetSingleChangedPhi()
198 auto it = cache.find(condition); in Run() local
199 if (it == cache.end()) { in Run()
203 HSelect* cached = it->second; in Run()
211 it->second = select; // always cache latest in Run()
Dssa_test.cc74 for (HInstructionIterator it(block->GetPhis()); !it.Done(); it.Advance()) { in ReNumberInstructions() local
75 it.Current()->SetId(id++); in ReNumberInstructions()
77 for (HInstructionIterator it(block->GetInstructions()); !it.Done(); it.Advance()) { in ReNumberInstructions() local
78 it.Current()->SetId(id++); in ReNumberInstructions()
92 for (HInstructionIterator it(block->GetPhis()); !it.Done(); it.Advance()) { in TestCode() local
93 ASSERT_NE(it.Current()->GetType(), DataType::Type::kVoid); in TestCode()
Dinstruction_simplifier_x86_64.cc42 for (HInstructionIterator it(block->GetInstructions()); !it.Done(); it.Advance()) { in VisitBasicBlock() local
43 HInstruction* instruction = it.Current(); in VisitBasicBlock()
/art/tools/veridex/
Dhidden_api.h47 auto it = api_list_.find(name); in GetApiList() local
48 return (it == api_list_.end()) ? hiddenapi::ApiList() : it->second; in GetApiList()
57 auto it = source_.find(type); in AddSignatureSource() local
58 if (it == source_.end() || it->second == SignatureSource::UNKNOWN) { in AddSignatureSource()
60 } else if (it->second != source) { in AddSignatureSource()
64 it->second = source; in AddSignatureSource()
72 auto it = source_.find(GetApiClassName(signature)); in GetSignatureSource() local
73 return (it == source_.end()) ? SignatureSource::UNKNOWN : it->second; in GetSignatureSource()
/art/runtime/jit/
Djit_code_cache.cc181 for (auto it = kept_end; it != methods_.end(); it++) { in RemoveMethodsIn() local
182 VLOG(jit) << "JIT removed (JNI) " << (*it)->PrettyMethod() << ": " << code_; in RemoveMethodsIn()
188 auto it = std::find(methods_.begin(), methods_.end(), method); in RemoveMethod() local
189 if (it != methods_.end()) { in RemoveMethod()
190 VLOG(jit) << "JIT removed (JNI) " << (*it)->PrettyMethod() << ": " << code_; in RemoveMethod()
191 methods_.erase(it); in RemoveMethod()
303 auto it = jni_stubs_map_.find(JniStubKey(method)); in ContainsMethod() local
304 if (it != jni_stubs_map_.end() && in ContainsMethod()
305 it->second.IsCompiled() && in ContainsMethod()
306 ContainsElement(it->second.GetMethods(), method)) { in ContainsMethod()
[all …]
Ddebugger_interface.cc498 for (const JITCodeEntry* it = descriptor.head_; it != nullptr; it = it->next_) { in RepackEntries() local
499 if (it == descriptor.zygote_head_entry_ && !is_zygote) { in RepackEntries()
502 if (it->allow_packing_) { in RepackEntries()
503 if (!compress_entries && it->is_compressed_ && removed.empty()) { in RepackEntries()
506 entries.push_back(it); in RepackEntries()
557 for (auto it : elfs) { in RepackEntries() local
558 DeleteJITCodeEntryInternal<JitNativeInfo>(/*entry=*/ it); in RepackEntries()
621 for (const JITCodeEntry* it = __jit_debug_descriptor.head_; it != nullptr;) { in RepackNativeDebugInfoForJitLocked() local
622 const JITCodeEntry* next = it->next_; in RepackNativeDebugInfoForJitLocked()
623 if (!it->allow_packing_ && std::binary_search(removed.begin(), removed.end(), it->addr_)) { in RepackNativeDebugInfoForJitLocked()
[all …]
/art/compiler/dex/
Dverification_results.cc69 auto it = verified_methods_.find(ref); in ProcessVerifiedMethod() local
70 inserted = it == verified_methods_.end(); in ProcessVerifiedMethod()
75 existing = it->second; in ProcessVerifiedMethod()
105 auto it = verified_methods_.find(ref); in GetVerifiedMethod() local
106 return (it != verified_methods_.end()) ? it->second : nullptr; in GetVerifiedMethod()
155 for (auto it = verified_methods_.begin(); it != verified_methods_.end(); ) { in AddDexFile() local
156 MethodReference ref = it->first; in AddDexFile()
158 CHECK(atomic_verified_methods_.Insert(ref, nullptr, it->second) == in AddDexFile()
160 it = verified_methods_.erase(it); in AddDexFile()
162 ++it; in AddDexFile()
/art/compiler/utils/
Dswap_space.cc114 auto it = free_by_start_.empty() in Alloc() local
117 if (it != free_by_size_.end()) { in Alloc()
118 SpaceChunk old_chunk = *it->free_by_start_entry; in Alloc()
120 RemoveChunk(it); in Alloc()
127 it->free_by_start_entry->ptr += size; in Alloc()
128 it->free_by_start_entry->size -= size; in Alloc()
130 auto node = free_by_size_.extract(it); in Alloc()
185 auto it = free_by_start_.lower_bound(chunk); in Free() local
186 if (it != free_by_start_.begin()) { in Free()
187 auto prev = it; in Free()
[all …]
Datomic_dex_ref_map-inl.h106 auto it = arrays_.find(dex_file); in GetArray() local
107 return (it != arrays_.end()) ? &it->second : nullptr; in GetArray()
113 auto it = arrays_.find(dex_file); in GetArray() local
114 return (it != arrays_.end()) ? &it->second : nullptr; in GetArray()
130 for (auto& it : arrays_) { in ClearEntries()
131 for (auto& element : it.second) { in ClearEntries()
142 for (auto& it : arrays_) { in GetDexFiles()
143 result.push_back(it.first); in GetDexFiles()
/art/runtime/gc/accounting/
Dheap_bitmap.cc40 auto it = std::find(continuous_space_bitmaps_.begin(), continuous_space_bitmaps_.end(), bitmap); in RemoveContinuousSpaceBitmap() local
41 DCHECK(it != continuous_space_bitmaps_.end()); in RemoveContinuousSpaceBitmap()
42 continuous_space_bitmaps_.erase(it); in RemoveContinuousSpaceBitmap()
52 auto it = std::find(large_object_bitmaps_.begin(), large_object_bitmaps_.end(), bitmap); in RemoveLargeObjectBitmap() local
53 DCHECK(it != large_object_bitmaps_.end()); in RemoveLargeObjectBitmap()
54 large_object_bitmaps_.erase(it); in RemoveLargeObjectBitmap()
/art/runtime/
Dnative_stack_dump.cc356 for (Backtrace::const_iterator it = backtrace->begin(); in DumpNativeStack() local
357 it != backtrace->end(); ++it) { in DumpNativeStack()
366 os << prefix << StringPrintf("#%02zu pc ", it->num); in DumpNativeStack()
368 if (!BacktraceMap::IsValid(it->map)) { in DumpNativeStack()
371 it->pc); in DumpNativeStack()
375 it->rel_pc); in DumpNativeStack()
376 if (it->map.name.empty()) { in DumpNativeStack()
377 os << StringPrintf("<anonymous:%" PRIx64 ">", it->map.start); in DumpNativeStack()
379 os << it->map.name; in DumpNativeStack()
381 if (it->map.offset != 0) { in DumpNativeStack()
[all …]
/art/libartbase/base/
Dhash_set_test.cc74 auto it = hash_set.find(test_string); in TEST_F() local
75 ASSERT_EQ(*it, test_string); in TEST_F()
76 auto after_it = hash_set.erase(it); in TEST_F()
80 it = hash_set.find(test_string); in TEST_F()
81 ASSERT_TRUE(it == hash_set.end()); in TEST_F()
92 auto it = hash_set.find(strings[i]); in TEST_F() local
93 ASSERT_TRUE(it != hash_set.end()); in TEST_F()
94 ASSERT_EQ(*it, strings[i]); in TEST_F()
99 auto it = hash_set.find(strings[i]); in TEST_F() local
100 ASSERT_TRUE(it != hash_set.end()); in TEST_F()
[all …]
Dmem_map.cc69 for (auto it = gMaps->lower_bound(map.BaseBegin()), end = gMaps->end(); in GetGMapsEntry() local
70 it != end && it->first == map.BaseBegin(); in GetGMapsEntry()
71 ++it) { in GetGMapsEntry()
72 if (it->second == &map) { in GetGMapsEntry()
73 return it; in GetGMapsEntry()
82 for (auto it = mem_maps.begin(); it != mem_maps.end(); ++it) { in operator <<() local
83 void* base = it->first; in operator <<()
84 MemMap* map = it->second; in operator <<()
289 auto it = debugStrMap.find(debug_friendly_name); in SetDebugName() local
291 if (it == debugStrMap.end()) { in SetDebugName()
[all …]
/art/test/923-monitors/src/art/
DTest923.java143 Iterator<String> it = output.iterator(); in threadTests() local
149 String s = it.next(); in threadTests()
166 expect("Lock", it, output); in threadTests()
167 expect("Notify", it, output); in threadTests()
168 expect("Unlock", it, output); in threadTests()
171 expect("Awakened", it, output); in threadTests()
172 expect("Unlock", it, output); in threadTests()
175 expect("Lock", it, output); in threadTests()
176 expect("NotifyAll", it, output); in threadTests()
177 expect("Unlock", it, output); in threadTests()
[all …]
/art/runtime/gc/
Dallocation_record.cc59 for (auto it = entries_.rbegin(), end = entries_.rend(); it != end; ++it) { in VisitRoots() local
60 AllocRecord& record = it->second; in VisitRoots()
97 for (auto it = entries_.begin(), end = entries_.end(); it != end;) { in SweepAllocationRecords() local
100 mirror::Object* old_object = it->first.Read<kWithoutReadBarrier>(); in SweepAllocationRecords()
101 AllocRecord& record = it->second; in SweepAllocationRecords()
105 it->first = GcRoot<mirror::Object>(nullptr); in SweepAllocationRecords()
107 ++it; in SweepAllocationRecords()
109 it = entries_.erase(it); in SweepAllocationRecords()
114 it->first = GcRoot<mirror::Object>(new_object); in SweepAllocationRecords()
118 ++it; in SweepAllocationRecords()
/art/test/137-cfi/
Dcfi.cc113 for (Backtrace::const_iterator it = bt->begin(); it != bt->end(); ++it) { in CheckStack() local
114 if (BacktraceMap::IsValid(it->map)) { in CheckStack()
115 LOG(INFO) << "Got " << it->func_name << ", looking for " << seq[cur_search_index]; in CheckStack()
116 if (it->func_name.find(seq[cur_search_index]) != std::string::npos) { in CheckStack()
126 for (Backtrace::const_iterator it = bt->begin(); it != bt->end(); ++it) { in CheckStack() local
127 if (BacktraceMap::IsValid(it->map)) { in CheckStack()
128 printf(" %s\n", Backtrace::FormatFrameData(&*it).c_str()); in CheckStack()
/art/openjdkjvmti/
Dti_breakpoint.cc82 for (auto it : env->breakpoints) { in VisitReflectiveTargets() local
83 art::ArtMethod* orig_method = it.GetMethod(); in VisitReflectiveTargets()
85 orig_method, JvmtiBreakpointReflectionSource(it.GetLocation(), orig_method)); in VisitReflectiveTargets()
87 updated_breakpoints.push_back({ Breakpoint { am, it.GetLocation() }, it }); in VisitReflectiveTargets()
90 for (auto it : updated_breakpoints) { in VisitReflectiveTargets() local
91 DCHECK(env->breakpoints.find(it.second) != env->breakpoints.end()); in VisitReflectiveTargets()
92 env->breakpoints.erase(it.second); in VisitReflectiveTargets()
93 env->breakpoints.insert(it.first); in VisitReflectiveTargets()
139 auto it = env->breakpoints.find(b); in RemoveBreakpointsInClass() local
140 DCHECK(it != env->breakpoints.end()); in RemoveBreakpointsInClass()
[all …]
Dti_field.cc78 for (auto it : env->access_watched_fields) { in VisitReflectiveTargets() local
80 visitor->VisitField(it, JvmtiFieldReflectionSource(/*is_access=*/true, it)); in VisitReflectiveTargets()
81 if (af != it) { in VisitReflectiveTargets()
82 updated_access_fields.push_back({ af, it }); in VisitReflectiveTargets()
85 for (auto it : updated_access_fields) { in VisitReflectiveTargets() local
86 DCHECK(env->access_watched_fields.find(it.second) != env->access_watched_fields.end()); in VisitReflectiveTargets()
87 env->access_watched_fields.erase(it.second); in VisitReflectiveTargets()
88 env->access_watched_fields.insert(it.first); in VisitReflectiveTargets()
91 for (auto it : env->modify_watched_fields) { in VisitReflectiveTargets() local
93 visitor->VisitField(it, JvmtiFieldReflectionSource(/*is_access=*/false, it)); in VisitReflectiveTargets()
[all …]
/art/runtime/verifier/
Dclass_verifier.cc87 for (auto it : count_locks_) { in ReverifyClass() local
88 VLOG(verifier_debug) << "Setting " << it.first->PrettyMethod() << " count locks to " in ReverifyClass()
89 << it.second; in ReverifyClass()
90 if (it.second) { in ReverifyClass()
91 it.first->SetMustCountLocks(); in ReverifyClass()
93 it.first->ClearMustCountLocks(); in ReverifyClass()
95 if (skip_access_checks && it.first->IsInvokable() && !it.first->IsNative()) { in ReverifyClass()
96 it.first->SetSkipAccessChecks(); in ReverifyClass()
99 for (auto it : dont_compiles_) { in ReverifyClass() local
100 VLOG(verifier_debug) << "Setting " << it.first->PrettyMethod() << " dont-compile to " in ReverifyClass()
[all …]
/art/libdexfile/external/
Ddex_file_ext.cc110 auto it = method_cache_.upper_bound(dex_offset); in GetMethodCacheEntryForOffset() local
111 if (it != method_cache_.end() && dex_offset >= it->second.offset) { in GetMethodCacheEntryForOffset()
112 return &it->second; in GetMethodCacheEntryForOffset()
160 for (auto it = std::next(cache.begin()); it != cache.end(); it++) { in GetClassDefIndex() local
161 if (std::prev(it)->second == it->second) { in GetClassDefIndex()
162 std::prev(it)->first = 0; // Clear entry with lower end_dex_offset (mark to remove). in GetClassDefIndex()
170 auto pred = [](auto it) { return it.first != 0; }; // Entries to copy (not cleared above). in GetClassDefIndex() argument
175 auto comp = [](uint32_t value, const auto& it) { return value < it.first; }; in GetClassDefIndex() argument
176 auto it = std::upper_bound(class_cache_.begin(), class_cache_.end(), dex_offset, comp); in GetClassDefIndex() local
177 if (it != class_cache_.end()) { in GetClassDefIndex()
[all …]

12345678910>>...14