Home
last modified time | relevance | path

Searched refs:fnPtr (Results 1 – 3 of 3) sorted by relevance

/art/test/115-native-bridge/
Dnativebridge.cc34 void* fnPtr; member
44 FnPtr_t fnPtr = reinterpret_cast<FnPtr_t>(find_native_bridge_method("JNI_OnLoad")->fnPtr); in trampoline_JNI_OnLoad() local
86 return fnPtr(vm, reserved); in trampoline_JNI_OnLoad()
92 FnPtr_t fnPtr = reinterpret_cast<FnPtr_t> in trampoline_Java_Main_testFindClassOnAttachedNativeThread() local
93 (find_native_bridge_method("testFindClassOnAttachedNativeThread")->fnPtr); in trampoline_Java_Main_testFindClassOnAttachedNativeThread()
95 return fnPtr(env, klass); in trampoline_Java_Main_testFindClassOnAttachedNativeThread()
101 FnPtr_t fnPtr = reinterpret_cast<FnPtr_t> in trampoline_Java_Main_testFindFieldOnAttachedNativeThreadNative() local
102 (find_native_bridge_method("testFindFieldOnAttachedNativeThreadNative")->fnPtr); in trampoline_Java_Main_testFindFieldOnAttachedNativeThreadNative()
104 return fnPtr(env, klass); in trampoline_Java_Main_testFindFieldOnAttachedNativeThreadNative()
110 FnPtr_t fnPtr = reinterpret_cast<FnPtr_t> in trampoline_Java_Main_testCallStaticVoidMethodOnSubClassNative() local
[all …]
/art/runtime/
Dnative_bridge_art_interface.cc74 methods[count].fnPtr = m->GetEntryPointFromJni(); in GetNativeMethods()
87 methods[count].fnPtr = m->GetEntryPointFromJni(); in GetNativeMethods()
Djni_internal.cc2386 const void* fnPtr = methods[i].fnPtr; in RegisterNativeMethods() local
2393 } else if (UNLIKELY(fnPtr == nullptr)) { in RegisterNativeMethods()
2424 m->RegisterNative(soa.Self(), fnPtr, is_fast); in RegisterNativeMethods()