Home
last modified time | relevance | path

Searched refs:in_pos (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/lib/xz/
Dxz_dec_stream.c160 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
162 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
163 b->in_pos += copy_size; in fill_temp()
176 size_t *in_pos, size_t in_size) in dec_vli() argument
183 while (*in_pos < in_size) { in dec_vli()
184 byte = in[*in_pos]; in dec_vli()
185 ++*in_pos; in dec_vli()
222 s->in_start = b->in_pos; in dec_block()
232 s->block.compressed += b->in_pos - s->in_start; in dec_block()
283 size_t in_used = b->in_pos - s->in_start; in index_update()
[all …]
Dxz_dec_lzma2.c110 size_t in_pos; member
379 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed()
381 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed()
390 memcpy(dict->buf + dict->pos, b->in + b->in_pos, copy_size); in dict_uncompressed()
400 memcpy(b->out + b->out_pos, b->in + b->in_pos, in dict_uncompressed()
407 b->in_pos += copy_size; in dict_uncompressed()
452 if (b->in_pos == b->in_size) in rc_read_init()
455 rc->code = (rc->code << 8) + b->in[b->in_pos++]; in rc_read_init()
465 return rc->in_pos > rc->in_limit; in rc_limit_exceeded()
482 rc->code = (rc->code << RC_SHIFT_BITS) + rc->in[rc->in_pos++]; in rc_normalize()
[all …]
Dxz_dec_test.c75 buffers.in_pos = 0; in xz_dec_test_open()
122 if (buffers.in_pos == buffers.in_size) { in xz_dec_test_write()
123 buffers.in_pos = 0; in xz_dec_test_write()
145 return size - remaining - (buffers.in_size - buffers.in_pos); in xz_dec_test_write()
/linux-2.6.39/lib/
Ddecompress_unxz.c295 b.in_pos = 0; in unxz()
303 if (b.in_pos == b.in_size && fill != NULL) { in unxz()
305 *in_used += b.in_pos; in unxz()
307 b.in_pos = 0; in unxz()
347 *in_used += b.in_pos; in unxz()
/linux-2.6.39/fs/squashfs/
Dxz_wrapper.c117 stream->buf.in_pos = 0; in squashfs_xz_uncompress()
124 if (stream->buf.in_pos == stream->buf.in_size && k < b) { in squashfs_xz_uncompress()
133 stream->buf.in_pos = 0; in squashfs_xz_uncompress()
146 if (stream->buf.in_pos == stream->buf.in_size && k < b) in squashfs_xz_uncompress()
/linux-2.6.39/drivers/sh/
Dpfc.c70 unsigned long in_pos, unsigned long value) in gpio_write_bit() argument
74 pos = dr->reg_width - (in_pos + 1); in gpio_write_bit()
89 unsigned long field_width, unsigned long in_pos) in gpio_read_reg() argument
95 pos = reg_width - ((in_pos + 1) * field_width); in gpio_read_reg()
106 unsigned long field_width, unsigned long in_pos, in gpio_write_reg() argument
112 pos = reg_width - ((in_pos + 1) * field_width); in gpio_write_reg()
/linux-2.6.39/include/linux/
Dxz.h138 size_t in_pos; member
/linux-2.6.39/sound/usb/caiaq/
Daudio.c220 int in_pos; in snd_usb_caiaq_pcm_prepare() local
224 in_pos = BYTES_PER_SAMPLE + 2; in snd_usb_caiaq_pcm_prepare()
227 in_pos = BYTES_PER_SAMPLE; in snd_usb_caiaq_pcm_prepare()
231 in_pos = 0; in snd_usb_caiaq_pcm_prepare()
235 dev->period_in_count[index] = in_pos; in snd_usb_caiaq_pcm_prepare()
236 dev->audio_in_buf_pos[index] = in_pos; in snd_usb_caiaq_pcm_prepare()