Lines Matching refs:sig
107 const char* name, const char* sig, const char* kind) in ThrowNoSuchMethodError() argument
113 kind, c->GetDescriptor(&temp), name, sig); in ThrowNoSuchMethodError()
141 const char* name, const char* sig, bool is_static) in FindMethodID() argument
149 method = c->FindDirectMethod(name, sig); in FindMethodID()
151 method = c->FindInterfaceMethod(name, sig); in FindMethodID()
153 method = c->FindVirtualMethod(name, sig); in FindMethodID()
157 method = c->FindDeclaredDirectMethod(name, sig); in FindMethodID()
161 ThrowNoSuchMethodError(soa, c, name, sig, is_static ? "static" : "non-static"); in FindMethodID()
196 const char* sig, bool is_static) in FindFieldID() argument
207 if (sig[1] != '\0') { in FindFieldID()
209 field_type = class_linker->FindClass(soa.Self(), sig, class_loader); in FindFieldID()
211 field_type = class_linker->FindPrimitiveClass(*sig); in FindFieldID()
223 "could be found in class \"%s\" or its superclasses", sig, name, in FindFieldID()
239 sig, name, c->GetDescriptor(&temp)); in FindFieldID()
937 static jmethodID GetMethodID(JNIEnv* env, jclass java_class, const char* name, const char* sig) { in GetMethodID() argument
940 CHECK_NON_NULL_ARGUMENT(sig); in GetMethodID()
942 return FindMethodID(soa, java_class, name, sig, false); in GetMethodID()
946 const char* sig) { in GetStaticMethodID() argument
949 CHECK_NON_NULL_ARGUMENT(sig); in GetStaticMethodID()
951 return FindMethodID(soa, java_class, name, sig, true); in GetStaticMethodID()
1487 static jfieldID GetFieldID(JNIEnv* env, jclass java_class, const char* name, const char* sig) { in GetFieldID() argument
1490 CHECK_NON_NULL_ARGUMENT(sig); in GetFieldID()
1492 return FindFieldID(soa, java_class, name, sig, false); in GetFieldID()
1496 const char* sig) { in GetStaticFieldID() argument
1499 CHECK_NON_NULL_ARGUMENT(sig); in GetStaticFieldID()
1501 return FindFieldID(soa, java_class, name, sig, true); in GetStaticFieldID()
2387 const char* sig = methods[i].signature; in RegisterNativeMethods() local
2392 } else if (UNLIKELY(sig == nullptr)) { in RegisterNativeMethods()
2400 if (*sig == '!') { in RegisterNativeMethods()
2402 ++sig; in RegisterNativeMethods()
2405 mirror::ArtMethod* m = c->FindDirectMethod(name, sig); in RegisterNativeMethods()
2407 m = c->FindVirtualMethod(name, sig); in RegisterNativeMethods()
2412 << PrettyDescriptor(c) << "." << name << sig << " in " in RegisterNativeMethods()
2414 ThrowNoSuchMethodError(soa, c, name, sig, "static or non-static"); in RegisterNativeMethods()
2418 << PrettyDescriptor(c) << "." << name << sig in RegisterNativeMethods()
2420 ThrowNoSuchMethodError(soa, c, name, sig, "native"); in RegisterNativeMethods()