Home
last modified time | relevance | path

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

/third_party/python/Objects/
H A Dunicodeobject.c1786 Py_ssize_t length_wo_surrogates; in _PyUnicode_Ready() local
1872 length_wo_surrogates = _PyUnicode_WSTR_LENGTH(unicode) - num_surrogates; in _PyUnicode_Ready()
1873 if (length_wo_surrogates > PY_SSIZE_T_MAX / 4 - 1) { in _PyUnicode_Ready()
1877 _PyUnicode_DATA_ANY(unicode) = PyObject_Malloc(4 * (length_wo_surrogates + 1)); in _PyUnicode_Ready()
1882 _PyUnicode_LENGTH(unicode) = length_wo_surrogates; in _PyUnicode_Ready()

Completed in 21 milliseconds