Lines Matching refs:_decoder
1521 self._decoder = None
1624 if self._decoder:
1625 self._decoder.reset()
1638 self._decoder = decoder
1676 if self._decoder is None:
1683 dec_buffer, dec_flags = self._decoder.getstate()
1690 self._set_decoded_chars(self._decoder.decode(input_chunk, eof))
1723 decoder = self._decoder
1811 if self._decoder:
1812 self._decoder.reset()
1832 if cookie == 0 and self._decoder:
1833 self._decoder.reset()
1834 elif self._decoder or dec_flags or chars_to_skip:
1835 self._decoder = self._decoder or self._get_decoder()
1836 self._decoder.setstate((b'', dec_flags))
1843 self._decoder.decode(input_chunk, need_eof))
1868 decoder = self._decoder or self._get_decoder()
1911 if not self._decoder:
1988 return self._decoder.newlines if self._decoder else None
2015 decoder = self._decoder or self._get_decoder()