Searched refs:respos (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 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() [all …]
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 8596 PyObject **res, Py_ssize_t *respos) in charmap_encoding_error() argument 8652 x = charmapencode_output('?', mapping, res, respos); in charmap_encoding_error() 8673 x = charmapencode_output(*cp, mapping, res, respos); in charmap_encoding_error() 8696 requiredsize = *respos + repsize; in charmap_encoding_error() 8699 if (charmapencode_resize(res, respos, requiredsize)) { in charmap_encoding_error() 8703 memcpy(PyBytes_AsString(*res) + *respos, in charmap_encoding_error() 8705 *respos += repsize; in charmap_encoding_error() 8720 x = charmapencode_output(repch, mapping, res, respos); in charmap_encoding_error() 8748 Py_ssize_t respos = 0; in _PyUnicode_EncodeCharmap() local 8776 charmapencode_result x = charmapencode_output(ch, mapping, &res, &respos); in _PyUnicode_EncodeCharmap() [all …]
|