Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/DynamicLibrary/
DDynamicLibraryTest.cpp61 TEST(DynamicLibrary, Overload) { in TEST() argument
65 DynamicLibrary DL = in TEST()
66 DynamicLibrary::getPermanentLibrary(LibPath().c_str(), &Err); in TEST()
74 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
78 DL = DynamicLibrary::getPermanentLibrary(nullptr, &Err); in TEST()
83 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
92 DynamicLibrary::SearchOrder = DynamicLibrary::SO_LoadedFirst; in TEST()
93 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
97 DynamicLibrary::AddSymbol("TestA", PtrFunc(&OverloadTestA)); in TEST()
101 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DDynamicLibrary.cpp30 class DynamicLibrary::HandleSet {
77 void *LibLookup(const char *Symbol, DynamicLibrary::SearchOrdering Order) { in LibLookup()
92 void *Lookup(const char *Symbol, DynamicLibrary::SearchOrdering Order) { in Lookup()
119 static llvm::ManagedStatic<DynamicLibrary::HandleSet> OpenedHandles;
134 char DynamicLibrary::Invalid;
135 DynamicLibrary::SearchOrdering DynamicLibrary::SearchOrder =
136 DynamicLibrary::SO_Linker;
144 void DynamicLibrary::AddSymbol(StringRef SymbolName, void *SymbolValue) { in AddSymbol()
149 DynamicLibrary DynamicLibrary::getPermanentLibrary(const char *FileName, in getPermanentLibrary()
161 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/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/
DIntercept.cpp64 sys::DynamicLibrary::AddSymbol("stat", (void*)(intptr_t)stat); in StatSymbols()
65 sys::DynamicLibrary::AddSymbol("fstat", (void*)(intptr_t)fstat); in StatSymbols()
66 sys::DynamicLibrary::AddSymbol("lstat", (void*)(intptr_t)lstat); in StatSymbols()
67 sys::DynamicLibrary::AddSymbol("stat64", (void*)(intptr_t)stat64); in StatSymbols()
68 sys::DynamicLibrary::AddSymbol("\x1stat64", (void*)(intptr_t)stat64); in StatSymbols()
69 sys::DynamicLibrary::AddSymbol("\x1open64", (void*)(intptr_t)open64); in StatSymbols()
70 sys::DynamicLibrary::AddSymbol("\x1lseek64", (void*)(intptr_t)lseek64); in StatSymbols()
71 sys::DynamicLibrary::AddSymbol("fstat64", (void*)(intptr_t)fstat64); in StatSymbols()
72 sys::DynamicLibrary::AddSymbol("lstat64", (void*)(intptr_t)lstat64); in StatSymbols()
73 sys::DynamicLibrary::AddSymbol("atexit", (void*)(intptr_t)atexit); in StatSymbols()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DDynamicLibrary.cpp45 void llvm::sys::DynamicLibrary::AddSymbol(StringRef symbolName, in AddSymbol()
53 char llvm::sys::DynamicLibrary::Invalid = 0;
73 DynamicLibrary DynamicLibrary::getPermanentLibrary(const char *filename, in getPermanentLibrary()
80 return DynamicLibrary(); in getPermanentLibrary()
98 return DynamicLibrary(handle); in getPermanentLibrary()
101 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) { in getAddressOfSymbol()
112 DynamicLibrary DynamicLibrary::getPermanentLibrary(const char *filename, in getPermanentLibrary()
115 return DynamicLibrary(); in getPermanentLibrary()
118 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) { in getAddressOfSymbol()
128 void* DynamicLibrary::SearchForAddressOfSymbol(const char *symbolName) { in SearchForAddressOfSymbol()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DIntercept.cpp64 sys::DynamicLibrary::AddSymbol("stat", (void*)(intptr_t)stat); in StatSymbols()
65 sys::DynamicLibrary::AddSymbol("fstat", (void*)(intptr_t)fstat); in StatSymbols()
66 sys::DynamicLibrary::AddSymbol("lstat", (void*)(intptr_t)lstat); in StatSymbols()
67 sys::DynamicLibrary::AddSymbol("stat64", (void*)(intptr_t)stat64); in StatSymbols()
68 sys::DynamicLibrary::AddSymbol("fstat64", (void*)(intptr_t)fstat64); in StatSymbols()
69 sys::DynamicLibrary::AddSymbol("lstat64", (void*)(intptr_t)lstat64); in StatSymbols()
70 sys::DynamicLibrary::AddSymbol("atexit", (void*)(intptr_t)atexit); in StatSymbols()
71 sys::DynamicLibrary::AddSymbol("mknod", (void*)(intptr_t)mknod); in StatSymbols()
122 void *Ptr = sys::DynamicLibrary::SearchForAddressOfSymbol(NameStr); in getPointerToNamedFunction()
128 Ptr = sys::DynamicLibrary::SearchForAddressOfSymbol(NameStr+1); in getPointerToNamedFunction()
/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-7.0/llvm/lib/Support/Unix/
DDynamicLibrary.inc1 //===- Unix/DynamicLibrary.cpp - Unix DL Implementation ---------*- C++ -*-===//
10 // This file provides the UNIX specific implementation of DynamicLibrary.
17 DynamicLibrary::HandleSet::~HandleSet() {
25 DynamicLibrary::SearchOrder = DynamicLibrary::SO_Linker;
28 void *DynamicLibrary::HandleSet::DLOpen(const char *File, std::string *Err) {
32 return &DynamicLibrary::Invalid;
45 void DynamicLibrary::HandleSet::DLClose(void *Handle) {
49 void *DynamicLibrary::HandleSet::DLSym(void *Handle, const char *Symbol) {
55 DynamicLibrary::HandleSet::~HandleSet() {}
57 void *DynamicLibrary::HandleSet::DLOpen(const char *File, std::string *Err) {
[all …]
/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-7.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileWrapper.cpp72 if(!DynamicLibrary::LoadLibraryPermanently("libopagent.so", &error)) { in initialize()
81 DynamicLibrary::SearchForAddressOfSymbol("op_open_agent"); in initialize()
83 DynamicLibrary::SearchForAddressOfSymbol("op_close_agent"); in initialize()
85 DynamicLibrary::SearchForAddressOfSymbol("op_write_native_code"); in initialize()
87 DynamicLibrary::SearchForAddressOfSymbol("op_write_debug_line_info"); in initialize()
89 DynamicLibrary::SearchForAddressOfSymbol("op_unload_native_code"); in initialize()
91 DynamicLibrary::SearchForAddressOfSymbol("op_major_version"); in initialize()
93 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/lib/Support/Windows/
DDynamicLibrary.inc1 //===- Win32/DynamicLibrary.cpp - Win32 DL Implementation -------*- C++ -*-===//
10 // This file provides the Win32 specific implementation of DynamicLibrary.
72 DynamicLibrary DynamicLibrary::getPermanentLibrary(const char *filename,
84 return DynamicLibrary(&OpenedHandles);
91 return DynamicLibrary();
102 return DynamicLibrary(a_handle);
116 void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) {
154 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DDynamicLibrary.inc1 //===- Win32/DynamicLibrary.cpp - Win32 DL Implementation -------*- C++ -*-===//
10 // This file provides the Win32 specific implementation of DynamicLibrary.
26 DynamicLibrary::HandleSet::~HandleSet() {
33 DynamicLibrary::SearchOrder = DynamicLibrary::SO_Linker;
36 void *DynamicLibrary::HandleSet::DLOpen(const char *File, std::string *Err) {
46 return &DynamicLibrary::Invalid;
52 return &DynamicLibrary::Invalid;
58 static DynamicLibrary::HandleSet *IsOpenedHandlesInstance(void *Handle) {
61 DynamicLibrary::HandleSet &Inst = *OpenedHandles;
65 void DynamicLibrary::HandleSet::DLClose(void *Handle) {
[all …]
/external/swiftshader/third_party/llvm-7.0/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,
78 static DynamicLibrary addPermanentLibrary(void *handle,
/external/parameter-framework/upstream/utility/
DDynamicLibrary.hpp36 class DynamicLibrary : private utility::NonCopyable class
45 DynamicLibrary(const std::string &path);
46 ~DynamicLibrary();
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DDynamicLibrary.h34 class DynamicLibrary {
43 explicit DynamicLibrary(void *data = &Invalid) : Data(data) {} in Data()
64 static DynamicLibrary getPermanentLibrary(const char *filename,
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Passes/
DPassPlugin.h88 PassPlugin(const std::string &Filename, const sys::DynamicLibrary &Library) in PassPlugin()
92 sys::DynamicLibrary Library;

12345