Lines Matching refs:clazz
81 // On success, return true and set |*clazz|.
82 bool InitClassReference(JNIEnv* env, const char* class_name, jclass* clazz) {
83 *clazz = env->FindClass(class_name);
84 if (!*clazz) {
91 // Initialize a jfieldID corresponding to the field of a given |clazz|,
96 jclass clazz,
100 *field_id = env->GetFieldID(clazz, field_name, field_sig);
111 // |clazz|, with name |method_name| and signature |method_sig|.
115 jclass clazz,
119 *method_id = env->GetStaticMethodID(clazz, method_name, method_sig);
141 jclass clazz;
143 env, "org/chromium/base/library_loader/Linker$LibInfo", &clazz)) {
147 return InitFieldId(env, clazz, "mLoadAddress", "J", &load_address_id) &&
148 InitFieldId(env, clazz, "mLoadSize", "J", &load_size_id) &&
149 InitFieldId(env, clazz, "mRelroStart", "J", &relro_start_id) &&
150 InitFieldId(env, clazz, "mRelroSize", "J", &relro_size_id) &&
151 InitFieldId(env, clazz, "mRelroFd", "I", &relro_fd_id);
332 // |clazz| is the static class handle for org.chromium.base.Linker,
340 jclass clazz,
365 // |clazz| is the static class handle for org.chromium.base.Linker,
374 jclass clazz,
390 jclass clazz;
395 clazz = reinterpret_cast<jclass>(env->NewGlobalRef(linker_class));
409 // |clazz| is the static class handle for org.chromium.base.Linker,
412 void RunCallbackOnUiThread(JNIEnv* env, jclass clazz, jlong arg) {
458 s_java_callback_bindings.clazz, s_java_callback_bindings.method_id, arg);
472 jclass clazz,
515 jclass clazz,
561 jboolean CanUseSharedRelro(JNIEnv* env, jclass clazz) {
565 jlong GetRandomBaseLoadAddress(JNIEnv* env, jclass clazz, jlong bytes) {