Home
last modified time | relevance | path

Searched refs:symbol_name (Results 1 – 6 of 6) sorted by relevance

/art/compiler/
Delf_writer_test.cc39 #define EXPECT_ELF_FILE_ADDRESS(ef, expected_value, symbol_name, build_map) \ argument
42 symbol_name, \
50 EXPECT_EQ(expected_value, ef->FindDynamicSymbolAddress(symbol_name)); \
/art/runtime/
Delf_file.h58 const uint8_t* FindDynamicSymbolAddress(const std::string& symbol_name) const;
75 const std::string& symbol_name,
Delf_file_impl.h93 const uint8_t* FindDynamicSymbolAddress(const std::string& symbol_name) const;
102 const std::string& symbol_name,
163 const Elf_Sym* FindDynamicSymbol(const std::string& symbol_name) const;
183 const std::string& symbol_name,
Delf_file.cc756 const std::string& symbol_name) const { in FindDynamicSymbolAddress()
761 const Elf_Sym* sym = FindDynamicSymbol(symbol_name); in FindDynamicSymbolAddress()
774 const std::string& symbol_name) const { in FindDynamicSymbol()
779 Elf_Word hash = elfhash(symbol_name.c_str()); in FindDynamicSymbol()
792 if (symbol_name == name) { in FindDynamicSymbol()
845 Elf_Word section_type, const std::string& symbol_name, bool build_map) { in FindSymbolByName() argument
892 typename SymbolTable::const_iterator it = (*symbol_table)->find(symbol_name); in FindSymbolByName()
917 if (symbol_name == name) { in FindSymbolByName()
926 Elf_Word section_type, const std::string& symbol_name, bool build_map) { in FindSymbolAddress() argument
927 Elf_Sym* symbol = FindSymbolByName(section_type, symbol_name, build_map); in FindSymbolAddress()
[all …]
Djava_vm_ext.cc144 void* FindSymbol(const std::string& symbol_name, const char* shorty = nullptr) { in FindSymbol() argument
146 ? FindSymbolWithNativeBridge(symbol_name.c_str(), shorty) in FindSymbol()
147 : FindSymbolWithoutNativeBridge(symbol_name.c_str()); in FindSymbol()
150 void* FindSymbolWithoutNativeBridge(const std::string& symbol_name) { in FindSymbolWithoutNativeBridge() argument
153 return dlsym(handle_, symbol_name.c_str()); in FindSymbolWithoutNativeBridge()
156 void* FindSymbolWithNativeBridge(const std::string& symbol_name, const char* shorty) { in FindSymbolWithNativeBridge() argument
160 return android::NativeBridgeGetTrampoline(handle_, symbol_name.c_str(), shorty, len); in FindSymbolWithNativeBridge()
Doat_file.cc98 virtual const uint8_t* FindDynamicSymbolAddress(const std::string& symbol_name,
514 const uint8_t* FindDynamicSymbolAddress(const std::string& symbol_name, in FindDynamicSymbolAddress() argument
517 reinterpret_cast<const uint8_t*>(dlsym(dlopen_handle_, symbol_name.c_str())); in FindDynamicSymbolAddress()
774 const uint8_t* FindDynamicSymbolAddress(const std::string& symbol_name, in FindDynamicSymbolAddress() argument
776 const uint8_t* ptr = elf_file_->FindDynamicSymbolAddress(symbol_name); in FindDynamicSymbolAddress()