Searched refs:sym (Results 1 – 8 of 8) 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()
331 void* const sym = library->FindSymbol("JNI_OnUnload", nullptr); in UnloadNativeLibraries() local332 if (sym == nullptr) { in UnloadNativeLibraries()336 JNI_OnUnloadFn jni_on_unload = reinterpret_cast<JNI_OnUnloadFn>(sym); in UnloadNativeLibraries()916 void* sym = library->FindSymbol("JNI_OnLoad", nullptr); in LoadNativeLibrary() local917 if (sym == nullptr) { in LoadNativeLibrary()930 JNI_OnLoadFn jni_on_load = reinterpret_cast<JNI_OnLoadFn>(sym); in LoadNativeLibrary()
766 const Elf_Sym* sym = FindDynamicSymbol(symbol_name); in FindDynamicSymbolAddress() local767 if (sym != nullptr) { in FindDynamicSymbolAddress()770 return base_address_ + sym->st_value; in FindDynamicSymbolAddress()
108 void* sym = dlsym(RTLD_DEFAULT, mangled_name.c_str()); in BindMethod() local109 if (sym == nullptr) { in BindMethod()114 native_method.fnPtr = sym; in BindMethod()
386 Elf_Sym sym = Elf_Sym(); in Add() local387 sym.st_name = name; in Add()388 sym.st_value = addr; in Add()389 sym.st_size = size; in Add()390 sym.st_other = 0; in Add()391 sym.st_shndx = section_index; in Add()392 sym.st_info = (binding << 4) + (type & 0xf); in Add()393 CachedSection::Add(&sym, sizeof(sym)); in Add()
456 void* sym = dlsym(handle, name); in native_bridge_getTrampoline() local460 method->fnPtr = sym; in native_bridge_getTrampoline()
480 #define SEND_VALUE(chr, sym, type) \ in PrintJValue() argument482 oss << static_cast<type>(new_value.sym); \ in PrintJValue()
29 # Follow all sym links to get the program name.