Home
last modified time | relevance | path

Searched refs:chars_to_skip (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
D_pyio.py1674 bytes_to_feed=0, need_eof=0, chars_to_skip=0): argument
1681 (chars_to_skip<<192) | bool(need_eof)<<256)
1687 need_eof, chars_to_skip = divmod(rest, 1<<64)
1688 return position, dec_flags, bytes_to_feed, need_eof, chars_to_skip
1709 chars_to_skip = self._decoded_chars_used
1710 if chars_to_skip == 0:
1732 if not dec_buffer and chars_decoded <= chars_to_skip:
1735 chars_to_skip -= chars_decoded
1737 if chars_decoded >= chars_to_skip:
1743 if chars_decoded < chars_to_skip:
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Dtextio.c1831 int chars_to_skip; member
1891 memcpy(&cookie->chars_to_skip, buffer + OFF_CHARS_TO_SKIP, sizeof(cookie->chars_to_skip)); in textiowrapper_parse_cookie()
1905 memcpy(buffer + OFF_CHARS_TO_SKIP, &cookie->chars_to_skip, sizeof(cookie->chars_to_skip)); in textiowrapper_build_cookie()
2079 if (cookie.chars_to_skip) { in textiowrapper_seek()
2105 if (PyUnicode_GetSize(self->decoded_chars) < cookie.chars_to_skip) { in textiowrapper_seek()
2109 self->decoded_chars_used = cookie.chars_to_skip; in textiowrapper_seek()
2136 Py_ssize_t chars_to_skip, chars_decoded; in textiowrapper_tell() local
2193 chars_to_skip = self->decoded_chars_used; in textiowrapper_tell()
2241 if (dec_buffer_len == 0 && chars_decoded <= chars_to_skip) { in textiowrapper_tell()
2244 chars_to_skip -= chars_decoded; in textiowrapper_tell()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Dtextio.c1877 int chars_to_skip; member
1937 memcpy(&cookie->chars_to_skip, buffer + OFF_CHARS_TO_SKIP, sizeof(cookie->chars_to_skip)); in textiowrapper_parse_cookie()
1951 memcpy(buffer + OFF_CHARS_TO_SKIP, &cookie->chars_to_skip, sizeof(cookie->chars_to_skip)); in textiowrapper_build_cookie()
2125 if (cookie.chars_to_skip) { in textiowrapper_seek()
2158 if (PyUnicode_GetSize(self->decoded_chars) < cookie.chars_to_skip) { in textiowrapper_seek()
2162 self->decoded_chars_used = cookie.chars_to_skip; in textiowrapper_seek()
2189 Py_ssize_t chars_to_skip, chars_decoded; in textiowrapper_tell() local
2246 chars_to_skip = self->decoded_chars_used; in textiowrapper_tell()
2293 if (dec_buffer_len == 0 && chars_decoded <= chars_to_skip) { in textiowrapper_tell()
2296 chars_to_skip -= chars_decoded; in textiowrapper_tell()
[all …]