Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dunicodeobject.c5962 Py_ssize_t repsize, moreunits; in _PyUnicode_EncodeUTF32() local
5991 moreunits = repsize / 4; in _PyUnicode_EncodeUTF32()
5997 moreunits = repsize = PyUnicode_GET_LENGTH(rep); in _PyUnicode_EncodeUTF32()
6007 if (moreunits > 1) { in _PyUnicode_EncodeUTF32()
6009 if (moreunits >= (PY_SSIZE_T_MAX - PyBytes_GET_SIZE(v)) / 4) { in _PyUnicode_EncodeUTF32()
6014 if (_PyBytes_Resize(&v, PyBytes_GET_SIZE(v) + 4 * (moreunits - 1)) < 0) in _PyUnicode_EncodeUTF32()
6021 out += moreunits; in _PyUnicode_EncodeUTF32()
6314 Py_ssize_t repsize, moreunits; in _PyUnicode_EncodeUTF16() local
6343 moreunits = repsize / 2; in _PyUnicode_EncodeUTF16()
6349 moreunits = repsize = PyUnicode_GET_LENGTH(rep); in _PyUnicode_EncodeUTF16()
[all …]