/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_main.cpp | 66 void solist_add_soinfo(soinfo* si) { in solist_add_soinfo() argument 67 sonext->next = si; in solist_add_soinfo() 68 sonext = si; in solist_add_soinfo() 71 bool solist_remove_soinfo(soinfo* si) { in solist_remove_soinfo() argument 74 if (trav == si) { in solist_remove_soinfo() 82 PRINT("name \"%s\"@%p is not in solist!", si->get_realpath(), si); in solist_remove_soinfo() 88 prev->next = si->next; in solist_remove_soinfo() 89 if (si == sonext) { in solist_remove_soinfo() 145 soinfo* si = soinfo_alloc(&g_default_namespace, "[vdso]", nullptr, 0, 0); in add_vdso() local 147 si->phdr = reinterpret_cast<ElfW(Phdr)*>(reinterpret_cast<char*>(ehdr_vdso) + ehdr_vdso->e_phoff); in add_vdso() [all …]
|
D | linker_namespaces.cpp | 61 auto is_accessible_ftor = [this] (soinfo* si) { in is_accessible() argument 64 if (!si->has_min_version(3)) { in is_accessible() 65 DL_WARN("invalid soinfo version for \"%s\"", si->get_soname()); in is_accessible() 69 if (si->get_primary_namespace() == this) { in is_accessible() 73 const android_namespace_list_t& secondary_namespaces = si->get_secondary_namespaces(); in is_accessible() 85 return !s->get_parents().visit([&](soinfo* si) { in is_accessible() argument 86 return !is_accessible_ftor(si); in is_accessible()
|
D | linker.cpp | 289 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(ns, name, file_stat, in soinfo_alloc() local 292 solist_add_soinfo(si); in soinfo_alloc() 294 si->generate_handle(); in soinfo_alloc() 295 ns->add_soinfo(si); in soinfo_alloc() 297 TRACE("name %s: allocated soinfo @ %p", name, si); in soinfo_alloc() 298 return si; in soinfo_alloc() 301 static void soinfo_free(soinfo* si) { in soinfo_free() argument 302 if (si == nullptr) { in soinfo_free() 306 if (si->base != 0 && si->size != 0) { in soinfo_free() 307 if (!si->is_mapped_by_caller()) { in soinfo_free() [all …]
|
D | linker_namespaces.h | 112 void add_soinfo(soinfo* si) { in add_soinfo() 113 soinfo_list_.push_back(si); in add_soinfo() 117 for (auto si : soinfos) { in add_soinfos() local 118 add_soinfo(si); in add_soinfos() 122 void remove_soinfo(soinfo* si) { in remove_soinfo() 124 return si == candidate; in remove_soinfo() 137 bool is_accessible(soinfo* si);
|
D | linker_cfi.h | 65 bool AddLibrary(soinfo* si); 93 bool AfterLoad(soinfo* si, soinfo *solist); 96 void BeforeUnload(soinfo* si);
|
D | linker_main.h | 64 void solist_add_soinfo(soinfo* si); 65 bool solist_remove_soinfo(soinfo* si);
|
D | linker_soinfo.h | 349 void for_each_dt_needed(const soinfo* si, F action) { in for_each_dt_needed() argument 350 for (const ElfW(Dyn)* d = si->dynamic; d->d_tag != DT_NULL; ++d) { in for_each_dt_needed() 352 action(fix_dt_needed(si->get_string(d->d_un.d_val), si->get_realpath())); in for_each_dt_needed()
|
D | linker_soinfo.cpp | 43 bool find_verdef_version_index(const soinfo* si, const version_info* vi, ElfW(Versym)* versym); 148 static bool is_symbol_global_and_defined(const soinfo* si, const ElfW(Sym)* s) { in is_symbol_global_and_defined() argument 154 ELF_ST_BIND(s->st_info), si->get_string(s->st_name), si->get_realpath()); in is_symbol_global_and_defined() 408 get_children().for_each([] (soinfo* si) { in call_constructors() argument 409 si->call_constructors(); in call_constructors()
|
D | linked_list.h | 157 visit([&] (T* si) { in for_each() 158 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 (si.totalram * si.mem_unit) / sysconf(_SC_PAGE_SIZE); in get_phys_pages() 86 struct sysinfo si; in get_avphys_pages() local 87 sysinfo(&si); in get_avphys_pages() 88 return ((si.freeram + si.bufferram) * si.mem_unit) / sysconf(_SC_PAGE_SIZE); in get_avphys_pages()
|
D | posix_timers.cpp | 82 siginfo_t si; in __timer_thread_start() local 83 memset(&si, 0, sizeof(si)); in __timer_thread_start() 84 int rc = __rt_sigtimedwait(sigset.get(), &si, NULL, sizeof(sigset)); in __timer_thread_start() 89 if (si.si_code == SI_TIMER) { in __timer_thread_start() 97 } 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 | 41 struct sysinfo si; in TEST() local 42 memset(&si, 0, sizeof(si)); in TEST() 43 ASSERT_EQ(0, sysinfo(&si)); in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | dmisc.c | 123 ULong si, z, zs; local 155 si = *sx++; 156 ys = (si & 0xffff) * q + carry; 157 zs = (si >> 16) * q + (ys >> 16); 196 si = *sx++; 197 ys = (si & 0xffff) + carry; 198 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 | 47 …ILFS_SUINFO_FNS(flag,name) static inline int nilfs_suinfo_ ##name(const struct nilfs_suinfo * si) \ 48 { return si->sui_flags & (1UL << NILFS_SUINFO_ ##flag); \
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | sigcontext.h | 135 __u32 si; member 170 __u64 si; member
|
/bionic/libc/arch-x86_64/string/ |
D | sse2-memmove-slm.S | 272 movw %si, -2(%r8,%rdx) 298 movw %si, (%rdi)
|