Searched refs:moreunits (Results 1 – 1 of 1) sorted by relevance
5764 Py_ssize_t repsize, moreunits; in _PyUnicode_EncodeUTF32() local5793 moreunits = repsize / 4; in _PyUnicode_EncodeUTF32()5799 moreunits = repsize = PyUnicode_GET_LENGTH(rep); in _PyUnicode_EncodeUTF32()5809 if (moreunits > 1) { in _PyUnicode_EncodeUTF32()5811 if (moreunits >= (PY_SSIZE_T_MAX - PyBytes_GET_SIZE(v)) / 4) { in _PyUnicode_EncodeUTF32()5816 if (_PyBytes_Resize(&v, PyBytes_GET_SIZE(v) + 4 * (moreunits - 1)) < 0) in _PyUnicode_EncodeUTF32()5823 out += moreunits; in _PyUnicode_EncodeUTF32()6116 Py_ssize_t repsize, moreunits; in _PyUnicode_EncodeUTF16() local6145 moreunits = repsize / 2; in _PyUnicode_EncodeUTF16()6151 moreunits = repsize = PyUnicode_GET_LENGTH(rep); in _PyUnicode_EncodeUTF16()[all …]