Home
last modified time | relevance | path

Searched refs:symbolName (Results 1 – 25 of 26) 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/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/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()
DMachO.h153 StringRef symbolName() const;
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUCurrencyDisplayInfoProvider.java88 private String getName(String isoCode, boolean symbolName) { in getName() argument
95 return result.getString(symbolName ? 0 : 1); in getName()
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
DICUCurrencyDisplayInfoProvider.java84 private String getName(String isoCode, boolean symbolName) { in getName() argument
91 return result.getString(symbolName ? 0 : 1); in getName()
/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.h587 U_INTERNAL UVoidFunction* U_EXPORT2 uprv_dlsym_func( void *lib, const char *symbolName, UErrorCode …
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp2459 TString symbolName = ""; in addInterfaceBlock() local
2494 symbolName = instanceTypeDef->getName(); in addInterfaceBlock()
2497 …ggregate = intermediate.makeAggregate(intermediate.addSymbol(symbolId, symbolName, interfaceBlockT… in addInterfaceBlock()
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp910 std::string symbolName = "__objc_class_name_" + className; in EmitClassRef() local
911 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName); in EmitClassRef()
915 nullptr, symbolName); in EmitClassRef()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp9277 << Entry.symbolName() << Attr << "\n"; in printMachOBindTable()
9304 << Entry.symbolName() << "\n"; in printMachOLazyBindTable()
9322 << Entry.symbolName() << "\n"; in printMachOWeakBindTable()
9337 << format_decimal(Entry.addend(), 8) << " " << Entry.symbolName() in printMachOWeakBindTable()
9358 StringRef name = Entry.symbolName(); in get_dyld_bind_info_symbolname()

12