Home
last modified time | relevance | path

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

12

/third_party/musl/src/misc/
Dgetauxval.c7 size_t *auxv = libc.auxv; in __getauxval() local
9 for (; *auxv; auxv+=2) in __getauxval()
10 if (*auxv==item) return auxv[1]; in __getauxval()
/third_party/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()
/third_party/musl/porting/liteos_a/user/src/env/
D__libc_start_main.c25 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()
/third_party/musl/src/env/
D__libc_start_main.c25 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()
/third_party/musl/porting/liteos_a/user_debug/src/env/
D__libc_start_main.c26 size_t i, *auxv, aux[AUX_CNT] = { 0 }; in __init_libc() local
29 libc.auxv = auxv = (void *)(envp+i+1); in __init_libc()
30 for (i=0; auxv[i]; i+=2) if (auxv[i]<AUX_CNT) aux[auxv[i]] = auxv[i+1]; in __init_libc()
/third_party/musl/porting/linux/user/src/env/
D__libc_start_main.c26 size_t i, *auxv, aux[AUX_CNT] = { 0 }; in __init_libc() local
29 libc.auxv = auxv = (void *)(envp+i+1); in __init_libc()
30 for (i=0; auxv[i]; i+=2) if (auxv[i]<AUX_CNT) aux[auxv[i]] = auxv[i+1]; in __init_libc()
/third_party/node/src/
Dnode_main.cc129 Elf_auxv_t* auxv = reinterpret_cast<Elf_auxv_t*>(envp); in main() local
130 for (; auxv->a_type != AT_NULL; auxv++) { in main()
131 if (auxv->a_type == AT_SECURE) { in main()
132 node::per_process::linux_at_secure = auxv->a_un.a_val; in main()
/third_party/eudev/src/shared/
Drandom-util.c86 void *auxv; in initialize_srand() local
99 auxv = (void*) getauxval(AT_RANDOM); in initialize_srand()
100 if (auxv) in initialize_srand()
101 x ^= *(unsigned*) auxv; in initialize_srand()
/third_party/ffmpeg/libavutil/arm/
Dcpu.c53 struct { uint32_t a_type; uint32_t a_val; } auxv; in get_hwcap() local
60 while (fread(&auxv, sizeof(auxv), 1, f) > 0) { in get_hwcap()
61 if (auxv.a_type == AT_HWCAP) { in get_hwcap()
62 *hwcap = auxv.a_val; in get_hwcap()
/third_party/musl/src/ldso/
Ddl_iterate_phdr.c18 for (i=0; libc.auxv[i]; i+=2) in static_dl_iterate_phdr()
19 if (libc.auxv[i]<AUX_CNT) aux[libc.auxv[i]] = libc.auxv[i+1]; in static_dl_iterate_phdr()
/third_party/musl/src/internal/
Dvdso.c46 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()
Dlibc.h25 size_t *auxv; member
/third_party/musl/porting/linux/user/src/internal/
Dvdso.c73 for (i=0; libc.auxv[i] != AT_SYSINFO_EHDR; i+=2) in __get_vdso_info()
74 if (!libc.auxv[i]) return ; in __get_vdso_info()
75 if (!libc.auxv[i+1]) return ; in __get_vdso_info()
76 Ehdr *eh = (void *)libc.auxv[i+1]; in __get_vdso_info()
/third_party/musl/ldso/
Ddlstart.c30 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()
Ddynlink.c1526 void __init_tls(size_t *auxv) in __init_tls() argument
1605 size_t *auxv; in __dls2() local
1606 for (auxv=sp+1+*sp+1; *auxv; auxv++); in __dls2()
1607 auxv++; in __dls2()
1613 decode_vec(auxv, aux, AUX_CNT); in __dls2()
1658 if (DL_FDPIC) ((stage3_func)&ldso.funcdescs[dls2b_def.sym-ldso.syms])(sp, auxv); in __dls2()
1659 else ((stage3_func)laddr(&ldso, dls2b_def.sym->st_value))(sp, auxv); in __dls2()
1668 void __dls2b(size_t *sp, size_t *auxv) in __dls2b() argument
1673 search_vec(auxv, &__hwcap, AT_HWCAP); in __dls2b()
1674 libc.auxv = auxv; in __dls2b()
[all …]
/third_party/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()
/third_party/flutter/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c1542 void __init_tls(size_t *auxv) in __init_tls() argument
1621 size_t *auxv; in __dls2() local
1622 for (auxv=sp+1+*sp+1; *auxv; auxv++); in __dls2()
1623 auxv++; in __dls2()
1629 decode_vec(auxv, aux, AUX_CNT); in __dls2()
1674 if (DL_FDPIC) ((stage3_func)&ldso.funcdescs[dls2b_def.sym-ldso.syms])(sp, auxv); in __dls2()
1675 else ((stage3_func)laddr(&ldso, dls2b_def.sym->st_value))(sp, auxv); in __dls2()
1684 void __dls2b(size_t *sp, size_t *auxv) in __dls2b() argument
1689 search_vec(auxv, &__hwcap, AT_HWCAP); in __dls2b()
1690 libc.auxv = auxv; in __dls2b()
[all …]
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c1542 void __init_tls(size_t *auxv) in __init_tls() argument
1621 size_t *auxv; in __dls2() local
1622 for (auxv=sp+1+*sp+1; *auxv; auxv++); in __dls2()
1623 auxv++; in __dls2()
1629 decode_vec(auxv, aux, AUX_CNT); in __dls2()
1674 if (DL_FDPIC) ((stage3_func)&ldso.funcdescs[dls2b_def.sym-ldso.syms])(sp, auxv); in __dls2()
1675 else ((stage3_func)laddr(&ldso, dls2b_def.sym->st_value))(sp, auxv); in __dls2()
1684 void __dls2b(size_t *sp, size_t *auxv) in __dls2b() argument
1689 search_vec(auxv, &__hwcap, AT_HWCAP); in __dls2b()
1690 libc.auxv = auxv; in __dls2b()
[all …]
/third_party/ltp/include/
Dparse_vdso.h34 extern void vdso_init_from_auxv(void *auxv);
/third_party/skia/src/core/
DSkCpu.cpp76 #elif defined(SK_CPU_ARM64) && __has_include(<sys/auxv.h>)
118 #elif defined(SK_CPU_ARM32) && __has_include(<sys/auxv.h>) && \
/third_party/flutter/skia/src/core/
DSkCpu.cpp85 #elif defined(SK_CPU_ARM64) && __has_include(<sys/auxv.h>)
127 #elif defined(SK_CPU_ARM32) && __has_include(<sys/auxv.h>) && \
/third_party/musl/src/thread/sh/
D__set_thread_area.c23 for (aux=libc.auxv; *aux; aux+=2) { in __set_thread_area()
/third_party/musl/src/thread/
Dpthread_getattr_np.c15 char *p = (void *)libc.auxv; in pthread_getattr_np()

12