/external/libpng/contrib/powerpc-vsx/ |
linux_aux.c | 20 #include "sys/auxv.h" 27 const unsigned long auxv = getauxval( AT_HWCAP ); local 31 if(auxv & (PPC_FEATURE_HAS_ALTIVEC|PPC_FEATURE_HAS_VSX ))
|
/external/valgrind/none/tests/solaris/ |
proc_auxv.c | 1 /* Test if /proc/{self,$PID}/auxv is correctly simulated and that the aux 8 #include <sys/auxv.h> 11 static int check_file(const char *path, auxv_t *auxv) 30 if (memcmp(auxv, &rauxv, sizeof(rauxv))) { 31 fprintf(stderr, "incorrect auxv in %s\n", path); 32 fprintf(stderr, "expected: type=%d, val=%ld\n", auxv->a_type, 33 auxv->a_un.a_val); 39 if (auxv->a_type == AT_NULL) 42 auxv++; 54 auxv_t *auxv; local [all...] |
/external/fio/arch/ |
arch-sh.h | 30 Elf32_auxv_t *auxv; local 35 for (auxv = (Elf32_auxv_t *) envp; auxv->a_type != AT_NULL; auxv++) { 36 if (auxv->a_type == AT_HWCAP) { 37 if (auxv->a_un.a_val & CPU_HAS_LLSC) {
|
/bionic/tests/libs/ |
ld_config_test_helper.cpp | 20 #if __has_include(<sys/auxv.h>) 21 #include <sys/auxv.h> 29 #if __has_include(<sys/auxv.h>)
|
preinit_getauxval_test_helper.cpp | 20 #include <sys/auxv.h>
|
preinit_syscall_test_helper.cpp | 20 #include <sys/auxv.h>
|
/external/valgrind/memcheck/tests/linux/ |
proc-auxv.c | 15 ElfW(auxv_t) auxv; 26 ; /* Skip, skip, skip... and after finding a NULL we have the auxv. */ 39 int fd = open("/proc/self/auxv", O_RDONLY); 43 while (read(fd, &auxv, sizeof(auxv)) == sizeof(auxv)) 45 if (auxv.a_type == AT_ENTRY) 46 entry1 = (void *) auxv.a_un.a_val; 47 if (auxv.a_type == AT_PLATFORM) 48 platform1 = strdup((char *) auxv.a_un.a_val) [all...] |
/bionic/libc/private/ |
KernelArgumentBlock.h | 23 #include <sys/auxv.h> 49 auxv = reinterpret_cast<ElfW(auxv_t)*>(p); 55 for (ElfW(auxv_t)* v = auxv; v->a_type != AT_NULL; ++v) { 66 ElfW(auxv_t)* auxv; member in class:KernelArgumentBlock
|
/external/boringssl/src/crypto/ |
cpu-ppc64le.c | 19 #include <sys/auxv.h>
|
cpu-aarch64-linux.c | 19 #include <sys/auxv.h>
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ |
utils.c | 20 static char auxv[4096]; variable 27 fd = open("/proc/self/auxv", O_RDONLY); 41 printf("overflowed auxv buffer\n"); 52 void *find_auxv_entry(int type, char *auxv) 56 p = (ElfW(auxv_t) *)auxv; 72 if (read_auxv(auxv, sizeof(auxv))) 75 p = find_auxv_entry(type, auxv);
|
/external/ltp/testcases/kernel/syscalls/switch/ |
endian_switch01.c | 113 unsigned long *auxv) 115 for (; *auxv != AT_NULL && *auxv != AT_HWCAP; auxv += 2) 118 if (!(auxv[0] == AT_HWCAP && (auxv[1] & PPC_FEATURE_TRUE_LE)))
|
/external/valgrind/coregrind/m_initimg/ |
initimg-solaris.c | 315 const HChar *type_name, vki_auxv_t *auxv) 317 vg_assert(auxv != NULL); 327 auxv->a_type = type; 328 auxv->a_un.a_val = orig_auxv->a_un.a_val; 351 | auxv | 373 have to build auxv from scratch, to make the code consistent. */ 387 vki_auxv_t *auxv; local 389 SizeT auxsize; /* total size of auxv in bytes */ 402 /* Get the original auxv (if any). */ 439 /* Now, how big is the auxv [all...] |
initimg-linux.c | 320 | auxv | 339 The client's auxv is created by copying and modifying our own one. 340 As a side effect of scanning our own auxv, some important bits of 348 struct auxv struct 358 struct auxv *find_auxv(UWord* sp) 377 return (struct auxv *)sp; 399 struct auxv *auxv; local 400 const struct auxv *orig_auxv; 401 const struct auxv *cauxv [all...] |
/external/elfutils/libelf/ |
gelf_update_auxv.c | 67 Elf32_auxv_t *auxv; local 85 auxv = &((Elf32_auxv_t *) data_scn->d.d_buf)[ndx]; 87 auxv->a_type = src->a_type; 88 auxv->a_un.a_val = src->a_un.a_val;
|
/external/linux-kselftest/tools/testing/selftests/vDSO/ |
vdso_test.c | 15 #include <sys/auxv.h> 20 extern void vdso_init_from_auxv(void *auxv);
|
/bionic/libc/bionic/ |
getauxval.cpp | 31 #include <sys/auxv.h>
|
bionic_arc4random.cpp | 33 #include <sys/auxv.h>
|
setjmp_cookie.cpp | 34 #include <sys/auxv.h>
|
__libc_init_main_thread.cpp | 64 __libc_auxv = args.auxv;
|
/bionic/linker/ |
linker_wrapper.cpp | 47 for (ElfW(auxv_t)* v = args.auxv; v->a_type != AT_NULL; ++v) {
|
/external/linux-kselftest/tools/testing/selftests/capabilities/ |
validate_cap.c | 8 #include <sys/auxv.h>
|
/external/linux-kselftest/tools/testing/selftests/powerpc/include/ |
utils.h | 29 void *find_auxv_entry(int type, char *auxv);
|
/external/skia/src/core/ |
SkCpu.cpp | 77 #elif defined(SK_CPU_ARM64) && __has_include(<sys/auxv.h>) 78 #include <sys/auxv.h> 89 #elif defined(SK_CPU_ARM32) && __has_include(<sys/auxv.h>) && \ 91 // sys/auxv.h will always be present in the Android NDK due to unified 93 #include <sys/auxv.h>
|
/external/skqp/src/core/ |
SkCpu.cpp | 77 #elif defined(SK_CPU_ARM64) && __has_include(<sys/auxv.h>) 78 #include <sys/auxv.h> 89 #elif defined(SK_CPU_ARM32) && __has_include(<sys/auxv.h>) && \ 91 // sys/auxv.h will always be present in the Android NDK due to unified 93 #include <sys/auxv.h>
|