Home
last modified time | relevance | path

Searched refs:wint_t (Results 1 – 25 of 26) sorted by relevance

12

/bionic/tests/headers/posix/
Dwctype_h.c34 TYPE(wint_t); in wctype_h()
41 FUNCTION(iswalnum, int (*f)(wint_t)); in wctype_h()
42 FUNCTION(iswalnum_l, int (*f)(wint_t, locale_t)); in wctype_h()
43 FUNCTION(iswalpha, int (*f)(wint_t)); in wctype_h()
44 FUNCTION(iswalpha_l, int (*f)(wint_t, locale_t)); in wctype_h()
45 FUNCTION(iswblank, int (*f)(wint_t)); in wctype_h()
46 FUNCTION(iswblank_l, int (*f)(wint_t, locale_t)); in wctype_h()
47 FUNCTION(iswcntrl, int (*f)(wint_t)); in wctype_h()
48 FUNCTION(iswcntrl_l, int (*f)(wint_t, locale_t)); in wctype_h()
49 FUNCTION(iswctype, int (*f)(wint_t, wctype_t)); in wctype_h()
[all …]
Dwchar_h.c41 TYPE(wint_t); in wchar_h()
48 FUNCTION(btowc, wint_t (*f)(int)); in wchar_h()
49 FUNCTION(fgetwc, wint_t (*f)(FILE*)); in wchar_h()
51 FUNCTION(fputwc, wint_t (*f)(wchar_t, FILE*)); in wchar_h()
56 FUNCTION(getwc, wint_t (*f)(FILE*)); in wchar_h()
57 FUNCTION(getwchar, wint_t (*f)(void)); in wchar_h()
64 FUNCTION(putwc, wint_t (*f)(wchar_t, FILE*)); in wchar_h()
65 FUNCTION(putwchar, wint_t (*f)(wchar_t)); in wchar_h()
68 FUNCTION(ungetwc, wint_t (*f)(wint_t, FILE*)); in wchar_h()
113 FUNCTION(wctob, int (*f)(wint_t)); in wchar_h()
/bionic/libc/include/bits/
Dwctype.h36 typedef __WINT_TYPE__ wint_t; typedef
38 #define WEOF __BIONIC_CAST(static_cast, wint_t, -1)
40 int iswalnum(wint_t __wc);
41 int iswalpha(wint_t __wc);
42 int iswblank(wint_t __wc) __INTRODUCED_IN(21);
43 int iswcntrl(wint_t __wc);
44 int iswdigit(wint_t __wc);
45 int iswgraph(wint_t __wc);
46 int iswlower(wint_t __wc);
47 int iswprint(wint_t __wc);
[all …]
/bionic/libc/bionic/
Dwctype.cpp56 int iswalnum(wint_t wc) { return __icu_hasBinaryProperty(wc, UCHAR_POSIX_ALNUM, isalnum); } in iswalnum()
57 int iswalpha(wint_t wc) { return __icu_hasBinaryProperty(wc, UCHAR_ALPHABETIC, isalpha); } in iswalpha()
58 int iswblank(wint_t wc) { return __icu_hasBinaryProperty(wc, UCHAR_POSIX_BLANK, isblank); } in iswblank()
59 int iswgraph(wint_t wc) { return __icu_hasBinaryProperty(wc, UCHAR_POSIX_GRAPH, isgraph); } in iswgraph()
60 int iswlower(wint_t wc) { return __icu_hasBinaryProperty(wc, UCHAR_LOWERCASE, islower); } in iswlower()
61 int iswprint(wint_t wc) { return __icu_hasBinaryProperty(wc, UCHAR_POSIX_PRINT, isprint); } in iswprint()
62 int iswspace(wint_t wc) { return __icu_hasBinaryProperty(wc, UCHAR_WHITE_SPACE, isspace); } in iswspace()
63 int iswupper(wint_t wc) { return __icu_hasBinaryProperty(wc, UCHAR_UPPERCASE, isupper); } in iswupper()
64 int iswxdigit(wint_t wc) { return __icu_hasBinaryProperty(wc, UCHAR_POSIX_XDIGIT, isxdigit); } in iswxdigit()
66 int iswcntrl(wint_t wc) { in iswcntrl()
[all …]
Dicu_wrappers.cpp31 int8_t __icu_charType(wint_t wc) { in __icu_charType()
37 int32_t __icu_getIntPropertyValue(wint_t wc, UProperty property) { in __icu_getIntPropertyValue()
44 bool __icu_hasBinaryProperty(wint_t wc, UProperty property, int (*fallback)(int)) { in __icu_hasBinaryProperty()
/bionic/libc/include/
Dwctype.h39 int iswalnum_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
40 int iswalpha_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
41 int iswblank_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
42 int iswcntrl_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
43 int iswdigit_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
44 int iswgraph_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
45 int iswlower_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
46 int iswprint_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
47 int iswpunct_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
48 int iswspace_l(wint_t __wc, locale_t __l) __INTRODUCED_IN(21);
[all …]
Dwchar.h46 wint_t btowc(int __ch);
49 wint_t fgetwc(FILE* __fp);
51 wint_t fputwc(wchar_t __wc, FILE* __fp);
54 wint_t getwc(FILE* __fp);
55 wint_t getwchar(void);
61 wint_t putwc(wchar_t __wc, FILE* __fp);
62 wint_t putwchar(wchar_t __wc);
65 wint_t ungetwc(wint_t __wc, FILE* __fp);
111 int wctob(wint_t __wc);
/bionic/tests/
Dwctype_test.cpp32 static void TestIsWideFn(int fn(wint_t), in TestIsWideFn() argument
33 int fn_l(wint_t, locale_t), in TestIsWideFn() argument
105 EXPECT_EQ(wint_t('!'), towlower(L'!')); in TEST()
106 EXPECT_EQ(wint_t('a'), towlower(L'a')); in TEST()
107 EXPECT_EQ(wint_t('a'), towlower(L'A')); in TEST()
109 EXPECT_EQ(wint_t(L'ç'), towlower(L'ç')); in TEST()
110 EXPECT_EQ(wint_t(L'ç'), towlower(L'Ç')); in TEST()
111 EXPECT_EQ(wint_t(L'δ'), towlower(L'δ')); in TEST()
112 EXPECT_EQ(wint_t(L'δ'), towlower(L'Δ')); in TEST()
121 EXPECT_EQ(wint_t('!'), towlower_l(L'!', l.l)); in TEST()
[all …]
Dstdio_test.cpp327 wint_t wc = L'a'; in TEST()
635 wint_t wc = L'a'; in TEST()
644 wint_t wc = L'a'; in TEST()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dungetwc.c37 wint_t
38 __ungetwc(wint_t wc, FILE *fp) in __ungetwc()
68 wint_t
69 ungetwc(wint_t wc, FILE *fp) in ungetwc()
71 wint_t r; in ungetwc()
Dfputwc.c39 wint_t
74 return (wint_t)wc; in __fputwc_unlock()
77 wint_t
80 wint_t r; in fputwc()
Dfgetwc.c37 wint_t
80 wint_t
83 wint_t r; in fgetwc()
Dfgetws.c43 wint_t wc; in fgetws()
/bionic/libc/private/
Dicu.h81 int8_t __icu_charType(wint_t wc);
82 int32_t __icu_getIntPropertyValue(wint_t wc, UProperty property);
83 bool __icu_hasBinaryProperty(wint_t wc, UProperty property, int (*fallback)(int));
/bionic/libc/stdio/
Dlocal.h209 wint_t __fgetwc_unlock(FILE*);
210 wint_t __ungetwc(wint_t, FILE*);
253 wint_t __fputwc_unlock(wchar_t wc, FILE* fp);
Dparsefloat.c195 wint_t c; in wparsefloat()
241 (c != (wint_t)"nfinity"[infnanpos] && in wparsefloat()
242 c != (wint_t)"NFINITY"[infnanpos])) in wparsefloat()
Dprintf_common.h81 wint_t wintarg;
620 (*argtable)[n].wintarg = va_arg(ap, wint_t); in __find_arguments()
735 static wint_t xfputwc(wchar_t wc, FILE* fp) { in xfputwc()
754 return (__sfvwrite(fp, &uio) != EOF ? (wint_t)wc : WEOF); in xfputwc()
Dvfwscanf.c132 wint_t c; /* character from format, or conversion */ in __vfwscanf()
144 wint_t wi; /* handy wint_t */ in __vfwscanf()
Dstdio.cpp881 wint_t getwc(FILE* fp) { in getwc()
886 wint_t getwchar() { in getwchar()
933 wint_t putwc(wchar_t wc, FILE* fp) { in putwc()
938 wint_t putwchar(wchar_t wc) { in putwchar()
Dvfwprintf.cpp301 *(cp = buf) = (wchar_t)GETARG(wint_t); in FUNCTION_NAME()
Dvfprintf.cpp316 mbseqlen = wcrtomb(buf, (wchar_t)GETARG(wint_t), &mbs); in FUNCTION_NAME()
/bionic/libc/upstream-openbsd/lib/libc/locale/
D_wcstoul.h52 wint_t wc; in FUNCNAME()
94 if (i == (wint_t)-1) in FUNCNAME()
Dwctob.c34 wctob(wint_t c) in wctob()
Dbtowc.c33 wint_t
D_wcstol.h53 wint_t wc; in FUNCNAME()

12