23 for (
i = 0;
i + 4 <=
size;
i += 2) {
24 if ((
buffer[
i + 1] & 0xF8) == 0xF0
25 && (
buffer[
i + 3] & 0xF8) == 0xF8) {
static lzma_ret armthumb_coder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters, bool is_encoder)
lzma_ret lzma_simple_armthumb_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
static size_t armthumb_code(void *simple lzma_attribute((__unused__)), uint32_t now_pos, bool is_encoder, uint8_t *buffer, size_t size)
lzma_ret lzma_simple_armthumb_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
const lzma_allocator * allocator
const lzma_filter * filters
#define lzma_attribute(attr)
lzma_ret lzma_simple_coder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters, size_t(*filter)(void *simple, uint32_t now_pos, bool is_encoder, uint8_t *buffer, size_t size), size_t simple_size, size_t unfiltered_max, uint32_t alignment, bool is_encoder)
Private definitions for so called simple filters.
Custom functions for memory handling.
Hold data and function pointers of the next filter in the chain.
lzma_ret
Return values used by several functions in liblzma.