Lines Matching refs:dec_flags
2306 dec_buffer, dec_flags = self._decoder.getstate()
2326 self._snapshot = (dec_flags, dec_buffer + input_chunk)
2330 def _pack_cookie(self, position, dec_flags=0, argument
2337 return (position | (dec_flags<<64) | (bytes_to_feed<<128) |
2342 rest, dec_flags = divmod(rest, 1<<64)
2345 return position, dec_flags, bytes_to_feed, bool(need_eof), chars_to_skip
2362 dec_flags, next_input = self._snapshot
2369 return self._pack_cookie(position, dec_flags)
2386 decoder.setstate((b'', dec_flags))
2393 dec_flags = d
2405 decoder.setstate((b'', dec_flags))
2409 start_flags = dec_flags
2425 dec_buffer, dec_flags = decoder.getstate()
2430 start_flags, bytes_fed, chars_decoded = dec_flags, 0, 0
2504 start_pos, dec_flags, bytes_to_feed, need_eof, chars_to_skip = \
2515 elif self._decoder or dec_flags or chars_to_skip:
2517 self._decoder.setstate((b'', dec_flags))
2518 self._snapshot = (dec_flags, b'')
2525 self._snapshot = (dec_flags, input_chunk)