Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 20 of 20) 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.cc143 CatchHandlerIterator iter(accessor, 4 /* Dex PC in the first try block */); in TEST_F() local
144 EXPECT_STREQ("Ljava/io/IOException;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
145 ASSERT_TRUE(iter.HasNext()); in TEST_F()
146 iter.Next(); in TEST_F()
147 EXPECT_STREQ("Ljava/lang/Exception;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
148 ASSERT_TRUE(iter.HasNext()); in TEST_F()
149 iter.Next(); in TEST_F()
150 EXPECT_FALSE(iter.HasNext()); in TEST_F()
153 CatchHandlerIterator iter(accessor, 8 /* Dex PC in the second try block */); in TEST_F() local
154 EXPECT_STREQ("Ljava/io/IOException;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
[all …]
/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/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/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/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/libartbase/base/
Dstl_util.h218 static inline IterationRange<ZipLeftIter<Iter, CountIter>> ZipCount(IterationRange<Iter> iter) { in ZipCount() argument
219 return IterationRange(ZipLeftIter(iter.begin(), CountIter(0)), in ZipCount()
220 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/tools/
Dmethod-to-descriptor.py135 inputs = iter(args.method)
Danalyze-init-failures.py39 it = iter(lines)
/art/runtime/gc/space/
Dregion_space.cc504 for (const auto &iter : madvise_list) { in ClearFromSpace() local
505 ZeroAndProtectRegion(iter.first, iter.second); in ClearFromSpace()
509 for (const auto &iter : madvise_list) { in ClearFromSpace() local
512 reinterpret_cast<mirror::Object*>(iter.first), in ClearFromSpace()
513 reinterpret_cast<mirror::Object*>(iter.second)); in ClearFromSpace()
/art/compiler/optimizing/
Dcode_generator.h954 auto iter = slow_path_map_.find(dex_pc); in NewSlowPath() local
955 if (iter != slow_path_map_.end()) { in NewSlowPath()
956 const ArenaVector<std::pair<InstructionType*, SlowPathCode*>>& candidates = iter->second; in NewSlowPath()
969 iter = slow_path_map_.Put(dex_pc, in NewSlowPath()
975 iter->second.emplace_back(std::make_pair(instruction, slow_path)); in NewSlowPath()
Dsuperblock_cloner.cc971 for (auto iter : *bb_map_) { in Run()
972 work_set.SetBit(iter.first->GetBlockId()); // Original block. in Run()
973 work_set.SetBit(iter.second->GetBlockId()); // Copy block. in Run()
Dinstruction_simplifier.cc2595 for (HBackwardInstructionIterator iter(block->GetInstructions()); !iter.Done(); iter.Advance()) { in TryReplaceStringBuilderAppend() local
2596 HInstruction* user = iter.Current(); in TryReplaceStringBuilderAppend()
Dnodes.h2903 IterationRange<HSTLInstructionIterator<InnerIter>> MakeSTLInstructionIteratorRange(InnerIter iter) {
2904 return MakeIterationRange(HSTLInstructionIterator<InnerIter>(iter),
/art/runtime/dex/
Ddex_file_annotations.cc1352 for (DexInstructionIterator iter = accessor.begin(); iter != accessor.end(); ++iter) { in MethodContainsRSensitiveAccess() local
1353 switch (iter->Opcode()) { in MethodContainsRSensitiveAccess()
1369 uint32_t field_index = iter->VRegC_22c(); in MethodContainsRSensitiveAccess()
1395 uint32_t called_method_index = iter->VRegB_35c(); in MethodContainsRSensitiveAccess()
1405 uint32_t called_method_index = iter->VRegB_3rc(); in MethodContainsRSensitiveAccess()
/art/runtime/interpreter/
Dunstarted_runtime.cc2101 const auto& iter = invoke_handlers_.find(shadow_frame->GetMethod()); in Invoke() local
2102 if (iter != invoke_handlers_.end()) { in Invoke()
2109 (*iter->second)(self, shadow_frame, result, arg_offset); in Invoke()
2121 const auto& iter = jni_handlers_.find(method); in Jni() local
2122 if (iter != jni_handlers_.end()) { in Jni()
2125 (*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()
1609 bool Redefiner::ClassRedefinition::CheckVerification(const RedefinitionDataIter& iter) { in CheckVerification() argument
1618 hs.NewHandle(iter.GetNewDexCache()), in CheckVerification()