Home
last modified time | relevance | path

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

/lib/
A Ddecompress_unlzo.c159 in_len -= skip; in unlzo()
173 skip = fill(in_buf + in_len, 4 - in_len); in unlzo()
175 in_len += skip; in unlzo()
177 if (in_len < 4) { in unlzo()
183 in_len -= 4; in unlzo()
199 skip = fill(in_buf + in_len, 8 - in_len); in unlzo()
201 in_len += skip; in unlzo()
203 if (in_len < 8) { in unlzo()
209 in_len -= 8; in unlzo()
218 skip = fill(in_buf + in_len, src_len - in_len); in unlzo()
[all …]
A Ddecompress_unzstd.c144 ret = zstd_find_frame_compressed_size(in_buf, in_len); in decompress_single()
148 in_len = (long)ret; in decompress_single()
156 *in_pos = in_len; in decompress_single()
165 static int INIT __unzstd(unsigned char *in_buf, long in_len, in __unzstd() argument
212 in_len = 0; in __unzstd()
216 in_len = fill(in_buf, ZSTD_IOBUF_SIZE); in __unzstd()
217 if (in_len < 0) { in __unzstd()
225 in.size = in_len; in __unzstd()
293 in_len = fill ? fill(in_buf, ZSTD_IOBUF_SIZE) : -1; in __unzstd()
294 if (in_len < 0) { in __unzstd()
[all …]
A Ddecompress_unlz4.c31 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()
207 STATIC int INIT __decompress(unsigned char *buf, long in_len, in __decompress() argument
215 return unlz4(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
A Ddecompress_unlzma.c539 STATIC inline int INIT unlzma(unsigned char *buf, long in_len, in unlzma() argument
580 rc_init(&rc, fill, inbuf, in_len); in unlzma()
672 STATIC int INIT __decompress(unsigned char *buf, long in_len, in __decompress() argument
679 return unlzma(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
/lib/lzo/
A Dlzo1x_compress.c32 LZO_SAFE(lzo1x_1_do_compress)(const unsigned char *in, size_t in_len, in LZO_SAFE()
40 const unsigned char * const in_end = in + in_len; in LZO_SAFE()
41 const unsigned char * const ip_end = in + in_len - 20; in LZO_SAFE()
336 const unsigned char *in, size_t in_len, in LZO_SAFE()
344 size_t l = in_len; in LZO_SAFE()
381 const unsigned char *ii = in + in_len - t; in LZO_SAFE()
428 int LZO_SAFE(lzo1x_1_compress)(const unsigned char *in, size_t in_len, in LZO_SAFE()
433 in, in_len, out, out_len, wrkmem, 0); in LZO_SAFE()
436 int LZO_SAFE(lzorle1x_1_compress)(const unsigned char *in, size_t in_len, in LZO_SAFE()
441 in, in_len, out, out_len, wrkmem, LZO_VERSION); in LZO_SAFE()
A Dlzo1x_decompress_safe.c39 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()

Completed in 9 milliseconds