/external/valgrind/none/tests/solaris/ |
H A D | 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) 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...] |
H A D | proc_auxv_multiple.c | 1 /* Test that /proc/{self,$PID}/auxv can be opened and read simultaneously 9 #include <sys/auxv.h> 50 if ((fi[0] = open("/proc/self/auxv", O_RDONLY)) == -1) { 61 if ((fi[1] = open("/proc/self/auxv", O_RDONLY)) == -1) {
|
/external/fio/arch/ |
H A D | arch-sh.h | 45 Elf32_auxv_t *auxv; local 50 for (auxv = (Elf32_auxv_t *) envp; auxv->a_type != AT_NULL; auxv++) { 51 if (auxv->a_type == AT_HWCAP) { 52 if (auxv->a_un.a_val & CPU_HAS_LLSC) {
|
/external/valgrind/memcheck/tests/linux/ |
H A D | 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 [all...] |
/external/valgrind/coregrind/m_initimg/ |
H A D | 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 314 copy_auxv_entry(const vki_auxv_t *orig_auxv, Int type, const HChar *type_name, vki_auxv_t *auxv) argument [all...] |
H A D | initimg-linux.c | 321 | auxv | 340 The client's auxv is created by copying and modifying our own one. 341 As a side effect of scanning our own auxv, some important bits of 349 struct auxv struct 359 struct auxv *find_auxv(UWord* sp) 378 return (struct auxv *)sp; 400 struct auxv *auxv; local 401 const struct auxv *orig_auxv; 402 const struct auxv *caux [all...] |
/external/elfutils/libelf/ |
H A D | 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/google-breakpad/src/client/linux/minidump_writer/ |
H A D | linux_dumper.h | 54 // 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
|
H A D | linux_ptrace_dumper_unittest.cc | 276 reinterpret_cast<void *>(dumper.auxv()[AT_SYSINFO_EHDR]);
|
H A D | minidump_writer.cc | 239 if (!WriteProcFile(&dirent.location, GetCrashThread(), "auxv")) 648 ElfW(Phdr)* phdr = reinterpret_cast<ElfW(Phdr) *>(dumper_->auxv()[AT_PHDR]); 650 int phnum = dumper_->auxv()[AT_PHNUM]; 1003 // read /proc/self/auxv but unfortunately, this file is not always
|
/external/kernel-headers/original/uapi/linux/ |
H A D | prctl.h | 145 __u64 *auxv; /* auxiliary vector */ member in struct:prctl_mm_map
|
/external/ltrace/sysdeps/linux-gnu/ |
H A D | proc.c | 457 Elf32_auxv_t auxv; local 458 if (read(fd, &auxv, sizeof(auxv)) != sizeof(auxv)) 461 ret->a_type = auxv.a_type; 462 ret->a_un.a_val = auxv.a_un.a_val; 675 PROC_PID_FILE(fn, "/proc/%d/auxv", proc->pid);
|
/external/elfutils/libdwfl/ |
H A D | link_map.c | 101 /* 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
|
H A D | core-file.c | 489 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 D | libdwflP.h | 688 data as contained in an NT_AUXV note or read from a /proc/pid/auxv 700 extern int dwfl_link_map_report (Dwfl *dwfl, const void *auxv, size_t auxv_size,
|
/external/opencv3/modules/core/src/ |
H A D | system.cpp | 325 int cpufile = open("/proc/self/auxv", O_RDONLY); 329 Elf32_auxv_t auxv; local 330 const size_t size_auxv_t = sizeof(auxv); 332 while ((size_t)read(cpufile, &auxv, size_auxv_t) == size_auxv_t) 334 if (auxv.a_type == AT_HWCAP) 336 f.have[CV_CPU_NEON] = (auxv.a_un.a_val & 4096) != 0;
|
/external/iputils/ |
H A D | ping_common.h | 38 #include <sys/auxv.h>
|
/external/google-breakpad/src/tools/linux/md2core/ |
H A D | minidump-2-core.cc | 184 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/valgrind/coregrind/m_coredump/ |
H A D | coredump-solaris.c | 170 vki_auxv_t *auxv = (vki_auxv_t *) VG_(client_auxv); local 171 while (auxv->a_type != VKI_AT_NULL) { 173 auxv++;
|
/external/v8/src/base/ |
H A D | cpu.cc | 14 #include <sys/auxv.h> // getauxval() 116 // Read the ELF HWCAP flags by parsing /proc/self/auxv. 117 FILE* fp = fopen("/proc/self/auxv", "r"); 633 // Read processor info from /proc/self/auxv. 635 FILE* fp = fopen("/proc/self/auxv", "r");
|
/external/valgrind/include/vki/ |
H A D | vki-solaris.h | 249 #include <sys/auxv.h>
|