Searched refs:ws1 (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Modules/ |
D | _localemodule.c | 286 wchar_t *ws1 = NULL, *ws2 = NULL; in PyLocale_strcoll() 318 ws1 = PyMem_NEW(wchar_t, len1); in PyLocale_strcoll() 319 if (!ws1) { in PyLocale_strcoll() 323 if (PyUnicode_AsWideChar((PyUnicodeObject*)os1, ws1, len1) == -1) in PyLocale_strcoll() 325 ws1[len1 - 1] = 0; in PyLocale_strcoll() 336 result = PyInt_FromLong(wcscoll(ws1, ws2)); in PyLocale_strcoll() 339 if (ws1) PyMem_FREE(ws1); in PyLocale_strcoll()
|
/external/python/cpython3/Modules/ |
D | _localemodule.c | 306 wchar_t *ws1 = NULL, *ws2 = NULL; in PyLocale_strcoll() local 311 ws1 = PyUnicode_AsWideCharString(os1, NULL); in PyLocale_strcoll() 312 if (ws1 == NULL) in PyLocale_strcoll() 318 result = PyLong_FromLong(wcscoll(ws1, ws2)); in PyLocale_strcoll() 321 if (ws1) PyMem_FREE(ws1); in PyLocale_strcoll()
|
/external/libcxx/include/support/xlocale/ |
D | __posix_l_fallback.h | 151 inline _LIBCPP_INLINE_VISIBILITY int wcscoll_l(const wchar_t *ws1, in wcscoll_l() argument 153 return ::wcscoll(ws1, ws2); in wcscoll_l()
|