/freebsd-11-stable/lib/libc/string/ |
H A D | strxfrm.c | 56 wchar_t *wcs = NULL; local 78 if ((wcs = malloc((slen + 1) * sizeof (wchar_t))) == NULL) 81 if (mbstowcs_l(wcs, src, slen + 1, locale) == (size_t)-1) 84 if ((xlen = _collate_sxfrm(table, wcs, dest, len)) == (size_t)-1) 87 free(wcs); 99 free(wcs);
|
/freebsd-11-stable/lib/libc/locale/ |
H A D | wcsftime.c | 56 wcsftime_l(wchar_t * __restrict wcs, size_t maxsize, argument 102 n = mbsrtowcs_l(wcs, &dstp, maxsize, &mbs, locale); 118 wcsftime(wchar_t * __restrict wcs, size_t maxsize, argument 121 return wcsftime_l(wcs, maxsize, format, timeptr, __get_locale());
|
/freebsd-11-stable/usr.bin/localedef/ |
H A D | messages.c | 56 add_message(wchar_t *wcs) argument 60 if ((str = to_mb_string(wcs)) == NULL) { 64 free(wcs);
|
H A D | numeric.c | 56 add_numeric_str(wchar_t *wcs) argument 60 if ((str = to_mb_string(wcs)) == NULL) { 64 free(wcs);
|
H A D | time.c | 56 add_time_str(wchar_t *wcs) argument 60 if ((str = to_mb_string(wcs)) == NULL) { 64 free(wcs); 113 add_time_list(wchar_t *wcs) argument 117 if ((str = to_mb_string(wcs)) == NULL) { 121 free(wcs);
|
H A D | monetary.c | 56 add_monetary_str(wchar_t *wcs) argument 60 if ((str = to_mb_string(wcs)) == NULL) { 64 free(wcs);
|
H A D | wide.c | 609 to_mb_string(const wchar_t *wcs) argument 615 mbs = malloc((wcslen(wcs) * mb_cur_max) + 1); 621 while (*wcs) { 622 if ((len = to_mb(ptr, *wcs)) < 0) { 627 wcs++;
|
H A D | collate.c | 786 define_collelem(char *name, wchar_t *wcs) argument 791 if (wcslen(wcs) >= COLLATE_STR_LEN) { 800 e->expand = wcs;
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/locale/ |
H A D | t_wctomb.c | 102 wchar_t wcs[16 + 2]; local 132 wcs[t->wclen] = L'X'; /* poison */ 134 sz = mbsrtowcs(wcs, &pcs, t->wclen + 2, NULL); 137 ATF_REQUIRE_EQ(wcs[t->wclen], 0); 141 ret = wctomb(cs, wcs[i]); 143 ret = wcrtomb(cs, wcs[i], stp);
|
H A D | t_wcstod.c | 79 const wchar_t *wcs; member in struct:test 404 for (t = &tests[0]; t->wcs != NULL; ++t) { 411 n = wcstombs(NULL, t->wcs, 0); 413 (void)wcstombs(buf, t->wcs, n + 1); 418 d = wcstod(t->wcs, &tail); 424 n = (size_t)(tail - t->wcs);
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_open_filename.c | 140 const wchar_t *wcs; local 149 mbs = NULL; wcs = NULL; 151 if (archive_mstring_get_wcs(a, &mine->filename, &wcs) != 0) { 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 '%S' to MBS", wcs); 185 archive_set_error(a, errno, "Failed to open '%S'", wcs); 193 archive_set_error(a, errno, "Couldn't stat '%S'", wcs);
|
H A D | archive_string.h | 235 int archive_mstring_copy_wcs(struct archive_mstring *, const wchar_t *wcs); 237 const wchar_t *wcs, size_t);
|
H A D | archive_string.c | 600 wchar_t *wcs; local 612 wcs = dest->s + dest->length; 626 dest->length = wcs - dest->s; 632 wcs = dest->s + dest->length; 636 r = mbrtowc(wcs, mbs, mbs_length, &shift_state); 638 r = mbtowc(wcs, mbs, mbs_length); 646 wcs++; 651 dest->length = wcs - dest->s; 4072 archive_mstring_copy_wcs(struct archive_mstring *aes, const wchar_t *wcs) argument 4074 return archive_mstring_copy_wcs_len(aes, wcs, 4093 archive_mstring_copy_wcs_len(struct archive_mstring *aes, const wchar_t *wcs, size_t len) argument [all...] |
/freebsd-11-stable/contrib/libgnuregex/ |
H A D | regex_internal.c | 143 new_wcs = re_realloc (pstr->wcs, wint_t, new_buf_len); 146 pstr->wcs = new_wcs; 258 pstr->wcs[byte_idx++] = wc; 261 pstr->wcs[byte_idx++] = WEOF; 303 pstr->wcs[byte_idx] = (wchar_t) pstr->mbs[byte_idx]; 333 pstr->wcs[byte_idx++] = wcu; 336 pstr->wcs[byte_idx++] = WEOF; 346 pstr->wcs[byte_idx++] = (wchar_t) ch; 419 pstr->wcs[byte_idx] = wcu; 425 pstr->wcs[byte_id [all...] |
H A D | regex_internal.h | 330 wint_t *wcs; member in struct:re_string_t 408 ((idx) == (pstr)->valid_len || (pstr)->wcs[idx] != WEOF) 410 ((pstr)->wcs[idx] != WEOF && ((pstr)->valid_len == (idx) + 1 \ 411 || (pstr)->wcs[(idx) + 1] != WEOF)) 727 if (pstr->wcs[idx + byte_idx] != WEOF) 738 return (wint_t) pstr->wcs[idx];
|
/freebsd-11-stable/usr.bin/column/ |
H A D | column.c | 317 width(const wchar_t *wcs) argument 321 for (w = 0; *wcs != L'\0'; wcs++) 322 if ((cw = wcwidth(*wcs)) > 0)
|
/freebsd-11-stable/usr.bin/join/ |
H A D | join.c | 420 wchar_t *wcs; local 425 if ((wcs = malloc((n + 1) * sizeof(*wcs))) == NULL) 427 mbsrtowcs(wcs, &s, n + 1, NULL); 428 return (wcs);
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_wc/ |
H A D | adm_ops.c | 186 apr_array_header_t *wcs; 197 wcs = svn_sort__hash(queue->wc_queues, svn_sort_compare_items_as_paths, 199 for (i = 0; i < wcs->nelts; i++) 202 = &APR_ARRAY_IDX(wcs, i, svn_sort__item_t); 219 for (i = 0; i < wcs->nelts; i++) 222 = &APR_ARRAY_IDX(wcs, i, svn_sort__item_t); 185 apr_array_header_t *wcs; local
|
/freebsd-11-stable/sys/dev/iser/ |
H A D | iser_verbs.c | 164 struct ib_wc *const wcs = comp->wcs; local 169 while ((n = ib_poll_cq(cq, ARRAY_SIZE(comp->wcs), wcs)) > 0) { 171 iser_handle_wc(&wcs[i]);
|
H A D | icl_iser.h | 322 * @wcs: work completion array 331 struct ib_wc wcs[ISER_WC_BATCH_COUNT]; member in struct:iser_comp
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | sysinfo.c | 958 wcs_to_utf8(const wchar_t *wcs, apr_pool_t *pool) 960 const int bufsize = WideCharToMultiByte(CP_UTF8, 0, wcs, -1, 965 WideCharToMultiByte(CP_UTF8, 0, wcs, -1, utf8, bufsize, NULL, NULL); 954 wcs_to_utf8(const wchar_t *wcs, apr_pool_t *pool) argument
|