Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwmemmove.c35 wmemmove(wchar_t *ws1, const wchar_t *ws2, size_t n) in wmemmove() argument
41 return ((wchar_t *)memmove((void *)ws1, in wmemmove()
45 ows1 = ws1; in wmemmove()
47 if (ws1 <= ws2) { in wmemmove()
49 *ws1++ = *ws2++; in wmemmove()
53 ws1 += n; in wmemmove()
55 *--ws1 = *--ws2; in wmemmove()
H A Dwmemcmp.c33 wmemcmp(const wchar_t *ws1, const wchar_t *ws2, size_t n) in wmemcmp() argument
35 if ((ws1 != ws2) && (n != 0)) { in wmemcmp()
37 if (*ws1 != *ws2) in wmemcmp()
38 return (*ws1 - *ws2); in wmemcmp()
39 ws1++; in wmemcmp()
H A Dwmemcpy.c35 wmemcpy(wchar_t *ws1, const wchar_t *ws2, size_t n) in wmemcpy() argument
42 return ((wchar_t *)memcpy((void *)ws1, in wmemcpy()
46 p1 = ws1; in wmemcpy()
60 return (ws1); in wmemcpy()
H A Dwcsstr.c33 wcsstr(const wchar_t *ws1, const wchar_t *ws2) in wcsstr() argument
39 os1 = ws1; in wcsstr()
H A Dwcswcs.c40 wcswcs(const wchar_t *ws1, const wchar_t *ws2) in wcswcs() argument
46 s1 = ws1; in wcswcs()
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dwcscoll.c39 wcscoll_l(const wchar_t *ws1, const wchar_t *ws2, locale_t loc) in wcscoll_l() argument
45 int ret = wcscmp(ws1, ws2); in wcscoll_l()
50 if (*ws1 == 0 && *ws2 != 0) in wcscoll_l()
52 if (*ws1 != 0 && *ws2 == 0) in wcscoll_l()
70 const wchar_t *w1 = ws1; in wcscoll_l()
217 wcscoll(const wchar_t *ws1, const wchar_t *ws2) in wcscoll() argument
219 return (wcscoll_l(ws1, ws2, uselocale(NULL))); in wcscoll()