Searched refs:sym (Results 1 – 7 of 7) sorted by relevance
74 static inline void SetBindingAndType(Elf32_Sym* sym, unsigned char b, unsigned char t) { in SetBindingAndType() argument75 sym->st_info = (b << 4) + (t & 0x0f); in SetBindingAndType()
690 void* sym; in LoadNativeLibrary() local693 sym = library->FindSymbolWithNativeBridge("JNI_OnLoad", nullptr); in LoadNativeLibrary()695 sym = dlsym(handle, "JNI_OnLoad"); in LoadNativeLibrary()697 if (sym == nullptr) { in LoadNativeLibrary()710 JNI_OnLoadFn jni_on_load = reinterpret_cast<JNI_OnLoadFn>(sym); in LoadNativeLibrary()
401 void* sym = dlsym(RTLD_DEFAULT, "u_cleanup_" U_ICU_VERSION_SHORT); in TearDown() local402 CHECK(sym != nullptr) << dlerror(); in TearDown()403 IcuCleanupFn icu_cleanup_fn = reinterpret_cast<IcuCleanupFn>(sym); in TearDown()
815 const Elf_Sym* sym = FindDynamicSymbol(symbol_name); in FindDynamicSymbolAddress() local816 if (sym != nullptr) { in FindDynamicSymbolAddress()819 return base_address_ + sym->st_value; in FindDynamicSymbolAddress()
77 #define EXT_SYM(sym) _ ## sym argument82 #define EXT_SYM(sym) sym
330 Elf_Sym sym = Elf_Sym(); in Write() local331 sym.st_name = it.name_idx_; in Write()333 sym.st_value = it.addr_ + it.section_->GetHeader()->sh_addr; in Write()335 sym.st_value = it.addr_; in Write()337 sym.st_size = it.size_; in Write()338 sym.st_other = it.other_; in Write()339 sym.st_shndx = it.section_->GetSectionIndex(); in Write()340 sym.st_info = it.info_; in Write()341 buffer.push_back(sym); in Write()
302 void* sym = dlsym(handle, name); in native_bridge_getTrampoline() local306 method->fnPtr = sym; in native_bridge_getTrampoline()