Lines Matching refs:addr

46 dwarf_reads8 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr,  in dwarf_reads8()  argument
49 dwarf_misaligned_value_t *mvp = (void *) (uintptr_t) *addr; in dwarf_reads8()
52 *addr += sizeof (mvp->s8); in dwarf_reads8()
57 dwarf_reads16 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads16() argument
60 dwarf_misaligned_value_t *mvp = (void *) (uintptr_t) *addr; in dwarf_reads16()
63 *addr += sizeof (mvp->s16); in dwarf_reads16()
68 dwarf_reads32 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads32() argument
71 dwarf_misaligned_value_t *mvp = (void *) (uintptr_t) *addr; in dwarf_reads32()
74 *addr += sizeof (mvp->s32); in dwarf_reads32()
79 dwarf_reads64 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads64() argument
82 dwarf_misaligned_value_t *mvp = (void *) (uintptr_t) *addr; in dwarf_reads64()
85 *addr += sizeof (mvp->s64); in dwarf_reads64()
90 dwarf_readu8 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readu8() argument
93 dwarf_misaligned_value_t *mvp = (void *) (uintptr_t) *addr; in dwarf_readu8()
96 *addr += sizeof (mvp->u8); in dwarf_readu8()
101 dwarf_readu16 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readu16() argument
104 dwarf_misaligned_value_t *mvp = (void *) (uintptr_t) *addr; in dwarf_readu16()
107 *addr += sizeof (mvp->u16); in dwarf_readu16()
112 dwarf_readu32 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readu32() argument
115 dwarf_misaligned_value_t *mvp = (void *) (uintptr_t) *addr; in dwarf_readu32()
118 *addr += sizeof (mvp->u32); in dwarf_readu32()
123 dwarf_readu64 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readu64() argument
126 dwarf_misaligned_value_t *mvp = (void *) (uintptr_t) *addr; in dwarf_readu64()
129 *addr += sizeof (mvp->u64); in dwarf_readu64()
136 dwarf_readu8 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readu8() argument
139 unw_word_t val, aligned_addr = *addr & -sizeof (unw_word_t); in dwarf_readu8()
140 unw_word_t off = *addr - aligned_addr; in dwarf_readu8()
143 *addr += 1; in dwarf_readu8()
155 dwarf_readu16 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readu16() argument
161 if ((ret = dwarf_readu8 (as, a, addr, &v0, arg)) < 0 in dwarf_readu16()
162 || (ret = dwarf_readu8 (as, a, addr, &v1, arg)) < 0) in dwarf_readu16()
173 dwarf_readu32 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readu32() argument
179 if ((ret = dwarf_readu16 (as, a, addr, &v0, arg)) < 0 in dwarf_readu32()
180 || (ret = dwarf_readu16 (as, a, addr, &v1, arg)) < 0) in dwarf_readu32()
191 dwarf_readu64 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readu64() argument
197 if ((ret = dwarf_readu32 (as, a, addr, &v0, arg)) < 0 in dwarf_readu64()
198 || (ret = dwarf_readu32 (as, a, addr, &v1, arg)) < 0) in dwarf_readu64()
209 dwarf_reads8 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads8() argument
215 if ((ret = dwarf_readu8 (as, a, addr, &uval, arg)) < 0) in dwarf_reads8()
222 dwarf_reads16 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads16() argument
228 if ((ret = dwarf_readu16 (as, a, addr, &uval, arg)) < 0) in dwarf_reads16()
235 dwarf_reads32 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads32() argument
241 if ((ret = dwarf_readu32 (as, a, addr, &uval, arg)) < 0) in dwarf_reads32()
248 dwarf_reads64 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads64() argument
254 if ((ret = dwarf_readu64 (as, a, addr, &uval, arg)) < 0) in dwarf_reads64()
263 dwarf_readw (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readw() argument
273 ret = dwarf_readu32 (as, a, addr, &u32, arg); in dwarf_readw()
280 ret = dwarf_readu64 (as, a, addr, &u64, arg); in dwarf_readw()
295 dwarf_read_uleb128 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_read_uleb128() argument
304 if ((ret = dwarf_readu8 (as, a, addr, &byte, arg)) < 0) in dwarf_read_uleb128()
320 dwarf_read_sleb128 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_read_sleb128() argument
329 if ((ret = dwarf_readu8 (as, a, addr, &byte, arg)) < 0) in dwarf_read_sleb128()
347 unw_word_t *addr, unsigned char encoding, in dwarf_read_encoded_pointer_inlined() argument
351 unw_word_t val, initial_addr = *addr; in dwarf_read_encoded_pointer_inlined()
370 *addr = (initial_addr + size - 1) & -size; in dwarf_read_encoded_pointer_inlined()
371 return dwarf_readw (as, a, addr, valp, arg); in dwarf_read_encoded_pointer_inlined()
377 if ((ret = dwarf_readw (as, a, addr, &val, arg)) < 0) in dwarf_read_encoded_pointer_inlined()
382 if ((ret = dwarf_read_uleb128 (as, a, addr, &val, arg)) < 0) in dwarf_read_encoded_pointer_inlined()
387 if ((ret = dwarf_readu16 (as, a, addr, &uval16, arg)) < 0) in dwarf_read_encoded_pointer_inlined()
393 if ((ret = dwarf_readu32 (as, a, addr, &uval32, arg)) < 0) in dwarf_read_encoded_pointer_inlined()
399 if ((ret = dwarf_readu64 (as, a, addr, &uval64, arg)) < 0) in dwarf_read_encoded_pointer_inlined()
405 if ((ret = dwarf_read_uleb128 (as, a, addr, &val, arg)) < 0) in dwarf_read_encoded_pointer_inlined()
410 if ((ret = dwarf_reads16 (as, a, addr, &sval16, arg)) < 0) in dwarf_read_encoded_pointer_inlined()
416 if ((ret = dwarf_reads32 (as, a, addr, &sval32, arg)) < 0) in dwarf_read_encoded_pointer_inlined()
422 if ((ret = dwarf_reads64 (as, a, addr, &sval64, arg)) < 0) in dwarf_read_encoded_pointer_inlined()