Home
last modified time | relevance | path

Searched refs:EOF (Results 1 – 25 of 29) sorted by relevance

12

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dungetc.c57 return (EOF); in __submore()
69 return (EOF); in __submore()
81 if (c == EOF) in ungetc()
82 return (EOF); in ungetc()
94 return (EOF); in ungetc()
Dwbuf.c59 return (EOF); in __swbuf()
75 return (EOF); in __swbuf()
82 return (EOF); in __swbuf()
Dwsetup.c55 return (EOF); in __swsetup()
72 return (EOF); in __swsetup()
Dvswscanf.c69 return (EOF); in vswscanf()
74 return (EOF); in vswscanf()
Dsetvbuf.c56 return (EOF); in setvbuf()
98 ret = EOF; in setvbuf()
Drget.c50 return (EOF); in __srget()
Dgets.c48 if (c == EOF) in gets()
Dfvwrite.c63 return (EOF); in __sfvwrite()
203 return (EOF); in __sfvwrite()
Dfpurge.c50 return(EOF); in fpurge()
Dvdprintf.c72 return __sflush(&f) ? EOF : ret; in vdprintf()
Dfgetwc.c65 if (ch == EOF) { in __fgetwc_unlock()
/bionic/libc/stdio/
Drefill.c59 return (EOF); in __srefill()
67 return (EOF); in __srefill()
72 return (EOF); in __srefill()
121 return (EOF); in __srefill()
Dstdio.cpp412 return EOF; in __FILE_close()
419 r = EOF; in __FILE_close()
516 return EOF; in __sflush()
839 return (fwrite_unlocked(s, 1, length, fp) == length) ? 0 : EOF; in fputs_unlocked()
909 return EOF; in putc_unlocked()
930 putc_unlocked('\n', stdout) != EOF) ? 0 : EOF; in puts()
1082 return EOF; in fflush_unlocked()
Dvfwscanf.c340 return (EOF); in __vfwscanf()
634 return (nconversions != 0 ? nassigned : EOF); in __vfwscanf()
Dvfscanf.cpp287 return EOF; in __svfscanf()
450 … if ((c == CT_CCL && wctob(wc) != EOF && !ccltab[wctob(wc)]) || (c == CT_STRING && iswspace(wc))) { in __svfscanf()
Dprintf_common.h107 if (ret >= 0 && __sflush(&fake)) ret = EOF; in __sbprintf()
754 return (__sfvwrite(fp, &uio) != EOF ? (wint_t)wc : WEOF); in xfputwc()
Dvfwprintf.cpp130 return EOF; in FUNCTION_NAME()
/bionic/tests/
Dstdio_test.cpp64 ASSERT_NE(EOF, fputs(content, fp)); in SetFileTo()
73 ASSERT_NE(EOF, getline(&line, &length, fp)); in AssertFileIs()
1017 ASSERT_EQ(EOF, putc('x', fp)); in TEST()
1252 EXPECT_EQ(EOF, sscanf("", "a")); in TEST()
1254 EXPECT_EQ(EOF, swscanf(L"", L"a")); in TEST()
1279 EXPECT_EQ(EOF, sscanf("", "%s", buf)); in TEST()
1282 EXPECT_EQ(EOF, swscanf(L"", L"%ls", wbuf)); in TEST()
1348 EXPECT_EQ(EOF, putc('x', fp)); in TEST()
1352 EXPECT_EQ(EOF, fprintf(fp, "hello")); in TEST()
1356 EXPECT_EQ(EOF, fwprintf(fp, L"hello")); in TEST()
[all …]
Dstdio_ext_test.cpp156 ASSERT_TRUE(fputc('x', fp) != EOF); in TEST()
165 ASSERT_TRUE(fputc('x', fp) != EOF); in TEST()
187 ASSERT_TRUE(fputc('x', fp) != EOF); in TEST()
/bionic/libc/upstream-openbsd/lib/libc/locale/
Dwctob.c41 return (EOF); in wctob()
Dbtowc.c40 if (c == EOF) in btowc()
/bionic/benchmarks/linker_relocation/
Drun_bench_with_ninja.sh32 cat <<EOF heredoc
/bionic/tests/headers/posix/
Dstdio_h.c57 MACRO(EOF); in stdio_h()
/bionic/libc/bionic/
Dndk_cruft.cpp388 return fwrite(&value, sizeof(value), 1, fp) == 1 ? 0 : EOF; in putw()
/bionic/libc/include/
Dstdio.h93 #define EOF (-1) macro

12