Home
last modified time | relevance | path

Searched refs:wcs (Results 1 – 5 of 5) sorted by relevance

/ndk/sources/android/support/src/musl-ctype/
Dwcswidth.c3 int wcswidth(const wchar_t *wcs, size_t n) in wcswidth() argument
6 for (; n-- && *wcs && (k = wcwidth(*wcs)) >= 0; l+=k, wcs++); in wcswidth()
/ndk/sources/android/support/src/musl-multibyte/
Dmbsnrtowcs.c15 size_t mbsnrtowcs(wchar_t *restrict wcs, const char **restrict src, size_t n, size_t wn, mbstate_t … in mbsnrtowcs() argument
21 if (!wcs) ws = wbuf, wn = sizeof wbuf / sizeof *wbuf; in mbsnrtowcs()
22 else ws = wcs; in mbsnrtowcs()
63 if (wcs) *src = s; in mbsnrtowcs()
Dwcsnrtombs.c14 size_t wcsnrtombs(char *restrict dst, const wchar_t **restrict wcs, size_t wn, size_t n, mbstate_t … in wcsnrtombs() argument
18 const wchar_t *ws = *wcs; in wcsnrtombs()
50 if (dst) *wcs = ws; in wcsnrtombs()
/ndk/sources/host-tools/sed-4.2.1/lib/
Dregex_internal.c145 new_wcs = re_realloc (pstr->wcs, wint_t, new_buf_len); in re_string_realloc_buffers()
148 pstr->wcs = new_wcs; in re_string_realloc_buffers()
259 pstr->wcs[byte_idx++] = wc; in build_wcs_buffer()
262 pstr->wcs[byte_idx++] = WEOF; in build_wcs_buffer()
304 pstr->wcs[byte_idx] = (wchar_t) pstr->mbs[byte_idx]; in build_wcs_upper_buffer()
334 pstr->wcs[byte_idx++] = wcu; in build_wcs_upper_buffer()
337 pstr->wcs[byte_idx++] = WEOF; in build_wcs_upper_buffer()
345 pstr->wcs[byte_idx++] = (wchar_t) ch; in build_wcs_upper_buffer()
418 pstr->wcs[byte_idx] = wcu; in build_wcs_upper_buffer()
424 pstr->wcs[byte_idx + i] = WEOF; in build_wcs_upper_buffer()
[all …]
Dregex_internal.h373 wint_t *wcs; member
449 ((idx) == (pstr)->valid_len || (pstr)->wcs[idx] != WEOF)
451 ((pstr)->wcs[idx] != WEOF && ((pstr)->valid_len == (idx) + 1 \
452 || (pstr)->wcs[(idx) + 1] != WEOF))
815 if (pstr->wcs[idx + byte_idx] != WEOF) in internal_function()
826 return (wint_t) pstr->wcs[idx]; in internal_function()