Searched refs:valp (Results 1 - 25 of 72) sorted by relevance

123

/external/libunwind/src/mi/
H A DGget_reg.c29 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 DGget_fpreg.c29 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 DGset_reg.c29 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.c30 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 DGregs.c31 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 DGregs.c31 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 DGregs.c29 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/libdw/
H A Dlibdw_form.c43 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 Ddwarf_formblock.c44 const unsigned char *datap = attr->valp;
52 return_block->length = *(uint8_t *) attr->valp;
53 return_block->data = attr->valp + 1;
59 return_block->length = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
60 return_block->data = attr->valp + 2;
66 return_block->length = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
67 return_block->data = attr->valp + 4;
H A Ddwarf_attr.c45 result->valp = __libdw_find_attr (die, search_name, &result->code,
50 return result->valp != NULL && result->code == search_name ? result : NULL;
H A Ddwarf_formref.c41 const unsigned char *datap = attr->valp;
44 if (attr->valp == NULL)
59 *return_offset = *attr->valp;
65 *return_offset = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
71 *return_offset = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
77 *return_offset = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
H A Ddwarf_formsdata.c44 const unsigned char *datap = attr->valp;
56 *return_sval = *attr->valp;
62 *return_sval = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
68 *return_sval = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
74 *return_sval = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
H A Ddwarf_formflag.c56 *return_bool = *attr->valp != 0;
H A Ddwarf_formstring.c48 return (const char *) attrp->valp;
69 if (__libdw_read_offset (dbg, dbg_ret, cu_sec_idx (attrp->cu), attrp->valp,
/external/libunwind/include/
H A Dremote.h12 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 DGpe.c35 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 DGregs.c28 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 DGregs.c29 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 DGregs.c30 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 Dsshbuf-getput-basic.c45 sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp) argument
52 if (valp != NULL)
53 *valp = PEEK_U64(p);
58 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) argument
65 if (valp != NULL)
66 *valp = PEEK_U32(p);
71 sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp) argument
78 if (valp != NULL)
79 *valp = PEEK_U16(p);
84 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) argument
97 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) argument
124 sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) argument
150 sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp, size_t *lenp) argument
181 sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp) argument
431 sshbuf_get_bignum2_bytes_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) argument
[all...]
/external/libunwind/src/mips/
H A DGregs.c30 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/libunwind/src/x86_64/
H A DGregs.c65 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 DGregs.c250 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 Dtest-proc-info.c59 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
/external/libunwind/src/x86/
H A DGregs.c39 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, argument
51 c->dwarf.ip = *valp; /* also update the EIP cache */
59 *valp = c->dwarf.cfa;
68 c->dwarf.eh_args[arg_num] = *valp;
74 *valp = c->dwarf.eh_args[arg_num];
116 return dwarf_put (&c->dwarf, loc, *valp);
118 return dwarf_get (&c->dwarf, loc, valp);
122 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, argument
175 return dwarf_putfp (&c->dwarf, loc, *valp);
177 return dwarf_getfp (&c->dwarf, loc, valp);
[all...]

Completed in 265 milliseconds

123