Lines Matching full:chars_to_skip
1699 bytes_to_feed=0, need_eof=0, chars_to_skip=0):
1703 # chars_to_skip characters of the decoded result. For most simple
1706 (chars_to_skip<<192) | bool(need_eof)<<256)
1712 need_eof, chars_to_skip = divmod(rest, 1<<64)
1713 return position, dec_flags, bytes_to_feed, need_eof, chars_to_skip
1734 chars_to_skip = self._decoded_chars_used
1735 if chars_to_skip == 0:
1757 if not dec_buffer and chars_decoded <= chars_to_skip:
1760 chars_to_skip -= chars_decoded
1762 if chars_decoded >= chars_to_skip:
1768 if chars_decoded < chars_to_skip:
1773 start_pos, start_flags, bytes_fed, need_eof, chars_to_skip)
1821 # and replay the effect of read(chars_to_skip) from there.
1822 start_pos, dec_flags, bytes_to_feed, need_eof, chars_to_skip = \
1833 elif self._decoder or dec_flags or chars_to_skip:
1838 if chars_to_skip:
1845 # Skip chars_to_skip of the decoded characters.
1846 if len(self._decoded_chars) < chars_to_skip:
1848 self._decoded_chars_used = chars_to_skip