Lines Matching refs:allocator
56 index_decode(void *coder_ptr, const lzma_allocator *allocator, in index_decode() argument
139 coder->index, allocator, in index_decode()
218 index_decoder_end(void *coder_ptr, const lzma_allocator *allocator) in index_decoder_end() argument
221 lzma_index_end(coder->index, allocator); in index_decoder_end()
222 lzma_free(coder, allocator); in index_decoder_end()
248 index_decoder_reset(lzma_index_coder *coder, const lzma_allocator *allocator, in index_decoder_reset() argument
259 coder->index = lzma_index_init(allocator); in index_decoder_reset()
275 lzma_index_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, in lzma_index_decoder_init() argument
278 lzma_next_coder_init(&lzma_index_decoder_init, next, allocator); in lzma_index_decoder_init()
285 coder = lzma_alloc(sizeof(lzma_index_coder), allocator); in lzma_index_decoder_init()
295 lzma_index_end(coder->index, allocator); in lzma_index_decoder_init()
298 return index_decoder_reset(coder, allocator, i, memlimit); in lzma_index_decoder_init()
322 const lzma_allocator *allocator, in lzma_index_buffer_decode() argument
337 return_if_error(index_decoder_reset(&coder, allocator, i, *memlimit)); in lzma_index_buffer_decode()
344 lzma_ret ret = index_decode(&coder, allocator, in, in_pos, in_size, in lzma_index_buffer_decode()
352 lzma_index_end(coder.index, allocator); in lzma_index_buffer_decode()