Home
last modified time | relevance | path

Searched refs:collpos (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dunicodeobject.c4659 Py_ssize_t collpos; in charmap_encoding_error() local
4704 for (collpos = collstartpos; collpos<collendpos; ++collpos) { in charmap_encoding_error()
4720 for (collpos = collstartpos; collpos < collendpos;) { in charmap_encoding_error()
4723 Py_UCS4 ch = p[collpos++]; in charmap_encoding_error()
4726 (collpos < collendpos) && in charmap_encoding_error()
4727 (0xDC00 <= p[collpos] && p[collpos] <= 0xDFFF)) { in charmap_encoding_error()
4729 ((Py_UCS4)p[collpos++] & 0x03FF)) + 0x10000); in charmap_encoding_error()
/external/python/cpython3/Objects/
Dunicodeobject.c8408 Py_ssize_t collpos; in charmap_encoding_error() local
8452 for (collpos = collstartpos; collpos<collendpos; ++collpos) { in charmap_encoding_error()
8469 for (collpos = collstartpos; collpos < collendpos; ++collpos) { in charmap_encoding_error()
8472 sprintf(buffer, "&#%d;", (int)PyUnicode_READ_CHAR(unicode, collpos)); in charmap_encoding_error()