Home
last modified time | relevance | path

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

1234

/third_party/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 …]
/third_party/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()
74 result = *valp + 1; in __libdw_form_val_compute_len()
80 result = read_2ubyte_unaligned (cu->dbg, valp) + 2; in __libdw_form_val_compute_len()
86 result = read_4ubyte_unaligned (cu->dbg, valp) + 4; in __libdw_form_val_compute_len()
91 get_uleb128 (u128, valp, endp); in __libdw_form_val_compute_len()
92 result = u128 + (valp - startp); in __libdw_form_val_compute_len()
97 const unsigned char *endstrp = memchr (valp, '\0', in __libdw_form_val_compute_len()
114 get_uleb128 (u128, valp, endp); in __libdw_form_val_compute_len()
115 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_getlocation_attr.c82 result->valp = (unsigned char *) (uintptr_t) op->number2; in dwarf_getlocation_attr()
90 result->valp = (unsigned char *) (uintptr_t) op->number2; in dwarf_getlocation_attr()
98 result->valp = (unsigned char *) (uintptr_t) op->number2; in dwarf_getlocation_attr()
109 result->valp = addr_valp (attr->cu, op->number); in dwarf_getlocation_attr()
110 if (result->valp == NULL) in dwarf_getlocation_attr()
119 result->valp = addr_valp (attr->cu, op->number); in dwarf_getlocation_attr()
120 if (result->valp == NULL) in dwarf_getlocation_attr()
Ddwarf_formsdata.c44 const unsigned char *datap = attr->valp; in dwarf_formsdata()
56 *return_sval = (signed char) *attr->valp; in dwarf_formsdata()
62 *return_sval = read_2sbyte_unaligned (attr->cu->dbg, attr->valp); in dwarf_formsdata()
68 *return_sval = read_4sbyte_unaligned (attr->cu->dbg, attr->valp); in dwarf_formsdata()
74 *return_sval = read_8sbyte_unaligned (attr->cu->dbg, attr->valp); in dwarf_formsdata()
/third_party/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 …]
/third_party/libffi/src/alpha/
Dffi.c192 extend_basic_type(void *valp, int type, int argn) in extend_basic_type() argument
197 return *(SINT8 *)valp; in extend_basic_type()
199 return *(UINT8 *)valp; in extend_basic_type()
201 return *(SINT16 *)valp; in extend_basic_type()
203 return *(UINT16 *)valp; in extend_basic_type()
207 return lds(valp); in extend_basic_type()
214 return *(SINT32 *)valp; in extend_basic_type()
220 return *(UINT64 *)valp; in extend_basic_type()
256 void *valp = avalue[i]; in ffi_call_int() local
274 argp[argn] = extend_basic_type(valp, type, argn); in ffi_call_int()
[all …]
/third_party/libunwind/include/
Dremote.h14 unw_word_t *addr, int8_t *valp, void *arg) in fetch8() argument
16 *valp = *(int8_t *) (uintptr_t) *addr; in fetch8()
23 unw_word_t *addr, int16_t *valp, void *arg) in fetch16() argument
25 *valp = *(int16_t *) (uintptr_t) *addr; in fetch16()
32 unw_word_t *addr, int32_t *valp, void *arg) in fetch32() argument
34 *valp = *(int32_t *) (uintptr_t) *addr; in fetch32()
41 unw_word_t *addr, unw_word_t *valp, void *arg) in fetchw() argument
43 *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 …]
/third_party/libunwind/src/ppc64/
DGregs.c31 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument
89 c->dwarf.ip = *valp; /* update the IP cache */ in tdep_access_reg()
90 if (c->dwarf.pi_valid && (*valp < c->dwarf.pi.start_ip in tdep_access_reg()
91 || *valp >= c->dwarf.pi.end_ip)) in tdep_access_reg()
95 *valp = c->dwarf.ip; in tdep_access_reg()
101 *valp = c->dwarf.cfa; in tdep_access_reg()
110 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg()
112 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg()
116 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument
125 return dwarf_putfp (&c->dwarf, loc, *valp); in tdep_access_fpreg()
[all …]
/third_party/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 …]
/third_party/libunwind/src/riscv/
DGregs.c29 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument
42 *valp = 0; in tdep_access_reg()
47 Debug (16, "pc is now 0x%lx\n", *valp); in tdep_access_reg()
48 c->dwarf.ip = *valp; in tdep_access_reg()
59 *valp = c->dwarf.cfa; in tdep_access_reg()
68 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg()
72 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg()
77 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument
89 return dwarf_putfp (&c->dwarf, loc, *valp); in tdep_access_fpreg()
93 return dwarf_getfp (&c->dwarf, loc, valp); in tdep_access_fpreg()
/third_party/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()
/third_party/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()
60 c->dwarf.ip = *valp; /* update the IP cache */ in tdep_access_reg()
95 *valp = c->dwarf.cfa; in tdep_access_reg()
104 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg()
106 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg()
110 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument
115 return dwarf_putfp (&c->dwarf, loc, *valp); in tdep_access_fpreg()
117 return dwarf_getfp (&c->dwarf, loc, valp); in tdep_access_fpreg()
/third_party/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()
/third_party/libunwind/src/tilegx/
DGregs.c29 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument
45 *valp = c->dwarf.cfa; in tdep_access_reg()
58 c->dwarf.ip = *valp; /* update the IP cache */ in tdep_access_reg()
62 c->dwarf.ip = *valp; /* update the IP cache */ in tdep_access_reg()
64 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg()
67 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg()
71 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument
/third_party/libunwind/src/s390x/
DGregs.c32 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument
42 *valp = c->dwarf.cfa; in tdep_access_reg()
76 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg()
78 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg()
82 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument
113 return dwarf_putfp (&c->dwarf, loc, *valp); in tdep_access_fpreg()
115 return dwarf_getfp (&c->dwarf, loc, valp); in tdep_access_fpreg()
/third_party/libunwind/src/sh/
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()
61 *valp = c->dwarf.cfa; in tdep_access_reg()
70 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg()
72 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
/third_party/libunwind/src/arm/
DGregs.c28 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument
37 c->dwarf.ip = *valp; /* update the IP cache */ in tdep_access_reg()
59 *valp = c->dwarf.cfa; in tdep_access_reg()
70 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg()
72 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg()
78 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument
/third_party/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
/third_party/libunwind/src/mips/
DGregs.c30 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, in tdep_access_reg() argument
74 c->dwarf.ip = *valp; /* update the IP cache */ in tdep_access_reg()
82 *valp = c->dwarf.cfa; in tdep_access_reg()
93 return dwarf_put (&c->dwarf, loc, *valp); in tdep_access_reg()
95 return dwarf_get (&c->dwarf, loc, valp); in tdep_access_reg()
101 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, in tdep_access_fpreg() argument
/third_party/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()
/third_party/libunwind/src/
Dos-linux.h133 scan_hex (char *cp, unsigned long *valp) in scan_hex() argument
158 *valp = val; in scan_hex()
163 scan_dec (char *cp, unsigned long *valp) in scan_dec() argument
185 *valp = val; in scan_dec()
190 scan_char (char *cp, char *valp) in scan_char() argument
195 *valp = *cp; in scan_char()
206 scan_string (char *cp, char *valp, size_t buf_size) in scan_string() argument
215 if ((valp != NULL) && (i < buf_size - 1)) in scan_string()
216 valp[i++] = *cp; in scan_string()
221 valp[i] = '\0'; in scan_string()
/third_party/libunwind/include/tdep-ppc32/
Dlibunwind_i.h125 unw_word_t *valp = (unw_word_t *) val; in dwarf_getvr() local
141 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, valp, in dwarf_getvr()
145 return (*c->as->acc.access_mem) (c->as, addr + 8, valp + 1, 0, c->as_arg); in dwarf_getvr()
151 unw_word_t *valp = (unw_word_t *) & val; in dwarf_putvr() local
166 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, valp, in dwarf_putvr()
170 return (*c->as->acc.access_mem) (c->as, addr + 8, valp + 1, 1, c->as_arg); in dwarf_putvr()
176 unw_word_t *valp = (unw_word_t *) val; in dwarf_getfp() local
190 return (*c->as->acc.access_mem) (c->as, addr + 0, valp, 0, c->as_arg); in dwarf_getfp()
197 unw_word_t *valp = (unw_word_t *) & val; in dwarf_putfp() local
212 return (*c->as->acc.access_mem) (c->as, addr + 0, valp, 1, c->as_arg); in dwarf_putfp()
[all …]
/third_party/libunwind/include/tdep-ppc64/
Dlibunwind_i.h178 unw_word_t *valp = (unw_word_t *) val; in dwarf_getvr() local
194 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, valp, in dwarf_getvr()
198 return (*c->as->acc.access_mem) (c->as, addr + 8, valp + 1, 0, c->as_arg); in dwarf_getvr()
204 unw_word_t *valp = (unw_word_t *) & val; in dwarf_putvr() local
219 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, valp, in dwarf_putvr()
223 return (*c->as->acc.access_mem) (c->as, addr + 8, valp + 1, 1, c->as_arg); in dwarf_putvr()
229 unw_word_t *valp = (unw_word_t *) val; in dwarf_getfp() local
243 return (*c->as->acc.access_mem) (c->as, addr + 0, valp, 0, c->as_arg); in dwarf_getfp()
250 unw_word_t *valp = (unw_word_t *) & val; in dwarf_putfp() local
265 return (*c->as->acc.access_mem) (c->as, addr + 0, valp, 1, c->as_arg); in dwarf_putfp()
[all …]

1234