Searched defs:valp (Results 1 - 25 of 44) sorted by relevance

12

/external/libunwind/src/mi/
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 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 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/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/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...]
H A D_UCD_access_reg_linux.c31 unw_regnum_t regnum, unw_word_t *valp,
133 *valp = ui->prstatus->pr_reg[regnum];
30 _UCD_access_reg(unw_addr_space_t as, unw_regnum_t regnum, unw_word_t *valp, int write, void *arg) argument
/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/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/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/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/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/elfutils/0.153/libdw/
H A Dlibdw_form.c64 const unsigned char *valp)
86 result = *valp + 1;
90 result = read_2ubyte_unaligned (dbg, valp) + 2;
94 result = read_4ubyte_unaligned (dbg, valp) + 4;
99 saved = valp;
100 get_uleb128 (u128, valp);
101 result = u128 + (valp - saved);
131 result = strlen ((char *) valp) + 1;
137 saved = valp;
138 get_uleb128 (u128, valp);
63 __libdw_form_val_len(Dwarf *dbg, struct Dwarf_CU *cu, unsigned int form, const unsigned char *valp) argument
[all...]
/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/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
H A DGexpr.c191 unw_word_t *valp, int *is_register)
322 *valp = dwarf_to_unw_regnum (opcode - DW_OP_reg0);
328 *valp = dwarf_to_unw_regnum (operand1);
644 *valp = pop ();
645 Debug (14, "final value = 0x%lx\n", (unsigned long) *valp);
190 dwarf_eval_expr(struct dwarf_cursor *c, unw_word_t *addr, unw_word_t len, unw_word_t *valp, int *is_register) 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...]
/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/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...]
H A Ddwarf_i.h137 uint8_t *valp, void *arg)
150 *valp = (uint8_t) val;
296 unw_word_t *valp, void *arg)
312 *valp = val;
321 unw_word_t *valp, void *arg)
341 *valp = val;
349 unw_word_t *valp, void *arg)
364 *valp = 0;
371 return dwarf_readw (as, a, addr, valp, arg);
436 *valp
136 dwarf_readu8(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, uint8_t *valp, void *arg) argument
295 dwarf_read_uleb128(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unw_word_t *valp, void *arg) argument
320 dwarf_read_sleb128(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unw_word_t *valp, void *arg) argument
346 dwarf_read_encoded_pointer_inlined(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
[all...]
/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/
H A Dos-linux.h112 scan_hex (char *cp, unsigned long *valp) argument
137 *valp = val;
142 scan_dec (char *cp, unsigned long *valp) argument
164 *valp = val;
169 scan_char (char *cp, char *valp) argument
174 *valp = *cp;
185 scan_string (char *cp, char *valp, size_t buf_size) argument
194 if ((valp != NULL) && (i < buf_size - 1))
195 valp[i++] = *cp;
200 valp[
[all...]
/external/libunwind/include/tdep-hppa/
H A Dlibunwind_i.h159 char *valp = (char *) &val; local
171 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, (unw_word_t *) valp,
175 return (*c->as->acc.access_mem) (c->as, addr + 4, (unw_word_t *) valp + 1, 0,
182 char *valp = (char *) &val; local
194 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, (unw_word_t *) valp,
198 return (*c->as->acc.access_mem) (c->as, addr + 4, (unw_word_t *) valp + 1,
294 unw_word_t *valp, int write);
296 unw_fpreg_t *valp, int write);
/external/libunwind/include/tdep-mips/
H A Dlibunwind_i.h212 char *valp = (char *) &val; local
224 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, (unw_word_t *) valp,
228 return (*c->as->acc.access_mem) (c->as, addr + 4, (unw_word_t *) valp + 1, 0,
235 char *valp = (char *) &val; local
247 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, (unw_word_t *) valp,
251 return (*c->as->acc.access_mem) (c->as, addr + 4, (unw_word_t *) valp + 1,
350 unw_word_t *valp, int write);
352 unw_fpreg_t *valp, int write);
/external/libunwind/include/tdep-sh/
H A Dlibunwind_i.h160 char *valp = (char *) &val; local
172 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, (unw_word_t *) valp,
176 return (*c->as->acc.access_mem) (c->as, addr + 4, (unw_word_t *) valp + 1, 0,
183 char *valp = (char *) &val; local
195 if ((ret = (*c->as->acc.access_mem) (c->as, addr + 0, (unw_word_t *) valp,
199 return (*c->as->acc.access_mem) (c->as, addr + 4, (unw_word_t *) valp + 1,
295 unw_word_t *valp, int write);
297 unw_fpreg_t *valp, int write);

Completed in 209 milliseconds

12