Lines Matching refs:name
31 const char* name; member
38 static NativeBridgeMethod* find_native_bridge_method(const char *name);
65 NativeBridgeMethod* nb_method = find_native_bridge_method(methods[i].name); in trampoline_JNI_OnLoad()
69 mid = env->GetStaticMethodID(klass, methods[i].name, nb_method->signature); in trampoline_JNI_OnLoad()
71 mid = env->GetMethodID(klass, methods[i].name, nb_method->signature); in trampoline_JNI_OnLoad()
77 methods[i].name, nb_method->signature, shorty); in trampoline_JNI_OnLoad()
196 static NativeBridgeMethod* find_native_bridge_method(const char *name) { in find_native_bridge_method() argument
197 const char* pname = name; in find_native_bridge_method()
198 if (strncmp(name, "Java_Main_", 10) == 0) { in find_native_bridge_method()
203 if (strcmp(pname, gNativeBridgeMethods[i].name) == 0) { in find_native_bridge_method()
250 extern "C" void* native_bridge_getTrampoline(void* handle, const char* name, const char* shorty, in native_bridge_getTrampoline() argument
252 printf("Getting trampoline for %s with shorty %s.\n", name, shorty); in native_bridge_getTrampoline()
255 void* sym = dlsym(handle, name); in native_bridge_getTrampoline()
256 NativeBridgeMethod* method = find_native_bridge_method(name); in native_bridge_getTrampoline()