Home
last modified time | relevance | path

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

/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/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/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/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)) \
142 if (!strcmp(symbolName, #SYMFROM)) \
147 if (!strcmp(symbolName, #SYM)) \
164 void *DynamicLibrary::getAddressOfSymbol(const char *symbolName) {
168 return SearchForAddressOfSymbol(symbolName);
169 return (void *)(intptr_t)GetProcAddress((HMODULE)Data, symbolName);
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/jsdoc-template/
Dpublish.js195 function(match, symbolName) { argument
196 return new Link().toSymbol(symbolName);
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp298 ErrorOr<StringRef> symbolName = Obj.getSymbolName(symtab, symbol); in dumpGroup() local
299 if (std::error_code EC = symbolName.getError()) in dumpGroup()
301 S->Info = *symbolName; in dumpGroup()
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
DICUCurrencyDisplayInfoProvider.java74 private String getName(String isoCode, boolean symbolName) { in getName() argument
85 return result.getString(symbolName ? 0 : 1); in getName()
/external/icu/icu4c/source/common/
Dputilimp.h583 U_INTERNAL UVoidFunction* U_EXPORT2 uprv_dlsym_func( void *lib, const char *symbolName, UErrorCode …
/external/llvm/include/llvm/Object/
DELF.h1001 static inline unsigned elf_hash(StringRef &symbolName) { in elf_hash() argument
1003 for (unsigned i = 0, j = symbolName.size(); i < j; i++) { in elf_hash()
1004 h = (h << 4) + symbolName[i]; in elf_hash()
DMachO.h153 StringRef symbolName() const;
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp870 std::string symbolName = "__objc_class_name_" + className; in EmitClassRef() local
871 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName); in EmitClassRef()
875 nullptr, symbolName); in EmitClassRef()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp8740 << Entry.symbolName() << Attr << "\n"; in printMachOBindTable()
8767 << Entry.symbolName() << "\n"; in printMachOLazyBindTable()
8785 << Entry.symbolName() << "\n"; in printMachOWeakBindTable()
8800 << format_decimal(Entry.addend(), 8) << " " << Entry.symbolName() in printMachOWeakBindTable()
8819 StringRef name = Entry.symbolName(); in get_dyld_bind_info_symbolname()
/external/llvm/lib/Object/
DMachOObjectFile.cpp2093 StringRef MachOBindEntry::symbolName() const { return SymbolName; } in symbolName() function in MachOBindEntry