/external/llvm/lib/Support/ |
D | DynamicLibrary.cpp | 30 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 …]
|
D | SearchForAddressOfSpecialSymbol.cpp | 20 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/ |
D | DynamicLibrary.cpp | 45 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 …]
|
D | SearchForAddressOfSpecialSymbol.cpp | 20 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/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
D | UnmanagedLibrary.cs | 67 private IntPtr LoadSymbol(string symbolName) in LoadSymbol() argument 74 return Windows.GetProcAddress(this.handle, symbolName); in LoadSymbol() 82 symbolName = "_" + symbolName + "@"; in LoadSymbol() 85 … IntPtr candidate = Windows.GetProcAddress(this.handle, symbolName + stackSize); in LoadSymbol() 99 return Mono.dlsym(this.handle, symbolName); in LoadSymbol() 103 return CoreCLR.dlsym(this.handle, symbolName); in LoadSymbol() 105 return Linux.dlsym(this.handle, symbolName); in LoadSymbol() 109 return MacOSX.dlsym(this.handle, symbolName); in LoadSymbol()
|
/external/google-breakpad/src/client/mac/handler/testcases/ |
D | breakpad_nlist_test.cc | 62 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()
|
D | breakpad_nlist_test.h | 50 bool IsSymbolMoreThanOnceInDyld(const char *symbolName);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | DynamicLibrary.h | 54 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/ |
D | DynamicLibrary.h | 58 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/ |
D | deDynamicLibrary.c | 60 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()
|
D | deDynamicLibrary.h | 51 …nctionPtr deDynamicLibrary_getFunction (const deDynamicLibrary* library, const char* symbolName);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | DynamicLibrary.h | 58 void *getAddressOfSymbol(const char *symbolName); 114 static void *SearchForAddressOfSymbol(const char *symbolName); 117 static void *SearchForAddressOfSymbol(const std::string &symbolName) { in SearchForAddressOfSymbol() argument 118 return SearchForAddressOfSymbol(symbolName.c_str()); in SearchForAddressOfSymbol() 125 static void AddSymbol(StringRef symbolName, void *symbolValue);
|
/external/swiftshader/third_party/LLVM/lib/Support/Windows/ |
D | DynamicLibrary.inc | 116 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/ |
D | DynamicLibrary.inc | 126 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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | DynamicLibrary.cpp | 210 void *LLVMSearchForAddressOfSymbol(const char *symbolName) { in LLVMSearchForAddressOfSymbol() argument 211 return llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(symbolName); in LLVMSearchForAddressOfSymbol() 214 void LLVMAddSymbol(const char *symbolName, void *symbolValue) { in LLVMAddSymbol() argument 215 return llvm::sys::DynamicLibrary::AddSymbol(symbolName, symbolValue); in LLVMAddSymbol()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/ |
D | Support.h | 50 void *LLVMSearchForAddressOfSymbol(const char *symbolName); 59 void LLVMAddSymbol(const char *symbolName, void *symbolValue);
|
/external/llvm/include/llvm-c/ |
D | Support.h | 50 void *LLVMSearchForAddressOfSymbol(const char *symbolName); 59 void LLVMAddSymbol(const char *symbolName, void *symbolValue);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm-c/ |
D | Support.h | 50 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/ |
D | SymbolSolverWithJavassistInterfaceTest.java | 89 …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()
|
D | SymbolSolverWithJavassistEnumTest.java | 100 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()
|
D | SymbolSolverWithJavassistClassTest.java | 133 … 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/ |
D | LTOModule.cpp | 217 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 1416 if (LastSymbolName == Entry.symbolName()) in dumpSymbolNamesFromObject() 1420 if (SymbolList[J].Name == Entry.symbolName()) in dumpSymbolNamesFromObject() 1425 LastSymbolName = Entry.symbolName(); in dumpSymbolNamesFromObject() 1442 B.Name = Entry.symbolName(); in dumpSymbolNamesFromObject() 1444 BOS << Entry.symbolName(); in dumpSymbolNamesFromObject() 1473 if (LastSymbolName == Entry.symbolName()) in dumpSymbolNamesFromObject() 1480 if (SymbolList[J].Name == Entry.symbolName()) in dumpSymbolNamesFromObject() 1485 LastSymbolName = Entry.symbolName(); in dumpSymbolNamesFromObject() 1488 L.Name = Entry.symbolName(); in dumpSymbolNamesFromObject() 1505 LOS << Entry.symbolName(); in dumpSymbolNamesFromObject() [all …]
|
/external/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 371 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/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 464 Expected<StringRef> symbolName = getSymbolName(symbol, StrTab, Symtab); in dumpGroup() local 465 if (!symbolName) in dumpGroup() 466 return errorToErrorCode(symbolName.takeError()); in dumpGroup() 467 S->Info = *symbolName; in dumpGroup()
|