Lines Matching refs:bytestream2_get_bytes_left
86 if (bytestream2_get_bytes_left(&gb) < 4)
97 while (dataleft > 0 && bytestream2_get_bytes_left(&gb) > 0) {
100 if (d_end - d < 8 || bytestream2_get_bytes_left(&gb) < 8)
112 if (d_end - d < 1 || bytestream2_get_bytes_left(&gb) < 1)
151 if (bytestream2_get_bytes_left(&gb) < 1)
158 if (bytestream2_get_bytes_left(&gb) < 1)
163 if (dest_end - pd < l || bytestream2_get_bytes_left(&gb) < l)
168 if (dest_end - pd < 2*l || bytestream2_get_bytes_left(&gb) < 2)
248 if (bytestream2_get_bytes_left(&gb) >= PALETTE_COUNT * 3) {
266 if (bytestream2_get_bytes_left(&gb) < 1)
276 size = lz_unpack(gb.buffer, bytestream2_get_bytes_left(&gb),
295 bytestream2_get_bytes_left(&gb) < len)
337 len, bytestream2_get_bytes_left(&gb),