Home
last modified time | relevance | path

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

12

/art/test/925-threadgroups/
Dthreadgroups.cc47 auto callback = [&](jint index) -> jobject { in Java_art_Test925_getTopThreadGroups() local
50 jobjectArray ret = CreateObjectArray(env, group_count, "java/lang/ThreadGroup", callback); in Java_art_Test925_getTopThreadGroups()
65 auto callback = [&](jint index) -> jobject { in Java_art_Test925_getThreadGroupInfo() local
86 return CreateObjectArray(env, 4, "java/lang/Object", callback); in Java_art_Test925_getThreadGroupInfo()
105 auto callback = [&](jint component_index) -> jobject { in Java_art_Test925_getThreadGroupChildren() local
120 jobjectArray ret = CreateObjectArray(env, 2, "java/lang/Object", callback); in Java_art_Test925_getThreadGroupChildren()
/art/runtime/
Dstack_map.h463 ALWAYS_INLINE static void ForEachHeaderField(Callback callback) { in ForEachHeaderField() argument
464 callback(&CodeInfo::packed_frame_size_); in ForEachHeaderField()
465 callback(&CodeInfo::core_spill_mask_); in ForEachHeaderField()
466 callback(&CodeInfo::fp_spill_mask_); in ForEachHeaderField()
467 callback(&CodeInfo::number_of_dex_registers_); in ForEachHeaderField()
472 ALWAYS_INLINE static void ForEachBitTableField(Callback callback, DecodeFlags flags = AllTables) {
473 callback(&CodeInfo::stack_maps_);
474 callback(&CodeInfo::register_masks_);
475 callback(&CodeInfo::stack_masks_);
479 callback(&CodeInfo::inline_infos_);
[all …]
Dthread_list.h110 size_t RunCheckpoint(Closure* checkpoint_function, Closure* callback = nullptr)
148 void ForEach(void (*callback)(Thread*, void*), void* context)
/art/test/911-get-stack-trace/
Dstack_trace.cc61 auto callback = [&](jint method_index) -> jobjectArray { in TranslateJvmtiFrameInfoArray() local
125 return CreateObjectArray(env, count, "[Ljava/lang/String;", callback); in TranslateJvmtiFrameInfoArray()
154 auto callback = [&](jint thread_index) -> jobject { in Java_art_AllTraces_getAllStackTraces() local
166 jobjectArray ret = CreateObjectArray(env, thread_count, "[Ljava/lang/Object;", callback); in Java_art_AllTraces_getAllStackTraces()
190 auto callback = [&](jint thread_index) -> jobject { in Java_art_ThreadListTraces_getThreadListStackTraces() local
202 jobjectArray ret = CreateObjectArray(env, thread_count, "[Ljava/lang/Object;", callback); in Java_art_ThreadListTraces_getThreadListStackTraces()
227 auto callback = [&](jint index) -> jobject { in Java_art_Frames_getFrameLocation() local
253 jobjectArray ret = CreateObjectArray(env, 2, "java/lang/Object", callback); in Java_art_Frames_getFrameLocation()
/art/runtime/gc/space/
Drosalloc_space.cc330 void RosAllocSpace::Walk(void(*callback)(void *start, void *end, size_t num_bytes, void* callback_a… in Walk()
332 InspectAllRosAlloc(callback, arg, true); in Walk()
371 void (*callback)(void *start, void *end, size_t num_bytes, void* callback_arg), in InspectAllRosAllocWithSuspendAll()
378 rosalloc_->InspectAll(callback, arg); in InspectAllRosAllocWithSuspendAll()
380 callback(nullptr, nullptr, 0, arg); // Indicate end of a space. in InspectAllRosAllocWithSuspendAll()
384 void RosAllocSpace::InspectAllRosAlloc(void (*callback)(void *start, void *end, size_t num_bytes, v… in InspectAllRosAlloc()
391 rosalloc_->InspectAll(callback, arg); in InspectAllRosAlloc()
393 callback(nullptr, nullptr, 0, arg); // Indicate end of a space. in InspectAllRosAlloc()
400 InspectAllRosAllocWithSuspendAll(callback, arg, do_null_callback_at_end); in InspectAllRosAlloc()
403 InspectAllRosAllocWithSuspendAll(callback, arg, do_null_callback_at_end); in InspectAllRosAlloc()
Drosalloc_space.h114 void Walk(WalkCallback callback, void* arg) override REQUIRES(!lock_);
188 …void InspectAllRosAlloc(void (*callback)(void *start, void *end, size_t num_bytes, void* callback_…
192 void (*callback)(void *start, void *end, size_t num_bytes, void* callback_arg),
Dlarge_object_space.cc225 void LargeObjectMapSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk() argument
229 callback(mem_map->Begin(), mem_map->End(), mem_map->Size(), arg); in Walk()
230 callback(nullptr, nullptr, 0, arg); in Walk()
390 void FreeListSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk() argument
400 callback(byte_start, byte_end, alloc_size, arg); in Walk()
401 callback(nullptr, nullptr, 0, arg); in Walk()
Ddlmalloc_space.cc293 void DlMallocSpace::Walk(void(*callback)(void *start, void *end, size_t num_bytes, void* callback_a… in Walk()
296 mspace_inspect_all(mspace_, callback, arg); in Walk()
297 callback(nullptr, nullptr, 0, arg); // Indicate end of a space. in Walk()
/art/test/907-get-loaded-classes/
Dget_loaded_classes.cc56 auto callback = [&](jint i) { in Java_art_Test907_getLoadedClasses() local
61 jobjectArray ret = CreateObjectArray(env, count, "java/lang/String", callback); in Java_art_Test907_getLoadedClasses()
/art/test/927-timers/
Dtimers.cc62 auto callback = [&](jint index) -> jobject { in Java_art_Test927_getTimerInfo() local
83 return CreateObjectArray(env, 4, "java/lang/Object", callback); in Java_art_Test927_getTimerInfo()
/art/test/1002-notify-startup/
Dinfo.txt1 Test that the startup completed callback works.
/art/test/986-native-method-bind/
Dinfo.txt1 Tests native-method-bind callback and native method replacement.
/art/runtime/gc/accounting/
Dmod_union_table.h83 virtual void VisitObjects(ObjectCallback callback, void* arg) = 0;
135 void VisitObjects(ObjectCallback callback, void* arg) override
182 void VisitObjects(ObjectCallback callback, void* arg) override
Dmod_union_table.cc388 void ModUnionTableReferenceCache::VisitObjects(ObjectCallback callback, void* arg) { in VisitObjects() argument
396 [callback, arg](mirror::Object* obj) { in VisitObjects()
397 callback(obj, arg); in VisitObjects()
407 [callback, arg](mirror::Object* obj) { in VisitObjects()
408 callback(obj, arg); in VisitObjects()
555 void ModUnionTableCardCache::VisitObjects(ObjectCallback callback, void* arg) { in VisitObjects() argument
559 [this, callback, arg](size_t bit_index) { in VisitObjects()
565 [callback, arg](mirror::Object* obj) { in VisitObjects()
566 callback(obj, arg); in VisitObjects()
Dspace_bitmap.cc159 SpaceBitmap::SweepCallback* callback, void* arg) { in SweepWalk() argument
164 CHECK(callback != nullptr); in SweepWalk()
207 (*callback)(cur_pointer - &pointer_buf[0], &pointer_buf[0], arg); in SweepWalk()
213 (*callback)(cur_pointer - &pointer_buf[0], &pointer_buf[0], arg); in SweepWalk()
/art/test/922-properties/
Dproperties.cc41 auto callback = [&](jint i) -> jstring { in Java_art_Test922_getSystemProperties() local
50 jobjectArray ret = CreateObjectArray(env, count, "java/lang/String", callback); in Java_art_Test922_getSystemProperties()
/art/test/912-classes/
Dclasses.cc56 auto callback = [&](jint i) { in Java_art_Test912_getClassSignature() local
63 jobjectArray ret = CreateObjectArray(env, 2, "java/lang/String", callback); in Java_art_Test912_getClassSignature()
109 auto callback = [&](jint i) { in Java_art_Test912_getClassFields() local
118 jobjectArray ret = CreateObjectArray(env, count, "java/lang/Object", callback); in Java_art_Test912_getClassFields()
134 auto callback = [&](jint i) { in Java_art_Test912_getClassMethods() local
143 jobjectArray ret = CreateObjectArray(env, count, "java/lang/Object", callback); in Java_art_Test912_getClassMethods()
159 auto callback = [&](jint i) { in Java_art_Test912_getImplementedInterfaces() local
162 jobjectArray ret = CreateObjectArray(env, count, "java/lang/Class", callback); in Java_art_Test912_getImplementedInterfaces()
194 auto callback = [&](jint i) { in Java_art_Test912_getClassLoaderClasses() local
197 jobjectArray ret = CreateObjectArray(env, count, "java/lang/Class", callback); in Java_art_Test912_getClassLoaderClasses()
/art/openjdkjvmti/
Dti_extension.h54 jvmtiExtensionEvent callback,
Dti_extension.cc462 jvmtiExtensionEvent callback, in SetExtensionEventCallback() argument
468 jvmtiEventMode mode = callback == nullptr ? JVMTI_DISABLE : JVMTI_ENABLE; in SetExtensionEventCallback()
476 jvmtiError err = art_env->event_callbacks->Set(extension_event_index, callback); in SetExtensionEventCallback()
/art/test/924-threads/
Dthreads.cc101 auto callback = [&](jint component_index) -> jobject { in Java_art_Test924_getThreadInfo() local
126 jobjectArray ret = CreateObjectArray(env, 5, "java/lang/Object", callback); in Java_art_Test924_getThreadInfo()
159 auto callback = [&](jint index) { in Java_art_Test924_getAllThreads() local
162 jobjectArray ret = CreateObjectArray(env, thread_count, "java/lang/Thread", callback); in Java_art_Test924_getAllThreads()
/art/test/918-fields/
Dfields.cc48 auto callback = [&](jint i) { in Java_art_Test918_getFieldName() local
57 jobjectArray ret = CreateObjectArray(env, 3, "java/lang/String", callback); in Java_art_Test918_getFieldName()
/art/test/905-object-free/
Dtracking_free.cc58 static void setupObjectFreeCallback(JNIEnv* env, jvmtiEnv* jenv, jvmtiEventObjectFree callback) { in setupObjectFreeCallback() argument
61 callbacks.ObjectFree = callback; in setupObjectFreeCallback()
/art/runtime/ti/
Dagent.cc83 AgentOnLoadFunction callback = attaching ? agent->onattach_ : agent->onload_; in DoLoadHelper() local
84 if (callback == nullptr) { in DoLoadHelper()
96 *call_res = callback(Runtime::Current()->GetJavaVM(), in DoLoadHelper()
/art/test/044-proxy/src/
DNativeProxy.java32 public void callback(); in callback() method
/art/test/910-methods/
Dmethods.cc45 auto callback = [&](jint i) { in Java_art_Test910_getMethodName() local
54 jobjectArray ret = CreateObjectArray(env, 3, "java/lang/String", callback); in Java_art_Test910_getMethodName()

12