Lines Matching refs:cache

75 __libdw_cfi_read_address_inc (const Dwarf_CFI *cache,  in __libdw_cfi_read_address_inc()  argument
79 width = width ?: cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in __libdw_cfi_read_address_inc()
81 if (cache->dbg != NULL) in __libdw_cfi_read_address_inc()
82 return __libdw_read_address_inc (cache->dbg, IDX_debug_frame, in __libdw_cfi_read_address_inc()
88 const unsigned char *endp = cache->data->d.d_buf + cache->data->d.d_size; in __libdw_cfi_read_address_inc()
89 Dwarf eh_dbg = { .other_byte_order = MY_ELFDATA != cache->e_ident[EI_DATA] }; in __libdw_cfi_read_address_inc()
112 read_encoded_value (const Dwarf_CFI *cache, uint8_t encoding, in read_encoded_value() argument
121 *result = (cache->frame_vaddr in read_encoded_value()
122 + (*p - (const uint8_t *) cache->data->d.d_buf)); in read_encoded_value()
126 *result = cache->textrel; in read_encoded_value()
131 *result = cache->datarel; in read_encoded_value()
137 const size_t size = encoded_value_size (&cache->data->d, in read_encoded_value()
138 cache->e_ident, in read_encoded_value()
142 size_t align = ((cache->frame_vaddr in read_encoded_value()
143 + (*p - (const uint8_t *) cache->data->d.d_buf)) in read_encoded_value()
156 const unsigned char *endp = cache->data->d.d_buf + cache->data->d.d_size; in read_encoded_value()
166 value = read_2ubyte_unaligned_inc (cache, *p); in read_encoded_value()
172 value = read_2sbyte_unaligned_inc (cache, *p); in read_encoded_value()
176 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 4, &value) != 0)) in read_encoded_value()
181 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 4, &value) != 0)) in read_encoded_value()
188 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 8, &value) != 0)) in read_encoded_value()
193 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 0, &value) != 0)) in read_encoded_value()
214 if (unlikely (*result < cache->frame_vaddr)) in read_encoded_value()
216 *result -= cache->frame_vaddr; in read_encoded_value()
217 size_t ptrsize = encoded_value_size (NULL, cache->e_ident, in read_encoded_value()
219 if (unlikely (cache->data->d.d_size < ptrsize in read_encoded_value()
220 || *result > (cache->data->d.d_size - ptrsize))) in read_encoded_value()
222 const uint8_t *ptr = cache->data->d.d_buf + *result; in read_encoded_value()
223 if (unlikely (__libdw_cfi_read_address_inc (cache, &ptr, 0, result) in read_encoded_value()