Home
last modified time | relevance | path

Searched refs:MAX_HDR_SIZE (Results 1 – 1 of 1) sorted by relevance

/external/liblzf/
Dlzf.c173 #define MAX_HDR_SIZE 7 macro
180 u8 buf1[MAX_BLOCKSIZE + MAX_HDR_SIZE + 16]; in compress_fd()
181 u8 buf2[MAX_BLOCKSIZE + MAX_HDR_SIZE + 16]; in compress_fd()
185 while ((us = rread (from, &buf1[MAX_HDR_SIZE], blocksize)) > 0) in compress_fd()
187 cs = lzf_compress (&buf1[MAX_HDR_SIZE], us, &buf2[MAX_HDR_SIZE], us > 4 ? us - 4 : us); in compress_fd()
190 header = &buf2[MAX_HDR_SIZE - TYPE1_HDR_SIZE]; in compress_fd()
202 header = &buf1[MAX_HDR_SIZE - TYPE0_HDR_SIZE]; in compress_fd()
221 u8 header[MAX_HDR_SIZE]; in uncompress_fd()
222 u8 buf1[MAX_BLOCKSIZE + MAX_HDR_SIZE + 16]; in uncompress_fd()
223 u8 buf2[MAX_BLOCKSIZE + MAX_HDR_SIZE + 16]; in uncompress_fd()
[all …]