Lines Matching refs:_decoder
1990 self._decoder = None
2065 if (self._decoder is not None
2154 if self._decoder:
2155 self._decoder.reset()
2168 self._decoder = decoder
2206 if self._decoder is None:
2213 dec_buffer, dec_flags = self._decoder.getstate()
2223 decoded_chars = self._decoder.decode(input_chunk, eof)
2261 decoder = self._decoder
2399 if self._decoder:
2400 self._decoder.reset()
2420 if cookie == 0 and self._decoder:
2421 self._decoder.reset()
2422 elif self._decoder or dec_flags or chars_to_skip:
2423 self._decoder = self._decoder or self._get_decoder()
2424 self._decoder.setstate((b'', dec_flags))
2431 self._decoder.decode(input_chunk, need_eof))
2453 decoder = self._decoder or self._get_decoder()
2497 if not self._decoder:
2574 return self._decoder.newlines if self._decoder else None
2602 decoder = self._decoder or self._get_decoder()