Searched refs:moreunits (Results 1 – 1 of 1) sorted by relevance
5448 Py_ssize_t repsize, moreunits; in _PyUnicode_EncodeUTF32() local5477 moreunits = repsize / 4; in _PyUnicode_EncodeUTF32()5483 moreunits = repsize = PyUnicode_GET_LENGTH(rep); in _PyUnicode_EncodeUTF32()5493 if (moreunits > 1) { in _PyUnicode_EncodeUTF32()5495 if (moreunits >= (PY_SSIZE_T_MAX - PyBytes_GET_SIZE(v)) / 4) { in _PyUnicode_EncodeUTF32()5500 if (_PyBytes_Resize(&v, PyBytes_GET_SIZE(v) + 4 * (moreunits - 1)) < 0) in _PyUnicode_EncodeUTF32()5507 out += moreunits; in _PyUnicode_EncodeUTF32()5800 Py_ssize_t repsize, moreunits; in _PyUnicode_EncodeUTF16() local5829 moreunits = repsize / 2; in _PyUnicode_EncodeUTF16()5835 moreunits = repsize = PyUnicode_GET_LENGTH(rep); in _PyUnicode_EncodeUTF16()[all …]