/external/musl/android/ |
D | ldso_trampoline.cpp | 53 static size_t get_auxv(size_t* auxv, size_t entry) { in get_auxv() argument 54 for (size_t i = 0; auxv[i]; i += 2) in get_auxv() 55 if (auxv[i] == entry) return auxv[i + 1]; in get_auxv() 59 static void set_auxv(size_t* auxv, size_t entry, size_t value) { in set_auxv() argument 60 for (size_t i = 0; auxv[i]; i += 2) { in set_auxv() 61 if (auxv[i] == entry) { in set_auxv() 62 auxv[i + 1] = value; in set_auxv() 81 size_t* auxv = reinterpret_cast<size_t*>(argv + i + 1); in __dlwrap__start_c() local 84 for (i = 0; auxv[i]; i += 2) in __dlwrap__start_c() 85 if (auxv[i] < AUX_CNT) aux[auxv[i]] = auxv[i + 1]; in __dlwrap__start_c() [all …]
|
D | relinterp.c | 355 AuxEntry* auxv; member 370 result.auxv = (AuxEntry*)envp; in read_args() 372 while (result.auxv[count].key != 0) { in read_args() 382 switch (args->auxv[i].key) { in dump_auxv() 397 debug(" %lu => 0x%lx%s", args->auxv[i].key, args->auxv[i].value, name); in dump_auxv() 404 if (args->auxv[i].key == kind) return args->auxv[i].value; in ri_getauxval() 631 if (args->auxv[i].key == AT_PHDR) { in insert_pt_interp_into_phdr_table() 632 args->auxv[i].value = (unsigned long)&replacement_phdr_table; in insert_pt_interp_into_phdr_table() 633 } else if (args->auxv[i].key == AT_PHNUM) { in insert_pt_interp_into_phdr_table() 634 args->auxv[i].value = cur - replacement_phdr_table; in insert_pt_interp_into_phdr_table() [all …]
|
/external/musl/src/misc/ |
D | getauxval.c | 7 size_t *auxv = libc.auxv; in __getauxval() local 9 for (; *auxv; auxv+=2) in __getauxval() 10 if (*auxv==item) return auxv[1]; in __getauxval()
|
/external/webrtc/system_wrappers/source/ |
D | cpu_features_linux.cc | 47 ElfW(auxv_t) auxv; in GetCPUFeaturesARM() local 51 if (read(fd, &auxv, sizeof(auxv)) < (ssize_t)sizeof(auxv)) { in GetCPUFeaturesARM() 56 switch (auxv.a_type) { in GetCPUFeaturesARM() 58 hwcap = auxv.a_un.a_val; in GetCPUFeaturesARM() 61 platform = (const char*)auxv.a_un.a_val; in GetCPUFeaturesARM()
|
/external/ltp/testcases/kernel/syscalls/switch/ |
D | endian_switch01.c | 100 unsigned long *auxv) in main4() argument 102 for (; *auxv != AT_NULL && *auxv != AT_HWCAP; auxv += 2) in main4() 105 if (!(auxv[0] == AT_HWCAP && (auxv[1] & PPC_FEATURE_TRUE_LE))) in main4()
|
/external/musl/src/env/ |
D | __libc_start_main.c | 25 size_t i, *auxv, aux[AUX_CNT] = { 0 }; in __init_libc() local 28 libc.auxv = auxv = (void *)(envp+i+1); in __init_libc() 29 for (i=0; auxv[i]; i+=2) if (auxv[i]<AUX_CNT) aux[auxv[i]] = auxv[i+1]; in __init_libc()
|
/external/linux-kselftest/tools/testing/selftests/arm64/bti/ |
D | test.c | 167 } *auxv; in start() local 180 for (auxv = (const struct auxv_entry *)p; auxv->type != AT_NULL; ++auxv) { in start() 181 switch (auxv->type) { in start() 183 hwcap = auxv->val; in start() 186 hwcap2 = auxv->val; in start()
|
/external/elfutils/libelf/ |
D | gelf_update_auxv.c | 67 Elf32_auxv_t *auxv; in gelf_update_auxv() local 85 auxv = &((Elf32_auxv_t *) data_scn->d.d_buf)[ndx]; in gelf_update_auxv() 87 auxv->a_type = src->a_type; in gelf_update_auxv() 88 auxv->a_un.a_val = src->a_un.a_val; in gelf_update_auxv()
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | test_syscall_vdso.c | 38 Elf32_auxv_t *auxv; in get_syscall() local 41 for (auxv = (void *)envp; auxv->a_type != AT_NULL; auxv++) in get_syscall() 42 if (auxv->a_type == AT_SYSINFO) in get_syscall() 43 return auxv->a_un.a_val; in get_syscall()
|
/external/cpuinfo/scripts/ |
D | android-armv7-auxv-dump.sh | 5 adb push build/android/armeabi-v7a/auxv-dump /data/local/tmp/auxv-dump 6 adb shell /data/local/tmp/auxv-dump
|
D | android-arm64-auxv-dump.sh | 5 adb push build/android/arm64-v8a/auxv-dump /data/local/tmp/auxv-dump 6 adb shell /data/local/tmp/auxv-dump
|
/external/musl/src/ldso/ |
D | dl_iterate_phdr.c | 19 for (i=0; libc.auxv[i]; i+=2) in static_dl_iterate_phdr() 20 if (libc.auxv[i]<AUX_CNT) aux[libc.auxv[i]] = libc.auxv[i+1]; in static_dl_iterate_phdr()
|
/external/rust/crates/gdbstub/examples/armv4t/gdb/ |
D | auxv.rs | 7 impl target::ext::auxv::Auxv for Emu { 9 let auxv = b"\x00\x00\x00\x00\x00\x00\x00\x00"; in get_auxv() localVariable 10 Ok(copy_range_to_buf(auxv, offset, length, buf)) in get_auxv()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ |
D | utils.c | 27 static char auxv[4096]; variable 59 void *find_auxv_entry(int type, char *auxv) in find_auxv_entry() argument 63 p = (ElfW(auxv_t) *)auxv; in find_auxv_entry() 79 if (read_auxv(auxv, sizeof(auxv))) in get_auxv_entry() 82 p = find_auxv_entry(type, auxv); in get_auxv_entry()
|
/external/musl/src/internal/ |
D | vdso.c | 46 for (i=0; libc.auxv[i] != AT_SYSINFO_EHDR; i+=2) in __vdsosym() 47 if (!libc.auxv[i]) return 0; in __vdsosym() 48 if (!libc.auxv[i+1]) return 0; in __vdsosym() 49 Ehdr *eh = (void *)libc.auxv[i+1]; in __vdsosym()
|
/external/musl/src/malloc/mallocng/ |
D | glue.h | 45 for (size_t i=0; libc.auxv[i]; i+=2) in get_random_secret() 46 if (libc.auxv[i]==AT_RANDOM) in get_random_secret() 47 memcpy(&secret, (char *)libc.auxv[i+1]+8, sizeof secret); in get_random_secret()
|
/external/musl/ldso/ |
D | dlstart.c | 30 size_t *auxv = (void *)(argv+i+1); in _dlstart_c() local 33 for (i=0; auxv[i]; i+=2) if (auxv[i]<AUX_CNT) in _dlstart_c() 34 aux[auxv[i]] = auxv[i+1]; in _dlstart_c()
|
D | dynlink.c | 1638 void __init_tls(size_t *auxv) in __init_tls() argument 1717 size_t *auxv; in __dls2() local 1718 for (auxv=sp+1+*sp+1; *auxv; auxv++); in __dls2() 1719 auxv++; in __dls2() 1725 decode_vec(auxv, aux, AUX_CNT); in __dls2() 1772 if (DL_FDPIC) ((stage3_func)&ldso.funcdescs[dls2b_def.sym-ldso.syms])(sp, auxv); in __dls2() 1773 else ((stage3_func)laddr(&ldso, dls2b_def.sym->st_value))(sp, auxv); in __dls2() 1782 void __dls2b(size_t *sp, size_t *auxv) in __dls2b() argument 1787 search_vec(auxv, &__hwcap, AT_HWCAP); in __dls2b() 1788 libc.auxv = auxv; in __dls2b() [all …]
|
/external/libpng/contrib/powerpc-vsx/ |
D | linux_aux.c | 25 unsigned long auxv = getauxval(AT_HWCAP); in png_have_vsx() local 29 if(auxv & (PPC_FEATURE_HAS_ALTIVEC|PPC_FEATURE_HAS_VSX)) in png_have_vsx()
|
/external/elfutils/libdwfl/ |
D | link_map.c | 101 auxv_format_probe (const void *auxv, size_t size, in auxv_format_probe() argument 106 if (do_check64 (auxv + i * sizeof (Elf64_auxv_t), elfdata)) in auxv_format_probe() 112 if (do_check32 (auxv + (i * 2) * sizeof (Elf32_auxv_t), elfdata) in auxv_format_probe() 113 || do_check32 (auxv + (i * 2 + 1) * sizeof (Elf32_auxv_t), elfdata)) in auxv_format_probe() 717 dwfl_link_map_report (Dwfl *dwfl, const void *auxv, size_t auxv_size, in dwfl_link_map_report() argument 726 if (likely (auxv != NULL) in dwfl_link_map_report() 727 && likely (auxv_format_probe (auxv, auxv_size, &elfclass, &elfdata))) in dwfl_link_map_report() 738 const Elf##NN##_auxv_t *av = auxv; \ in dwfl_link_map_report() 741 const char *typep = auxv + i * sizeof (Elf##NN##_auxv_t); \ in dwfl_link_map_report() 744 const char *valp = auxv + i * sizeof (Elf##NN##_auxv_t); \ in dwfl_link_map_report()
|
/external/skia/src/core/ |
D | SkCpu.cpp | 76 #elif defined(SK_CPU_ARM64) && __has_include(<sys/auxv.h>) 118 #elif defined(SK_CPU_ARM32) && __has_include(<sys/auxv.h>) && \
|
/external/rust/crates/gdbstub/src/target/ |
D | mod.rs | 689 fn support_auxv(&mut self) -> Option<ext::auxv::AuxvOps<'_, Self>> { in support_auxv() 746 __delegate_support!(auxv);
|
/external/linux-kselftest/tools/testing/selftests/vDSO/ |
D | parse_vdso.h | 29 void vdso_init_from_auxv(void *auxv);
|
D | parse_vdso.c | 238 void vdso_init_from_auxv(void *auxv) in vdso_init_from_auxv() argument 240 ELF(auxv_t) *elf_auxv = auxv; in vdso_init_from_auxv()
|
/external/ltp/include/ |
D | parse_vdso.h | 34 extern void vdso_init_from_auxv(void *auxv);
|