Lines Matching refs:cache
76 __libdw_cfi_read_address_inc (const Dwarf_CFI *cache,
80 width = width ?: cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
82 if (cache->dbg != NULL)
83 return __libdw_read_address_inc (cache->dbg, IDX_debug_frame,
89 const unsigned char *endp = cache->data->d.d_buf + cache->data->d.d_size;
90 Dwarf eh_dbg = { .other_byte_order = MY_ELFDATA != cache->e_ident[EI_DATA] };
113 read_encoded_value (const Dwarf_CFI *cache, uint8_t encoding,
122 *result = (cache->frame_vaddr
123 + (*p - (const uint8_t *) cache->data->d.d_buf));
127 *result = cache->textrel;
132 *result = cache->datarel;
138 const size_t size = encoded_value_size (&cache->data->d,
139 cache->e_ident,
143 size_t align = ((cache->frame_vaddr
144 + (*p - (const uint8_t *) cache->data->d.d_buf))
157 const unsigned char *endp = cache->data->d.d_buf + cache->data->d.d_size;
167 value = read_2ubyte_unaligned_inc (cache, *p);
173 value = read_2sbyte_unaligned_inc (cache, *p);
177 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 4, &value) != 0))
182 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 4, &value) != 0))
189 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 8, &value) != 0))
194 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 0, &value) != 0))
215 if (unlikely (*result < cache->frame_vaddr))
217 *result -= cache->frame_vaddr;
218 size_t ptrsize = encoded_value_size (NULL, cache->e_ident,
220 if (unlikely (cache->data->d.d_size < ptrsize
221 || *result > (cache->data->d.d_size - ptrsize)))
223 const uint8_t *ptr = cache->data->d.d_buf + *result;
224 if (unlikely (__libdw_cfi_read_address_inc (cache, &ptr, 0, result)