Home
last modified time | relevance | path

Searched refs:wint_t (Results 1 – 25 of 29) 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.h38 int iswalnum_l(wint_t __wc, locale_t _Nonnull __l) __INTRODUCED_IN(21);
39 int iswalpha_l(wint_t __wc, locale_t _Nonnull __l) __INTRODUCED_IN(21);
40 int iswblank_l(wint_t __wc, locale_t _Nonnull __l) __INTRODUCED_IN(21);
41 int iswcntrl_l(wint_t __wc, locale_t _Nonnull __l) __INTRODUCED_IN(21);
42 int iswdigit_l(wint_t __wc, locale_t _Nonnull __l) __INTRODUCED_IN(21);
43 int iswgraph_l(wint_t __wc, locale_t _Nonnull __l) __INTRODUCED_IN(21);
44 int iswlower_l(wint_t __wc, locale_t _Nonnull __l) __INTRODUCED_IN(21);
45 int iswprint_l(wint_t __wc, locale_t _Nonnull __l) __INTRODUCED_IN(21);
46 int iswpunct_l(wint_t __wc, locale_t _Nonnull __l) __INTRODUCED_IN(21);
47 int iswspace_l(wint_t __wc, locale_t _Nonnull __l) __INTRODUCED_IN(21);
[all …]
Dwchar.h46 wint_t btowc(int __ch);
49 wint_t fgetwc(FILE* _Nonnull __fp);
51 wint_t fputwc(wchar_t __wc, FILE* _Nonnull __fp);
54 wint_t getwc(FILE* _Nonnull __fp);
55 wint_t getwchar(void);
61 wint_t putwc(wchar_t __wc, FILE* _Nonnull __fp);
62 wint_t putwchar(wchar_t __wc);
65 wint_t ungetwc(wint_t __wc, FILE* _Nonnull __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 …]
/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/upstream-netbsd/lib/libc/regex/
Dutils.h46 #define wint_t regex_wint_t macro
49 typedef short wint_t; typedef
59 extern int __regex_iswctype(wint_t, wctype_t);
Dregex2.h118 wint_t min;
119 wint_t max;
125 wint_t *wides;
134 CHIN1(cset *cs, wint_t ch) in CHIN1()
160 CHIN(cset *cs, wint_t ch) in CHIN()
Dregcomp.c157 static wint_t p_b_symbol(struct parse *p);
158 static wint_t p_b_coll_elem(struct parse *p, wint_t endc);
159 static bool may_escape(struct parse *p, const wint_t ch);
160 static wint_t othercase(wint_t ch);
161 static void bothcases(struct parse *p, wint_t ch);
162 static void ordinary(struct parse *p, wint_t ch);
168 static void CHadd(struct parse *p, cset *cs, wint_t ch);
169 static void CHaddrange(struct parse *p, cset *cs, wint_t min, wint_t max);
171 static wint_t singleton(cset *cs);
183 static wint_t wgetnext(struct parse *p);
[all …]
Dregexec.c78 xmbrtowc(wint_t *wi, const char *s, size_t n, mbstate_t *mbs, wint_t dummy) in __weak_alias()
104 xmbrtowc_dummy(wint_t *wi, in xmbrtowc_dummy()
108 wint_t dummy __unused) in xmbrtowc_dummy()
Dengine.c117 static states step(struct re_guts *g, sopno start, sopno stop, states bef, wint_t ch, states aft, i…
662 wint_t wc; in backref()
680 if (wc != (wint_t)OPND(s)) in backref()
886 wint_t c; in walk()
887 wint_t lastc; /* previous c */ in walk()
888 wint_t flagch; in walk()
1039 wint_t ch, /* character or NONCHAR code */ in step()
1061 if (ch == (wint_t)OPND(s)) in step()
/bionic/libc/stdio/
Dlocal.h208 wint_t __fgetwc_unlock(FILE*);
209 wint_t __ungetwc(wint_t, FILE*);
252 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;
633 (*argtable)[n].wintarg = va_arg(ap, wint_t); in __find_arguments()
748 static wint_t xfputwc(wchar_t wc, FILE* fp) { in xfputwc()
767 return (__sfvwrite(fp, &uio) != EOF ? (wint_t)wc : WEOF); in xfputwc()
Dvfwscanf.cpp135 wint_t c; /* character from format, or conversion */ in __vfwscanf()
147 wint_t wi; /* handy wint_t */ in __vfwscanf()
Dstdio.cpp876 wint_t getwc(FILE* fp) { in getwc()
881 wint_t getwchar() { in getwchar()
928 wint_t putwc(wchar_t wc, FILE* fp) { in putwc()
933 wint_t putwchar(wchar_t wc) { in putwchar()
/bionic/libc/upstream-openbsd/lib/libc/locale/
Dwctob.c34 wctob(wint_t c) in wctob()
Dbtowc.c33 wint_t

12