Lines Matching refs:lib
69 jboolean DoCreateRelroFile(JNIEnv* env, const char* lib, const char* relro, in DoCreateRelroFile() argument
102 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo); in DoCreateRelroFile()
105 ALOGE("Failed to load library %s: %s", lib, dlerror()); in DoCreateRelroFile()
116 ALOGV("Created relro file %s for library %s", relro, lib); in DoCreateRelroFile()
120 jint DoLoadWithRelroFile(JNIEnv* env, const char* lib, const char* relro, in DoLoadWithRelroFile() argument
141 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo); in DoLoadWithRelroFile()
144 ALOGE("Failed to load library %s: %s", lib, dlerror()); in DoLoadWithRelroFile()
147 ALOGV("Loaded library %s with relro file %s", lib, relro); in DoLoadWithRelroFile()
159 jboolean CreateRelroFile(JNIEnv* env, jclass, jstring lib, jstring relro, in CreateRelroFile() argument
162 const char* lib_utf8 = env->GetStringUTFChars(lib, NULL); in CreateRelroFile()
169 env->ReleaseStringUTFChars(lib, lib_utf8); in CreateRelroFile()
174 jint LoadWithRelroFile(JNIEnv* env, jclass, jstring lib, jstring relro, in LoadWithRelroFile() argument
177 const char* lib_utf8 = env->GetStringUTFChars(lib, NULL); in LoadWithRelroFile()
184 env->ReleaseStringUTFChars(lib, lib_utf8); in LoadWithRelroFile()