Home
last modified time | relevance | path

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

12

/glibc-2.36/wcsmbs/
Dwcstok.c25 wcstok (wchar_t *wcs, const wchar_t *delim, wchar_t **save_ptr) in wcstok() argument
29 if (wcs == NULL) in wcstok()
37 wcs = *save_ptr; in wcstok()
41 wcs += wcsspn (wcs, delim); in wcstok()
42 if (*wcs == L'\0') in wcstok()
49 result = wcs; in wcstok()
50 wcs = wcspbrk (result, delim); in wcstok()
51 if (wcs == NULL) in wcstok()
57 *wcs = L'\0'; in wcstok()
58 *save_ptr = wcs + 1; in wcstok()
Dwcschrnul.c26 __wcschrnul (const wchar_t *wcs, const wchar_t wc) in __wcschrnul() argument
28 while (*wcs != L'\0') in __wcschrnul()
29 if (*wcs == wc) in __wcschrnul()
32 ++wcs; in __wcschrnul()
34 return (wchar_t *) wcs; in __wcschrnul()
Dwcspbrk.c26 wcspbrk (const wchar_t *wcs, const wchar_t *accept) in wcspbrk() argument
28 while (*wcs != L'\0') in wcspbrk()
29 if (wcschr (accept, *wcs) == NULL) in wcspbrk()
30 ++wcs; in wcspbrk()
32 return (wchar_t *) wcs; in wcspbrk()
Dwcsrchr.c27 WCSRCHR (const wchar_t *wcs, const wchar_t wc) in WCSRCHR() argument
33 if (*wcs == wc) \ in WCSRCHR()
34 retval = (wchar_t*) wcs; \ in WCSRCHR()
35 *wcs++ != L'\0'; \ in WCSRCHR()
Dwcschr.c27 WCSCHR (const wchar_t *wcs, const wchar_t wc) in WCSCHR() argument
33 if (*wcs == wc) \ in WCSCHR()
34 dest = (wchar_t*) wcs; \ in WCSCHR()
35 dest == NULL && *wcs++ != L'\0'; \ in WCSCHR()
Dwcscspn.c27 wcscspn (const wchar_t *wcs, const wchar_t *reject) in wcscspn() argument
31 while (*wcs != L'\0') in wcscspn()
32 if (wcschr (reject, *wcs++) == NULL) in wcscspn()
Dwcsspn.c27 wcsspn (const wchar_t *wcs, const wchar_t *accept) in wcsspn() argument
33 for (p = wcs; *p != L'\0'; ++p) in wcsspn()
Dtst-wcstod-round.c26 #define FNPFX wcs
/glibc-2.36/libio/
Dtst-fgetws.c18 wchar_t *ret, wcs[WIDE_STR_LEN]; in main() local
76 ret = fgetws (wcs, WIDE_STR_LEN, fp); in main()
93 for (i = 0; i < wcslen (wcs) + 1; i++) in main()
94 printf (" wcs[%zd] = %04x", i, (unsigned int)wcs[i]); in main()
111 ret = fgetws (wcs, WIDE_STR_LEN, fp); in main()
129 for (i = 0; i < wcslen (wcs) + 1; i++) in main()
130 printf (" wcs[%zd] = 0x%04x", i, (unsigned int)wcs[i]); in main()
134 if ((wchar_t) il_str2[i] != wcs[i]) in main()
142 if (wcs[i] != L'\n') in main()
147 else if (wcs[i + 1] != L'\0') in main()
[all …]
Dtst-sscanf.c11 wchar_t wcs[WCS_LENGTH]; in do_test() local
14 sscanf (str, cnv, wcs); in do_test()
15 printf ("wcs = \"%ls\"\n", wcs); in do_test()
17 result = wcscmp (wcs, L"abbc") != 0; in do_test()
Dtst-wmemstream3.c26 const wchar_t *wcs = (const wchar_t*) (ptr); in fwwrite() local
30 if (fputwc (wcs[n], arq) == WEOF) in fwwrite()
Dtst-memstream.h36 const wchar_t *wcs = (const wchar_t*) (ptr); in fwwrite() local
40 if (fputwc (wcs[n], arq) == WEOF) in fwwrite()
/glibc-2.36/posix/
Dfnmatch.c159 is_char_class (const wchar_t *wcs) in is_char_class() argument
168 if (*wcs < 0x20 || *wcs > 0x7e in is_char_class()
169 || *wcs == 0x24 || *wcs == 0x40 || *wcs == 0x60) in is_char_class()
172 switch (*wcs) in is_char_class()
204 *cp++ = (char) *wcs++; in is_char_class()
206 while (*wcs != L'\0'); in is_char_class()
Dregex_internal.c153 new_wcs = re_realloc (pstr->wcs, wint_t, new_buf_len); in re_string_realloc_buffers()
156 pstr->wcs = new_wcs; in re_string_realloc_buffers()
267 pstr->wcs[byte_idx++] = wc; in build_wcs_buffer()
270 pstr->wcs[byte_idx++] = WEOF; in build_wcs_buffer()
313 pstr->wcs[byte_idx] = wcu; in build_wcs_upper_buffer()
343 pstr->wcs[byte_idx++] = wcu; in build_wcs_upper_buffer()
346 pstr->wcs[byte_idx++] = WEOF; in build_wcs_upper_buffer()
355 pstr->wcs[byte_idx++] = (wchar_t) ch; in build_wcs_upper_buffer()
427 pstr->wcs[byte_idx] = wcu; in build_wcs_upper_buffer()
433 pstr->wcs[byte_idx + i] = WEOF; in build_wcs_upper_buffer()
[all …]
Dregex_internal.h380 wint_t *wcs; member
439 ((idx) == (pstr)->valid_len || (pstr)->wcs[idx] != WEOF)
441 ((pstr)->wcs[idx] != WEOF && ((pstr)->valid_len == (idx) + 1 \
442 || (pstr)->wcs[(idx) + 1] != WEOF))
792 if (pstr->wcs[idx + byte_idx] != WEOF) in re_string_char_size_at()
803 return (wint_t) pstr->wcs[idx]; in re_string_wchar_at()
Dtst-regex.input11262 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
/glibc-2.36/locale/programs/
Dld-collate.c105 const uint32_t *wcs; member
334 const uint32_t *wcs, const char *name, size_t namelen, in new_element() argument
353 if (wcs != NULL) in new_element()
355 size_t nwcs = wcslen ((wchar_t *) wcs); in new_element()
360 obstack_grow (&collate->mempool, wcs, nwcs * sizeof (uint32_t)); in new_element()
362 newp->wcs = (uint32_t *) obstack_finish (&collate->mempool); in new_element()
367 newp->wcs = NULL; in new_element()
1021 uint32_t wcs[2] = { wc, 0 }; in insert_value() local
1027 wc == ILLEGAL_CHAR_VALUE ? NULL : wcs, in insert_value()
1049 if (elem->wcs == NULL && wc != ILLEGAL_CHAR_VALUE) in insert_value()
[all …]
/glibc-2.36/conform/data/
Dstring.h-data70 allow wcs[abcdefghijklmnopqrstuvwxyz]*
Dwchar.h-data165 allow wcs[abcdefghijklmnopqrstuvwxyz]*
/glibc-2.36/manual/
Dstring.texi190 strings have names beginning with @samp{str} and @samp{wcs}
200 In many cases, there are both @samp{mem} and @samp{str}/@samp{wcs}
205 strings it is usually more convenient to use the @samp{str}/@samp{wcs}
Dintro.texi1221 Names beginning with @samp{str}, @samp{mem}, or @samp{wcs} followed by a
Darith.texi2622 beginning with @samp{wcs} are declared in @file{wchar.h}. One might
2927 beginning with @samp{wcs} are declared in @file{wchar.h}. One might
/glibc-2.36/ChangeLog.old/
DChangeLog.252243 x86: Put wcs{n}len-sse4.1 in the sse4.1 text section
5807 x86: Optimize {str|wcs}rchr-evex
5814 x86: Optimize {str|wcs}rchr-avx2
5821 x86: Optimize {str|wcs}rchr-sse2
9302 x86: Fallback {str|wcs}cmp RTM in the ncmp overflow case [BZ #28896]
DChangeLog.12535 * posix/regex.c: Declare wcs functions only if compiling with
1438 (wcs_re_match_2_internal): Check whether the wcs buffers need
DChangeLog.136501 Change the type of wcs of re_string_t from wchar_t to wint_t,
6504 the type of wcs of re_string_t from wchar_t to wint_t.

12