Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 18 of 18) sorted by relevance

/art/test/023-many-interfaces/src/
DManyInterfaces.java173 private static void report(String label, long start, long end, int iter, in report() argument
177 + " (" + (end - start) / (iter*rept) + "ns per call)"); in report()
195 int iter = 32768; in run() local
206 testIface001(obj, iter); in run()
208 report("testIface001", start, end, iter, rept); in run()
211 testIface049(obj, iter); in run()
213 report("testIface049", start, end, iter, rept); in run()
216 testIface099(obj, iter); in run()
218 report("testIface099", start, end, iter, rept); in run()
221 testVirt001(obj, iter); in run()
[all …]
/art/compiler/
Dexception_test.cc142 CatchHandlerIterator iter(accessor, 4 /* Dex PC in the first try block */); in TEST_F() local
143 EXPECT_STREQ("Ljava/io/IOException;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
144 ASSERT_TRUE(iter.HasNext()); in TEST_F()
145 iter.Next(); in TEST_F()
146 EXPECT_STREQ("Ljava/lang/Exception;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
147 ASSERT_TRUE(iter.HasNext()); in TEST_F()
148 iter.Next(); in TEST_F()
149 EXPECT_FALSE(iter.HasNext()); in TEST_F()
152 CatchHandlerIterator iter(accessor, 8 /* Dex PC in the second try block */); in TEST_F() local
153 EXPECT_STREQ("Ljava/io/IOException;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
[all …]
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DDominatorReferenceIterator.java32 public DominatorReferenceIterator(Reachability retained, Iterable<Reference> iter) { in DominatorReferenceIterator() argument
34 mIter = iter.iterator(); in DominatorReferenceIterator()
DSort.java108 Iterator<Comparator<T>> iter = mComparators.iterator(); in compare() local
109 while (res == 0 && iter.hasNext()) { in compare()
110 res = iter.next().compare(a, b); in compare()
/art/test/1980-obsolete-object-cleared/src/
DMain.java151 Iterable<Object[]> iter = CollectParameterValues(m, obsolete_class); in main()
152 System.out.println("Calling " + m + " with params: " + iter); in main()
153 for (Object[] arr : iter) { in main()
199 ResetIterator<Object[]> iter = new BaseResetIter(); in CollectParameterValues() local
201 iter = new ComboIter(Arrays.asList(params[i]), iter); in CollectParameterValues()
203 final Iterator<Object[]> fiter = iter; in CollectParameterValues()
/art/test/074-gc-thrash/src/
DMain.java204 int iter = 0; in run() local
210 dive(0, iter); in run()
212 iter += MAX_DEPTH; in run()
237 System.out.println("Deep: iters=" + iter / MAX_DEPTH); in run()
/art/test/088-monitor-verification/src/
DMain.java82 synchronized void recursiveSync(int iter) { in recursiveSync() argument
84 if (iter < 40) { in recursiveSync()
85 recursiveSync(iter+1); in recursiveSync()
/art/libartbase/base/
Dstl_util.h212 static inline IterationRange<ZipLeftIter<Iter, CountIter>> ZipCount(IterationRange<Iter> iter) { in ZipCount() argument
213 return IterationRange(ZipLeftIter(iter.begin(), CountIter(0)), in ZipCount()
214 ZipLeftIter(iter.end(), CountIter(-1))); in ZipCount()
Dhash_set_test.cc295 for (auto iter = begin; iter != end; ++iter) { in HashIntSequence() local
296 hash = hash * 2 + *iter; in HashIntSequence()
/art/dexlayout/
Ddex_visualize.cc93 ColorMapType::const_iterator iter = kColorMap.find(section); in GetColor() local
94 if (iter != kColorMap.end()) { in GetColor()
95 return iter->second; in GetColor()
/art/tools/
Danalyze-init-failures.py39 it = iter(lines)
/art/compiler/optimizing/
Dcode_generator.h910 auto iter = slow_path_map_.find(dex_pc); in NewSlowPath() local
911 if (iter != slow_path_map_.end()) { in NewSlowPath()
912 const ArenaVector<std::pair<InstructionType*, SlowPathCode*>>& candidates = iter->second; in NewSlowPath()
925 iter = slow_path_map_.Put(dex_pc, in NewSlowPath()
931 iter->second.emplace_back(std::make_pair(instruction, slow_path)); in NewSlowPath()
Dsuperblock_cloner.cc925 for (auto iter : *bb_map_) { in Run()
926 work_set.SetBit(iter.first->GetBlockId()); // Original block. in Run()
927 work_set.SetBit(iter.second->GetBlockId()); // Copy block. in Run()
Dinstruction_simplifier.cc2496 for (HBackwardInstructionIterator iter(block->GetInstructions()); !iter.Done(); iter.Advance()) { in TryReplaceStringBuilderAppend() local
2497 HInstruction* user = iter.Current(); in TryReplaceStringBuilderAppend()
/art/runtime/gc/space/
Dregion_space.cc502 for (const auto &iter : madvise_list) { in ClearFromSpace() local
503 ZeroAndProtectRegion(iter.first, iter.second); in ClearFromSpace()
506 reinterpret_cast<mirror::Object*>(iter.first), in ClearFromSpace()
507 reinterpret_cast<mirror::Object*>(iter.second)); in ClearFromSpace()
/art/runtime/dex/
Ddex_file_annotations.cc1380 for (DexInstructionIterator iter = accessor.begin(); iter != accessor.end(); ++iter) { in MethodContainsRSensitiveAccess() local
1381 switch (iter->Opcode()) { in MethodContainsRSensitiveAccess()
1412 if (iter->IsQuickened()) { in MethodContainsRSensitiveAccess()
1415 field_index = iter->VRegC_22c(); in MethodContainsRSensitiveAccess()
1442 uint32_t called_method_index = iter->VRegB_35c(); in MethodContainsRSensitiveAccess()
1452 uint32_t called_method_index = iter->VRegB_3rc(); in MethodContainsRSensitiveAccess()
1478 if (QuickenInfoTable::NeedsIndexForInstruction(&iter.Inst())) { in MethodContainsRSensitiveAccess()
/art/runtime/interpreter/
Dunstarted_runtime.cc2055 const auto& iter = invoke_handlers_.find(name); in Invoke() local
2056 if (iter != invoke_handlers_.end()) { in Invoke()
2063 (*iter->second)(self, shadow_frame, result, arg_offset); in Invoke()
2076 const auto& iter = jni_handlers_.find(name); in Jni() local
2077 if (iter != jni_handlers_.end()) { in Jni()
2080 (*iter->second)(self, method, receiver, args, result); in Jni()
/art/openjdkjvmti/
Dti_redefine.cc235 std::unordered_map<art::ArtMethod*, int32_t>::const_iterator iter) in ObsoleteMapIter() argument
236 : map_(map), iter_(iter) {} in ObsoleteMapIter()
1612 bool Redefiner::ClassRedefinition::CheckVerification(const RedefinitionDataIter& iter) { in CheckVerification() argument
1620 hs.NewHandle(iter.GetNewDexCache()), in CheckVerification()