Home
last modified time | relevance | path

Searched refs:symbolName (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/lib/Support/
DDynamicLibrary.cpp30 void llvm::sys::DynamicLibrary::AddSymbol(StringRef symbolName, in AddSymbol() argument
33 (*ExplicitSymbols)[symbolName] = symbolValue; in AddSymbol()
84 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) { in getAddressOfSymbol() argument
87 return dlsym(Data, symbolName); in getAddressOfSymbol()
101 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) { in getAddressOfSymbol() argument
108 void *SearchForAddressOfSpecialSymbol(const char* symbolName);
111 void* DynamicLibrary::SearchForAddressOfSymbol(const char *symbolName) { in SearchForAddressOfSymbol() argument
116 StringMap<void *>::iterator i = ExplicitSymbols->find(symbolName); in SearchForAddressOfSymbol()
128 void *ptr = dlsym(*I, symbolName); in SearchForAddressOfSymbol()
136 if (void *Result = llvm::SearchForAddressOfSpecialSymbol(symbolName)) in SearchForAddressOfSymbol()
[all …]
DSearchForAddressOfSpecialSymbol.cpp20 static void *DoSearch(const char* symbolName) { in DoSearch() argument
22 extern void *SYM; if (!strcmp(symbolName, #SYM)) return &SYM in DoSearch()
55 void *SearchForAddressOfSpecialSymbol(const char* symbolName) { in SearchForAddressOfSpecialSymbol() argument
56 return DoSearch(symbolName); in SearchForAddressOfSpecialSymbol()
/external/swiftshader/third_party/LLVM/lib/Support/
DDynamicLibrary.cpp45 void llvm::sys::DynamicLibrary::AddSymbol(StringRef symbolName, in AddSymbol() argument
50 (*ExplicitSymbols)[symbolName] = symbolValue; in AddSymbol()
101 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) { in getAddressOfSymbol() argument
104 return dlsym(Data, symbolName); in getAddressOfSymbol()
118 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) { in getAddressOfSymbol() argument
125 void *SearchForAddressOfSpecialSymbol(const char* symbolName);
128 void* DynamicLibrary::SearchForAddressOfSymbol(const char *symbolName) { in SearchForAddressOfSymbol() argument
133 StringMap<void *>::iterator i = ExplicitSymbols->find(symbolName); in SearchForAddressOfSymbol()
145 void *ptr = dlsym(*I, symbolName); in SearchForAddressOfSymbol()
153 if (void *Result = llvm::SearchForAddressOfSpecialSymbol(symbolName)) in SearchForAddressOfSymbol()
[all …]
DSearchForAddressOfSpecialSymbol.cpp20 static void *DoSearch(const char* symbolName) { in DoSearch() argument
22 extern void *SYM; if (!strcmp(symbolName, #SYM)) return &SYM in DoSearch()
55 void *SearchForAddressOfSpecialSymbol(const char* symbolName) { in SearchForAddressOfSpecialSymbol() argument
56 return DoSearch(symbolName); in SearchForAddressOfSpecialSymbol()
/external/google-breakpad/src/client/mac/handler/testcases/
Dbreakpad_nlist_test.cc62 char symbolName[500]; in CompareToNM() local
64 fscanf(fd, "%s %c %s", oneNMAddr, &symbolType, symbolName); in CompareToNM()
70 symbolNames[0] = (const char*)symbolName; in CompareToNM()
74 if (!IsSymbolMoreThanOnceInDyld(symbolName)) { in CompareToNM()
82 bool BreakpadNlistTest::IsSymbolMoreThanOnceInDyld(const char *symbolName) { in IsSymbolMoreThanOnceInDyld() argument
99 if (!strcmp(multipleSymbols[i], symbolName)) { in IsSymbolMoreThanOnceInDyld()
Dbreakpad_nlist_test.h50 bool IsSymbolMoreThanOnceInDyld(const char *symbolName);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DDynamicLibrary.h54 void *getAddressOfSymbol(const char *symbolName);
84 static void *SearchForAddressOfSymbol(const char *symbolName);
87 static void *SearchForAddressOfSymbol(const std::string &symbolName) { in SearchForAddressOfSymbol() argument
88 return SearchForAddressOfSymbol(symbolName.c_str()); in SearchForAddressOfSymbol()
95 static void AddSymbol(StringRef symbolName, void *symbolValue);
/external/llvm/include/llvm/Support/
DDynamicLibrary.h58 void *getAddressOfSymbol(const char *symbolName);
88 static void *SearchForAddressOfSymbol(const char *symbolName);
91 static void *SearchForAddressOfSymbol(const std::string &symbolName) { in SearchForAddressOfSymbol() argument
92 return SearchForAddressOfSymbol(symbolName.c_str()); in SearchForAddressOfSymbol()
99 static void AddSymbol(StringRef symbolName, void *symbolValue);
/external/deqp/framework/delibs/deutil/
DdeDynamicLibrary.c60 deFunctionPtr deDynamicLibrary_getFunction (const deDynamicLibrary* library, const char* symbolName) in deDynamicLibrary_getFunction() argument
69 DE_ASSERT(library && library->libHandle && symbolName); in deDynamicLibrary_getFunction()
70 ptr.objPtr = dlsym(library->libHandle, symbolName); in deDynamicLibrary_getFunction()
109 deFunctionPtr deDynamicLibrary_getFunction (const deDynamicLibrary* library, const char* symbolName) in deDynamicLibrary_getFunction() argument
111 DE_ASSERT(library && library->handle && symbolName); in deDynamicLibrary_getFunction()
112 return (deFunctionPtr)GetProcAddress(library->handle, symbolName); in deDynamicLibrary_getFunction()
DdeDynamicLibrary.h51 …nctionPtr deDynamicLibrary_getFunction (const deDynamicLibrary* library, const char* symbolName);
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DDynamicLibrary.inc116 void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) {
121 StringMap<void *>::iterator i = ExplicitSymbols->find(symbolName);
131 FARPROC ptr = GetProcAddress((HMODULE)*I, symbolName);
139 if (!strcmp(symbolName, #SYM)) return (void*)&SYM;
141 if (!strcmp(symbolName, #SYMFROM)) return (void*)&SYMTO;
154 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) {
158 return SearchForAddressOfSymbol(symbolName);
159 return (void *)(intptr_t)GetProcAddress((HMODULE)Data, symbolName);
/external/llvm/lib/Support/Windows/
DDynamicLibrary.inc126 void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) {
131 StringMap<void *>::iterator i = ExplicitSymbols->find(symbolName);
141 FARPROC ptr = GetProcAddress((HMODULE)*I, symbolName);
149 if (!strcmp(symbolName, #SYM)) \
152 if (!strcmp(symbolName, #SYMFROM)) \
157 if (!strcmp(symbolName, #SYM)) \
174 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) {
178 return SearchForAddressOfSymbol(symbolName);
179 return (void *)(intptr_t)GetProcAddress((HMODULE)Data, symbolName);
/external/llvm/include/llvm-c/
DSupport.h50 void *LLVMSearchForAddressOfSymbol(const char *symbolName);
59 void LLVMAddSymbol(const char *symbolName, void *symbolValue);
/external/swiftshader/third_party/llvm-subzero/include/llvm-c/
DSupport.h50 void *LLVMSearchForAddressOfSymbol(const char *symbolName);
59 void LLVMAddSymbol(const char *symbolName, void *symbolValue);
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DSymbolSolverWithJavassistInterfaceTest.java89 …private void assertCanSolveSymbol(String symbolName, JavassistInterfaceDeclaration interfaceDeclar… in assertCanSolveSymbol() argument
90 …dValueDeclaration> solvedSymbol = symbolSolver.solveSymbolInType(interfaceDeclaration, symbolName); in assertCanSolveSymbol()
93 assertEquals(symbolName, solvedSymbol.getCorrespondingDeclaration().asField().getName()); in assertCanSolveSymbol()
DSymbolSolverWithJavassistEnumTest.java100 private void assertCanSolveSymbol(String symbolName, JavassistEnumDeclaration enumDeclaration) { in assertCanSolveSymbol() argument
101 …solvedValueDeclaration> solvedSymbol = symbolSolver.solveSymbolInType(enumDeclaration, symbolName); in assertCanSolveSymbol()
104 assertEquals(symbolName, solvedSymbol.getCorrespondingDeclaration().asField().getName()); in assertCanSolveSymbol()
DSymbolSolverWithJavassistClassTest.java133 … private void assertCanSolveSymbol(String symbolName, JavassistClassDeclaration classDeclaration) { in assertCanSolveSymbol() argument
134 …olvedValueDeclaration> solvedSymbol = symbolSolver.solveSymbolInType(classDeclaration, symbolName); in assertCanSolveSymbol()
137 assertEquals(symbolName, solvedSymbol.getCorrespondingDeclaration().asField().getName()); in assertCanSolveSymbol()
/external/swiftshader/third_party/LLVM/tools/lto/
DLTOModule.cpp217 const char *symbolName = entry.getKey().data(); in addObjCClass() local
218 info.name = symbolName; in addObjCClass()
255 const char *symbolName = entry.getKey().data(); in addObjCCategory() local
256 info.name = symbolName; in addObjCCategory()
275 const char *symbolName = entry.getKey().data(); in addObjCClassRef() local
276 info.name = symbolName; in addObjCClassRef()
401 const char *symbolName = entry.getKey().data(); in addAsmGlobalSymbol() local
405 info.name = symbolName; in addAsmGlobalSymbol()
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp371 Expected<StringRef> symbolName = symbol->getName(StrTab); in dumpGroup() local
372 if (!symbolName) in dumpGroup()
373 return errorToErrorCode(symbolName.takeError()); in dumpGroup()
374 S->Info = *symbolName; in dumpGroup()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistEnumDeclaration.java255 …private SymbolReference<? extends ResolvedValueDeclaration> solveSymbolForFQN(String symbolName, T… in solveSymbolForFQN() argument
261 return new SymbolSolver(typeSolver).solveSymbolInType(fqnTypeDeclaration, symbolName); in solveSymbolForFQN()
DJavassistInterfaceDeclaration.java241 …private SymbolReference<? extends ResolvedValueDeclaration> solveSymbolForFQN(String symbolName, T… in solveSymbolForFQN() argument
247 return new SymbolSolver(typeSolver).solveSymbolInType(fqnTypeDeclaration, symbolName); in solveSymbolForFQN()
DJavassistClassDeclaration.java157 …private SymbolReference<? extends ResolvedValueDeclaration> solveSymbolForFQN(String symbolName, T… in solveSymbolForFQN() argument
163 return new SymbolSolver(typeSolver).solveSymbolInType(fqnTypeDeclaration, symbolName); in solveSymbolForFQN()
/external/llvm/include/llvm/Object/
DELF.h498 static inline unsigned elf_hash(StringRef &symbolName) { in elf_hash() argument
500 for (unsigned i = 0, j = symbolName.size(); i < j; i++) { in elf_hash()
501 h = (h << 4) + symbolName[i]; in elf_hash()
/external/llvm/lib/Target/Hexagon/
DHexagonAsmPrinter.cpp209 std::string symbolName = // Yes, leading zeros are kept. in smallData() local
211 std::string sectionName = sectionPrefix.str() + symbolName; in smallData()
217 Sym = AP.OutContext.getOrCreateSymbol(Twine(symbolName)); in smallData()
/external/icu/icu4c/source/common/
Dputilimp.h584 U_INTERNAL UVoidFunction* U_EXPORT2 uprv_dlsym_func( void *lib, const char *symbolName, UErrorCode …

12