Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dunicodeobject.c1824 Py_ssize_t length_wo_surrogates; in _PyUnicode_Ready() local
1910 length_wo_surrogates = _PyUnicode_WSTR_LENGTH(unicode) - num_surrogates; in _PyUnicode_Ready()
1911 if (length_wo_surrogates > PY_SSIZE_T_MAX / 4 - 1) { in _PyUnicode_Ready()
1915 _PyUnicode_DATA_ANY(unicode) = PyObject_Malloc(4 * (length_wo_surrogates + 1)); in _PyUnicode_Ready()
1920 _PyUnicode_LENGTH(unicode) = length_wo_surrogates; in _PyUnicode_Ready()