Lines Matching refs:lib
67 jboolean DoCreateRelroFile(const char* lib, const char* relro) { in DoCreateRelroFile() argument
90 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo); in DoCreateRelroFile()
93 ALOGE("Failed to load library %s: %s", lib, dlerror()); in DoCreateRelroFile()
104 ALOGV("Created relro file %s for library %s", relro, lib); in DoCreateRelroFile()
108 jint DoLoadWithRelroFile(JNIEnv* env, const char* lib, const char* relro, in DoLoadWithRelroFile() argument
128 void* handle = android_dlopen_ext(lib, RTLD_NOW, &extinfo); in DoLoadWithRelroFile()
131 ALOGE("Failed to load library %s: %s", lib, dlerror()); in DoLoadWithRelroFile()
134 ALOGV("Loaded library %s with relro file %s", lib, relro); in DoLoadWithRelroFile()
149 jstring lib = lib64; in CreateRelroFile() local
153 jstring lib = lib32; in CreateRelroFile()
158 const char* lib_utf8 = env->GetStringUTFChars(lib, NULL); in CreateRelroFile()
165 env->ReleaseStringUTFChars(lib, lib_utf8); in CreateRelroFile()
170 jint LoadWithRelroFile(JNIEnv* env, jclass, jstring lib, jstring relro32, in LoadWithRelroFile() argument
180 const char* lib_utf8 = env->GetStringUTFChars(lib, NULL); in LoadWithRelroFile()
187 env->ReleaseStringUTFChars(lib, lib_utf8); in LoadWithRelroFile()