Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 21 of 21) 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.cc161 CatchHandlerIterator iter(accessor, 4 /* Dex PC in the first try block */); in TEST_F() local
162 EXPECT_STREQ("Ljava/io/IOException;", dex_->GetTypeDescriptor(iter.GetHandlerTypeIndex())); in TEST_F()
163 ASSERT_TRUE(iter.HasNext()); in TEST_F()
164 iter.Next(); in TEST_F()
165 EXPECT_STREQ("Ljava/lang/Exception;", dex_->GetTypeDescriptor(iter.GetHandlerTypeIndex())); in TEST_F()
166 ASSERT_TRUE(iter.HasNext()); in TEST_F()
167 iter.Next(); in TEST_F()
168 EXPECT_FALSE(iter.HasNext()); in TEST_F()
171 CatchHandlerIterator iter(accessor, 8 /* Dex PC in the second try block */); in TEST_F() local
172 EXPECT_STREQ("Ljava/io/IOException;", dex_->GetTypeDescriptor(iter.GetHandlerTypeIndex())); in TEST_F()
[all …]
/art/runtime/base/
Dgc_visited_arena_pool.cc193 auto iter = allocated_arenas_.find(&temp_arena); in FreeSingleObjArena() local
194 DCHECK(iter != allocated_arenas_.end()); in FreeSingleObjArena()
195 TrackedArena* arena = *iter; in FreeSingleObjArena()
200 allocated_arenas_.erase(iter); in FreeSingleObjArena()
301 auto iter = next_iter; in FreeRangeLocked() local
304 Chunk* chunk = *iter; in FreeRangeLocked()
307 free_chunks_.erase(iter); in FreeRangeLocked()
365 auto iter = allocated_arenas_.find(temp); in FreeArenaChain() local
366 DCHECK(iter != allocated_arenas_.end()); in FreeArenaChain()
367 allocated_arenas_.erase(iter); in FreeArenaChain()
[all …]
/art/test/2239-varhandle-perf/src/
DBenchmarkBase.java50 int iter = 0; in measureFor() local
60 iter++; in measureFor()
62 return 1000.0 * elapsed / iter; in measureFor()
/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/libartbase/base/
Dhash_set_test.cc295 for (auto iter = begin; iter != end; ++iter) { in HashIntSequence() local
296 hash = hash * 2 + *iter; in HashIntSequence()
Dstl_util.h228 static inline IterationRange<ZipLeftIter<Iter, CountIter>> ZipCount(IterationRange<Iter> iter) { in ZipCount() argument
229 return IterationRange(ZipLeftIter(iter.begin(), CountIter(0)), in ZipCount()
230 ZipLeftIter(iter.end(), CountIter(-1))); in ZipCount()
/art/tools/
Dmethod-to-descriptor.py135 inputs = iter(args.method)
Danalyze-init-failures.py39 it = iter(lines)
/art/runtime/gc/space/
Dregion_space.cc499 for (const auto &iter : madvise_list) { in ClearFromSpace() local
500 ZeroAndProtectRegion(iter.first, iter.second, release_eagerly); in ClearFromSpace()
504 for (const auto &iter : madvise_list) { in ClearFromSpace() local
507 reinterpret_cast<mirror::Object*>(iter.first), in ClearFromSpace()
508 reinterpret_cast<mirror::Object*>(iter.second)); in ClearFromSpace()
/art/compiler/optimizing/
Dcode_generator.h1007 auto iter = slow_path_map_.find(dex_pc); in NewSlowPath() local
1008 if (iter != slow_path_map_.end()) { in NewSlowPath()
1009 const ArenaVector<std::pair<InstructionType*, SlowPathCode*>>& candidates = iter->second; in NewSlowPath()
1022 iter = slow_path_map_.Put(dex_pc, in NewSlowPath()
1028 iter->second.emplace_back(std::make_pair(instruction, slow_path)); in NewSlowPath()
Dsuperblock_cloner.cc978 for (auto iter : *bb_map_) { in Run()
979 work_set.SetBit(iter.first->GetBlockId()); // Original block. in Run()
980 work_set.SetBit(iter.second->GetBlockId()); // Copy block. in Run()
Dinstruction_simplifier.cc2829 for (HBackwardInstructionIterator iter(block->GetInstructions()); !iter.Done(); iter.Advance()) { in TryReplaceStringBuilderAppend() local
2830 HInstruction* user = iter.Current(); in TryReplaceStringBuilderAppend()
Dnodes.h2987 IterationRange<HSTLInstructionIterator<InnerIter>> MakeSTLInstructionIteratorRange(InnerIter iter) {
2988 return MakeIterationRange(HSTLInstructionIterator<InnerIter>(iter),
/art/runtime/dex/
Ddex_file_annotations.cc1430 for (DexInstructionIterator iter = accessor.begin(); iter != accessor.end(); ++iter) { in MethodContainsRSensitiveAccess() local
1431 switch (iter->Opcode()) { in MethodContainsRSensitiveAccess()
1447 uint32_t field_index = iter->VRegC_22c(); in MethodContainsRSensitiveAccess()
1473 uint32_t called_method_index = iter->VRegB_35c(); in MethodContainsRSensitiveAccess()
1483 uint32_t called_method_index = iter->VRegB_3rc(); in MethodContainsRSensitiveAccess()
/art/runtime/interpreter/
Dunstarted_runtime.cc2410 const auto& iter = invoke_handlers_.find(shadow_frame->GetMethod()); in Invoke() local
2411 if (iter != invoke_handlers_.end()) { in Invoke()
2421 (*iter->second)(self, shadow_frame, result, arg_offset); in Invoke()
2436 const auto& iter = jni_handlers_.find(method); in Jni() local
2437 if (iter != jni_handlers_.end()) { in Jni()
2440 (*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()
1634 bool Redefiner::ClassRedefinition::CheckVerification(const RedefinitionDataIter& iter) { in CheckVerification() argument
1643 hs.NewHandle(iter.GetNewClassObject() != nullptr in CheckVerification()
1644 ? iter.GetNewClassObject() in CheckVerification()
1645 : iter.GetMirrorClass()), in CheckVerification()
1646 hs.NewHandle(iter.GetNewDexCache()), in CheckVerification()