Home
last modified time | relevance | path

Searched refs:EOF (Results 1 – 25 of 31) 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()
Drefill.c63 return (EOF); in __srefill()
70 return (EOF); in __srefill()
75 return (EOF); in __srefill()
125 return (EOF); in __srefill()
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()
Dfclose.c46 return (EOF); in fclose()
52 r = EOF; in fclose()
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()
Dfseek.c66 return (EOF); in fseeko()
89 return (EOF); in fseeko()
113 return (EOF); in fseeko()
234 return (EOF); in fseeko()
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()
/bionic/libc/upstream-openbsd/lib/libc/locale/
Dwctob.c41 return (EOF); in wctob()
Dbtowc.c40 if (c == EOF) in btowc()
/bionic/tests/
Dstdio_test.cpp574 ASSERT_EQ(EOF, putc('x', fp)); in TEST()
599 EXPECT_EQ(EOF, putc('x', fp)); in TEST()
603 EXPECT_EQ(EOF, fprintf(fp, "hello")); in TEST()
607 EXPECT_EQ(EOF, fwprintf(fp, L"hello")); in TEST()
617 EXPECT_EQ(EOF, fputs("hello", fp)); in TEST()
758 ASSERT_NE(EOF, fputs("abc>\n", fp)); in TEST()
775 ASSERT_NE(EOF, fputs("xyz\n", fp)); in TEST()
805 ASSERT_NE(EOF, fputs("hello, world!", fp)); in TEST()

12