Home
last modified time | relevance | path

Searched refs:DynamicLibrary (Results 1 – 25 of 117) sorted by relevance

12345

/external/llvm-project/llvm/unittests/Support/DynamicLibrary/
DDynamicLibraryTest.cpp60 TEST(DynamicLibrary, Overload) { in TEST() argument
64 DynamicLibrary DL = in TEST()
65 DynamicLibrary::getPermanentLibrary(LibPath().c_str(), &Err); in TEST()
73 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
77 DL = DynamicLibrary::getPermanentLibrary(nullptr, &Err); in TEST()
82 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
91 DynamicLibrary::SearchOrder = DynamicLibrary::SO_LoadedFirst; in TEST()
92 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
96 DynamicLibrary::AddSymbol("TestA", PtrFunc(&OverloadTestA)); in TEST()
100 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
[all …]
/external/llvm-project/llvm/lib/Support/
DDynamicLibrary.cpp29 class DynamicLibrary::HandleSet {
76 void *LibLookup(const char *Symbol, DynamicLibrary::SearchOrdering Order) { in LibLookup()
91 void *Lookup(const char *Symbol, DynamicLibrary::SearchOrdering Order) { in Lookup()
118 static llvm::ManagedStatic<DynamicLibrary::HandleSet> OpenedHandles;
133 char DynamicLibrary::Invalid;
134 DynamicLibrary::SearchOrdering DynamicLibrary::SearchOrder =
135 DynamicLibrary::SO_Linker;
143 void DynamicLibrary::AddSymbol(StringRef SymbolName, void *SymbolValue) { in AddSymbol()
148 DynamicLibrary DynamicLibrary::getPermanentLibrary(const char *FileName, in getPermanentLibrary()
160 return DynamicLibrary(Handle); in getPermanentLibrary()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DDynamicLibrary.cpp29 class DynamicLibrary::HandleSet {
76 void *LibLookup(const char *Symbol, DynamicLibrary::SearchOrdering Order) { in LibLookup()
91 void *Lookup(const char *Symbol, DynamicLibrary::SearchOrdering Order) { in Lookup()
118 static llvm::ManagedStatic<DynamicLibrary::HandleSet> OpenedHandles;
133 char DynamicLibrary::Invalid;
134 DynamicLibrary::SearchOrdering DynamicLibrary::SearchOrder =
135 DynamicLibrary::SO_Linker;
143 void DynamicLibrary::AddSymbol(StringRef SymbolName, void *SymbolValue) { in AddSymbol()
148 DynamicLibrary DynamicLibrary::getPermanentLibrary(const char *FileName, in getPermanentLibrary()
160 return DynamicLibrary(Handle); in getPermanentLibrary()
[all …]
/external/llvm/lib/Support/
DDynamicLibrary.cpp30 void llvm::sys::DynamicLibrary::AddSymbol(StringRef symbolName, in AddSymbol()
36 char llvm::sys::DynamicLibrary::Invalid = 0;
56 DynamicLibrary DynamicLibrary::getPermanentLibrary(const char *filename, in getPermanentLibrary()
63 return DynamicLibrary(); in getPermanentLibrary()
81 return DynamicLibrary(handle); in getPermanentLibrary()
84 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) { in getAddressOfSymbol()
95 DynamicLibrary DynamicLibrary::getPermanentLibrary(const char *filename, in getPermanentLibrary()
98 return DynamicLibrary(); in getPermanentLibrary()
101 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) { in getAddressOfSymbol()
111 void* DynamicLibrary::SearchForAddressOfSymbol(const char *symbolName) { in SearchForAddressOfSymbol()
[all …]
/external/deqp/framework/delibs/decpp/
DdeDynamicLibrary.hpp35 class DynamicLibrary class
38 DynamicLibrary (const char* fileName);
39 ~DynamicLibrary (void);
44 DynamicLibrary (const DynamicLibrary& other); // Not allowed!
45 DynamicLibrary& operator= (const DynamicLibrary& other); // Not allowed!
DdeDynamicLibrary.cpp32 DynamicLibrary::DynamicLibrary (const char* fileName) in DynamicLibrary() function in de::DynamicLibrary
40 DynamicLibrary::~DynamicLibrary (void) in ~DynamicLibrary()
/external/parameter-framework/upstream/utility/posix/
DDynamicLibrary.cpp37 const std::string DynamicLibrary::_osLibraryPrefix = "lib";
38 const std::string DynamicLibrary::_osLibrarySuffix = ".so";
40 DynamicLibrary::DynamicLibrary(const std::string &path) : _path(osSanitizePathName(path)) in DynamicLibrary() function in DynamicLibrary
51 DynamicLibrary::~DynamicLibrary(void) in ~DynamicLibrary()
56 void *DynamicLibrary::osGetSymbol(const std::string &symbol) const in osGetSymbol()
/external/parameter-framework/upstream/utility/windows/
DDynamicLibrary.cpp37 const std::string DynamicLibrary::_osLibraryPrefix = "";
38 const std::string DynamicLibrary::_osLibrarySuffix = ".dll";
40 DynamicLibrary::DynamicLibrary(const std::string &path) : _path(osSanitizePathName(path)) in DynamicLibrary() function in DynamicLibrary
54 DynamicLibrary::~DynamicLibrary() in ~DynamicLibrary()
61 void *DynamicLibrary::osGetSymbol(const std::string &symbol) const in osGetSymbol()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DDynamicLibrary.inc1 //===- Unix/DynamicLibrary.cpp - Unix DL Implementation ---------*- C++ -*-===//
9 // This file provides the UNIX specific implementation of DynamicLibrary.
16 DynamicLibrary::HandleSet::~HandleSet() {
24 DynamicLibrary::SearchOrder = DynamicLibrary::SO_Linker;
27 void *DynamicLibrary::HandleSet::DLOpen(const char *File, std::string *Err) {
31 return &DynamicLibrary::Invalid;
44 void DynamicLibrary::HandleSet::DLClose(void *Handle) {
48 void *DynamicLibrary::HandleSet::DLSym(void *Handle, const char *Symbol) {
54 DynamicLibrary::HandleSet::~HandleSet() {}
56 void *DynamicLibrary::HandleSet::DLOpen(const char *File, std::string *Err) {
[all …]
/external/llvm-project/llvm/lib/Support/Unix/
DDynamicLibrary.inc1 //===- Unix/DynamicLibrary.cpp - Unix DL Implementation ---------*- C++ -*-===//
9 // This file provides the UNIX specific implementation of DynamicLibrary.
16 DynamicLibrary::HandleSet::~HandleSet() {
24 DynamicLibrary::SearchOrder = DynamicLibrary::SO_Linker;
27 void *DynamicLibrary::HandleSet::DLOpen(const char *File, std::string *Err) {
31 return &DynamicLibrary::Invalid;
44 void DynamicLibrary::HandleSet::DLClose(void *Handle) {
48 void *DynamicLibrary::HandleSet::DLSym(void *Handle, const char *Symbol) {
54 DynamicLibrary::HandleSet::~HandleSet() {}
56 void *DynamicLibrary::HandleSet::DLOpen(const char *File, std::string *Err) {
[all …]
/external/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileWrapper.cpp71 if(!DynamicLibrary::LoadLibraryPermanently("libopagent.so", &error)) { in initialize()
80 DynamicLibrary::SearchForAddressOfSymbol("op_open_agent"); in initialize()
82 DynamicLibrary::SearchForAddressOfSymbol("op_close_agent"); in initialize()
84 DynamicLibrary::SearchForAddressOfSymbol("op_write_native_code"); in initialize()
86 DynamicLibrary::SearchForAddressOfSymbol("op_write_debug_line_info"); in initialize()
88 DynamicLibrary::SearchForAddressOfSymbol("op_unload_native_code"); in initialize()
90 DynamicLibrary::SearchForAddressOfSymbol("op_major_version"); in initialize()
92 DynamicLibrary::SearchForAddressOfSymbol("op_minor_version"); in initialize()
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileWrapper.cpp72 if(!DynamicLibrary::LoadLibraryPermanently("libopagent.so", &error)) { in initialize()
80 DynamicLibrary::SearchForAddressOfSymbol("op_open_agent"); in initialize()
82 DynamicLibrary::SearchForAddressOfSymbol("op_close_agent"); in initialize()
84 DynamicLibrary::SearchForAddressOfSymbol("op_write_native_code"); in initialize()
86 DynamicLibrary::SearchForAddressOfSymbol("op_write_debug_line_info"); in initialize()
88 DynamicLibrary::SearchForAddressOfSymbol("op_unload_native_code"); in initialize()
90 DynamicLibrary::SearchForAddressOfSymbol("op_major_version"); in initialize()
92 DynamicLibrary::SearchForAddressOfSymbol("op_minor_version"); in initialize()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileWrapper.cpp71 if(!DynamicLibrary::LoadLibraryPermanently("libopagent.so", &error)) { in initialize()
80 DynamicLibrary::SearchForAddressOfSymbol("op_open_agent"); in initialize()
82 DynamicLibrary::SearchForAddressOfSymbol("op_close_agent"); in initialize()
84 DynamicLibrary::SearchForAddressOfSymbol("op_write_native_code"); in initialize()
86 DynamicLibrary::SearchForAddressOfSymbol("op_write_debug_line_info"); in initialize()
88 DynamicLibrary::SearchForAddressOfSymbol("op_unload_native_code"); in initialize()
90 DynamicLibrary::SearchForAddressOfSymbol("op_major_version"); in initialize()
92 DynamicLibrary::SearchForAddressOfSymbol("op_minor_version"); in initialize()
/external/llvm/lib/Support/Windows/
DDynamicLibrary.inc1 //===- Win32/DynamicLibrary.cpp - Win32 DL Implementation -------*- C++ -*-===//
10 // This file provides the Win32 specific implementation of DynamicLibrary.
54 DynamicLibrary DynamicLibrary::getPermanentLibrary(const char *filename,
66 return DynamicLibrary();
73 return DynamicLibrary(&OpenedHandles);
80 return DynamicLibrary();
87 return DynamicLibrary();
98 return DynamicLibrary(a_handle);
126 void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) {
174 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DDynamicLibrary.h36 class DynamicLibrary {
46 explicit DynamicLibrary(void *data = &Invalid) : Data(data) {} in Data()
67 static DynamicLibrary getPermanentLibrary(const char *filename,
77 static DynamicLibrary addPermanentLibrary(void *handle,
/external/llvm-project/llvm/include/llvm/Support/
DDynamicLibrary.h36 class DynamicLibrary {
46 explicit DynamicLibrary(void *data = &Invalid) : Data(data) {} in Data()
67 static DynamicLibrary getPermanentLibrary(const char *filename,
77 static DynamicLibrary addPermanentLibrary(void *handle,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DDynamicLibrary.inc1 //===- Win32/DynamicLibrary.cpp - Win32 DL Implementation -------*- C++ -*-===//
9 // This file provides the Win32 specific implementation of DynamicLibrary.
25 DynamicLibrary::HandleSet::~HandleSet() {
32 DynamicLibrary::SearchOrder = DynamicLibrary::SO_Linker;
35 void *DynamicLibrary::HandleSet::DLOpen(const char *File, std::string *Err) {
45 return &DynamicLibrary::Invalid;
51 return &DynamicLibrary::Invalid;
57 static DynamicLibrary::HandleSet *IsOpenedHandlesInstance(void *Handle) {
60 DynamicLibrary::HandleSet &Inst = *OpenedHandles;
64 void DynamicLibrary::HandleSet::DLClose(void *Handle) {
[all …]
/external/llvm-project/llvm/lib/Support/Windows/
DDynamicLibrary.inc1 //===- Win32/DynamicLibrary.cpp - Win32 DL Implementation -------*- C++ -*-===//
9 // This file provides the Win32 specific implementation of DynamicLibrary.
25 DynamicLibrary::HandleSet::~HandleSet() {
32 DynamicLibrary::SearchOrder = DynamicLibrary::SO_Linker;
35 void *DynamicLibrary::HandleSet::DLOpen(const char *File, std::string *Err) {
45 return &DynamicLibrary::Invalid;
51 return &DynamicLibrary::Invalid;
57 static DynamicLibrary::HandleSet *IsOpenedHandlesInstance(void *Handle) {
60 DynamicLibrary::HandleSet &Inst = *OpenedHandles;
64 void DynamicLibrary::HandleSet::DLClose(void *Handle) {
[all …]
/external/parameter-framework/upstream/utility/
DDynamicLibrary.hpp36 class DynamicLibrary : private utility::NonCopyable class
45 DynamicLibrary(const std::string &path);
46 ~DynamicLibrary();
/external/llvm/include/llvm/Support/
DDynamicLibrary.h37 class DynamicLibrary {
47 explicit DynamicLibrary(void *data = &Invalid) : Data(data) {} in Data()
68 static DynamicLibrary getPermanentLibrary(const char *filename,
/external/deqp/external/vulkancts/framework/vulkan/
DvkRenderDocUtil.cpp50 de::MovePtr<de::DynamicLibrary> m_library;
62 …m_priv->m_library = de::MovePtr<de::DynamicLibrary>(new de::DynamicLibrary(RENDERDOC_LIBRARY_NAME… in RenderDocUtil()
/external/deqp/framework/egl/wrapper/
DeglwLibrary.cpp68 CoreLoader (const de::DynamicLibrary* dynLib) in CoreLoader()
102 const de::DynamicLibrary* m_dynLib;
129 m_dynLib = new de::DynamicLibrary(dynamicLibraryName); in DefaultLibrary()
DeglwLibrary.hpp31 class DynamicLibrary;
66 de::DynamicLibrary* m_dynLib;
/external/clang/lib/StaticAnalyzer/Frontend/
DCheckerRegistration.cpp31 using llvm::sys::DynamicLibrary;
56 DynamicLibrary lib = DynamicLibrary::getPermanentLibrary(i->c_str(), &err); in ClangCheckerRegistry()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DTargetProcessControl.cpp59 auto Dylib = std::make_unique<sys::DynamicLibrary>( in loadDylib()
60 sys::DynamicLibrary::getPermanentLibrary(DylibPath, &ErrMsg)); in loadDylib()
73 auto *Dylib = jitTargetAddressToPointer<sys::DynamicLibrary *>(Elem.Handle); in lookupSymbols()
75 [=](const std::unique_ptr<sys::DynamicLibrary> &DL) { in lookupSymbols()

12345