Searched refs:LZMA_HEADER_SIZE (Results 1 – 2 of 2) sorted by relevance
/external/squashfs-tools/squashfs-tools/ |
D | lzma_wrapper.c | 30 #define LZMA_HEADER_SIZE (LZMA_PROPS_SIZE + 8) macro 37 outlen = block_size - LZMA_HEADER_SIZE; in lzma_compress() 40 res = LzmaCompress(dest + LZMA_HEADER_SIZE, &outlen, src, size, dest, in lzma_compress() 78 return outlen + LZMA_HEADER_SIZE; in lzma_compress() 86 size_t outlen, inlen = size - LZMA_HEADER_SIZE; in lzma_uncompress() 99 res = LzmaUncompress(dest, &outlen, src + LZMA_HEADER_SIZE, &inlen, src, in lzma_uncompress()
|
D | lzma_xz_wrapper.c | 33 #define LZMA_HEADER_SIZE (LZMA_PROPS_SIZE + LZMA_UNCOMP_SIZE) macro 104 unsigned char lzma_header[LZMA_HEADER_SIZE]; in lzma_uncompress() 112 memcpy(lzma_header, src, LZMA_HEADER_SIZE); in lzma_uncompress() 128 strm.avail_in = LZMA_HEADER_SIZE; in lzma_uncompress() 137 strm.next_in = src + LZMA_HEADER_SIZE; in lzma_uncompress() 138 strm.avail_in = size - LZMA_HEADER_SIZE; in lzma_uncompress()
|