Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dunicodeobject.c3630 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/
Dunicodeobject.c8397 PyObject **res, Py_ssize_t *respos) in charmap_encoding_error() argument
8453 x = charmapencode_output('?', mapping, res, respos); in charmap_encoding_error()
8474 x = charmapencode_output(*cp, mapping, res, respos); in charmap_encoding_error()
8497 requiredsize = *respos + repsize; in charmap_encoding_error()
8500 if (charmapencode_resize(res, respos, requiredsize)) { in charmap_encoding_error()
8504 memcpy(PyBytes_AsString(*res) + *respos, in charmap_encoding_error()
8506 *respos += repsize; in charmap_encoding_error()
8521 x = charmapencode_output(repch, mapping, res, respos); in charmap_encoding_error()
8549 Py_ssize_t respos = 0; in _PyUnicode_EncodeCharmap() local
8577 charmapencode_result x = charmapencode_output(ch, mapping, &res, &respos); in _PyUnicode_EncodeCharmap()
[all …]