Lines Matching refs:_decoder
2057 self._decoder = None
2132 if (self._decoder is not None
2221 if self._decoder:
2222 self._decoder.reset()
2235 self._decoder = decoder
2273 if self._decoder is None:
2280 dec_buffer, dec_flags = self._decoder.getstate()
2290 decoded_chars = self._decoder.decode(input_chunk, eof)
2328 decoder = self._decoder
2466 if self._decoder:
2467 self._decoder.reset()
2487 if cookie == 0 and self._decoder:
2488 self._decoder.reset()
2489 elif self._decoder or dec_flags or chars_to_skip:
2490 self._decoder = self._decoder or self._get_decoder()
2491 self._decoder.setstate((b'', dec_flags))
2498 self._decoder.decode(input_chunk, need_eof))
2520 decoder = self._decoder or self._get_decoder()
2564 if not self._decoder:
2641 return self._decoder.newlines if self._decoder else None
2669 decoder = self._decoder or self._get_decoder()