Searched refs:in_size (Results 1 - 25 of 81) sorted by relevance

1234

/freebsd-11-stable/contrib/xz/src/liblzma/common/
H A Dfilter_flags_decoder.c19 const uint8_t *in, size_t *in_pos, size_t in_size)
26 in, in_pos, in_size));
34 in, in_pos, in_size));
37 if (in_size - *in_pos < props_size)
H A Dvli_decoder.c19 size_t in_size)
31 if (*in_pos >= in_size)
44 if (*in_pos >= in_size)
83 } while (*in_pos < in_size);
H A Deasy_buffer_encoder.c19 size_t in_size, uint8_t *out, size_t *out_pos, size_t out_size)
26 allocator, in, in_size, out, out_pos, out_size);
H A Dblock_buffer_decoder.c18 const uint8_t *in, size_t *in_pos, size_t in_size,
21 if (in_pos == NULL || (in == NULL && *in_pos != in_size)
22 || *in_pos > in_size || out_pos == NULL
40 in, in_pos, in_size, out, out_pos, out_size,
49 assert(*in_pos == in_size
62 if (*in_pos == in_size)
H A Dfilter_buffer_decoder.c19 const uint8_t *in, size_t *in_pos, size_t in_size,
23 if (in == NULL || in_pos == NULL || *in_pos > in_size || out == NULL
37 lzma_ret ret = next.code(next.coder, allocator, in, in_pos, in_size,
46 assert(*in_pos == in_size || *out_pos == out_size);
48 if (*in_pos != in_size) {
70 in, in_pos, in_size,
H A Dstream_buffer_decoder.c19 const uint8_t *in, size_t *in_pos, size_t in_size,
23 if (in_pos == NULL || (in == NULL && *in_pos != in_size)
24 || *in_pos > in_size || out_pos == NULL
48 in, in_pos, in_size, out, out_pos, out_size,
61 assert(*in_pos == in_size
69 if (*in_pos == in_size)
H A Dblock_header_decoder.c67 const size_t in_size = block->header_size - 4; local
70 if (lzma_crc32(in, in_size, 0) != read32le(in + in_size))
83 NULL, in, &in_pos, in_size));
96 NULL, in, &in_pos, in_size));
105 in, &in_pos, in_size);
113 while (in_pos < in_size) {
H A Dfilter_buffer_encoder.c19 const uint8_t *in, size_t in_size,
23 if ((in == NULL && in_size != 0) || out == NULL
37 lzma_ret ret = next.code(next.coder, allocator, in, &in_pos, in_size,
H A Dblock_buffer_encoder.c89 block_encode_uncompressed(lzma_block *block, const uint8_t *in, size_t in_size, argument
119 assert(block->compressed_size == lzma2_bound(in_size));
138 while (in_pos < in_size) {
146 = my_min(in_size - in_pos, LZMA2_CHUNK_MAX);
168 const uint8_t *in, size_t in_size,
195 in, &in_pos, in_size, out, out_pos, out_size,
225 const uint8_t *in, size_t in_size,
230 if (block == NULL || (in == NULL && in_size != 0) || out == NULL
263 block->uncompressed_size = in_size;
264 block->compressed_size = lzma2_bound(in_size);
167 block_encode_normal(lzma_block *block, const lzma_allocator *allocator, const uint8_t *in, size_t in_size, uint8_t *out, size_t *out_pos, size_t out_size) argument
224 block_buffer_encode(lzma_block *block, const lzma_allocator *allocator, const uint8_t *in, size_t in_size, uint8_t *out, size_t *out_pos, size_t out_size, bool try_to_compress) argument
[all...]
H A Dstream_buffer_encoder.c46 const uint8_t *in, size_t in_size,
51 || (in == NULL && in_size != 0) || out == NULL
95 if (in_size > 0)
97 in, in_size, out, &out_pos, out_size));
110 if (in_size > 0)
H A Dindex_decoder.c59 size_t in_size,
71 while (*in_pos < in_size)
91 in, in_pos, in_size);
122 in, in_pos, in_size);
179 if (*in_pos == in_size)
311 const uint8_t *in, size_t *in_pos, size_t in_size)
315 || in == NULL || in_pos == NULL || *in_pos > in_size)
327 lzma_ret ret = index_decode(&coder, allocator, in, in_pos, in_size,
57 index_decode(void *coder_ptr, const lzma_allocator *allocator, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, uint8_t *restrict out lzma_attribute((__unused__)), size_t *restrict out_pos lzma_attribute((__unused__)), size_t out_size lzma_attribute((__unused__)), lzma_action action lzma_attribute((__unused__))) argument
H A Dstream_decoder.c105 size_t in_size, uint8_t *restrict out,
116 lzma_bufcpy(in, in_pos, in_size, coder->buffer, &coder->pos,
163 if (*in_pos >= in_size)
182 lzma_bufcpy(in, in_pos, in_size, coder->buffer, &coder->pos,
256 in, in_pos, in_size, out, out_pos, out_size,
277 if (*in_pos >= in_size)
283 in, in_pos, in_size);
294 lzma_bufcpy(in, in_pos, in_size, coder->buffer, &coder->pos,
337 if (*in_pos >= in_size) {
103 stream_decode(void *coder_ptr, const lzma_allocator *allocator, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, lzma_action action) argument
/freebsd-11-stable/sys/contrib/xz-embedded/linux/include/linux/decompress/
H A Dunxz.h13 int unxz(unsigned char *in, int in_size,
/freebsd-11-stable/sys/contrib/xz-embedded/userspace/
H A Dboottest.c42 size_t in_size; local
44 in_size = fread(in, 1, sizeof(in), stdin);
45 ret = decompress(in, in_size, NULL, NULL, out, NULL, &error);
52 size_t in_size; local
55 in_size = fread(in, 1, sizeof(in), stdin);
56 ret = decompress(in, in_size, NULL, &flush, NULL, &in_used, &error);
H A Dbytetest.c48 b.in_size = 0;
54 if (b.in_pos == b.in_size) {
55 b.in_size = fread(in, 1, sizeof(in), stdin);
H A Dxzminidec.c56 b.in_size = 0;
62 if (b.in_pos == b.in_size) {
63 b.in_size = fread(in, 1, sizeof(in), stdin);
/freebsd-11-stable/sys/contrib/xz-embedded/linux/lib/
H A Ddecompress_unxz.c251 STATIC int INIT unxz(unsigned char *in, int in_size, argument
296 b.in_size = in_size;
303 if (b.in_pos == b.in_size && fill != NULL) {
309 in_size = fill(in, XZ_IOBUF_SIZE);
310 if (in_size < 0) {
320 b.in_size = in_size;
/freebsd-11-stable/sys/dev/mlx5/
H A Dcmd.h52 void *in, int in_size);
/freebsd-11-stable/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_test.c76 buffers.in_size = 0;
122 if (buffers.in_pos == buffers.in_size) {
124 buffers.in_size = min(remaining, sizeof(buffer_in));
125 if (copy_from_user(buffer_in, buf, buffers.in_size))
128 buf += buffers.in_size;
129 remaining -= buffers.in_size;
145 return size - remaining - (buffers.in_size - buffers.in_pos);
/freebsd-11-stable/contrib/xz/src/liblzma/delta/
H A Ddelta_encoder.c54 size_t in_size, uint8_t *restrict out,
62 const size_t in_avail = in_size - *in_pos;
71 ret = action != LZMA_RUN && *in_pos == in_size
78 in, in_pos, in_size, out, out_pos, out_size,
52 delta_encode(void *coder_ptr, const lzma_allocator *allocator, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, lzma_action action) argument
H A Ddelta_decoder.c32 size_t in_size, uint8_t *restrict out,
42 in, in_pos, in_size, out, out_pos, out_size,
30 delta_decode(void *coder_ptr, const lzma_allocator *allocator, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, lzma_action action) argument
/freebsd-11-stable/contrib/xz/src/liblzma/lz/
H A Dlz_decoder.h61 size_t *restrict in_pos, size_t in_size);
204 size_t *restrict in_pos, size_t in_size,
214 if (in_size - *in_pos > *left)
215 in_size = *in_pos + *left;
217 *left -= lzma_bufcpy(in, in_pos, in_size,
203 dict_write(lzma_dict *restrict dict, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, size_t *restrict left) argument
/freebsd-11-stable/contrib/xz/src/liblzma/simple/
H A Dsimple_coder.c23 size_t in_size, uint8_t *restrict out,
29 lzma_bufcpy(in, in_pos, in_size, out, out_pos, out_size);
33 && *in_pos == in_size)
40 in, in_pos, in_size,
71 size_t in_size, uint8_t *restrict out,
135 in, in_pos, in_size,
181 in, in_pos, in_size,
21 copy_or_code(lzma_simple_coder *coder, const lzma_allocator *allocator, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, lzma_action action) argument
69 simple_code(void *coder_ptr, const lzma_allocator *allocator, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, lzma_action action) argument
/freebsd-11-stable/contrib/xz/src/liblzma/rangecoder/
H A Drange_decoder.h30 size_t *restrict in_pos, size_t in_size)
33 if (*in_pos == in_size)
53 /// variables `in' and `in_size' to be defined.
90 if (unlikely(rc_in_pos == in_size)) { \
29 rc_read_init(lzma_range_decoder *rc, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size) argument
/freebsd-11-stable/contrib/xz/src/liblzma/api/lzma/
H A Dblock.h510 * \param in_size Size of the input buffer
527 const uint8_t *in, size_t in_size,
545 const uint8_t *in, size_t in_size,
562 * \param in_size Size of the input buffer; the first byte that
563 * won't be read is in[in_size].
579 const uint8_t *in, size_t *in_pos, size_t in_size,

Completed in 215 milliseconds

1234