Home
last modified time | relevance | path

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

12

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dwbuf.c59 return (EOF); in __swbuf()
75 return (EOF); in __swbuf()
82 return (EOF); in __swbuf()
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()
Dwsetup.c55 return (EOF); in __swsetup()
72 return (EOF); in __swsetup()
Dvswscanf.c69 return (EOF); in vswscanf()
74 return (EOF); in vswscanf()
Drget.c50 return (EOF); in __srget()
Dsetvbuf.c56 return (EOF); in setvbuf()
98 ret = EOF; in setvbuf()
Dgets.c48 if (c == EOF) in gets()
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.cpp410 return EOF; in __FILE_close()
417 r = EOF; in __FILE_close()
514 return EOF; in __sflush()
834 return (fwrite_unlocked(s, 1, length, fp) == length) ? 0 : EOF; in fputs_unlocked()
904 return EOF; in putc_unlocked()
925 putc_unlocked('\n', stdout) != EOF) ? 0 : EOF; in puts()
1077 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()
Dvfprintf.cpp141 return EOF; in FUNCTION_NAME()
/bionic/libc/upstream-openbsd/lib/libc/locale/
Dwctob.c41 return (EOF); in wctob()
Dbtowc.c40 if (c == EOF) in btowc()
/bionic/tests/
Dstdio_test.cpp65 ASSERT_NE(EOF, fputs(content, fp)); in SetFileTo()
74 ASSERT_NE(EOF, getline(&line, &length, fp)); in AssertFileIs()
1023 ASSERT_EQ(EOF, putc('x', fp)); in TEST()
1256 EXPECT_EQ(EOF, sscanf("", "a")); in TEST()
1258 EXPECT_EQ(EOF, swscanf(L"", L"a")); in TEST()
1283 EXPECT_EQ(EOF, sscanf("", "%s", buf)); in TEST()
1286 EXPECT_EQ(EOF, swscanf(L"", L"%ls", wbuf)); in TEST()
1352 EXPECT_EQ(EOF, putc('x', fp)); in TEST()
1356 EXPECT_EQ(EOF, fprintf(fp, "hello")); in TEST()
1360 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/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