Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
Darraymodule.c1691 Py_ssize_t ustr_length = PyUnicode_AsWideChar(ustr, NULL, 0); in array_array_fromunicode_impl() local
1692 assert(ustr_length > 0); in array_array_fromunicode_impl()
1693 if (ustr_length > 1) { in array_array_fromunicode_impl()
1694 ustr_length--; /* trim trailing NUL character */ in array_array_fromunicode_impl()
1696 if (array_resize(self, old_size + ustr_length) == -1) { in array_array_fromunicode_impl()
1702 ustr, ((wchar_t *)self->ob_item) + old_size, ustr_length); in array_array_fromunicode_impl()
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c3511 int32_t ustr_length = u_unescape(test, ustr, 256); in TestJ5223() local
3528 sortkey_length = ucol_getSortKey(coll, ustr, ustr_length, NULL, 0); in TestJ5223()
3535 sortkey_length = ucol_getSortKey(coll, ustr, ustr_length, sortkey, in TestJ5223()
3547 sortkey_length = ucol_getSortKey(coll, ustr, ustr_length, sortkey, in TestJ5223()
3995 int32_t ustr_length = u_unescape(test, ustr, 256); in TestOutOfBuffer5468() local
4014 sortkey_length = ucol_getSortKey(coll, ustr, ustr_length, shortKeyBuf, sizeof(shortKeyBuf)); in TestOutOfBuffer5468()