Home
last modified time | relevance | path

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

12

/external/valgrind/none/tests/solaris/
Dproc_auxv.c11 static int check_file(const char *path, auxv_t *auxv) in check_file() argument
30 if (memcmp(auxv, &rauxv, sizeof(rauxv))) { in check_file()
32 fprintf(stderr, "expected: type=%d, val=%ld\n", auxv->a_type, in check_file()
33 auxv->a_un.a_val); in check_file()
39 if (auxv->a_type == AT_NULL) in check_file()
42 auxv++; in check_file()
54 auxv_t *auxv; in main() local
60 auxv = (auxv_t*)(envp + 1); in main()
63 if (check_file("/proc/self/auxv", auxv)) in main()
68 if (check_file(buf, auxv)) in main()
[all …]
/external/valgrind/coregrind/m_initimg/
Dinitimg-solaris.c315 const HChar *type_name, vki_auxv_t *auxv) in copy_auxv_entry() argument
317 vg_assert(auxv != NULL); in copy_auxv_entry()
327 auxv->a_type = type; in copy_auxv_entry()
328 auxv->a_un.a_val = orig_auxv->a_un.a_val; in copy_auxv_entry()
387 vki_auxv_t *auxv; in setup_client_stack() local
456 auxsize = 10 * sizeof(*auxv); in setup_client_stack()
458 auxsize += sizeof(*auxv); in setup_client_stack()
461 auxsize += sizeof(*auxv); in setup_client_stack()
602 auxv = (auxv_t*)ptr; in setup_client_stack()
606 auxv->a_type = VKI_AT_SUN_PLATFORM; in setup_client_stack()
[all …]
Dinitimg-linux.c348 struct auxv struct
358 struct auxv *find_auxv(UWord* sp) in find_auxv() argument
377 return (struct auxv *)sp; in find_auxv()
399 struct auxv *auxv; in setup_client_stack() local
400 const struct auxv *orig_auxv; in setup_client_stack()
401 const struct auxv *cauxv; in setup_client_stack()
452 auxsize = sizeof(*auxv); /* there's always at least one entry: AT_NULL */ in setup_client_stack()
609 auxv = (struct auxv *)ptr; in setup_client_stack()
610 *client_auxv = (UInt *)auxv; in setup_client_stack()
619 auxv[0].a_type = AT_IGNOREPPC; in setup_client_stack()
[all …]
/external/valgrind/memcheck/tests/linux/
Dproc-auxv.c15 ElfW(auxv_t) auxv; in main()
43 while (read(fd, &auxv, sizeof(auxv)) == sizeof(auxv)) in main()
45 if (auxv.a_type == AT_ENTRY) in main()
46 entry1 = (void *) auxv.a_un.a_val; in main()
47 if (auxv.a_type == AT_PLATFORM) in main()
48 platform1 = strdup((char *) auxv.a_un.a_val); in main()
DMakefile.am22 proc-auxv.vgtest proc-auxv.stderr.exp getregset.vgtest \
39 proc-auxv
DMakefile.in128 proc-auxv$(EXEEXT) $(am__EXEEXT_1)
160 proc_auxv_SOURCES = proc-auxv.c
161 proc_auxv_OBJECTS = proc-auxv.$(OBJEXT)
217 lsframe2.c proc-auxv.c rfcomm.c sigqueue.c stack_changes.c \
221 lsframe2.c proc-auxv.c rfcomm.c sigqueue.c stack_changes.c \
635 proc-auxv.vgtest proc-auxv.stderr.exp getregset.vgtest \
702 proc-auxv$(EXEEXT): $(proc_auxv_OBJECTS) $(proc_auxv_DEPENDENCIES) $(EXTRA_proc_auxv_DEPENDENCIES)
703 @rm -f proc-auxv$(EXEEXT)
750 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/proc-auxv.Po@am__quote@
Dproc-auxv.vgtest2 prog: proc-auxv
/external/fio/arch/
Darch-sh.h30 Elf32_auxv_t *auxv; in arch_init() local
35 for (auxv = (Elf32_auxv_t *) envp; auxv->a_type != AT_NULL; auxv++) { in arch_init()
36 if (auxv->a_type == AT_HWCAP) { in arch_init()
37 if (auxv->a_un.a_val & CPU_HAS_LLSC) { in arch_init()
/external/ltp/testcases/kernel/syscalls/switch/
Dendian_switch01.c113 unsigned long *auxv) in main4() argument
115 for (; *auxv != AT_NULL && *auxv != AT_HWCAP; auxv += 2) in main4()
118 if (!(auxv[0] == AT_HWCAP && (auxv[1] & PPC_FEATURE_TRUE_LE))) in main4()
/external/linux-kselftest/tools/testing/selftests/powerpc/
Dutils.c20 static char auxv[4096]; variable
52 void *find_auxv_entry(int type, char *auxv) in find_auxv_entry() argument
56 p = (ElfW(auxv_t) *)auxv; in find_auxv_entry()
72 if (read_auxv(auxv, sizeof(auxv))) in get_auxv_entry()
75 p = find_auxv_entry(type, auxv); in get_auxv_entry()
/external/linux-kselftest/tools/testing/selftests/x86/
Dtest_syscall_vdso.c46 Elf32_auxv_t *auxv; in get_syscall() local
49 for (auxv = (void *)envp; auxv->a_type != AT_NULL; auxv++) in get_syscall()
50 if (auxv->a_type == AT_SYSINFO) in get_syscall()
51 return auxv->a_un.a_val; in get_syscall()
/external/valgrind/gdbserver_tests/
Dmcmain_pic.vgtest2 # On linux, this implies a proper transfer of the auxv
3 # information via the gdbserver protocol packet qXfer:auxv:read:
4 # The content of the auxv data can be shown by gdb using
5 # gdb command 'info auxv'
/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/libpng/contrib/powerpc-vsx/
Dlinux_aux.c27 const unsigned long auxv = getauxval( AT_HWCAP ); in png_have_vsx() local
31 if(auxv & (PPC_FEATURE_HAS_ALTIVEC|PPC_FEATURE_HAS_VSX )) in png_have_vsx()
/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.c20 extern void vdso_init_from_auxv(void *auxv);
Dvdso_standalone_test_x86.c21 extern void vdso_init_from_auxv(void *auxv);
/external/elfutils/libdwfl/
Dlink_map.c104 auxv_format_probe (const void *auxv, size_t size, in auxv_format_probe() argument
107 const Elf32_auxv_t (*a32)[size / sizeof (Elf32_auxv_t)] = (void *) auxv; in auxv_format_probe()
108 const Elf64_auxv_t (*a64)[size / sizeof (Elf64_auxv_t)] = (void *) auxv; in auxv_format_probe()
696 dwfl_link_map_report (Dwfl *dwfl, const void *auxv, size_t auxv_size, in dwfl_link_map_report() argument
705 if (likely (auxv != NULL) in dwfl_link_map_report()
706 && likely (auxv_format_probe (auxv, auxv_size, &elfclass, &elfdata))) in dwfl_link_map_report()
717 const Elf##NN##_auxv_t *av = auxv; \ in dwfl_link_map_report()
Dcore-file.c489 const void *auxv = NULL; in dwfl_core_file_report() local
514 auxv = notes->d_buf + desc_pos; in dwfl_core_file_report()
531 int retval = dwfl_link_map_report (dwfl, auxv, auxv_size, in dwfl_core_file_report()
/external/skqp/src/core/
DSkCpu.cpp77 #elif defined(SK_CPU_ARM64) && __has_include(<sys/auxv.h>)
89 #elif defined(SK_CPU_ARM32) && __has_include(<sys/auxv.h>) && \
/external/skia/src/core/
DSkCpu.cpp77 #elif defined(SK_CPU_ARM64) && __has_include(<sys/auxv.h>)
89 #elif defined(SK_CPU_ARM32) && __has_include(<sys/auxv.h>) && \
/external/linux-kselftest/tools/testing/selftests/powerpc/include/
Dutils.h29 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
/external/valgrind/docs/internals/
D3_10_BUGSTATUS.txt337 proc-auxv no auxv?

12