Searched refs:collstart (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 3668 const Py_UNICODE *collstart = p; in unicode_encode_ucs1() local 3688 … raise_encode_exception(&exc, encoding, startp, size, collstart-startp, collend-startp, reason); in unicode_encode_ucs1() 3691 while (collstart++ < collend) in unicode_encode_ucs1() 3700 for (p = collstart; p < collend;) { in unicode_encode_ucs1() 3733 for (p = collstart; p < collend;) { in unicode_encode_ucs1() 3742 … collstart-startp, collend-startp, &newpos); in unicode_encode_ucs1() 5105 const Py_UNICODE *collstart = p; in PyUnicode_TranslateCharmap() local 5134 … raise_translate_exception(&exc, startp, size, collstart-startp, collend-startp, reason); in PyUnicode_TranslateCharmap() 5138 for (coll = collstart; coll<collend; ++coll) in PyUnicode_TranslateCharmap() 5146 for (p = collstart; p < collend;) { in PyUnicode_TranslateCharmap() [all …]
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 626 PyObject *unicode, Py_ssize_t collstart, Py_ssize_t collend) in backslashreplace() argument 639 for (i = collstart; i < collend; ++i) { in backslashreplace() 664 for (i = collstart; i < collend; ++i) { in backslashreplace() 693 PyObject *unicode, Py_ssize_t collstart, Py_ssize_t collend) in xmlcharrefreplace() argument 706 for (i = collstart; i < collend; ++i) { in xmlcharrefreplace() 739 for (i = collstart; i < collend; ++i) { in xmlcharrefreplace() 6770 Py_ssize_t collstart = pos; in unicode_encode_ucs1() local 6771 Py_ssize_t collend = collstart + 1; in unicode_encode_ucs1() 6786 raise_encode_exception(&exc, encoding, unicode, collstart, collend, reason); in unicode_encode_ucs1() 6790 memset(str, '?', collend - collstart); in unicode_encode_ucs1() [all …]
|