/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/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 | 263 void RosAllocSpace::Walk(void(*callback)(void *start, void *end, size_t num_bytes, void* callback_a… in Walk() 265 InspectAllRosAlloc(callback, arg, true); in Walk() 304 void (*callback)(void *start, void *end, size_t num_bytes, void* callback_arg), in InspectAllRosAllocWithSuspendAll() 311 rosalloc_->InspectAll(callback, arg); in InspectAllRosAllocWithSuspendAll() 313 callback(nullptr, nullptr, 0, arg); // Indicate end of a space. in InspectAllRosAllocWithSuspendAll() 317 void RosAllocSpace::InspectAllRosAlloc(void (*callback)(void *start, void *end, size_t num_bytes, v… in InspectAllRosAlloc() 324 rosalloc_->InspectAll(callback, arg); in InspectAllRosAlloc() 326 callback(nullptr, nullptr, 0, arg); // Indicate end of a space. in InspectAllRosAlloc() 333 InspectAllRosAllocWithSuspendAll(callback, arg, do_null_callback_at_end); in InspectAllRosAlloc() 336 InspectAllRosAllocWithSuspendAll(callback, arg, do_null_callback_at_end); in InspectAllRosAlloc()
|
D | rosalloc_space.h | 107 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),
|
D | large_object_space.cc | 226 void LargeObjectMapSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk() argument 230 callback(mem_map->Begin(), mem_map->End(), mem_map->Size(), arg); in Walk() 231 callback(nullptr, nullptr, 0, arg); in Walk() 378 void FreeListSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk() argument 388 callback(byte_start, byte_end, alloc_size, arg); in Walk() 389 callback(nullptr, nullptr, 0, arg); in Walk()
|
D | dlmalloc_space.cc | 236 void DlMallocSpace::Walk(void(*callback)(void *start, void *end, size_t num_bytes, void* callback_a… in Walk() 239 mspace_inspect_all(mspace_, callback, arg); in Walk() 240 callback(nullptr, nullptr, 0, arg); // Indicate end of a space. in Walk()
|
D | dlmalloc_space.h | 107 void Walk(WalkCallback callback, void* arg) OVERRIDE REQUIRES(!lock_);
|
D | malloc_space.h | 78 virtual void Walk(WalkCallback callback, void* arg) = 0;
|
/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/986-native-method-bind/ |
D | info.txt | 1 Tests native-method-bind callback and native method replacement.
|
/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/runtime/gc/accounting/ |
D | mod_union_table.h | 83 virtual void VisitObjects(ObjectCallback callback, void* arg) = 0; 135 virtual void VisitObjects(ObjectCallback callback, void* arg) OVERRIDE 182 virtual void VisitObjects(ObjectCallback callback, void* arg) OVERRIDE
|
D | space_bitmap.cc | 156 SpaceBitmap::SweepCallback* callback, void* arg) { in SweepWalk() argument 161 CHECK(callback != nullptr); in SweepWalk() 198 (*callback)(pb - &pointer_buf[0], &pointer_buf[0], arg); in SweepWalk() 204 (*callback)(pb - &pointer_buf[0], &pointer_buf[0], arg); in SweepWalk()
|
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()
|
/art/openjdkjvmti/ |
D | ti_extension.h | 54 jvmtiExtensionEvent callback,
|
D | ti_extension.cc | 387 jvmtiExtensionEvent callback, in SetExtensionEventCallback() argument 393 jvmtiEventMode mode = callback == nullptr ? JVMTI_DISABLE : JVMTI_ENABLE; in SetExtensionEventCallback() 401 jvmtiError err = art_env->event_callbacks->Set(extension_event_index, callback); in SetExtensionEventCallback()
|
/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/test/905-object-free/ |
D | tracking_free.cc | 51 static void setupObjectFreeCallback(JNIEnv* env, jvmtiEnv* jenv, jvmtiEventObjectFree callback) { in setupObjectFreeCallback() argument 54 callbacks.ObjectFree = callback; in setupObjectFreeCallback()
|
/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/runtime/ti/ |
D | agent.cc | 82 AgentOnLoadFunction callback = attaching ? agent->onattach_ : agent->onload_; in DoLoadHelper() local 83 if (callback == nullptr) { in DoLoadHelper() 95 *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()
|
/art/runtime/ |
D | thread_list.h | 110 size_t RunCheckpoint(Closure* checkpoint_function, Closure* callback = nullptr) 151 void ForEach(void (*callback)(Thread*, void*), void* context)
|