Searched refs:length_wo_surrogates (Results 1 – 1 of 1) sorted by relevance
1683 Py_ssize_t length_wo_surrogates; in _PyUnicode_Ready() local1769 length_wo_surrogates = _PyUnicode_WSTR_LENGTH(unicode) - num_surrogates; in _PyUnicode_Ready()1770 if (length_wo_surrogates > PY_SSIZE_T_MAX / 4 - 1) { in _PyUnicode_Ready()1774 _PyUnicode_DATA_ANY(unicode) = PyObject_MALLOC(4 * (length_wo_surrogates + 1)); in _PyUnicode_Ready()1779 _PyUnicode_LENGTH(unicode) = length_wo_surrogates; in _PyUnicode_Ready()