Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 24 of 24) sorted by relevance

/art/runtime/gc/accounting/
Dspace_bitmap.cc111 void SpaceBitmap<kAlignment>::Walk(ObjectCallback* callback, void* arg) { in Walk() argument
113 CHECK(callback != nullptr); in Walk()
124 (*callback)(obj, arg); in Walk()
135 SpaceBitmap::SweepCallback* callback, void* arg) { in SweepWalk() argument
140 CHECK(callback != nullptr); in SweepWalk()
177 (*callback)(pb - &pointer_buf[0], &pointer_buf[0], arg); in SweepWalk()
183 (*callback)(pb - &pointer_buf[0], &pointer_buf[0], arg); in SweepWalk()
189 ObjectCallback* callback, mirror::Object* obj, in WalkInstanceFields() argument
195 WalkInstanceFields(visited, callback, obj, super, arg); in WalkInstanceFields()
202 WalkFieldsInOrder(visited, callback, value, arg); in WalkInstanceFields()
[all …]
Dheap_bitmap.cc74 void HeapBitmap::Walk(ObjectCallback* callback, void* arg) { in Walk() argument
76 bitmap->Walk(callback, arg); in Walk()
79 bitmap->Walk(callback, arg); in Walk()
Dspace_bitmap.h102 void VisitRange(uintptr_t base, uintptr_t max, ObjectCallback* callback, void* arg) const;
133 void Walk(ObjectCallback* callback, void* arg)
138 void InOrderWalk(ObjectCallback* callback, void* arg)
206 static void WalkFieldsInOrder(SpaceBitmap* visited, ObjectCallback* callback, mirror::Object* obj,
210 static void WalkInstanceFields(SpaceBitmap<kAlignment>* visited, ObjectCallback* callback,
Dheap_bitmap.h51 void Walk(ObjectCallback* callback, void* arg)
/art/runtime/gc/space/
Drosalloc_space.cc261 void RosAllocSpace::Walk(void(*callback)(void *start, void *end, size_t num_bytes, void* callback_a… in Walk()
263 InspectAllRosAlloc(callback, arg, true); in Walk()
302 void (*callback)(void *start, void *end, size_t num_bytes, void* callback_arg), in InspectAllRosAllocWithSuspendAll()
309 rosalloc_->InspectAll(callback, arg); in InspectAllRosAllocWithSuspendAll()
311 callback(nullptr, nullptr, 0, arg); // Indicate end of a space. in InspectAllRosAllocWithSuspendAll()
315 void RosAllocSpace::InspectAllRosAlloc(void (*callback)(void *start, void *end, size_t num_bytes, v… in InspectAllRosAlloc()
322 rosalloc_->InspectAll(callback, arg); in InspectAllRosAlloc()
324 callback(nullptr, nullptr, 0, arg); // Indicate end of a space. in InspectAllRosAlloc()
331 InspectAllRosAllocWithSuspendAll(callback, arg, do_null_callback_at_end); in InspectAllRosAlloc()
334 InspectAllRosAllocWithSuspendAll(callback, arg, do_null_callback_at_end); in InspectAllRosAlloc()
Drosalloc_space.h107 void Walk(WalkCallback callback, void* arg) OVERRIDE REQUIRES(!lock_);
169 …void InspectAllRosAlloc(void (*callback)(void *start, void *end, size_t num_bytes, void* callback_…
173 void (*callback)(void *start, void *end, size_t num_bytes, void* callback_arg),
Dbump_pointer_space.cc156 void BumpPointerSpace::Walk(ObjectCallback* callback, void* arg) { in Walk() argument
185 callback(obj, arg); in Walk()
201 callback(obj, arg); in Walk()
Dregion_space.h152 void Walk(ObjectCallback* callback, void* arg) in Walk() argument
154 WalkInternal<false>(callback, arg); in Walk()
157 void WalkToSpace(ObjectCallback* callback, void* arg) in WalkToSpace() argument
159 WalkInternal<true>(callback, arg); in WalkToSpace()
231 void WalkInternal(ObjectCallback* callback, void* arg) NO_THREAD_SAFETY_ANALYSIS;
Dlarge_object_space.cc231 void LargeObjectMapSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk() argument
235 callback(mem_map->Begin(), mem_map->End(), mem_map->Size(), arg); in Walk()
236 callback(nullptr, nullptr, 0, arg); in Walk()
383 void FreeListSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk() argument
393 callback(byte_start, byte_end, alloc_size, arg); in Walk()
394 callback(nullptr, nullptr, 0, arg); in Walk()
Dregion_space-inl.h226 void RegionSpace::WalkInternal(ObjectCallback* callback, void* arg) { in WalkInternal() argument
239 callback(obj, arg); in WalkInternal()
249 callback(obj, arg); in WalkInternal()
Ddlmalloc_space.cc234 void DlMallocSpace::Walk(void(*callback)(void *start, void *end, size_t num_bytes, void* callback_a… in Walk()
237 mspace_inspect_all(mspace_, callback, arg); in Walk()
238 callback(nullptr, nullptr, 0, arg); // Indicate end of a space. in Walk()
Ddlmalloc_space.h107 void Walk(WalkCallback callback, void* arg) OVERRIDE REQUIRES(!lock_);
Dmalloc_space.h88 virtual void Walk(WalkCallback callback, void* arg) = 0;
Dbump_pointer_space.h145 void Walk(ObjectCallback* callback, void* arg)
Dlarge_object_space.h172 void Walk(DlMallocSpace::WalkCallback callback, void* arg) OVERRIDE REQUIRES(!lock_);
/art/test/044-proxy/src/
DNativeProxy.java32 public void callback(); in callback() method
/art/runtime/
Doat_file.cc575 static int callback(struct dl_phdr_info *info ATTRIBUTE_UNUSED, in PreLoad()
584 dl_iterate_phdr(dl_iterate_context::callback, &context); in PreLoad()
691 static int callback(struct dl_phdr_info *info, size_t /* size */, void *data) { in PreSetup()
736 if (dl_iterate_phdr(dl_iterate_context::callback, &context) == 0) { in PreSetup()
742 if (dl_iterate_phdr(dl_iterate_context::callback, &context0) == 0) { in PreSetup()
Dthread_list.h130 void ForEach(void (*callback)(Thread*, void*), void* context)
Dmonitor.h103 static void VisitLocks(StackVisitor* stack_visitor, void (*callback)(mirror::Object*, void*),
Dmonitor.cc1153 void Monitor::VisitLocks(StackVisitor* stack_visitor, void (*callback)(mirror::Object*, void*), in VisitLocks()
1164 callback(jni_this, callback_context); in VisitLocks()
1212 callback(o, callback_context); in VisitLocks()
Dthread_list.cc1293 void ThreadList::ForEach(void (*callback)(Thread*, void*), void* context) { in ForEach()
1295 callback(thread, context); in ForEach()
/art/runtime/gc/
Dheap.h234 void VisitObjects(ObjectCallback callback, void* arg)
237 void VisitObjectsPaused(ObjectCallback callback, void* arg)
1007 void VisitObjectsInternal(ObjectCallback callback, void* arg)
1010 void VisitObjectsInternalRegionSpace(ObjectCallback callback, void* arg)
Dheap.cc972 void Heap::VisitObjects(ObjectCallback callback, void* arg) { in VisitObjects() argument
989 VisitObjectsInternalRegionSpace(callback, arg); in VisitObjects()
990 VisitObjectsInternal(callback, arg); in VisitObjects()
997 VisitObjectsInternal(callback, arg); in VisitObjects()
1002 void Heap::VisitObjectsPaused(ObjectCallback callback, void* arg) { in VisitObjectsPaused() argument
1005 VisitObjectsInternalRegionSpace(callback, arg); in VisitObjectsPaused()
1006 VisitObjectsInternal(callback, arg); in VisitObjectsPaused()
1010 void Heap::VisitObjectsInternalRegionSpace(ObjectCallback callback, void* arg) { in VisitObjectsInternalRegionSpace() argument
1022 region_space_->Walk(callback, arg); in VisitObjectsInternalRegionSpace()
1027 void Heap::VisitObjectsInternal(ObjectCallback callback, void* arg) { in VisitObjectsInternal() argument
[all …]
/art/test/044-proxy/
Dexpected.txt97 callback