Searched refs:src_len (Results 1 – 4 of 4) sorted by relevance
/lib/ |
D | decompress_unlzo.c | 119 u32 src_len, dst_len; in unlzo() local 221 src_len = get_unaligned_be32(in_buf); in unlzo() 225 if (src_len <= 0 || src_len > dst_len) { in unlzo() 231 if (fill && in_len < src_len) { in unlzo() 232 skip = fill(in_buf + in_len, src_len - in_len); in unlzo() 236 if (in_len < src_len) { in unlzo() 245 if (unlikely(dst_len == src_len)) in unlzo() 246 memcpy(out_buf, in_buf, src_len); in unlzo() 248 r = lzo1x_decompress_safe((u8 *) in_buf, src_len, in unlzo() 262 *posp += src_len + 12; in unlzo() [all …]
|
/lib/lz4/ |
D | lz4_compress.c | 418 int lz4_compress(const unsigned char *src, size_t src_len, in lz4_compress() argument 424 if (src_len < LZ4_64KLIMIT) in lz4_compress() 425 out_len = lz4_compress64kctx(wrkmem, src, dst, src_len, in lz4_compress() 426 lz4_compressbound(src_len)); in lz4_compress() 428 out_len = lz4_compressctx(wrkmem, src, dst, src_len, in lz4_compress() 429 lz4_compressbound(src_len)); in lz4_compress()
|
D | lz4_decompress.c | 290 int lz4_decompress(const unsigned char *src, size_t *src_len, in lz4_decompress() argument 299 *src_len = input_len; in lz4_decompress() 309 int lz4_decompress_unknownoutputsize(const unsigned char *src, size_t src_len, in lz4_decompress_unknownoutputsize() argument 315 out_len = lz4_uncompress_unknownoutputsize(src, dest, src_len, in lz4_decompress_unknownoutputsize()
|
D | lz4hc_compress.c | 516 int lz4hc_compress(const unsigned char *src, size_t src_len, in lz4hc_compress() argument 525 (char *)dst, (int)src_len); in lz4hc_compress()
|