Lines Matching refs:_decoder
1955 self._decoder = None
2068 if self._decoder:
2069 self._decoder.reset()
2082 self._decoder = decoder
2120 if self._decoder is None:
2127 dec_buffer, dec_flags = self._decoder.getstate()
2137 decoded_chars = self._decoder.decode(input_chunk, eof)
2175 decoder = self._decoder
2313 if self._decoder:
2314 self._decoder.reset()
2334 if cookie == 0 and self._decoder:
2335 self._decoder.reset()
2336 elif self._decoder or dec_flags or chars_to_skip:
2337 self._decoder = self._decoder or self._get_decoder()
2338 self._decoder.setstate((b'', dec_flags))
2345 self._decoder.decode(input_chunk, need_eof))
2360 decoder = self._decoder or self._get_decoder()
2403 if not self._decoder:
2480 return self._decoder.newlines if self._decoder else None
2508 decoder = self._decoder or self._get_decoder()