/bionic/tests/ |
getauxval_test.cpp | 21 // getauxval() was only added as of glibc version 2.16. 37 TEST(getauxval, expected_values) { 39 ASSERT_EQ((unsigned long int) 0, getauxval(AT_SECURE)); 40 ASSERT_EQ(getuid(), getauxval(AT_UID)); 41 ASSERT_EQ(geteuid(), getauxval(AT_EUID)); 42 ASSERT_EQ(getgid(), getauxval(AT_GID)); 43 ASSERT_EQ(getegid(), getauxval(AT_EGID)); 44 ASSERT_EQ((unsigned long int) getpagesize(), getauxval(AT_PAGESZ)); 46 ASSERT_NE((unsigned long int) 0, getauxval(AT_PHDR)); 47 ASSERT_NE((unsigned long int) 0, getauxval(AT_PHNUM)) [all...] |
/bionic/libc/include/sys/ |
auxv.h | 36 unsigned long int getauxval(unsigned long int type);
|
/development/ndk/platforms/android-L/include/sys/ |
auxv.h | 36 unsigned long int getauxval(unsigned long int type);
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/sys/ |
auxv.h | 36 unsigned long int getauxval(unsigned long int type);
|
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/sys/ |
auxv.h | 36 unsigned long int getauxval(unsigned long int type);
|
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/sys/ |
auxv.h | 36 unsigned long int getauxval(unsigned long int type);
|
/prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/sys/ |
auxv.h | 36 unsigned long int getauxval(unsigned long int type);
|
/prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/sys/ |
auxv.h | 36 unsigned long int getauxval(unsigned long int type);
|
/prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/sys/ |
auxv.h | 36 unsigned long int getauxval(unsigned long int type);
|
/bionic/libc/bionic/ |
getauxval.cpp | 37 extern "C" unsigned long int getauxval(unsigned long int type) { function
|
libc_init_static.cpp | 72 ElfW(Phdr)* phdr_start = reinterpret_cast<ElfW(Phdr)*>(getauxval(AT_PHDR)); 73 unsigned long int phdr_ct = getauxval(AT_PHNUM);
|
dl_iterate_phdr_static.cpp | 64 ElfW(Ehdr)* ehdr_vdso = reinterpret_cast<ElfW(Ehdr)*>(getauxval(AT_SYSINFO_EHDR));
|
libc_init_common.cpp | 113 __stack_chk_guard = *reinterpret_cast<uintptr_t*>(getauxval(AT_RANDOM));
|
vdso.cpp | 67 uintptr_t vdso_ehdr_addr = getauxval(AT_SYSINFO_EHDR);
|
getentropy_linux.c | 536 p = (char *) getauxval(AT_RANDOM); 541 p = (char *) getauxval(AT_SYSINFO_EHDR); 546 p = (char *) getauxval(AT_BASE);
|
/external/openssl/crypto/ |
armcap.c | 37 * Use a weak reference to getauxval() so we can use it if it is available but 42 extern unsigned long getauxval(unsigned long type) __attribute__((weak)); 44 static unsigned long (*getauxval)(unsigned long) = NULL; variable 103 if (getauxval != NULL) 105 if (getauxval(HWCAP) & HWCAP_NEON) 107 unsigned long hwcap = getauxval(HWCAP_CE);
|
/bionic/libc/private/ |
KernelArgumentBlock.h | 52 // Similar to ::getauxval but doesn't require the libc global variables to be set up, 55 unsigned long getauxval(unsigned long type, bool* found_match = NULL) { function in class:KernelArgumentBlock
|
/cts/tests/tests/os/jni/ |
android_os_cts_CpuFeatures.cpp | 66 return (jint)getauxval(AT_HWCAP);
|
/bionic/linker/ |
linker_environ.cpp | 49 _AT_SECURE_value = args.getauxval(AT_SECURE, &kernel_supplied_AT_SECURE);
|
linker.cpp | [all...] |
/art/runtime/ |
mem_map.cc | 98 // getauxval as an entropy source is exposed in Bionic, but not in glibc before 2.16. When we 120 uint8_t* random_data = reinterpret_cast<uint8_t*>(getauxval(AT_RANDOM));
|
/external/iputils/ |
ping_common.c | 203 if (getauxval(AT_SECURE) != 0) {
|
/bionic/libc/ |
Android.mk | 120 bionic/getauxval.cpp \ [all...] |