Searched defs:auxv (Results 1 - 16 of 16) sorted by relevance

/external/libpng/contrib/powerpc-vsx/
H A Dlinux_aux.c20 #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/elfutils/libelf/
H A Dgelf_update_auxv.c67 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/fio/arch/
H A Darch-sh.h30 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) {
/external/linux-kselftest/tools/testing/selftests/powerpc/
H A Dutils.c20 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) argument
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/
H A Dendian_switch01.c113 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)))
112 main4(int argc, char **argv, LTP_ATTRIBUTE_UNUSED char **envp, unsigned long *auxv) argument
/external/valgrind/none/tests/solaris/
H A Dproc_auxv.c1 /* 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) argument
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/google-breakpad/src/client/linux/minidump_writer/
H A Dlinux_dumper.h54 // Typedef for our parsing of the auxv variables in /proc/pid/auxv.
94 const wasteful_vector<elf_aux_val_t>& auxv() { return auxv_; } function in class:google_breakpad::LinuxDumper
183 // Info from /proc/<pid>/auxv
/external/linux-kselftest/tools/testing/selftests/vDSO/
H A Dparse_vdso.c26 * If you've already parsed auxv, then pass the value of AT_SYSINFO_EHDR
27 * to vdso_init_from_sysinfo_ehdr. Otherwise pass auxv to vdso_init_from_auxv.
43 extern void vdso_init_from_auxv(void *auxv);
260 void vdso_init_from_auxv(void *auxv) argument
262 ELF(auxv_t) *elf_auxv = auxv;
/external/linux-kselftest/tools/testing/selftests/x86/
H A Dtest_syscall_vdso.c46 Elf32_auxv_t *auxv; local
49 for (auxv = (void *)envp; auxv->a_type != AT_NULL; auxv++)
50 if (auxv->a_type == AT_SYSINFO)
51 return auxv->a_un.a_val;
/external/elfutils/libdwfl/
H A Dcore-file.c489 const void *auxv = NULL; local
514 auxv = notes->d_buf + desc_pos;
527 used for a live process with auxv read from /proc. */
531 int retval = dwfl_link_map_report (dwfl, auxv, auxv_size,
H A Dlink_map.c101 /* Examine an auxv data block and determine its format.
104 auxv_format_probe (const void *auxv, size_t size, argument
107 const Elf32_auxv_t (*a32)[size / sizeof (Elf32_auxv_t)] = (void *) auxv;
108 const Elf64_auxv_t (*a64)[size / sizeof (Elf64_auxv_t)] = (void *) auxv;
700 dwfl_link_map_report (Dwfl *dwfl, const void *auxv, size_t auxv_size,
709 if (likely (auxv != NULL)
710 && likely (auxv_format_probe (auxv, auxv_size, &elfclass, &elfdata)))
721 const Elf##NN##_auxv_t *av = auxv; \
696 dwfl_link_map_report(Dwfl *dwfl, const void *auxv, size_t auxv_size, Dwfl_Memory_Callback *memory_callback, void *memory_callback_arg, struct r_debug_info *r_debug_info) argument
/external/valgrind/coregrind/m_initimg/
H A Dinitimg-solaris.c315 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
314 copy_auxv_entry(const vki_auxv_t *orig_auxv, Int type, const HChar *type_name, vki_auxv_t *auxv) argument
[all...]
H A Dinitimg-linux.c320 | 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 *caux
[all...]
/external/google-breakpad/src/tools/linux/md2core/
H A Dminidump-2-core.cc184 auxv(NULL),
224 const uint8_t* auxv; member in struct:CrashedProcess
638 crashinfo->auxv = range.data();
1184 !writea(1, crashinfo.auxv, crashinfo.auxv_length)) {
/external/kernel-headers/original/uapi/linux/
H A Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member in struct:prctl_mm_map
/external/valgrind/coregrind/m_coredump/
H A Dcoredump-solaris.c170 vki_auxv_t *auxv = (vki_auxv_t *) VG_(client_auxv); local
171 while (auxv->a_type != VKI_AT_NULL) {
173 auxv++;

Completed in 452 milliseconds