Home
last modified time | relevance | path

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

12

/bionic/libc/upstream-openbsd/lib/libc/gen/
Disctype.c44 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & (_U|_L|_N))); in isalnum()
51 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & (_U|_L))); in isalpha()
65 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & _C)); in iscntrl()
72 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & _N)); in isdigit()
79 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & (_P|_U|_L|_N))); in isgraph()
86 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & _L)); in islower()
93 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & (_P|_U|_L|_N|_B))); in isprint()
100 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & _P)); in ispunct()
107 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & _S)); in isspace()
114 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & _U)); in isupper()
[all …]
Dtolower_.c13 EOF,
Dtoupper_.c14 EOF,
/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()
Drget.c50 return (EOF); in __srget()
Dfflush.c49 r = EOF; in fflush()
82 return (EOF); in __sflush()
Dvswscanf.c69 return (EOF); in vswscanf()
74 return (EOF); in vswscanf()
Dgets.c48 if (c == EOF) in gets()
Dputc.c48 return (EOF); in putc_unlocked()
Dfpurge.c50 return(EOF); in fpurge()
Dputs.c61 return (ret ? EOF : '\n'); in puts()
Dsetvbuf.c56 return (EOF); in setvbuf()
98 ret = EOF; in setvbuf()
Dvdprintf.c72 return fflush(&f) ? EOF : ret; in vdprintf()
Dfgetwc.c65 if (ch == EOF) { in __fgetwc_unlock()
Dfvwrite.c62 return (EOF); in __sfvwrite()
203 return (EOF); in __sfvwrite()
Dvfwscanf.c323 return (EOF); in __vfwscanf()
784 return (nconversions != 0 ? nassigned : EOF); in __vfwscanf()
Dvfscanf.c297 return (EOF); in __svfscanf()
447 if (wctob(*wcp) != EOF && in __svfscanf()
Dvfwprintf.c119 ret = EOF; in __sbprintf()
153 return (__sfvwrite(fp, &uio) != EOF ? (wint_t)wc : WEOF); in __xfputwc()
451 return (EOF); in __vfwprintf()
/bionic/libc/stdio/
Drefill.c59 return (EOF); in __srefill()
67 return (EOF); in __srefill()
72 return (EOF); in __srefill()
122 return (EOF); in __srefill()
Dstdio.cpp368 return EOF; in fclose()
375 r = EOF; in fclose()
/bionic/libc/upstream-openbsd/lib/libc/locale/
Dwctob.c41 return (EOF); in wctob()
Dbtowc.c40 if (c == EOF) in btowc()
/bionic/tests/
Dstdio_test.cpp620 ASSERT_EQ(EOF, putc('x', fp)); in TEST()
645 EXPECT_EQ(EOF, putc('x', fp)); in TEST()
649 EXPECT_EQ(EOF, fprintf(fp, "hello")); in TEST()
653 EXPECT_EQ(EOF, fwprintf(fp, L"hello")); in TEST()
663 EXPECT_EQ(EOF, fputs("hello", fp)); in TEST()
804 ASSERT_NE(EOF, fputs("abc>\n", fp)); in TEST()
821 ASSERT_NE(EOF, fputs("xyz\n", fp)); in TEST()
851 ASSERT_NE(EOF, fputs("hello, world!", fp)); in TEST()

12