Lines Matching refs:next
66 const u8 *next; member
78 is->next = buffer; in init_input_bitstream()
79 is->end = is->next + size; in init_input_bitstream()
91 if (is->end - is->next >= 2) { in bitstream_ensure_bits()
92 is->bitbuf |= (u32)get_unaligned_le16(is->next) in bitstream_ensure_bits()
94 is->next += 2; in bitstream_ensure_bits()
146 if (unlikely(is->end == is->next)) in bitstream_read_byte()
148 return *is->next++; in bitstream_read_byte()
157 if (unlikely(is->end - is->next < 2)) in bitstream_read_u16()
159 v = get_unaligned_le16(is->next); in bitstream_read_u16()
160 is->next += 2; in bitstream_read_u16()
170 if (unlikely(is->end - is->next < 4)) in bitstream_read_u32()
172 v = get_unaligned_le32(is->next); in bitstream_read_u32()
173 is->next += 4; in bitstream_read_u32()
184 if ((size_t)(is->end - is->next) < count) in bitstream_read_bytes()
186 memcpy(dst_buffer, is->next, count); in bitstream_read_bytes()
187 is->next += count; in bitstream_read_bytes()