/external/libunwind/src/coredump/ |
D | _UCD_access_reg_freebsd.c | 30 unw_regnum_t regnum, unw_word_t *valp, in _UCD_access_reg() argument 44 *valp = ui->prstatus->pr_reg.r_eax; in _UCD_access_reg() 47 *valp = ui->prstatus->pr_reg.r_edx; in _UCD_access_reg() 50 *valp = ui->prstatus->pr_reg.r_ecx; in _UCD_access_reg() 53 *valp = ui->prstatus->pr_reg.r_ebx; in _UCD_access_reg() 56 *valp = ui->prstatus->pr_reg.r_esi; in _UCD_access_reg() 59 *valp = ui->prstatus->pr_reg.r_edi; in _UCD_access_reg() 62 *valp = ui->prstatus->pr_reg.r_ebp; in _UCD_access_reg() 65 *valp = ui->prstatus->pr_reg.r_esp; in _UCD_access_reg() 68 *valp = ui->prstatus->pr_reg.r_eip; in _UCD_access_reg() [all …]
|
/external/openssh/ |
D | sshbuf-getput-basic.c | 45 sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp) in sshbuf_get_u64() argument 52 if (valp != NULL) in sshbuf_get_u64() 53 *valp = PEEK_U64(p); in sshbuf_get_u64() 58 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) in sshbuf_get_u32() argument 65 if (valp != NULL) in sshbuf_get_u32() 66 *valp = PEEK_U32(p); in sshbuf_get_u32() 71 sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp) in sshbuf_get_u16() argument 78 if (valp != NULL) in sshbuf_get_u16() 79 *valp = PEEK_U16(p); in sshbuf_get_u16() 84 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) in sshbuf_get_u8() argument [all …]
|
D | sshbuf.h | 179 int sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp); 180 int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp); 181 int sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp); 182 int sshbuf_get_u8(struct sshbuf *buf, u_char *valp); 193 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp); 194 int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp); 205 int sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, 212 int sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp, 221 const u_char **valp, size_t *lenp);
|
D | packet.h | 188 int sshpkt_get(struct ssh *ssh, void *valp, size_t len); 189 int sshpkt_get_u8(struct ssh *ssh, u_char *valp); 190 int sshpkt_get_u32(struct ssh *ssh, u_int32_t *valp); 191 int sshpkt_get_u64(struct ssh *ssh, u_int64_t *valp); 192 int sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp); 193 int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp); 194 int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp);
|
/external/libunwind/src/ia64/ |
D | Gregs.c | 250 unw_word_t *valp, int write) in update_nat() argument 261 if (*valp) in update_nat() 268 *valp = (nat_word & mask) != 0; in update_nat() 275 unw_word_t *valp, int write) in access_nat() argument 287 if (*valp) in access_nat() 321 *valp = (memcmp (&tmp, &unw.nat_val_be, sizeof (tmp)) == 0); in access_nat() 323 *valp = (memcmp (&tmp, &unw.nat_val_le, sizeof (tmp)) == 0); in access_nat() 333 return ia64_put (c, nat_loc, *valp); in access_nat() 335 return ia64_get (c, nat_loc, valp); in access_nat() 347 if (*valp) in access_nat() [all …]
|
/external/libunwind/src/ppc64/ |
D | Gregs.c | 31 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument 41 c->dwarf.ip = *valp; /* update the IP cache */ in tdep_access_reg() 42 if (c->dwarf.pi_valid && (*valp < c->dwarf.pi.start_ip in tdep_access_reg() 43 || *valp >= c->dwarf.pi.end_ip)) in tdep_access_reg() 47 *valp = c->dwarf.ip; in tdep_access_reg() 53 *valp = c->dwarf.cfa; in tdep_access_reg() 69 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg() 71 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg() 75 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument 84 return dwarf_putfp (&c->dwarf, loc, *valp); in tdep_access_fpreg() [all …]
|
/external/libunwind/include/ |
D | remote.h | 12 unw_word_t *addr, int8_t *valp, void *arg) in fetch8() argument 14 *valp = *(int8_t *) (uintptr_t) *addr; in fetch8() 21 unw_word_t *addr, int16_t *valp, void *arg) in fetch16() argument 23 *valp = *(int16_t *) (uintptr_t) *addr; in fetch16() 30 unw_word_t *addr, int32_t *valp, void *arg) in fetch32() argument 32 *valp = *(int32_t *) (uintptr_t) *addr; in fetch32() 39 unw_word_t *addr, unw_word_t *valp, void *arg) in fetchw() argument 41 *valp = *(unw_word_t *) (uintptr_t) *addr; in fetchw() 52 unw_word_t *addr, int8_t *valp, void *arg) in fetch8() argument 66 *valp = val & 0xff; in fetch8() [all …]
|
/external/elfutils/libdw/ |
D | libdw_form.c | 43 const unsigned char *valp) in __libdw_form_val_compute_len() argument 45 const unsigned char *startp = valp; in __libdw_form_val_compute_len() 72 result = *valp + 1; in __libdw_form_val_compute_len() 78 result = read_2ubyte_unaligned (cu->dbg, valp) + 2; in __libdw_form_val_compute_len() 84 result = read_4ubyte_unaligned (cu->dbg, valp) + 4; in __libdw_form_val_compute_len() 89 get_uleb128 (u128, valp, endp); in __libdw_form_val_compute_len() 90 result = u128 + (valp - startp); in __libdw_form_val_compute_len() 95 const unsigned char *endstrp = memchr (valp, '\0', in __libdw_form_val_compute_len() 106 get_uleb128 (u128, valp, endp); in __libdw_form_val_compute_len() 107 result = valp - startp; in __libdw_form_val_compute_len() [all …]
|
D | dwarf_formblock.c | 44 const unsigned char *datap = attr->valp; in dwarf_formblock() 52 return_block->length = *(uint8_t *) attr->valp; in dwarf_formblock() 53 return_block->data = attr->valp + 1; in dwarf_formblock() 59 return_block->length = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); in dwarf_formblock() 60 return_block->data = attr->valp + 2; in dwarf_formblock() 66 return_block->length = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); in dwarf_formblock() 67 return_block->data = attr->valp + 4; in dwarf_formblock()
|
D | dwarf_formref.c | 41 const unsigned char *datap = attr->valp; in __libdw_formref() 44 if (attr->valp == NULL) in __libdw_formref() 59 *return_offset = *attr->valp; in __libdw_formref() 65 *return_offset = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); in __libdw_formref() 71 *return_offset = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); in __libdw_formref() 77 *return_offset = read_8ubyte_unaligned (attr->cu->dbg, attr->valp); in __libdw_formref()
|
D | dwarf_formsdata.c | 44 const unsigned char *datap = attr->valp; in dwarf_formsdata() 56 *return_sval = *attr->valp; in dwarf_formsdata() 62 *return_sval = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); in dwarf_formsdata() 68 *return_sval = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); in dwarf_formsdata() 74 *return_sval = read_8ubyte_unaligned (attr->cu->dbg, attr->valp); in dwarf_formsdata()
|
D | dwarf_formudata.c | 56 cu_sec_idx (attr->cu), attr->valp, in __libdw_formptr() 69 attr->valp, in __libdw_formptr() 102 const unsigned char *datap = attr->valp; in dwarf_formudata() 114 *return_uval = *attr->valp; in dwarf_formudata() 120 *return_uval = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); in dwarf_formudata() 194 attr->valp, in dwarf_formudata() 205 attr->valp, in dwarf_formudata()
|
/external/libunwind/src/ppc32/ |
D | Gregs.c | 31 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument 41 c->dwarf.ip = *valp; /* update the IP cache */ in tdep_access_reg() 42 if (c->dwarf.pi_valid && (*valp < c->dwarf.pi.start_ip in tdep_access_reg() 43 || *valp >= c->dwarf.pi.end_ip)) in tdep_access_reg() 47 *valp = c->dwarf.ip; in tdep_access_reg() 53 *valp = c->dwarf.cfa; in tdep_access_reg() 68 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg() 70 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg() 74 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument 83 return dwarf_putfp (&c->dwarf, loc, *valp); in tdep_access_fpreg() [all …]
|
/external/libunwind/src/hppa/ |
D | Gregs.c | 29 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument 38 c->dwarf.ip = *valp; /* update the IP cache */ in tdep_access_reg() 39 if (c->dwarf.pi_valid && (*valp < c->dwarf.pi.start_ip in tdep_access_reg() 40 || *valp >= c->dwarf.pi.end_ip)) in tdep_access_reg() 48 *valp = c->dwarf.cfa; in tdep_access_reg() 67 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg() 69 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg() 73 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument 84 return dwarf_putfp (&c->dwarf, loc, *valp); in tdep_access_fpreg() 86 return dwarf_getfp (&c->dwarf, loc, valp); in tdep_access_fpreg()
|
/external/libunwind/src/x86/ |
D | Gregs.c | 39 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument 51 c->dwarf.ip = *valp; /* also update the EIP cache */ in tdep_access_reg() 59 *valp = c->dwarf.cfa; in tdep_access_reg() 68 c->dwarf.eh_args[arg_num] = *valp; in tdep_access_reg() 74 *valp = c->dwarf.eh_args[arg_num]; in tdep_access_reg() 116 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg() 118 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg() 122 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument 175 return dwarf_putfp (&c->dwarf, loc, *valp); in tdep_access_fpreg() 177 return dwarf_getfp (&c->dwarf, loc, valp); in tdep_access_fpreg()
|
/external/libunwind/src/aarch64/ |
D | Gregs.c | 30 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument 45 c->dwarf.eh_args[reg] = *valp; in tdep_access_reg() 51 *valp = c->dwarf.eh_args[reg]; in tdep_access_reg() 93 *valp = c->dwarf.cfa; in tdep_access_reg() 102 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg() 104 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg() 108 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument
|
/external/libunwind/src/x86_64/ |
D | Gregs.c | 65 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument 77 c->dwarf.ip = *valp; /* also update the RIP cache */ in tdep_access_reg() 85 *valp = c->dwarf.cfa; in tdep_access_reg() 94 c->dwarf.eh_args[arg_num] = *valp; in tdep_access_reg() 100 *valp = c->dwarf.eh_args[arg_num]; in tdep_access_reg() 128 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg() 130 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg() 134 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument
|
/external/libunwind/tests/ |
D | test-proc-info.c | 59 unw_word_t *valp, int write, in access_mem() argument 63 *valp = 0; in access_mem() 70 unw_word_t *valp, int write, in access_reg() argument 74 *valp = 32; in access_reg() 81 unw_fpreg_t *valp, int write, in access_fpreg() argument 85 memset (valp, 0, sizeof (*valp)); in access_fpreg()
|
/external/libunwind/src/sh/ |
D | Gregs.c | 29 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument 59 *valp = c->dwarf.cfa; in tdep_access_reg() 68 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg() 70 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg() 74 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument
|
/external/libunwind/src/arm/ |
D | Gregs.c | 28 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument 57 *valp = c->dwarf.cfa; in tdep_access_reg() 68 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg() 70 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg() 76 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument
|
/external/libunwind/src/ |
D | os-linux.h | 112 scan_hex (char *cp, unsigned long *valp) in scan_hex() argument 137 *valp = val; in scan_hex() 142 scan_dec (char *cp, unsigned long *valp) in scan_dec() argument 164 *valp = val; in scan_dec() 169 scan_char (char *cp, char *valp) in scan_char() argument 174 *valp = *cp; in scan_char() 185 scan_string (char *cp, char *valp, size_t buf_size) in scan_string() argument 194 if ((valp != NULL) && (i < buf_size - 1)) in scan_string() 195 valp[i++] = *cp; in scan_string() 200 valp[i] = '\0'; in scan_string()
|
/external/libunwind/src/mips/ |
D | Gregs.c | 30 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument 79 *valp = c->dwarf.cfa; in tdep_access_reg() 90 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg() 92 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg() 98 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument
|
/external/libunwind/include/tdep-ppc32/ |
D | libunwind_i.h | 128 unw_word_t *valp = (unw_word_t *) val; in dwarf_getvr() local 144 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, valp, in dwarf_getvr() 148 return (*c->as->acc.access_mem) (c->as, addr + 8, valp + 1, 0, c->as_arg); in dwarf_getvr() 154 unw_word_t *valp = (unw_word_t *) & val; in dwarf_putvr() local 169 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, valp, in dwarf_putvr() 173 return (*c->as->acc.access_mem) (c->as, addr + 8, valp + 1, 1, c->as_arg); in dwarf_putvr() 179 unw_word_t *valp = (unw_word_t *) val; in dwarf_getfp() local 193 return (*c->as->acc.access_mem) (c->as, addr + 0, valp, 0, c->as_arg); in dwarf_getfp() 200 unw_word_t *valp = (unw_word_t *) & val; in dwarf_putfp() local 215 return (*c->as->acc.access_mem) (c->as, addr + 0, valp, 1, c->as_arg); in dwarf_putfp() [all …]
|
/external/libunwind/include/tdep-ppc64/ |
D | libunwind_i.h | 128 unw_word_t *valp = (unw_word_t *) val; in dwarf_getvr() local 144 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, valp, in dwarf_getvr() 148 return (*c->as->acc.access_mem) (c->as, addr + 8, valp + 1, 0, c->as_arg); in dwarf_getvr() 154 unw_word_t *valp = (unw_word_t *) & val; in dwarf_putvr() local 169 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, valp, in dwarf_putvr() 173 return (*c->as->acc.access_mem) (c->as, addr + 8, valp + 1, 1, c->as_arg); in dwarf_putvr() 179 unw_word_t *valp = (unw_word_t *) val; in dwarf_getfp() local 193 return (*c->as->acc.access_mem) (c->as, addr + 0, valp, 0, c->as_arg); in dwarf_getfp() 200 unw_word_t *valp = (unw_word_t *) & val; in dwarf_putfp() local 215 return (*c->as->acc.access_mem) (c->as, addr + 0, valp, 1, c->as_arg); in dwarf_putfp() [all …]
|
/external/libunwind/src/mi/ |
D | Gget_reg.c | 29 unw_get_reg (unw_cursor_t *cursor, int regnum, unw_word_t *valp) in unw_get_reg() argument 36 *valp = tdep_get_ip (c); in unw_get_reg() 40 return tdep_access_reg (c, regnum, valp, 0); in unw_get_reg()
|