Home
last modified time | relevance | path

Searched refs:sym (Results 1 – 8 of 8) sorted by relevance

/art/runtime/native/
Djava_lang_Runtime.cc57 void* sym = dlsym(RTLD_DEFAULT, "android_update_LD_LIBRARY_PATH"); in Runtime_nativeLoad() local
58 if (sym != NULL) { in Runtime_nativeLoad()
60 Fn android_update_LD_LIBRARY_PATH = reinterpret_cast<Fn>(sym); in Runtime_nativeLoad()
/art/runtime/
Delf_utils.h70 inline void SetBindingAndType(Elf32_Sym* sym, unsigned char b, unsigned char t) { in SetBindingAndType() argument
71 sym->st_info = (b << 4) + (t & 0x0f); in SetBindingAndType()
Dcommon_runtime_test.cc276 void* sym = dlsym(RTLD_DEFAULT, "u_cleanup_" U_ICU_VERSION_SHORT); in TearDown() local
277 CHECK(sym != nullptr) << dlerror(); in TearDown()
278 IcuCleanupFn icu_cleanup_fn = reinterpret_cast<IcuCleanupFn>(sym); in TearDown()
Delf_file.cc775 const Elf32_Sym* sym = FindDynamicSymbol(symbol_name); in FindDynamicSymbolAddress() local
776 if (sym != nullptr) { in FindDynamicSymbolAddress()
779 return base_address_ + sym->st_value; in FindDynamicSymbolAddress()
Djni_internal.cc3317 void* sym = nullptr; in LoadNativeLibrary() local
3320 sym = library->FindSymbolWithNativeBridge("JNI_OnLoad", nullptr); in LoadNativeLibrary()
3322 sym = dlsym(handle, "JNI_OnLoad"); in LoadNativeLibrary()
3325 if (sym == nullptr) { in LoadNativeLibrary()
3334 JNI_OnLoadFn jni_on_load = reinterpret_cast<JNI_OnLoadFn>(sym); in LoadNativeLibrary()
/art/runtime/arch/x86/
Dfault_handler_x86.cc76 #define EXT_SYM(sym) _ ## sym argument
81 #define EXT_SYM(sym) sym
/art/compiler/
Delf_writer_quick.cc673 Elf32_Sym sym; in GenerateSymtab() local
674 memset(&sym, 0, sizeof(sym)); in GenerateSymtab()
675 sym.st_name = it->name_idx_; in GenerateSymtab()
677 sym.st_value = it->addr_ + it->section_->section_.sh_offset; in GenerateSymtab()
679 sym.st_value = it->addr_; in GenerateSymtab()
681 sym.st_size = it->size_; in GenerateSymtab()
682 sym.st_other = it->other_; in GenerateSymtab()
683 sym.st_shndx = it->section_->section_index_; in GenerateSymtab()
684 sym.st_info = it->info_; in GenerateSymtab()
686 ret.push_back(sym); in GenerateSymtab()
/art/test/115-native-bridge/
Dnativebridge.cc255 void* sym = dlsym(handle, name); in native_bridge_getTrampoline() local
259 method->fnPtr = sym; in native_bridge_getTrampoline()