Lines Matching refs:clazz
23 jclass clazz = env->FindClass(class_name); in FindClassOrDie() local
24 LOG_ALWAYS_FATAL_IF(clazz == NULL, "Unable to find class %s", class_name); in FindClassOrDie()
25 return clazz; in FindClassOrDie()
28 static inline jmethodID GetMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetMethodIDOrDie() argument
30 jmethodID res = env->GetMethodID(clazz, method_name, method_signature); in GetMethodIDOrDie()
35 static inline jmethodID GetStaticMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetStaticMethodIDOrDie() argument
37 jmethodID res = env->GetStaticMethodID(clazz, method_name, method_signature); in GetStaticMethodIDOrDie()
42 static inline jfieldID GetFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetFieldIDOrDie() argument
44 jfieldID res = env->GetFieldID(clazz, field_name, field_signature); in GetFieldIDOrDie()
49 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetStaticFieldIDOrDie() argument
51 jfieldID res = env->GetStaticFieldID(clazz, field_name, field_signature); in GetStaticFieldIDOrDie()
56 static inline jint GetStaticIntFieldValueOrDie(JNIEnv* env, jclass clazz, const char* fieldName) { in GetStaticIntFieldValueOrDie() argument
57 jfieldID res = env->GetStaticFieldID(clazz, fieldName, "I"); in GetStaticIntFieldValueOrDie()
59 return env->GetStaticIntField(clazz, res); in GetStaticIntFieldValueOrDie()