Searched refs:library_ (Results 1 – 7 of 7) sorted by relevance
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()[all …]
78 : library_(nullptr) { in TestLibrary()87 library_ = LoadNativeLibraryWithOptions( in TestLibrary()89 CHECK(library_); in TestLibrary()93 UnloadNativeLibrary(library_); in ~TestLibrary()99 GetFunctionPointerFromNativeLibrary(library_, function_name))(args...); in Call()103 NativeLibrary library_; member in base::TestLibrary
33 bool is_valid() const { return !!library_; } in is_valid()35 NativeLibrary get() const { return library_; } in get()48 NativeLibrary library_;
96 library_.emplace(*library_path); in CoreLibraryInitializer()98 CHECK(library_->is_valid()) in CoreLibraryInitializer()103 CHECK(library_->is_valid()) in CoreLibraryInitializer()112 library_->GetFunctionPointer(kGetThunksFunctionName)); in CoreLibraryInitializer()136 base::Optional<base::ScopedNativeLibrary> library_; member in mojo::CoreLibraryInitializer
275 FunctionLibraryDefinition* library_; variable
295 library_(library), in FunctionalizeCond()1577 cond.BuildAndReplace(graph_, library_, &merge_to_replacement_)); in FunctionalizeInternal()1598 *graph_, library_); in DumpGraphWithCondState()
413 library_(library) {} in NodeDefCopyingGraphConstructor()420 const FunctionDefLibrary* library() const override { return library_; } in library()424 const FunctionDefLibrary* const library_; member in tensorflow::__anond78e089a0111::NodeDefCopyingGraphConstructor