/bionic/linker/ |
D | linker_cfi.cpp | 134 for (soinfo* si = solist; si != nullptr; si = si->next) { in find_libdl() local 135 const char* soname = si->get_soname(); in find_libdl() 137 return si; in find_libdl() 143 static uintptr_t soinfo_find_symbol(soinfo* si, const char* s) { in soinfo_find_symbol() argument 146 if (si->find_symbol_by_name(name, nullptr, &sym) && sym) { in soinfo_find_symbol() 147 return si->resolve_symbol_address(sym); in soinfo_find_symbol() 152 uintptr_t soinfo_find_cfi_check(soinfo* si) { in soinfo_find_cfi_check() argument 153 return soinfo_find_symbol(si, "__cfi_check"); in soinfo_find_cfi_check() 163 bool CFIShadowWriter::AddLibrary(soinfo* si) { in AddLibrary() argument 165 if (si->base == 0 || si->size == 0) { in AddLibrary() [all …]
|
D | linker_namespaces.cpp | 63 auto is_accessible_ftor = [this] (soinfo* si) { in is_accessible() argument 66 if (!si->has_min_version(3)) { in is_accessible() 68 si->get_soname()); in is_accessible() 72 if (si->get_primary_namespace() == this) { in is_accessible() 76 const android_namespace_list_t& secondary_namespaces = si->get_secondary_namespaces(); in is_accessible() 88 return !s->get_parents().visit([&](soinfo* si) { in is_accessible() argument 89 return !is_accessible_ftor(si); in is_accessible() 102 soinfo_list().for_each([&](soinfo* si) { in get_global_group() argument 103 if ((si->get_dt_flags_1() & DF_1_GLOBAL) != 0) { in get_global_group() 104 global_group.push_back(si); in get_global_group() [all …]
|
D | linker_main.cpp | 69 void solist_add_soinfo(soinfo* si) { in solist_add_soinfo() argument 70 sonext->next = si; in solist_add_soinfo() 71 sonext = si; in solist_add_soinfo() 74 bool solist_remove_soinfo(soinfo* si) { in solist_remove_soinfo() argument 77 if (trav == si) { in solist_remove_soinfo() 85 PRINT("name \"%s\"@%p is not in solist!", si->get_realpath(), si); in solist_remove_soinfo() 92 prev->next = si->next; in solist_remove_soinfo() 93 if (si == sonext) { in solist_remove_soinfo() 152 soinfo* si = soinfo_alloc(&g_default_namespace, "[vdso]", nullptr, 0, 0); in add_vdso() local 154 si->phdr = reinterpret_cast<ElfW(Phdr)*>(reinterpret_cast<char*>(ehdr_vdso) + ehdr_vdso->e_phoff); in add_vdso() [all …]
|
D | linker.cpp | 305 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(ns, name, file_stat, in soinfo_alloc() local 308 solist_add_soinfo(si); in soinfo_alloc() 310 si->generate_handle(); in soinfo_alloc() 311 ns->add_soinfo(si); in soinfo_alloc() 313 TRACE("name %s: allocated soinfo @ %p", name, si); in soinfo_alloc() 314 return si; in soinfo_alloc() 317 static void soinfo_free(soinfo* si) { in soinfo_free() argument 318 if (si == nullptr) { in soinfo_free() 322 if (si->base != 0 && si->size != 0) { in soinfo_free() 323 if (!si->is_mapped_by_caller()) { in soinfo_free() [all …]
|
D | linker_namespaces.h | 123 void add_soinfo(soinfo* si) { in add_soinfo() 124 soinfo_list_.push_back(si); in add_soinfo() 128 for (auto si : soinfos) { in add_soinfos() local 129 add_soinfo(si); in add_soinfos() 133 void remove_soinfo(soinfo* si) { in remove_soinfo() 135 return si == candidate; in remove_soinfo() 148 bool is_accessible(soinfo* si);
|
D | linker_cfi.h | 64 bool AddLibrary(soinfo* si); 92 bool AfterLoad(soinfo* si, soinfo *solist); 95 void BeforeUnload(soinfo* si);
|
D | linker_main.h | 69 void solist_add_soinfo(soinfo* si); 70 bool solist_remove_soinfo(soinfo* si);
|
D | linker_soinfo.h | 381 void for_each_dt_needed(const soinfo* si, F action) { in for_each_dt_needed() argument 382 for (const ElfW(Dyn)* d = si->dynamic; d->d_tag != DT_NULL; ++d) { in for_each_dt_needed() 384 action(fix_dt_needed(si->get_string(d->d_un.d_val), si->get_realpath())); in for_each_dt_needed()
|
D | linker_soinfo.cpp | 45 bool find_verdef_version_index(const soinfo* si, const version_info* vi, ElfW(Versym)* versym); 150 static bool is_symbol_global_and_defined(const soinfo* si, const ElfW(Sym)* s) { in is_symbol_global_and_defined() argument 156 ELF_ST_BIND(s->st_info), si->get_string(s->st_name), si->get_realpath()); in is_symbol_global_and_defined() 410 get_children().for_each([] (soinfo* si) { in call_constructors() argument 411 si->call_constructors(); in call_constructors()
|
D | linked_list.h | 156 visit([&] (T* si) { in for_each() 157 action(si); in for_each()
|
/bionic/libc/bionic/ |
D | sysinfo.cpp | 80 struct sysinfo si; in get_phys_pages() local 81 sysinfo(&si); in get_phys_pages() 82 return (static_cast<int64_t>(si.totalram) * si.mem_unit) / PAGE_SIZE; in get_phys_pages() 86 struct sysinfo si; in get_avphys_pages() local 87 sysinfo(&si); in get_avphys_pages() 88 return ((static_cast<int64_t>(si.freeram) + si.bufferram) * si.mem_unit) / PAGE_SIZE; in get_avphys_pages()
|
D | posix_timers.cpp | 81 siginfo_t si = {}; in __timer_thread_start() local 82 if (__rt_sigtimedwait(&sigset, &si, nullptr, sizeof(sigset)) == -1) continue; in __timer_thread_start() 84 if (si.si_code == SI_TIMER) { in __timer_thread_start() 92 } else if (si.si_code == SI_TKILL) { in __timer_thread_start()
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_nan.c | 53 int si; /* index into s */ local 63 for (si = 0; isxdigit(s[si]); si++) 72 if (--si < 0) 74 words[bitpos / 32] |= digittoint(s[si]) << (bitpos % 32);
|
/bionic/tests/ |
D | sys_sysinfo_test.cpp | 42 struct sysinfo si; in TEST() local 43 memset(&si, 0, sizeof(si)); in TEST() 44 ASSERT_EQ(0, sysinfo(&si)); in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | dmisc.c | 124 ULong si, z, zs; local 156 si = *sx++; 157 ys = (si & 0xffff) * q + carry; 158 zs = (si >> 16) * q + (ys >> 16); 197 si = *sx++; 198 ys = (si & 0xffff) + carry; 199 zs = (si >> 16) + (ys >> 16);
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | psignal.c | 82 psiginfo(const siginfo_t *si, const char *s) in psiginfo() argument 84 psignal(si->si_signo, s); in psiginfo()
|
/bionic/libc/kernel/uapi/linux/ |
D | nilfs2_api.h | 42 …ILFS_SUINFO_FNS(flag,name) static inline int nilfs_suinfo_ ##name(const struct nilfs_suinfo * si) \ 43 { return si->sui_flags & (1UL << NILFS_SUINFO_ ##flag); \
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | sigcontext.h | 112 __u32 si; member 140 __u64 si; member
|
/bionic/libc/arch-x86_64/string/ |
D | sse2-memmove-slm.S | 272 movw %si, -2(%r8,%rdx) 298 movw %si, (%rdi)
|