Lines Matching refs:library
484 for (const auto& library : libraries_) { in Dump() local
489 os << library.first; in Dump()
502 void Put(const std::string& path, SharedLibrary* library) { in Put() argument
503 libraries_.Put(path, library); in Put()
513 SharedLibrary* library = lib.second; in FindNativeMethod() local
514 if (library->GetClassLoader() != declaring_class_loader) { in FindNativeMethod()
520 if (UNLIKELY(library->NeedsNativeBridge())) { in FindNativeMethod()
521 fn = library->FindSymbolWithNativeBridge(jni_short_name, m); in FindNativeMethod()
523 fn = library->FindSymbolWithNativeBridge(jni_long_name, m); in FindNativeMethod()
526 fn = library->FindSymbol(jni_short_name); in FindNativeMethod()
528 fn = library->FindSymbol(jni_long_name); in FindNativeMethod()
533 << " in \"" << library->GetPath() << "\"]"; in FindNativeMethod()
3234 SharedLibrary* library; in LoadNativeLibrary() local
3239 library = libraries->Get(path); in LoadNativeLibrary()
3241 if (library != nullptr) { in LoadNativeLibrary()
3242 if (library->GetClassLoader() != class_loader.Get()) { in LoadNativeLibrary()
3248 path.c_str(), library->GetClassLoader(), class_loader.Get()); in LoadNativeLibrary()
3254 if (!library->CheckOnLoadResult()) { in LoadNativeLibrary()
3300 library = libraries->Get(path); in LoadNativeLibrary()
3301 if (library == nullptr) { // We won race to get libraries_lock in LoadNativeLibrary()
3302 library = new SharedLibrary(path, handle, class_loader.Get()); in LoadNativeLibrary()
3303 libraries->Put(path, library); in LoadNativeLibrary()
3310 return library->CheckOnLoadResult(); in LoadNativeLibrary()
3319 library->SetNeedsNativeBridge(); in LoadNativeLibrary()
3320 sym = library->FindSymbolWithNativeBridge("JNI_OnLoad", nullptr); in LoadNativeLibrary()
3369 library->SetResult(was_successful); in LoadNativeLibrary()