Home
last modified time | relevance | path

Searched refs:WEOF (Results 1 – 11 of 11) 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.c58 return WEOF; in __fputwc_unlock()
67 return WEOF; in __fputwc_unlock()
72 return WEOF; in __fputwc_unlock()
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 …]
Dfgetws.c55 if ((wc = __fgetwc_unlock(fp)) == WEOF && errno == EILSEQ) { 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/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/
Dwchar.h70 #define WEOF ((wint_t)(-1)) macro
/bionic/tests/
Dstdio_test.cpp621 EXPECT_EQ(WEOF, fputwc(L'x', fp)); in TEST()
687 ASSERT_EQ(WEOF, fgetwc(fp)); in TEST()
737 ASSERT_EQ(WEOF, fgetwc(fp)); in TEST()
747 ASSERT_EQ(WEOF, fgetwc(fp)); in TEST()