Lines Matching refs:collend
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()
6771 Py_ssize_t collend = collstart + 1; in unicode_encode_ucs1() local
6774 while ((collend < size) && (PyUnicode_READ(kind, data, collend) >= limit)) in unicode_encode_ucs1()
6775 ++collend; in unicode_encode_ucs1()
6778 writer.overallocate = (collend < size); 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()
6791 str += (collend - collstart); in unicode_encode_ucs1()
6794 pos = collend; in unicode_encode_ucs1()
6799 writer.min_size -= (collend - collstart); in unicode_encode_ucs1()
6801 unicode, collstart, collend); in unicode_encode_ucs1()
6804 pos = collend; in unicode_encode_ucs1()
6809 writer.min_size -= (collend - collstart); in unicode_encode_ucs1()
6811 unicode, collstart, collend); in unicode_encode_ucs1()
6814 pos = collend; in unicode_encode_ucs1()
6818 for (i = collstart; i < collend; ++i) { in unicode_encode_ucs1()
6827 if (i >= collend) in unicode_encode_ucs1()
6830 assert(collstart != collend); in unicode_encode_ucs1()
6836 collstart, collend, &newpos); in unicode_encode_ucs1()
6861 collstart, collend, reason); in unicode_encode_ucs1()
8991 Py_ssize_t collend; in _PyUnicode_TranslateCharmap() local
9007 collend = i+1; in _PyUnicode_TranslateCharmap()
9010 while (collend < size) { in _PyUnicode_TranslateCharmap()
9012 ch = PyUnicode_READ(kind, data, collend); in _PyUnicode_TranslateCharmap()
9018 ++collend; in _PyUnicode_TranslateCharmap()
9022 i = collend; in _PyUnicode_TranslateCharmap()
9027 collstart, collend, &newpos); in _PyUnicode_TranslateCharmap()