Home
last modified time | relevance | path

Searched refs:s (Results 1 – 18 of 18) sorted by relevance

/wcsmbs/
A Dwmemchr.c30 if (s[0] == c) in __wmemchr()
31 return (wchar_t *) s; in __wmemchr()
32 if (s[1] == c) in __wmemchr()
34 if (s[2] == c) in __wmemchr()
36 if (s[3] == c) in __wmemchr()
38 s += 4; in __wmemchr()
44 if (*s == c) in __wmemchr()
46 ++s; in __wmemchr()
51 if (*s == c) in __wmemchr()
53 ++s; in __wmemchr()
[all …]
A Dtst-mbrtowc.c35 mbstate_t s; in utf8_test_1() local
38 memset (&s, 0, sizeof (s)); /* get s into initial state */ in utf8_test_1()
51 memset (&s, 0, sizeof (s)); /* get s into initial state */ in utf8_test_1()
57 memset (&s, 0, sizeof (s)); /* get s into initial state */ in utf8_test_1()
69 mbstate_t s; in utf8_test_2() local
72 memset (&s, 0, sizeof (s)); /* get s into initial state */ in utf8_test_2()
77 memset (&s, 0, sizeof (s)); /* get s into initial state */ in utf8_test_2()
82 memset (&s, 0, sizeof (s)); /* get s into initial state */ in utf8_test_2()
88 memset (&s, 0, sizeof (s)); /* get s into initial state */ in utf8_test_2()
103 mbstate_t s; in utf8_test_3() local
[all …]
A Dwcswidth.c23 wcswidth (const wchar_t *s, size_t n) in wcswidth() argument
27 while (n-- > 0 && *s != L'\0') in wcswidth()
29 int now = internal_wcwidth (*s); in wcswidth()
33 ++s; in wcswidth()
A Dwcslen.c26 __wcslen (const wchar_t *s) in __wcslen() argument
30 while (s[len] != L'\0') in __wcslen()
32 if (s[++len] == L'\0') in __wcslen()
34 if (s[++len] == L'\0') in __wcslen()
36 if (s[++len] == L'\0') in __wcslen()
A Dwcsdup.c25 wcsdup (const wchar_t *s) in wcsdup() argument
27 size_t len = (__wcslen (s) + 1) * sizeof (wchar_t); in wcsdup()
33 return (wchar_t *) memcpy (new, (void *) s, len); in wcsdup()
A Dwcsnlen.c26 __wcsnlen (const wchar_t *s, size_t maxlen) in __wcsnlen() argument
28 const wchar_t *ret = __wmemchr (s, L'\0', maxlen); in __wcsnlen()
30 maxlen = ret - s; in __wcsnlen()
A Dc32rtomb.c27 c32rtomb (char *s, char32_t c32, mbstate_t *ps) in c32rtomb() argument
31 return wcrtomb (s, c32, ps); in c32rtomb()
A Dmbrlen.c26 __mbrlen (const char *s, size_t n, mbstate_t *ps) in __mbrlen() argument
28 return __mbrtowc (NULL, s, n, ps ?: &internal); in __mbrlen()
A Dmbrtoc32.c27 mbrtoc32 (char32_t *pc32, const char *s, size_t n, mbstate_t *ps) in mbrtoc32() argument
31 return mbrtowc ((wchar_t *) pc32, s, n, ps); in mbrtoc32()
A Dwmemset.c25 __wmemset (wchar_t *s, wchar_t c, size_t n) in __wmemset() argument
27 wchar_t *wp = s; in __wmemset()
52 return s; in __wmemset()
A Dtst-fgetwc-after-eof.c59 #define XWRITE(fd, s, msg) do { \ argument
60 if (write (fd, s, sizeof s - 1) != sizeof s - 1) \
A Dwcrtomb.c37 __wcrtomb (char *s, wchar_t wc, mbstate_t *ps) in __wcrtomb() argument
54 if (s == NULL) in __wcrtomb()
56 s = buf; in __wcrtomb()
61 data.__outbuf = (unsigned char *) s; in __wcrtomb()
62 data.__outbufend = (unsigned char *) s + MB_CUR_MAX; in __wcrtomb()
104 result = data.__outbuf - (unsigned char *) s; in __wcrtomb()
A Dc16rtomb.c26 c16rtomb (char *s, char16_t c16, mbstate_t *ps) in c16rtomb() argument
33 if (s == NULL) in c16rtomb()
65 return wcrtomb (s, wc, ps); in c16rtomb()
A Dtst-wcrtomb.c60 mbstate_t s; in check_ascii() local
64 memset (&s, '\0', sizeof (s)); in check_ascii()
66 n = wcrtomb (buf, wc, &s); in check_ascii()
A Disoc99_swscanf.c24 __isoc99_swscanf (const wchar_t *s, const wchar_t *format, ...) in __isoc99_swscanf() argument
30 FILE *f = _IO_strfile_readw (&sf, &wd, s); in __isoc99_swscanf()
A Dmbrtowc.c35 __mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) in __mbrtowc() argument
54 if (s == NULL) in __mbrtowc()
57 s = ""; in __mbrtowc()
72 inbuf = (const unsigned char *) s; in __mbrtowc()
108 result = inbuf - (const unsigned char *) s; in __mbrtowc()
A Dmbrtoc16.c36 mbrtoc16 (char16_t *pc16, const char *s, size_t n, mbstate_t *ps) in mbrtoc16() argument
72 if (s == NULL) in mbrtoc16()
75 s = ""; in mbrtoc16()
90 inbuf = (const unsigned char *) s; in mbrtoc16()
119 result = inbuf - (const unsigned char *) s; in mbrtoc16()
/wcsmbs/bits/
A Dwchar2.h254 # define swprintf(s, n, ...) \ argument
255 (__glibc_objsize (s) != (size_t) -1 || __USE_FORTIFY_LEVEL > 1 \
256 ? __swprintf_chk (s, n, __USE_FORTIFY_LEVEL - 1, \
257 __glibc_objsize (s) / sizeof (wchar_t), __VA_ARGS__) \
258 : swprintf (s, n, __VA_ARGS__))

Completed in 33 milliseconds