Lines Matching refs:library_
9 ScopedNativeLibrary::ScopedNativeLibrary() : library_(nullptr) {} in ScopedNativeLibrary()
12 : library_(library) { in ScopedNativeLibrary()
16 library_ = base::LoadNativeLibrary(library_path, nullptr); in ScopedNativeLibrary()
20 if (library_) in ~ScopedNativeLibrary()
21 base::UnloadNativeLibrary(library_); in ~ScopedNativeLibrary()
26 if (!library_) in GetFunctionPointer()
28 return base::GetFunctionPointerFromNativeLibrary(library_, function_name); in GetFunctionPointer()
32 if (library_) in Reset()
33 base::UnloadNativeLibrary(library_); in Reset()
34 library_ = library; in Reset()
38 NativeLibrary result = library_; in Release()
39 library_ = nullptr; in Release()