/art/test/925-threadgroups/ |
D | threadgroups.cc | 47 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/ |
D | stack_map.h | 463 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 …]
|
D | thread_list.h | 110 size_t RunCheckpoint(Closure* checkpoint_function, Closure* callback = nullptr) 148 void ForEach(void (*callback)(Thread*, void*), void* context)
|
/art/test/911-get-stack-trace/ |
D | stack_trace.cc | 61 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/ |
D | rosalloc_space.cc | 330 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()
|
D | rosalloc_space.h | 114 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),
|
D | large_object_space.cc | 225 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()
|
D | dlmalloc_space.cc | 293 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/ |
D | get_loaded_classes.cc | 56 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/ |
D | timers.cc | 62 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/ |
D | info.txt | 1 Test that the startup completed callback works.
|
/art/test/986-native-method-bind/ |
D | info.txt | 1 Tests native-method-bind callback and native method replacement.
|
/art/runtime/gc/accounting/ |
D | mod_union_table.h | 83 virtual void VisitObjects(ObjectCallback callback, void* arg) = 0; 135 void VisitObjects(ObjectCallback callback, void* arg) override 182 void VisitObjects(ObjectCallback callback, void* arg) override
|
D | mod_union_table.cc | 388 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()
|
D | space_bitmap.cc | 159 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/ |
D | properties.cc | 41 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/ |
D | classes.cc | 56 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/ |
D | ti_extension.h | 54 jvmtiExtensionEvent callback,
|
D | ti_extension.cc | 462 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/ |
D | threads.cc | 101 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/ |
D | fields.cc | 48 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/ |
D | tracking_free.cc | 58 static void setupObjectFreeCallback(JNIEnv* env, jvmtiEnv* jenv, jvmtiEventObjectFree callback) { in setupObjectFreeCallback() argument 61 callbacks.ObjectFree = callback; in setupObjectFreeCallback()
|
/art/runtime/ti/ |
D | agent.cc | 83 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/ |
D | NativeProxy.java | 32 public void callback(); in callback() method
|
/art/test/910-methods/ |
D | methods.cc | 45 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()
|