Home
last modified time | relevance | path

Searched refs:outobj (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/
Dmultibytecodec.c15 PyObject *excobj, *outobj; member
21 PyObject *excobj, *outobj; member
169 PyString_AS_STRING(buf->outobj)); in expand_encodebuffer()
170 orgsize = PyString_GET_SIZE(buf->outobj); in expand_encodebuffer()
176 if (_PyString_Resize(&buf->outobj, orgsize + incsize) == -1) in expand_encodebuffer()
179 buf->outbuf = (unsigned char *)PyString_AS_STRING(buf->outobj) +orgpos; in expand_encodebuffer()
180 buf->outbuf_end = (unsigned char *)PyString_AS_STRING(buf->outobj) in expand_encodebuffer()
181 + PyString_GET_SIZE(buf->outobj); in expand_encodebuffer()
196 orgpos = (Py_ssize_t)(buf->outbuf - PyUnicode_AS_UNICODE(buf->outobj)); in expand_decodebuffer()
197 orgsize = PyUnicode_GET_SIZE(buf->outobj); in expand_decodebuffer()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/
Dmultibytecodec.c15 PyObject *excobj, *outobj; member
21 PyObject *excobj, *outobj; member
169 PyString_AS_STRING(buf->outobj)); in expand_encodebuffer()
170 orgsize = PyString_GET_SIZE(buf->outobj); in expand_encodebuffer()
178 if (_PyString_Resize(&buf->outobj, orgsize + incsize) == -1) in expand_encodebuffer()
181 buf->outbuf = (unsigned char *)PyString_AS_STRING(buf->outobj) +orgpos; in expand_encodebuffer()
182 buf->outbuf_end = (unsigned char *)PyString_AS_STRING(buf->outobj) in expand_encodebuffer()
183 + PyString_GET_SIZE(buf->outobj); in expand_encodebuffer()
198 orgpos = (Py_ssize_t)(buf->outbuf - PyUnicode_AS_UNICODE(buf->outobj)); in expand_decodebuffer()
199 orgsize = PyUnicode_GET_SIZE(buf->outobj); in expand_decodebuffer()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dunicodeobject.c4474 charmapencode_resize(PyObject **outobj, Py_ssize_t *outpos, Py_ssize_t requiredsize) in charmapencode_resize() argument
4476 Py_ssize_t outsize = PyString_GET_SIZE(*outobj); in charmapencode_resize()
4480 if (_PyString_Resize(outobj, requiredsize)) { in charmapencode_resize()
4497 PyObject **outobj, Py_ssize_t *outpos) in charmapencode_output() argument
4501 Py_ssize_t outsize = PyString_GET_SIZE(*outobj); in charmapencode_output()
4509 if (!charmapencode_resize(outobj, outpos, requiredsize)) in charmapencode_output()
4511 outstart = PyString_AS_STRING(*outobj); in charmapencode_output()
4526 if (!charmapencode_resize(outobj, outpos, requiredsize)) { in charmapencode_output()
4530 outstart = PyString_AS_STRING(*outobj); in charmapencode_output()
4538 if (!charmapencode_resize(outobj, outpos, requiredsize)) { in charmapencode_output()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dunicodeobject.c4559 charmapencode_resize(PyObject **outobj, Py_ssize_t *outpos, Py_ssize_t requiredsize) in charmapencode_resize() argument
4561 Py_ssize_t outsize = PyString_GET_SIZE(*outobj); in charmapencode_resize()
4565 if (_PyString_Resize(outobj, requiredsize)) { in charmapencode_resize()
4582 PyObject **outobj, Py_ssize_t *outpos) in charmapencode_output() argument
4586 Py_ssize_t outsize = PyString_GET_SIZE(*outobj); in charmapencode_output()
4594 if (!charmapencode_resize(outobj, outpos, requiredsize)) in charmapencode_output()
4596 outstart = PyString_AS_STRING(*outobj); in charmapencode_output()
4611 if (!charmapencode_resize(outobj, outpos, requiredsize)) { in charmapencode_output()
4615 outstart = PyString_AS_STRING(*outobj); in charmapencode_output()
4623 if (!charmapencode_resize(outobj, outpos, requiredsize)) { in charmapencode_output()
[all …]