Home
last modified time | relevance | path

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

12345678910>>...13

/art/test/478-checker-clinit-check-pruning/src/
DMain.java423 static void constClassAndInvokeStatic(Iterable<?> it) { in constClassAndInvokeStatic() argument
425 ClassWithClinit7.$noinline$someStaticMethod(it); in constClassAndInvokeStatic()
436 static void $noinline$someStaticMethod(Iterable<?> it) { in $noinline$someStaticMethod() argument
437 it.iterator(); in $noinline$someStaticMethod()
452 static void sgetAndInvokeStatic(Iterable<?> it) { in sgetAndInvokeStatic() argument
454 ClassWithClinit8.$noinline$someStaticMethod(it); in sgetAndInvokeStatic()
466 static void $noinline$someStaticMethod(Iterable<?> it) { in $noinline$someStaticMethod() argument
467 it.iterator(); in $noinline$someStaticMethod()
481 static void constClassSgetAndInvokeStatic(Iterable<?> it) { in constClassSgetAndInvokeStatic() argument
484 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/runtime/gc/accounting/
Dheap_bitmap.cc28 auto it = std::find(continuous_space_bitmaps_.begin(), continuous_space_bitmaps_.end(), in ReplaceBitmap() local
30 CHECK(it != continuous_space_bitmaps_.end()) << " continuous space bitmap " << old_bitmap in ReplaceBitmap()
32 *it = new_bitmap; in ReplaceBitmap()
37 auto it = std::find(large_object_bitmaps_.begin(), large_object_bitmaps_.end(), old_bitmap); in ReplaceLargeObjectBitmap() local
38 CHECK(it != large_object_bitmaps_.end()) << " large object bitmap " << old_bitmap in ReplaceLargeObjectBitmap()
40 *it = new_bitmap; in ReplaceLargeObjectBitmap()
57 auto it = std::find(continuous_space_bitmaps_.begin(), continuous_space_bitmaps_.end(), bitmap); in RemoveContinuousSpaceBitmap() local
58 DCHECK(it != continuous_space_bitmaps_.end()); in RemoveContinuousSpaceBitmap()
59 continuous_space_bitmaps_.erase(it); in RemoveContinuousSpaceBitmap()
69 auto it = std::find(large_object_bitmaps_.begin(), large_object_bitmaps_.end(), bitmap); in RemoveLargeObjectBitmap() local
[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()
125 for (AllRangesIterator it(start_interval); !it.Done(); it.Advance()) { in ValidateIntervals() local
126 max_end = std::max(max_end, it.CurrentRange()->GetEnd()); in ValidateIntervals()
139 for (AllRangesIterator it(start_interval); !it.Done(); it.Advance()) { in ValidateIntervals() local
140 LiveInterval* current = it.CurrentInterval(); in ValidateIntervals()
149 for (size_t j = it.CurrentRange()->GetStart(); j < it.CurrentRange()->GetEnd(); ++j) { in ValidateIntervals()
171 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()
509 for (HInstructionIterator it(orig_block->GetPhis()); !it.Done(); it.Advance()) { in ResolveDataFlow() local
510 HPhi* orig_phi = it.Current()->AsPhi(); in ResolveDataFlow()
517 for (HInstructionIterator it(orig_block->GetInstructions()); !it.Done(); it.Advance()) { in ResolveDataFlow() local
518 CheckInstructionInputsRemapping(it.Current()); in ResolveDataFlow()
[all …]
Dselect_generator.cc44 for (HInstructionIterator it(block->GetInstructions()); !it.Done(); it.Advance()) { in IsSimpleBlock() local
45 HInstruction* instruction = it.Current(); in IsSimpleBlock()
80 for (HInstructionIterator it(block->GetPhis()); !it.Done(); it.Advance()) { in GetSingleChangedPhi() local
81 HPhi* phi = it.Current()->AsPhi(); in GetSingleChangedPhi()
200 auto it = cache.find(condition); in Run() local
201 if (it == cache.end()) { in Run()
205 HSelect* cached = it->second; in Run()
213 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/runtime/jdwp/
Dobject_registry.cc133 for (auto it = object_to_entry_.lower_bound(identity_hash_code), end = object_to_entry_.end(); in ContainsLocked() local
134 it != end && it->first == identity_hash_code; ++it) { in ContainsLocked()
135 ObjectRegistryEntry* entry = it->second; in ContainsLocked()
182 auto it = id_to_entry_.find(id); in InternalGet() local
183 if (it == id_to_entry_.end()) { in InternalGet()
187 ObjectRegistryEntry& entry = *it->second; in InternalGet()
198 auto it = id_to_entry_.find(id); in GetJObject() local
199 CHECK(it != id_to_entry_.end()) << id; in GetJObject()
200 ObjectRegistryEntry& entry = *it->second; in GetJObject()
207 auto it = id_to_entry_.find(id); in DisableCollection() local
[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/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 …]
Dstl_util.h93 auto it = std::find(container.begin(), container.end(), value); in IndexOfElement() local
94 DCHECK(it != container.end()); // Must exist. in IndexOfElement()
95 return std::distance(container.begin(), it); in IndexOfElement()
101 auto it = std::find(container.begin(), container.end(), value); in RemoveElement() local
102 DCHECK(it != container.end()); // Must exist. in RemoveElement()
103 container.erase(it); in RemoveElement()
109 auto it = std::find(container.begin(), container.end(), old_value); in ReplaceElement() local
110 DCHECK(it != container.end()); // Must exist. in ReplaceElement()
111 *it = new_value; in ReplaceElement()
120 auto it = std::find(start, container.end(), value); variable
[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 …]
Dsafe_map.h72 iterator erase(iterator it) { return map_.erase(it); } in erase() argument
88 const_iterator it = map_.find(k); in Get() local
89 DCHECK(it != map_.end()); in Get()
90 return it->second; in Get()
139 auto it = PutBefore(lb, k, create()); in GetOrCreate() local
140 return it->second; in GetOrCreate()
144 iterator it = find(k); in FindOrAdd() local
145 return it == end() ? Put(k, v) : it; in FindOrAdd()
149 iterator it = find(k); in FindOrAdd() local
150 return it == end() ? Put(k, V()) : it; in FindOrAdd()
/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/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/
Dnative_stack_dump.cc352 for (Backtrace::const_iterator it = backtrace->begin(); in DumpNativeStack() local
353 it != backtrace->end(); ++it) { in DumpNativeStack()
362 os << prefix << StringPrintf("#%02zu pc ", it->num); in DumpNativeStack()
364 if (!BacktraceMap::IsValid(it->map)) { in DumpNativeStack()
367 it->pc); in DumpNativeStack()
371 it->rel_pc); in DumpNativeStack()
372 if (it->map.name.empty()) { in DumpNativeStack()
373 os << StringPrintf("<anonymous:%" PRIx64 ">", it->map.start); in DumpNativeStack()
375 os << it->map.name; in DumpNativeStack()
377 if (it->map.offset != 0) { in DumpNativeStack()
[all …]
Dtransaction.cc56 for (const auto& it : object_logs_) { in ~Transaction() local
57 field_values_count += it.second.Size(); in ~Transaction()
61 for (const auto& it : array_logs_) { in ~Transaction() local
62 array_values_count += it.second.Size(); in ~Transaction()
222 auto it = array_logs_.find(array); in RecordWriteArray() local
223 if (it == array_logs_.end()) { in RecordWriteArray()
225 it = array_logs_.emplace(array, std::move(log)).first; in RecordWriteArray()
227 it->second.LogValue(index, value); in RecordWriteArray()
281 for (const auto& it : object_logs_) { in UndoObjectModifications() local
282 it.second.Undo(it.first); in UndoObjectModifications()
[all …]
Dbacktrace_helper.cc73 for (Backtrace::const_iterator it = backtrace->begin(); in Collect() local
74 max_depth_ > num_frames_ && it != backtrace->end(); in Collect()
75 ++it) { in Collect()
76 out_frames_[num_frames_++] = static_cast<uintptr_t>(it->pc); in Collect()
Doat.cc38 SafeMap<std::string, std::string>::const_iterator it = variable_data->begin(); in ComputeOatHeaderSize() local
40 for ( ; it != end; ++it) { in ComputeOatHeaderSize()
41 estimate += it->first.length() + 1; in ComputeOatHeaderSize()
42 estimate += it->second.length() + 1; in ComputeOatHeaderSize()
402 SafeMap<std::string, std::string>::const_iterator it = key_value_store->begin(); in Flatten() local
404 for ( ; it != end; ++it) { in Flatten()
405 strlcpy(data_ptr, it->first.c_str(), it->first.length() + 1); in Flatten()
406 data_ptr += it->first.length() + 1; in Flatten()
407 strlcpy(data_ptr, it->second.c_str(), it->second.length() + 1); in Flatten()
408 data_ptr += it->second.length() + 1; in Flatten()
/art/runtime/jit/
Djit_code_cache.cc174 auto it = std::find(methods_.begin(), methods_.end(), method); in RemoveMethod() local
175 if (it != methods_.end()) { in RemoveMethod()
176 methods_.erase(it); in RemoveMethod()
503 auto it = jni_stubs_map_.find(JniStubKey(method)); in ContainsMethod() local
504 if (it != jni_stubs_map_.end() && in ContainsMethod()
505 it->second.IsCompiled() && in ContainsMethod()
506 ContainsElement(it->second.GetMethods(), method)) { in ContainsMethod()
510 for (const auto& it : method_code_map_) { in ContainsMethod() local
511 if (it.second == method) { in ContainsMethod()
522 auto it = jni_stubs_map_.find(JniStubKey(method)); in GetJniStubCode() local
[all …]
/art/test/137-cfi/
Dcfi.cc98 for (Backtrace::const_iterator it = bt->begin(); it != bt->end(); ++it) { in CheckStack() local
99 if (BacktraceMap::IsValid(it->map)) { in CheckStack()
100 LOG(INFO) << "Got " << it->func_name << ", looking for " << seq[cur_search_index]; in CheckStack()
101 if (it->func_name.find(seq[cur_search_index]) != std::string::npos) { in CheckStack()
111 for (Backtrace::const_iterator it = bt->begin(); it != bt->end(); ++it) { in CheckStack() local
112 if (BacktraceMap::IsValid(it->map)) { in CheckStack()
113 printf(" %s\n", Backtrace::FormatFrameData(&*it).c_str()); in CheckStack()
/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/runtime/gc/collector/
Dgarbage_collector.cc111 for (auto it = gc_ranges->begin(); it != gc_ranges->end(); it++) { in ExtractRssFromMincore() local
112 auto next_it = it; in ExtractRssFromMincore()
115 if (it->second == next_it->first) { in ExtractRssFromMincore()
116 it->second = next_it->second; in ExtractRssFromMincore()
122 size_t length = static_cast<uint8_t*>(it->second) - static_cast<uint8_t*>(it->first); in ExtractRssFromMincore()
127 for (const auto it : *gc_ranges) { in ExtractRssFromMincore()
128 size_t length = static_cast<uint8_t*>(it.second) - static_cast<uint8_t*>(it.first); in ExtractRssFromMincore()
129 if (mincore(it.first, length, vec.get()) == 0) { in ExtractRssFromMincore()
136 LOG(WARNING) << "Call to mincore() on memory range [0x" << std::hex << it.first in ExtractRssFromMincore()
137 << ", 0x" << it.second << std::dec << ") failed: " << strerror(errno); in ExtractRssFromMincore()

12345678910>>...13