Searched refs:collpos (Results 1 – 2 of 2) sorted by relevance
4659 Py_ssize_t collpos; in charmap_encoding_error() local4704 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()
8408 Py_ssize_t collpos; in charmap_encoding_error() local8452 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()