| /src/lib/libc/locale/ |
| wcsftime.c | 58 wcsftime(wchar_t *wcs, size_t maxsize, 61 return wcsftime_l(wcs, maxsize, format, timeptr, _current_locale()); 65 wcsftime_l(wchar_t *wcs, size_t maxsize, 102 n = mbstowcs_l(wcs, dstp, maxsize, loc);
|
| multibyte_c90.c | 109 wcstombs_l(char *s, const wchar_t *wcs, size_t n, locale_t loc) 114 err0 = _citrus_ctype_wcstombs(_CITRUS_CTYPE(loc), s, wcs, n, &ret); 122 wcstombs(char *s, const wchar_t *wcs, size_t n) 124 return wcstombs_l(s, wcs, n, _current_locale());
|
| /src/external/bsd/openldap/dist/libraries/libldap/ |
| utf-8-conv.c | 379 wchar_t *wcs; local 395 wcs = (wchar_t *)LDAP_MALLOC(wcsize * sizeof(wchar_t)); 396 if (wcs == NULL) 400 n = ldap_x_utf8s_to_wcs( wcs, utf8str, wcsize); 405 n = f_wcstombs(mbstr, wcs, count); 408 LDAP_FREE(wcs); 460 wchar_t *wcs; local 472 wcs = (wchar_t *)LDAP_MALLOC( wcsize * sizeof(wchar_t) ); 473 if (wcs == NULL) 477 n = f_mbstowcs(wcs, mbstr, wcsize) [all...] |
| /src/tests/lib/libc/locale/ |
| t_wcstod.c | 75 const wchar_t *wcs; member in struct:test 403 for (t = &tests[0]; t->wcs != NULL; ++t) { 404 printf("wcslen(\"%S\") = %zu\n", t->wcs, wcslen(t->wcs)); 405 n = wcstombs(NULL, t->wcs, 0); 406 printf("wcstombs(NULL, \"%S\", 0) = %d\n", t->wcs, (int)n); 408 (void)wcstombs(buf, t->wcs, n + 1); 409 printf("wcstombs(buf, \"%S\", %d) = \"%s\"\n", t->wcs, 411 ATF_REQUIRE_EQ(strlen(buf), wcslen(t->wcs)); 431 for (t = &tests[0]; t->wcs != NULL; ++t) [all...] |
| t_wctomb.c | 105 wchar_t wcs[16 + 2]; local 133 wcs[t->wclen] = L'X'; /* poison */ 135 sz = mbsrtowcs(wcs, &pcs, t->wclen + 2, NULL); 138 ATF_REQUIRE_EQ(wcs[t->wclen], 0); 142 ret = wctomb(cs, wcs[i]); 144 ret = wcrtomb(cs, wcs[i], stp);
|
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_write_open_filename.c | 118 "Can't convert '%s' to WCS", 140 const wchar_t *wcs; local 149 mbs = NULL; wcs = NULL; 151 if (archive_mstring_get_wcs(a, &mine->filename, &wcs) != 0) { 157 "Can't convert '%s' to WCS", mbs); 161 fullpath = __la_win_permissive_name_w(wcs); 166 mine->fd = _wopen(wcs, flags, 0666); 172 archive_mstring_get_wcs(a, &mine->filename, &wcs); 174 "Can't convert '%ls' to MBS", wcs); 185 archive_set_error(a, errno, "Failed to open '%ls'", wcs); [all...] |
| /src/external/bsd/libfido2/dist/src/ |
| hid_hidapi.c | 28 fido_wcslen(const wchar_t *wcs) 31 while (*wcs++ != L'\0') 37 wcs_to_cs(const wchar_t *wcs) 42 if (wcs == NULL || (cs = calloc(fido_wcslen(wcs) + 1, 1)) == NULL) 45 for (i = 0; i < fido_wcslen(wcs); i++) { 46 if (wcs[i] >= 128) { 51 cs[i] = (char)wcs[i];
|
| /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| fnmatch.c | 212 is_char_class (const wchar_t *wcs) 221 if (*wcs < 0x20 || *wcs > 0x7e 222 || *wcs == 0x24 || *wcs == 0x40 || *wcs == 0x60) 225 switch (*wcs) 257 *cp++ = (char) *wcs++; 259 while (*wcs != L'\0');
|
| /src/external/gpl2/xcvs/dist/lib/ |
| fnmatch.c | 243 is_char_class (const wchar_t *wcs) 252 if (*wcs < 0x20 || *wcs > 0x7e 253 || *wcs == 0x24 || *wcs == 0x40 || *wcs == 0x60) 256 switch (*wcs) 288 *cp++ = (char) *wcs++; 290 while (*wcs != L'\0');
|
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| fnmatch.c | 177 is_char_class (const wchar_t *wcs) 186 if (*wcs < 0x20 || *wcs > 0x7e 187 || *wcs == 0x24 || *wcs == 0x40 || *wcs == 0x60) 190 switch (*wcs) 222 *cp++ = (char) *wcs++; 224 while (*wcs != L'\0');
|
| wchar.in.h | 1050 /* Find the first occurrence of WC in WCS. */ 1053 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1066 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1067 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1080 /* Find the last occurrence of WC in WCS. */ 1083 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1096 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1097 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1110 /* Return the length of the initial segmet of WCS which consists entirely 1114 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| fnmatch.c | 177 is_char_class (const wchar_t *wcs) 186 if (*wcs < 0x20 || *wcs > 0x7e 187 || *wcs == 0x24 || *wcs == 0x40 || *wcs == 0x60) 190 switch (*wcs) 222 *cp++ = (char) *wcs++; 224 while (*wcs != L'\0');
|
| wchar.in.h | 1050 /* Find the first occurrence of WC in WCS. */ 1053 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1066 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1067 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1080 /* Find the last occurrence of WC in WCS. */ 1083 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1096 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1097 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1110 /* Return the length of the initial segmet of WCS which consists entirely 1114 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/ |
| wchar.h | 1561 /* Find the first occurrence of WC in WCS. */ 1564 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1577 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1578 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1591 /* Find the last occurrence of WC in WCS. */ 1594 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1607 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1608 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1621 /* Return the length of the initial segmet of WCS which consists entirely 1625 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/ |
| wchar.h | 1561 /* Find the first occurrence of WC in WCS. */ 1564 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1577 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1578 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1591 /* Find the last occurrence of WC in WCS. */ 1594 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1607 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1608 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1621 /* Return the length of the initial segmet of WCS which consists entirely 1625 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/ |
| wchar.h | 1561 /* Find the first occurrence of WC in WCS. */ 1564 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1577 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1578 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1591 /* Find the last occurrence of WC in WCS. */ 1594 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1607 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1608 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1621 /* Return the length of the initial segmet of WCS which consists entirely 1625 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/ |
| wchar.h | 1561 /* Find the first occurrence of WC in WCS. */ 1564 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1577 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1578 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1591 /* Find the last occurrence of WC in WCS. */ 1594 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1607 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1608 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1621 /* Return the length of the initial segmet of WCS which consists entirely 1625 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/ |
| wchar.h | 1561 /* Find the first occurrence of WC in WCS. */ 1564 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1577 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1578 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1591 /* Find the last occurrence of WC in WCS. */ 1594 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1607 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1608 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1621 /* Return the length of the initial segmet of WCS which consists entirely 1625 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/ |
| wchar.h | 1561 /* Find the first occurrence of WC in WCS. */ 1564 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1577 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1578 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1591 /* Find the last occurrence of WC in WCS. */ 1594 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1607 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1608 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1621 /* Return the length of the initial segmet of WCS which consists entirely 1625 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/ |
| wchar.h | 1561 /* Find the first occurrence of WC in WCS. */ 1564 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1577 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1578 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1591 /* Find the last occurrence of WC in WCS. */ 1594 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1607 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1608 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1621 /* Return the length of the initial segmet of WCS which consists entirely 1625 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/ia64/gnulib/import/ |
| wchar.h | 1561 /* Find the first occurrence of WC in WCS. */ 1564 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1577 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1578 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1591 /* Find the last occurrence of WC in WCS. */ 1594 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1607 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1608 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1621 /* Return the length of the initial segmet of WCS which consists entirely 1625 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/ |
| wchar.h | 1561 /* Find the first occurrence of WC in WCS. */ 1564 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1577 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1578 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1591 /* Find the last occurrence of WC in WCS. */ 1594 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1607 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1608 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1621 /* Return the length of the initial segmet of WCS which consists entirely 1625 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/ |
| wchar.h | 1561 /* Find the first occurrence of WC in WCS. */ 1564 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1577 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1578 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1591 /* Find the last occurrence of WC in WCS. */ 1594 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1607 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1608 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1621 /* Return the length of the initial segmet of WCS which consists entirely 1625 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/ |
| wchar.h | 1561 /* Find the first occurrence of WC in WCS. */ 1564 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1577 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1578 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1591 /* Find the last occurrence of WC in WCS. */ 1594 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1607 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1608 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1621 /* Return the length of the initial segmet of WCS which consists entirely 1625 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |
| /src/external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/ |
| wchar.h | 1561 /* Find the first occurrence of WC in WCS. */ 1564 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1577 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1578 _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1591 /* Find the last occurrence of WC in WCS. */ 1594 _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) 1607 _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); 1608 _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); 1621 /* Return the length of the initial segmet of WCS which consists entirely 1625 _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject [all...] |