Lines Matching refs:outobj
4566 charmapencode_resize(PyObject **outobj, Py_ssize_t *outpos, Py_ssize_t requiredsize) in charmapencode_resize() argument
4568 Py_ssize_t outsize = PyString_GET_SIZE(*outobj); in charmapencode_resize()
4572 if (_PyString_Resize(outobj, requiredsize)) { in charmapencode_resize()
4589 PyObject **outobj, Py_ssize_t *outpos) in charmapencode_output() argument
4593 Py_ssize_t outsize = PyString_GET_SIZE(*outobj); in charmapencode_output()
4601 if (!charmapencode_resize(outobj, outpos, requiredsize)) in charmapencode_output()
4603 outstart = PyString_AS_STRING(*outobj); in charmapencode_output()
4618 if (!charmapencode_resize(outobj, outpos, requiredsize)) { in charmapencode_output()
4622 outstart = PyString_AS_STRING(*outobj); in charmapencode_output()
4630 if (!charmapencode_resize(outobj, outpos, requiredsize)) { in charmapencode_output()
4634 outstart = PyString_AS_STRING(*outobj); in charmapencode_output()
4992 int charmaptranslate_makespace(PyObject **outobj, Py_UNICODE **outp, in charmaptranslate_makespace() argument
4995 Py_ssize_t oldsize = PyUnicode_GET_SIZE(*outobj); in charmaptranslate_makespace()
4998 Py_ssize_t outpos = *outp-PyUnicode_AS_UNICODE(*outobj); in charmaptranslate_makespace()
5002 if (PyUnicode_Resize(outobj, requiredsize) < 0) in charmaptranslate_makespace()
5004 *outp = PyUnicode_AS_UNICODE(*outobj) + outpos; in charmaptranslate_makespace()
5016 … Py_ssize_t insize, PyObject *mapping, PyObject **outobj, Py_UNICODE **outp, in charmaptranslate_output() argument
5039 Py_ssize_t requiredsize = (*outp-PyUnicode_AS_UNICODE(*outobj)) + in charmaptranslate_output()
5042 if (charmaptranslate_makespace(outobj, outp, requiredsize)) in charmaptranslate_output()