Lines Matching refs:dst

70                      void *dst, size_t dst_alloc_size, size_t *dst_size) {  in compress_blob_xz()  argument
85 assert(dst); in compress_blob_xz()
96 src, src_size, dst, &out_pos, dst_alloc_size); in compress_blob_xz()
108 void *dst, size_t dst_alloc_size, size_t *dst_size) { in compress_blob_lz4() argument
114 assert(dst); in compress_blob_lz4()
124 r = LZ4_compress_default(src, (char*)dst + 8, src_size, (int) dst_alloc_size - 8); in compress_blob_lz4()
128 unaligned_write_le64(dst, src_size); in compress_blob_lz4()
139 void *dst, size_t dst_alloc_size, size_t *dst_size) { in compress_blob_zstd() argument
145 assert(dst); in compress_blob_zstd()
149 k = ZSTD_compress(dst, dst_alloc_size, src, src_size, 0); in compress_blob_zstd()
163 void **dst, in decompress_blob_xz() argument
174 assert(dst); in decompress_blob_xz()
182 if (!greedy_realloc(dst, space, 1)) in decompress_blob_xz()
188 s.next_out = *dst; in decompress_blob_xz()
208 if (!greedy_realloc(dst, space, 1)) in decompress_blob_xz()
212 s.next_out = *(uint8_t**)dst + used; in decompress_blob_xz()
225 void **dst, in decompress_blob_lz4() argument
235 assert(dst); in decompress_blob_lz4()
244 out = greedy_realloc(dst, size, 1); in decompress_blob_lz4()
262 void **dst, in decompress_blob_zstd() argument
271 assert(dst); in decompress_blob_zstd()
283 if (!(greedy_realloc(dst, MAX(ZSTD_DStreamOutSize(), size), 1))) in decompress_blob_zstd()
295 .dst = *dst, in decompress_blob_zstd()
296 .size = MALLOC_SIZEOF_SAFE(*dst), in decompress_blob_zstd()
317 void **dst, in decompress_blob() argument
324 dst, dst_size, dst_max); in decompress_blob()
328 dst, dst_size, dst_max); in decompress_blob()
332 dst, dst_size, dst_max); in decompress_blob()
501 .dst = *buffer, in decompress_startswith_zstd()
902 .dst = out_buff, in compress_stream_zstd()
925 wrote = loop_write(fdt, output.dst, output.pos, 1); in compress_stream_zstd()
1013 .dst = out_buff, in decompress_stream_zstd()
1035 wrote = loop_write(fdt, output.dst, output.pos, 1); in decompress_stream_zstd()