Lines Matching refs:name
85 jclass FindClass(JNIEnv* env, const char* name) { in FindClass() argument
86 ScopedLocalRef<jclass> klass(env, env->FindClass(name)); in FindClass()
87 ALOG_ALWAYS_FATAL_IF(klass.get() == nullptr, "failed to find class '%s'", name); in FindClass()
91 jfieldID FindField(JNIEnv* env, jclass klass, const char* name, const char* desc) { in FindField() argument
92 jfieldID result = env->GetFieldID(klass, name, desc); in FindField()
93 ALOG_ALWAYS_FATAL_IF(result == nullptr, "failed to find field '%s:%s'", name, desc); in FindField()
97 jmethodID FindMethod(JNIEnv* env, jclass klass, const char* name, const char* signature) { in FindMethod() argument
98 jmethodID result = env->GetMethodID(klass, name, signature); in FindMethod()
99 ALOG_ALWAYS_FATAL_IF(result == nullptr, "failed to find method '%s%s'", name, signature); in FindMethod()
103 jmethodID FindStaticMethod(JNIEnv* env, jclass klass, const char* name, const char* signature) { in FindStaticMethod() argument
104 jmethodID result = env->GetStaticMethodID(klass, name, signature); in FindStaticMethod()
105 ALOG_ALWAYS_FATAL_IF(result == nullptr, "failed to find static method '%s%s'", name, signature); in FindStaticMethod()