Home
last modified time | relevance | path

Searched refs:valp (Results 1 – 25 of 76) sorted by relevance

1234

/external/libunwind/src/coredump/
D_UCD_access_reg_freebsd.c30 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/
Dsshbuf-getput-basic.c43 sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp) in sshbuf_get_u64() argument
50 if (valp != NULL) in sshbuf_get_u64()
51 *valp = PEEK_U64(p); in sshbuf_get_u64()
56 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) in sshbuf_get_u32() argument
63 if (valp != NULL) in sshbuf_get_u32()
64 *valp = PEEK_U32(p); in sshbuf_get_u32()
69 sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp) in sshbuf_get_u16() argument
76 if (valp != NULL) in sshbuf_get_u16()
77 *valp = PEEK_U16(p); in sshbuf_get_u16()
82 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) in sshbuf_get_u8() argument
[all …]
Dsshbuf.h171 int sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp);
172 int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp);
173 int sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp);
174 int sshbuf_get_u8(struct sshbuf *buf, u_char *valp);
185 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
186 int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp);
197 int sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp,
204 int sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp,
213 const u_char **valp, size_t *lenp);
/external/libunwind/src/ppc64/
DGregs.c31 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/src/ia64/
DGregs.c250 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/include/
Dremote.h12 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/
Dlibdw_form.c43 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 …]
Ddwarf_formblock.c44 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()
Ddwarf_formref.c41 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()
Ddwarf_formsdata.c44 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()
Ddwarf_formudata.c56 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/
DGregs.c31 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/ltrace/
Dvalue.c32 value_common_init(struct value *valp, struct process *inferior, in value_common_init() argument
36 valp->type = type; in value_common_init()
37 valp->own_type = own_type; in value_common_init()
38 valp->inferior = inferior; in value_common_init()
39 memset(&valp->u, 0, sizeof(valp->u)); in value_common_init()
40 valp->where = VAL_LOC_NODATA; in value_common_init()
41 valp->parent = parent; in value_common_init()
42 valp->size = (size_t)-1; in value_common_init()
46 value_init(struct value *valp, struct process *inferior, struct value *parent, in value_init() argument
50 value_common_init(valp, inferior, parent, type, own_type); in value_init()
[all …]
Dvalue.h89 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);
/external/libunwind/src/hppa/
DGregs.c29 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/
DGregs.c39 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/
DGregs.c30 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/
DGregs.c65 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/
Dtest-proc-info.c59 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/arm/
DGregs.c28 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/sh/
DGregs.c29 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/
Dos-linux.h112 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/
DGregs.c30 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/
Dlibunwind_i.h128 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/
Dlibunwind_i.h128 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 …]

1234