Home
last modified time | relevance | path

Searched refs:auxv (Results 1 – 25 of 34) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/switch/
Dendian_switch01.c101 unsigned long *auxv) in main4() argument
103 for (; *auxv != AT_NULL && *auxv != AT_HWCAP; auxv += 2) in main4()
106 if (!(auxv[0] == AT_HWCAP && (auxv[1] & PPC_FEATURE_TRUE_LE))) in main4()
/external/elfutils/libelf/
Dgelf_update_auxv.c67 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/cpuinfo/scripts/
Dandroid-arm64-auxv-dump.sh5 adb push build/android/arm64-v8a/auxv-dump /data/local/tmp/auxv-dump
6 adb shell /data/local/tmp/auxv-dump
Dandroid-armv7-auxv-dump.sh5 adb push build/android/armeabi-v7a/auxv-dump /data/local/tmp/auxv-dump
6 adb shell /data/local/tmp/auxv-dump
/external/linux-kselftest/tools/testing/selftests/x86/
Dtest_syscall_vdso.c38 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/linux-kselftest/tools/testing/selftests/powerpc/
Dutils.c27 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/libpng/contrib/powerpc-vsx/
Dlinux_aux.c26 unsigned long auxv = getauxval(AT_HWCAP); in png_have_vsx() local
30 if(auxv & (PPC_FEATURE_HAS_ALTIVEC|PPC_FEATURE_HAS_VSX)) in png_have_vsx()
/external/elfutils/libdwfl/
Dlink_map.c102 auxv_format_probe (const void *auxv, size_t size, in auxv_format_probe() argument
107 if (do_check64 (auxv + i * sizeof (Elf64_auxv_t), elfdata)) in auxv_format_probe()
113 if (do_check32 (auxv + (i * 2) * sizeof (Elf32_auxv_t), elfdata) in auxv_format_probe()
114 || do_check32 (auxv + (i * 2 + 1) * sizeof (Elf32_auxv_t), elfdata)) in auxv_format_probe()
692 dwfl_link_map_report (Dwfl *dwfl, const void *auxv, size_t auxv_size, in dwfl_link_map_report() argument
701 if (likely (auxv != NULL) in dwfl_link_map_report()
702 && likely (auxv_format_probe (auxv, auxv_size, &elfclass, &elfdata))) in dwfl_link_map_report()
713 const Elf##NN##_auxv_t *av = auxv; \ in dwfl_link_map_report()
716 const char *typep = auxv + i * sizeof (Elf##NN##_auxv_t); \ in dwfl_link_map_report()
719 const char *valp = auxv + i * sizeof (Elf##NN##_auxv_t); \ in dwfl_link_map_report()
Dcore-file.c488 const void *auxv = NULL; in dwfl_core_file_report() local
515 auxv = notes->d_buf + desc_pos; in dwfl_core_file_report()
532 int retval = dwfl_link_map_report (dwfl, auxv, auxv_size, in dwfl_core_file_report()
/external/linux-kselftest/tools/testing/selftests/vDSO/
Dparse_vdso.c43 extern void vdso_init_from_auxv(void *auxv);
260 void vdso_init_from_auxv(void *auxv) in vdso_init_from_auxv() argument
262 ELF(auxv_t) *elf_auxv = auxv; in vdso_init_from_auxv()
Dvdso_test.c22 extern void vdso_init_from_auxv(void *auxv);
Dvdso_standalone_test_x86.c21 extern void vdso_init_from_auxv(void *auxv);
/external/skqp/src/core/
DSkCpu.cpp73 #elif defined(SK_CPU_ARM64) && __has_include(<sys/auxv.h>)
87 #elif defined(SK_CPU_ARM32) && __has_include(<sys/auxv.h>) && \
/external/skia/src/core/
DSkCpu.cpp75 #elif defined(SK_CPU_ARM64) && __has_include(<sys/auxv.h>)
117 #elif defined(SK_CPU_ARM32) && __has_include(<sys/auxv.h>) && \
/external/vixl/src/aarch64/
Dcpu-aarch64.cc204 unsigned long auxv = getauxval(AT_HWCAP); // NOLINT(runtime/int) in InferCPUFeaturesFromOS() local
206 VIXL_STATIC_ASSERT(kFeatureBitCount < (sizeof(auxv) * kBitsPerByte)); in InferCPUFeaturesFromOS()
208 if (auxv & (1UL << i)) features.Combine(kFeatureBits[i]); in InferCPUFeaturesFromOS()
/external/linux-kselftest/tools/testing/selftests/powerpc/include/
Dutils.h30 void *find_auxv_entry(int type, char *auxv);
/external/kernel-headers/original/uapi/linux/
Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.h94 const wasteful_vector<elf_aux_val_t>& auxv() { return auxv_; } in auxv() function
Dlinux_ptrace_dumper_unittest.cc276 reinterpret_cast<void *>(dumper.auxv()[AT_SYSINFO_EHDR]); in TEST_F()
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc184 auxv(NULL), in CrashedProcess()
224 const uint8_t* auxv; member
638 crashinfo->auxv = range.data(); in ParseAuxVector()
1184 !writea(1, crashinfo.auxv, crashinfo.auxv_length)) { in main()
/external/cpuinfo/
DCMakeLists.txt802 ADD_EXECUTABLE(auxv-dump tools/auxv-dump.c)
803 CPUINFO_TARGET_ENABLE_C99(auxv-dump)
804 CPUINFO_TARGET_RUNTIME_LIBRARY(auxv-dump)
805 TARGET_LINK_LIBRARIES(auxv-dump PRIVATE ${CMAKE_DL_LIBS} cpuinfo)
DCMakeLists.txt.orig801 ADD_EXECUTABLE(auxv-dump tools/auxv-dump.c)
802 CPUINFO_TARGET_ENABLE_C99(auxv-dump)
803 CPUINFO_TARGET_RUNTIME_LIBRARY(auxv-dump)
804 TARGET_LINK_LIBRARIES(auxv-dump PRIVATE ${CMAKE_DL_LIBS} cpuinfo)
/external/cpu_features/
DCMakeLists.txt113 check_symbol_exists(getauxval "sys/auxv.h" HAVE_STRONG_GETAUXVAL)
DREADME.md148 + by parsing `/proc/self/auxv`
/external/mesa3d/src/util/
Du_cpu_detect.c62 #if __has_include(<sys/auxv.h>)

12