Home
last modified time | relevance | path

Searched refs:WEOF (Results 1 – 13 of 13) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dungetwc.c42 if (wc == WEOF) in __ungetwc()
43 return WEOF; in __ungetwc()
55 return WEOF; in __ungetwc()
59 return WEOF; in __ungetwc()
Dfgetwc.c49 return WEOF; in __fgetwc_unlock()
66 return WEOF; in __fgetwc_unlock()
73 return WEOF; in __fgetwc_unlock()
Dfputwc.c57 return WEOF; in __fputwc_unlock()
66 return WEOF; in __fputwc_unlock()
71 return WEOF; in __fputwc_unlock()
Dfgetws.c55 if ((wc = __fgetwc_unlock(fp)) == WEOF && in fgetws()
58 if (wc == WEOF) { in fgetws()
Dfputws.c48 if (__fputwc_unlock(*ws++, fp) == WEOF) {
Dvfwprintf.c146 return (WEOF); in __xfputwc()
153 return (__sfvwrite(fp, &uio) != EOF ? (wint_t)wc : WEOF); in __xfputwc()
356 if ((__xfputwc((ptr)[n3], fp)) == WEOF) \ in __vfwprintf()
/bionic/tests/
Dwctype_test.cpp108 EXPECT_EQ(WEOF, towlower(WEOF)); in TEST()
124 EXPECT_EQ(WEOF, towlower(WEOF)); in TEST()
139 EXPECT_EQ(WEOF, towupper(WEOF)); in TEST()
155 EXPECT_EQ(WEOF, towupper_l(WEOF, l.l)); in TEST()
209 EXPECT_EQ(0, iswctype(WEOF, wctype("alnum"))); in TEST()
218 EXPECT_EQ(0, iswctype_l(WEOF, wctype_l("alnum", l.l), l.l)); in TEST()
238 EXPECT_EQ(WEOF, towctrans(WEOF, wctrans("tolower"))); in TEST()
241 EXPECT_EQ(WEOF, towctrans(WEOF, wctrans("toupper"))); in TEST()
247 EXPECT_EQ(WEOF, towctrans_l(WEOF, wctrans_l("tolower", l.l), l.l)); in TEST()
250 EXPECT_EQ(WEOF, towctrans_l(WEOF, wctrans_l("toupper", l.l), l.l)); in TEST()
Dstdio_test.cpp797 EXPECT_EQ(WEOF, fputwc(L'x', fp)); in TEST()
863 ASSERT_EQ(WEOF, fgetwc(fp)); in TEST()
913 ASSERT_EQ(WEOF, fgetwc(fp)); in TEST()
923 ASSERT_EQ(WEOF, fgetwc(fp)); in TEST()
/bionic/libc/upstream-openbsd/lib/libc/locale/
Dbtowc.c41 return (WEOF); in btowc()
50 return (WEOF); in btowc()
Dwctob.c40 if (c == WEOF || wcrtomb(buf, c, &mbs) != 1) in wctob()
/bionic/libc/stdio/
Dvfwscanf.c144 while ((c = __fgetwc_unlock(fp)) != WEOF && in __vfwscanf()
147 if (c != WEOF) in __vfwscanf()
163 if ((wi = __fgetwc_unlock(fp)) == WEOF) in __vfwscanf()
338 while ((wi = __fgetwc_unlock(fp)) != WEOF && in __vfwscanf()
341 if (wi == WEOF) in __vfwscanf()
360 (wi = __fgetwc_unlock(fp)) != WEOF) { in __vfwscanf()
376 (wi = __fgetwc_unlock(fp)) != WEOF) { in __vfwscanf()
416 while ((wi = __fgetwc_unlock(fp)) != WEOF && in __vfwscanf()
419 if (wi != WEOF) in __vfwscanf()
425 while ((wi = __fgetwc_unlock(fp)) != WEOF && in __vfwscanf()
[all …]
Dparsefloat.c209 c = WEOF; in wparsefloat()
211 if ((c = __fgetwc_unlock(fp)) == WEOF) in wparsefloat()
326 c = WEOF; in wparsefloat()
330 if (c != WEOF) in wparsefloat()
/bionic/libc/include/bits/
Dwctype.h38 #define WEOF __BIONIC_CAST(static_cast, wint_t, -1) macro