/art/compiler/optimizing/ |
D | stack_map_stream.h | 104 void ForEachBitTable(Callback callback) { in ForEachBitTable() argument 106 callback(index++, &stack_maps_); in ForEachBitTable() 107 callback(index++, ®ister_masks_); in ForEachBitTable() 108 callback(index++, &stack_masks_); in ForEachBitTable() 109 callback(index++, &inline_infos_); in ForEachBitTable() 110 callback(index++, &method_infos_); in ForEachBitTable() 111 callback(index++, &dex_register_masks_); in ForEachBitTable() 112 callback(index++, &dex_register_maps_); in ForEachBitTable() 113 callback(index++, &dex_register_catalog_); in ForEachBitTable()
|
/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 | 443 ALWAYS_INLINE CodeInfo(const uint8_t* data, size_t* num_read_bits, DecodeCallback callback); 447 ALWAYS_INLINE static void ForEachHeaderField(Callback callback) { in ForEachHeaderField() argument 449 callback(index++, &CodeInfo::flags_); in ForEachHeaderField() 450 callback(index++, &CodeInfo::packed_frame_size_); in ForEachHeaderField() 451 callback(index++, &CodeInfo::core_spill_mask_); in ForEachHeaderField() 452 callback(index++, &CodeInfo::fp_spill_mask_); in ForEachHeaderField() 453 callback(index++, &CodeInfo::number_of_dex_registers_); in ForEachHeaderField() 454 callback(index++, &CodeInfo::bit_table_flags_); in ForEachHeaderField() 460 ALWAYS_INLINE static void ForEachBitTableField(Callback callback) { in ForEachBitTableField() argument 462 callback(index++, &CodeInfo::stack_maps_); in ForEachBitTableField() [all …]
|
D | stack_map.cc | 32 CodeInfo::CodeInfo(const uint8_t* data, size_t* num_read_bits, DecodeCallback callback) { in CodeInfo() argument 38 ForEachBitTableField([this, &reader, &callback](size_t i, auto member_pointer) { in CodeInfo() 45 callback(i, &table, reader2.GetReadRegion()); in CodeInfo() 49 callback(i, &table, reader.GetReadRegion().Subregion(bit_offset)); in CodeInfo()
|
/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/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/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 | 230 void LargeObjectMapSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk() argument 234 callback(mem_map->Begin(), mem_map->End(), mem_map->Size(), arg); in Walk() 235 callback(nullptr, nullptr, 0, arg); in Walk() 395 void FreeListSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk() argument 405 callback(byte_start, byte_end, alloc_size, arg); in Walk() 406 callback(nullptr, nullptr, 0, arg); in Walk()
|
/art/test/1002-notify-startup/ |
D | info.txt | 1 Test that the startup completed callback works.
|
/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/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 | space_bitmap.cc | 158 SpaceBitmap::SweepCallback* callback, void* arg) { in SweepWalk() argument 163 CHECK(callback != nullptr); in SweepWalk() 206 (*callback)(cur_pointer - &pointer_buf[0], &pointer_buf[0], arg); in SweepWalk() 212 (*callback)(cur_pointer - &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/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/openjdkjvmti/ |
D | ti_extension.h | 54 jvmtiExtensionEvent callback,
|
D | alloc_manager.cc | 132 void AllocationManager::SetAllocListener(AllocationCallback* callback) { in SetAllocListener() argument 134 callback_ = callback; in SetAllocListener()
|
/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/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/test/044-proxy/src/ |
D | NativeProxy.java | 32 public void callback(); in callback() method
|
/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/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()
|