Home
last modified time | relevance | path

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

/bionic/tests/
Dwctype_test.cpp104 EXPECT_EQ(WEOF, towlower(WEOF)); in TEST()
120 EXPECT_EQ(WEOF, towlower(WEOF)); in TEST()
135 EXPECT_EQ(WEOF, towupper(WEOF)); in TEST()
151 EXPECT_EQ(WEOF, towupper_l(WEOF, l.l)); in TEST()
205 EXPECT_EQ(0, iswctype(WEOF, wctype("alnum"))); in TEST()
214 EXPECT_EQ(0, iswctype_l(WEOF, wctype_l("alnum", l.l), l.l)); in TEST()
234 EXPECT_EQ(WEOF, towctrans(WEOF, wctrans("tolower"))); in TEST()
237 EXPECT_EQ(WEOF, towctrans(WEOF, wctrans("toupper"))); in TEST()
243 EXPECT_EQ(WEOF, towctrans_l(WEOF, wctrans_l("tolower", l.l), l.l)); in TEST()
246 EXPECT_EQ(WEOF, towctrans_l(WEOF, wctrans_l("toupper", l.l), l.l)); in TEST()
Dstdio_test.cpp1374 EXPECT_EQ(WEOF, fputwc(L'x', fp)); in TEST()
1440 ASSERT_EQ(WEOF, fgetwc(fp)); in TEST()
1490 ASSERT_EQ(WEOF, fgetwc(fp)); in TEST()
1500 ASSERT_EQ(WEOF, fgetwc(fp)); in TEST()
/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) {
/bionic/libc/stdio/
Dvfwscanf.c165 while ((c = __fgetwc_unlock(fp)) != WEOF && iswspace(c)) in __vfwscanf()
167 if (c != WEOF) __ungetwc(c, fp); in __vfwscanf()
182 if ((wi = __fgetwc_unlock(fp)) == WEOF) goto input_failure; in __vfwscanf()
354 while ((wi = __fgetwc_unlock(fp)) != WEOF && iswspace(wi)) nread++; in __vfwscanf()
355 if (wi == WEOF) goto input_failure; in __vfwscanf()
369 while (width-- != 0 && (wi = __fgetwc_unlock(fp)) != WEOF) { in __vfwscanf()
380 while (width != 0 && (wi = __fgetwc_unlock(fp)) != WEOF) { in __vfwscanf()
411 …while ((wi = __fgetwc_unlock(fp)) != WEOF && width-- != 0 && ((c == CT_CCL && in_ccl(wi, ccl)) || … in __vfwscanf()
412 if (wi != WEOF) __ungetwc(wi, fp); in __vfwscanf()
415 …while ((wi = __fgetwc_unlock(fp)) != WEOF && width-- != 0 && ((c == CT_CCL && in_ccl(wi, ccl)) || … in __vfwscanf()
[all …]
Dparsefloat.c208 c = WEOF; in wparsefloat()
210 if ((c = __fgetwc_unlock(fp)) == WEOF) in wparsefloat()
325 c = WEOF; in wparsefloat()
329 if (c != WEOF) in wparsefloat()
Dprintf_common.h744 return WEOF; in xfputwc()
754 return (__sfvwrite(fp, &uio) != EOF ? (wint_t)wc : WEOF); in xfputwc()
Dvfwprintf.cpp121 if ((helpers::xfputwc((ptr)[n3], fp)) == WEOF) goto error; \ in FUNCTION_NAME()
/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/include/bits/
Dwctype.h38 #define WEOF __BIONIC_CAST(static_cast, wint_t, -1) macro
/bionic/tests/headers/posix/
Dwctype_h.c39 MACRO(WEOF); in wctype_h()
Dwchar_h.c45 MACRO(WEOF); in wchar_h()