Searched refs:collendpos (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 4658 Py_ssize_t collendpos = *inpos+1; in charmap_encoding_error() local 4665 while (collendpos < size) { in charmap_encoding_error() 4668 int res = encoding_map_lookup(p[collendpos], mapping); in charmap_encoding_error() 4671 ++collendpos; in charmap_encoding_error() 4675 rep = charmapencode_lookup(p[collendpos], mapping); in charmap_encoding_error() 4683 ++collendpos; in charmap_encoding_error() 4701 … raise_encode_exception(exceptionObject, encoding, p, size, collstartpos, collendpos, reason); in charmap_encoding_error() 4704 for (collpos = collstartpos; collpos<collendpos; ++collpos) { in charmap_encoding_error() 4710 … raise_encode_exception(exceptionObject, encoding, p, size, collstartpos, collendpos, reason); in charmap_encoding_error() 4716 *inpos = collendpos; in charmap_encoding_error() [all …]
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 8407 Py_ssize_t collendpos = *inpos+1; in charmap_encoding_error() local 8419 while (collendpos < size) { in charmap_encoding_error() 8422 ch = PyUnicode_READ_CHAR(unicode, collendpos); in charmap_encoding_error() 8426 ++collendpos; in charmap_encoding_error() 8430 ch = PyUnicode_READ_CHAR(unicode, collendpos); in charmap_encoding_error() 8439 ++collendpos; in charmap_encoding_error() 8448 … raise_encode_exception(exceptionObject, encoding, unicode, collstartpos, collendpos, reason); in charmap_encoding_error() 8452 for (collpos = collstartpos; collpos<collendpos; ++collpos) { in charmap_encoding_error() 8458 … raise_encode_exception(exceptionObject, encoding, unicode, collstartpos, collendpos, reason); in charmap_encoding_error() 8464 *inpos = collendpos; in charmap_encoding_error() [all …]
|