Searched defs:chars_to_skip (Results 1 - 2 of 2) sorted by relevance

/external/python/cpython2/Modules/_io/
H A Dtextio.c1881 int chars_to_skip; member in struct:__anon19390
1941 memcpy(&cookie->chars_to_skip, buffer + OFF_CHARS_TO_SKIP, sizeof(cookie->chars_to_skip));
1955 memcpy(buffer + OFF_CHARS_TO_SKIP, &cookie->chars_to_skip, sizeof(cookie->chars_to_skip));
2104 * and replay the effect of read(chars_to_skip) from there.
2129 if (cookie.chars_to_skip) {
2161 /* Skip chars_to_skip of the decoded characters. */
2162 if (PyUnicode_GetSize(self->decoded_chars) < cookie.chars_to_skip) {
2166 self->decoded_chars_used = cookie.chars_to_skip;
2193 Py_ssize_t chars_to_skip, chars_decoded; local
[all...]
/external/python/cpython3/Modules/_io/
H A Dtextio.c1927 int chars_to_skip; member in struct:__anon19997
1981 memcpy(&cookie->chars_to_skip, buffer + OFF_CHARS_TO_SKIP, sizeof(cookie->chars_to_skip));
1995 memcpy(buffer + OFF_CHARS_TO_SKIP, &cookie->chars_to_skip, sizeof(cookie->chars_to_skip));
2156 * and replay the effect of read(chars_to_skip) from there.
2181 if (cookie.chars_to_skip) {
2213 /* Skip chars_to_skip of the decoded characters. */
2214 if (PyUnicode_GetLength(self->decoded_chars) < cookie.chars_to_skip) {
2218 self->decoded_chars_used = cookie.chars_to_skip;
2250 Py_ssize_t chars_to_skip, chars_decoded; local
[all...]

Completed in 191 milliseconds