Searched refs:in_len (Results 1 – 5 of 5) sorted by relevance
/lib/ |
D | decompress_unlzo.c | 41 STATIC inline long INIT parse_header(u8 *input, long *skip, long in_len) in parse_header() argument 45 u8 *end = input + in_len; in parse_header() 54 if (in_len < HEADER_SIZE_MIN) in parse_header() 98 STATIC int INIT unlzo(u8 *input, long in_len, in unlzo() argument 152 in_len = fill(in_buf, HEADER_SIZE_MAX); in unlzo() 155 if (!parse_header(in_buf, &skip, in_len)) { in unlzo() 160 in_len -= skip; in unlzo() 164 memcpy(in_buf_save, in_buf, in_len); in unlzo() 173 if (fill && in_len < 4) { in unlzo() 174 skip = fill(in_buf + in_len, 4 - in_len); in unlzo() [all …]
|
D | decompress_unlz4.c | 31 STATIC inline int INIT unlz4(u8 *input, long in_len, in unlz4() argument 43 long size = in_len; in unlz4() 45 size_t out_len = get_unaligned_le32(input + in_len); in unlz4() 199 STATIC int INIT __decompress(unsigned char *buf, long in_len, in __decompress() argument 207 return unlz4(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
|
D | decompress_unlzma.c | 537 STATIC inline int INIT unlzma(unsigned char *buf, long in_len, in unlzma() argument 578 rc_init(&rc, fill, inbuf, in_len); in unlzma() 670 STATIC int INIT __decompress(unsigned char *buf, long in_len, in __decompress() argument 677 return unlzma(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
|
/lib/lzo/ |
D | lzo1x_compress.c | 22 lzo1x_1_do_compress(const unsigned char *in, size_t in_len, in lzo1x_1_do_compress() argument 29 const unsigned char * const in_end = in + in_len; in lzo1x_1_do_compress() 30 const unsigned char * const ip_end = in + in_len - 20; in lzo1x_1_do_compress() 291 int lzogeneric1x_1_compress(const unsigned char *in, size_t in_len, in lzogeneric1x_1_compress() argument 298 size_t l = in_len; in lzogeneric1x_1_compress() 331 const unsigned char *ii = in + in_len - t; in lzogeneric1x_1_compress() 368 int lzo1x_1_compress(const unsigned char *in, size_t in_len, in lzo1x_1_compress() argument 372 return lzogeneric1x_1_compress(in, in_len, out, out_len, wrkmem, 0); in lzo1x_1_compress() 375 int lzorle1x_1_compress(const unsigned char *in, size_t in_len, in lzorle1x_1_compress() argument 379 return lzogeneric1x_1_compress(in, in_len, out, out_len, in lzorle1x_1_compress()
|
D | lzo1x_decompress_safe.c | 39 int lzo1x_decompress_safe(const unsigned char *in, size_t in_len, in lzo1x_decompress_safe() argument 47 const unsigned char * const ip_end = in + in_len; in lzo1x_decompress_safe() 55 if (unlikely(in_len < 3)) in lzo1x_decompress_safe() 58 if (likely(in_len >= 5) && likely(*ip == 17)) { in lzo1x_decompress_safe()
|