Lines Matching refs:signature
80 static jclass FindClass(JNIEnv* env, const char* signature, bool androidOnly) {
81 jclass cls = (*env)->FindClass(env, signature);
83 ALOG_ALWAYS_FATAL_IF(!androidOnly, "Class not found: %s", signature);
90 const char* name, const char* signature, bool isStatic) { in FindMethod() argument
93 method = (*env)->GetStaticMethodID(env, cls, name, signature); in FindMethod()
95 method = (*env)->GetMethodID(env, cls, name, signature); in FindMethod()
97 ALOG_ALWAYS_FATAL_IF(method == NULL, "Method not found: %s:%s", name, signature); in FindMethod()
102 const char* name, const char* signature, bool isStatic) { in FindField() argument
105 field = (*env)->GetStaticFieldID(env, cls, name, signature); in FindField()
107 field = (*env)->GetFieldID(env, cls, name, signature); in FindField()
109 ALOG_ALWAYS_FATAL_IF(field == NULL, "Field not found: %s:%s", name, signature); in FindField()
118 #define JCLASS_INITIALIZE(cls, signature, androidOnly) \ in InitializeConstants() argument
119 CLASS_NAME(cls) = FindClass(g_init_env, signature, androidOnly); in InitializeConstants()
124 #define JMETHODID_INITIALIZE(cls, method, name, signature, isStatic) \ in InitializeConstants() argument
126 FindMethod(g_init_env, CLASS_NAME(cls), name, signature, isStatic); in InitializeConstants()
131 #define JFIELDID_INITIALIZE(cls, field, signature, isStatic) \ in InitializeConstants() argument
133 FindField(g_init_env, CLASS_NAME(cls), #field, signature, isStatic); in InitializeConstants()