Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dunicodeobject.c4658 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/
Dunicodeobject.c8606 Py_ssize_t collendpos = *inpos+1; in charmap_encoding_error() local
8618 while (collendpos < size) { in charmap_encoding_error()
8621 ch = PyUnicode_READ_CHAR(unicode, collendpos); in charmap_encoding_error()
8625 ++collendpos; in charmap_encoding_error()
8629 ch = PyUnicode_READ_CHAR(unicode, collendpos); in charmap_encoding_error()
8638 ++collendpos; in charmap_encoding_error()
8647 … raise_encode_exception(exceptionObject, encoding, unicode, collstartpos, collendpos, reason); in charmap_encoding_error()
8651 for (collpos = collstartpos; collpos<collendpos; ++collpos) { in charmap_encoding_error()
8657 … raise_encode_exception(exceptionObject, encoding, unicode, collstartpos, collendpos, reason); in charmap_encoding_error()
8663 *inpos = collendpos; in charmap_encoding_error()
[all …]