Searched refs:sym (Results 1 – 8 of 8) sorted by relevance
57 void* sym = dlsym(RTLD_DEFAULT, "android_update_LD_LIBRARY_PATH"); in Runtime_nativeLoad() local58 if (sym != NULL) { in Runtime_nativeLoad()60 Fn android_update_LD_LIBRARY_PATH = reinterpret_cast<Fn>(sym); in Runtime_nativeLoad()
70 inline void SetBindingAndType(Elf32_Sym* sym, unsigned char b, unsigned char t) { in SetBindingAndType() argument71 sym->st_info = (b << 4) + (t & 0x0f); in SetBindingAndType()
276 void* sym = dlsym(RTLD_DEFAULT, "u_cleanup_" U_ICU_VERSION_SHORT); in TearDown() local277 CHECK(sym != nullptr) << dlerror(); in TearDown()278 IcuCleanupFn icu_cleanup_fn = reinterpret_cast<IcuCleanupFn>(sym); in TearDown()
775 const Elf32_Sym* sym = FindDynamicSymbol(symbol_name); in FindDynamicSymbolAddress() local776 if (sym != nullptr) { in FindDynamicSymbolAddress()779 return base_address_ + sym->st_value; in FindDynamicSymbolAddress()
3317 void* sym = nullptr; in LoadNativeLibrary() local3320 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()
76 #define EXT_SYM(sym) _ ## sym argument81 #define EXT_SYM(sym) sym
673 Elf32_Sym sym; in GenerateSymtab() local674 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()
255 void* sym = dlsym(handle, name); in native_bridge_getTrampoline() local259 method->fnPtr = sym; in native_bridge_getTrampoline()