/external/libunwind/src/mi/ |
H A D | Gget_reg.c | 29 unw_get_reg (unw_cursor_t *cursor, int regnum, unw_word_t *valp) argument 36 *valp = tdep_get_ip (c); 40 return tdep_access_reg (c, regnum, valp, 0);
|
H A D | Gget_fpreg.c | 29 unw_get_fpreg (unw_cursor_t *cursor, int regnum, unw_fpreg_t *valp) argument 33 return tdep_access_fpreg (c, regnum, valp, 0);
|
H A D | Gset_reg.c | 29 unw_set_reg (unw_cursor_t *cursor, int regnum, unw_word_t valp) argument 33 return tdep_access_reg (c, regnum, &valp, 1);
|
/external/libunwind/src/coredump/ |
H A D | _UCD_access_reg_freebsd.c | 30 unw_regnum_t regnum, unw_word_t *valp, 44 *valp = ui->prstatus->pr_reg.r_eax; 47 *valp = ui->prstatus->pr_reg.r_edx; 50 *valp = ui->prstatus->pr_reg.r_ecx; 53 *valp = ui->prstatus->pr_reg.r_ebx; 56 *valp = ui->prstatus->pr_reg.r_esi; 59 *valp = ui->prstatus->pr_reg.r_edi; 62 *valp = ui->prstatus->pr_reg.r_ebp; 65 *valp = ui->prstatus->pr_reg.r_esp; 68 *valp 29 _UCD_access_reg(unw_addr_space_t as, unw_regnum_t regnum, unw_word_t *valp, int write, void *arg) argument [all...] |
/external/libunwind/src/ppc64/ |
H A D | Gregs.c | 31 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, argument 41 c->dwarf.ip = *valp; /* update the IP cache */ 42 if (c->dwarf.pi_valid && (*valp < c->dwarf.pi.start_ip 43 || *valp >= c->dwarf.pi.end_ip)) 47 *valp = c->dwarf.ip; 53 *valp = c->dwarf.cfa; 69 return dwarf_put (&c->dwarf, loc, *valp); 71 return dwarf_get (&c->dwarf, loc, valp); 75 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, argument 84 return dwarf_putfp (&c->dwarf, loc, *valp); [all...] |
/external/libunwind/src/ppc32/ |
H A D | Gregs.c | 31 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, argument 41 c->dwarf.ip = *valp; /* update the IP cache */ 42 if (c->dwarf.pi_valid && (*valp < c->dwarf.pi.start_ip 43 || *valp >= c->dwarf.pi.end_ip)) 47 *valp = c->dwarf.ip; 53 *valp = c->dwarf.cfa; 68 return dwarf_put (&c->dwarf, loc, *valp); 70 return dwarf_get (&c->dwarf, loc, valp); 74 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, argument 83 return dwarf_putfp (&c->dwarf, loc, *valp); [all...] |
/external/libunwind/src/hppa/ |
H A D | Gregs.c | 29 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, argument 38 c->dwarf.ip = *valp; /* update the IP cache */ 39 if (c->dwarf.pi_valid && (*valp < c->dwarf.pi.start_ip 40 || *valp >= c->dwarf.pi.end_ip)) 48 *valp = c->dwarf.cfa; 67 return dwarf_put (&c->dwarf, loc, *valp); 69 return dwarf_get (&c->dwarf, loc, valp); 73 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, argument 84 return dwarf_putfp (&c->dwarf, loc, *valp); 86 return dwarf_getfp (&c->dwarf, loc, valp); [all...] |
/external/elfutils/src/libdw/ |
H A D | libdw_form.c | 43 const unsigned char *valp) 45 const unsigned char *startp = valp; 72 result = *valp + 1; 78 result = read_2ubyte_unaligned (cu->dbg, valp) + 2; 84 result = read_4ubyte_unaligned (cu->dbg, valp) + 4; 89 get_uleb128 (u128, valp, endp); 90 result = u128 + (valp - startp); 95 const unsigned char *endstrp = memchr (valp, '\0', 106 get_uleb128 (u128, valp, endp); 107 result = valp 42 __libdw_form_val_compute_len(struct Dwarf_CU *cu, unsigned int form, const unsigned char *valp) argument [all...] |
H A D | dwarf_formblock.c | 46 const unsigned char *datap = attr->valp; 54 return_block->length = *(uint8_t *) attr->valp; 55 return_block->data = attr->valp + 1; 61 return_block->length = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); 62 return_block->data = attr->valp + 2; 68 return_block->length = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); 69 return_block->data = attr->valp + 4;
|
H A D | dwarf_attr.c | 48 result->valp = __libdw_find_attr (die, search_name, &result->code, 53 return result->valp != NULL && result->code == search_name ? result : NULL;
|
H A D | dwarf_formref.c | 42 const unsigned char *datap = attr->valp; 45 if (attr->valp == NULL) 60 *return_offset = *attr->valp; 66 *return_offset = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); 72 *return_offset = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); 78 *return_offset = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
|
H A D | dwarf_formsdata.c | 46 const unsigned char *datap = attr->valp; 58 *return_sval = *attr->valp; 64 *return_sval = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); 70 *return_sval = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); 76 *return_sval = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
|
H A D | dwarf_formflag.c | 58 *return_bool = *attr->valp != 0;
|
/external/libunwind/include/ |
H A D | remote.h | 12 unw_word_t *addr, int8_t *valp, void *arg) 14 *valp = *(int8_t *) (uintptr_t) *addr; 21 unw_word_t *addr, int16_t *valp, void *arg) 23 *valp = *(int16_t *) (uintptr_t) *addr; 30 unw_word_t *addr, int32_t *valp, void *arg) 32 *valp = *(int32_t *) (uintptr_t) *addr; 39 unw_word_t *addr, unw_word_t *valp, void *arg) 41 *valp = *(unw_word_t *) (uintptr_t) *addr; 52 unw_word_t *addr, int8_t *valp, void *arg) 66 *valp 11 fetch8(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, int8_t *valp, void *arg) argument 20 fetch16(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, int16_t *valp, void *arg) argument 29 fetch32(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, int32_t *valp, void *arg) argument 38 fetchw(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unw_word_t *valp, void *arg) argument 51 fetch8(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, int8_t *valp, void *arg) argument 71 fetch16(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, int16_t *valp, void *arg) argument 93 fetch32(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, int32_t *valp, void *arg) argument 115 fetchw(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unw_word_t *valp, void *arg) argument [all...] |
/external/libunwind/src/dwarf/ |
H A D | Gpe.c | 35 unw_word_t *valp, void *arg) 38 pi, valp, arg); 32 dwarf_read_encoded_pointer(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unsigned char encoding, const unw_proc_info_t *pi, unw_word_t *valp, void *arg) argument
|
/external/libunwind/src/arm/ |
H A D | Gregs.c | 28 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, argument 57 *valp = c->dwarf.cfa; 68 return dwarf_put (&c->dwarf, loc, *valp); 70 return dwarf_get (&c->dwarf, loc, valp); 76 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, argument
|
/external/libunwind/src/sh/ |
H A D | Gregs.c | 29 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, argument 59 *valp = c->dwarf.cfa; 68 return dwarf_put (&c->dwarf, loc, *valp); 70 return dwarf_get (&c->dwarf, loc, valp); 74 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, argument
|
/external/libunwind/src/aarch64/ |
H A D | Gregs.c | 30 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, argument 45 c->dwarf.eh_args[reg] = *valp; 51 *valp = c->dwarf.eh_args[reg]; 93 *valp = c->dwarf.cfa; 102 return dwarf_put (&c->dwarf, loc, *valp); 104 return dwarf_get (&c->dwarf, loc, valp); 108 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, argument
|
/external/openssh/ |
H A D | sshbuf-getput-basic.c | 43 sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp) argument 50 if (valp != NULL) 51 *valp = PEEK_U64(p); 56 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) argument 63 if (valp != NULL) 64 *valp = PEEK_U32(p); 69 sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp) argument 76 if (valp != NULL) 77 *valp = PEEK_U16(p); 82 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) argument 95 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) argument 122 sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) argument 148 sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp, size_t *lenp) argument 179 sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp) argument 429 sshbuf_get_bignum2_bytes_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) argument [all...] |
/external/libunwind/src/mips/ |
H A D | Gregs.c | 30 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, argument 79 *valp = c->dwarf.cfa; 90 return dwarf_put (&c->dwarf, loc, *valp); 92 return dwarf_get (&c->dwarf, loc, valp); 98 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, argument
|
/external/ltrace/ |
H A D | value.h | 89 void value_release(struct value *valp); 92 void value_in_inferior(struct value *valp, arch_addr_t address); 101 void value_set_word(struct value *valp, long value); 105 unsigned char *value_reserve(struct value *valp, size_t size); 110 int value_init_element(struct value *ret_val, struct value *valp, size_t element); 114 int value_init_deref(struct value *ret_val, struct value *valp);
|
H A D | value.c | 32 value_common_init(struct value *valp, struct process *inferior, argument 36 valp->type = type; 37 valp->own_type = own_type; 38 valp->inferior = inferior; 39 memset(&valp->u, 0, sizeof(valp->u)); 40 valp->where = VAL_LOC_NODATA; 41 valp->parent = parent; 42 valp->size = (size_t)-1; 46 value_init(struct value *valp, struc argument 54 value_init_detached(struct value *valp, struct value *parent, struct arg_type_info *type, int own_type) argument 101 value_reserve(struct value *valp, size_t size) argument 118 value_in_inferior(struct value *valp, arch_addr_t address) argument 290 value_init_deref(struct value *ret_val, struct value *valp) argument [all...] |
/external/libunwind/src/x86_64/ |
H A D | Gregs.c | 65 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, argument 77 c->dwarf.ip = *valp; /* also update the RIP cache */ 85 *valp = c->dwarf.cfa; 94 c->dwarf.eh_args[arg_num] = *valp; 100 *valp = c->dwarf.eh_args[arg_num]; 128 return dwarf_put (&c->dwarf, loc, *valp); 130 return dwarf_get (&c->dwarf, loc, valp); 134 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, argument
|
/external/libunwind/src/ia64/ |
H A D | Gregs.c | 250 unw_word_t *valp, int write) 261 if (*valp) 268 *valp = (nat_word & mask) != 0; 275 unw_word_t *valp, int write) 287 if (*valp) 321 *valp = (memcmp (&tmp, &unw.nat_val_be, sizeof (tmp)) == 0); 323 *valp = (memcmp (&tmp, &unw.nat_val_le, sizeof (tmp)) == 0); 333 return ia64_put (c, nat_loc, *valp); 335 return ia64_get (c, nat_loc, valp); 347 if (*valp) 249 update_nat(struct cursor *c, ia64_loc_t nat_loc, unw_word_t mask, unw_word_t *valp, int write) argument 273 access_nat(struct cursor *c, ia64_loc_t nat_loc, ia64_loc_t reg_loc, uint8_t nat_bitnr, unw_word_t *valp, int write) argument 360 tdep_access_reg(struct cursor *c, unw_regnum_t reg, unw_word_t *valp, int write) argument 562 tdep_access_fpreg(struct cursor *c, int reg, unw_fpreg_t *valp, int write) argument [all...] |
/external/libunwind/tests/ |
H A D | test-proc-info.c | 59 unw_word_t *valp, int write, 63 *valp = 0; 70 unw_word_t *valp, int write, 74 *valp = 32; 81 unw_fpreg_t *valp, int write, 85 memset (valp, 0, sizeof (*valp)); 57 access_mem(unw_addr_space_t as UNUSED, unw_word_t addr UNUSED, unw_word_t *valp, int write, void *arg UNUSED) argument 68 access_reg(unw_addr_space_t as UNUSED, unw_regnum_t regnum UNUSED, unw_word_t *valp, int write, void *arg UNUSED) argument 79 access_fpreg(unw_addr_space_t as UNUSED, unw_regnum_t regnum UNUSED, unw_fpreg_t *valp, int write, void *arg UNUSED) argument
|