Lines Matching refs:respos
3630 Py_ssize_t respos = 0; in unicode_encode_ucs1() local
3665 Py_ssize_t respos; in unicode_encode_ucs1() local
3697 respos = str - PyString_AS_STRING(res); in unicode_encode_ucs1()
3699 requiredsize = respos; in unicode_encode_ucs1()
3729 str = PyString_AS_STRING(res) + respos; in unicode_encode_ucs1()
3748 respos = str - PyString_AS_STRING(res); in unicode_encode_ucs1()
3750 if (respos > PY_SSIZE_T_MAX - repsize) in unicode_encode_ucs1()
3752 requiredsize = respos + repsize; in unicode_encode_ucs1()
3763 str = PyString_AS_STRING(res) + respos; in unicode_encode_ucs1()
3784 respos = str - PyString_AS_STRING(res); in unicode_encode_ucs1()
3785 if (respos < ressize) in unicode_encode_ucs1()
3787 _PyString_Resize(&res, respos); in unicode_encode_ucs1()
4650 PyObject **res, Py_ssize_t *respos) in charmap_encoding_error() argument
4705 x = charmapencode_output('?', mapping, res, respos); in charmap_encoding_error()
4734 x = charmapencode_output(*cp, mapping, res, respos); in charmap_encoding_error()
4754 x = charmapencode_output(*uni2, mapping, res, respos); in charmap_encoding_error()
4780 Py_ssize_t respos = 0; in PyUnicode_EncodeCharmap() local
4802 charmapencode_result x = charmapencode_output(p[inpos], mapping, &res, &respos); in PyUnicode_EncodeCharmap()
4809 &res, &respos)) { in PyUnicode_EncodeCharmap()
4819 if (respos<PyString_GET_SIZE(res)) { in PyUnicode_EncodeCharmap()
4820 if (_PyString_Resize(&res, respos)) in PyUnicode_EncodeCharmap()
5066 Py_ssize_t respos = 0; in PyUnicode_TranslateCharmap() local
5180 respos = str-PyUnicode_AS_UNICODE(res); in PyUnicode_TranslateCharmap()
5181 if (respos<PyUnicode_GET_SIZE(res)) { in PyUnicode_TranslateCharmap()
5182 if (PyUnicode_Resize(&res, respos) < 0) in PyUnicode_TranslateCharmap()