Home
last modified time | relevance | path

Searched refs:fgets (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/bionic/
D__fgets_chk.cpp56 return fgets(dest, supplied_size, stream); in __fgets_chk()
Dsysconf.cpp105 while (fgets(buf, sizeof(buf), fp) != NULL) { in __sysconf_nprocessors_onln()
128 while (fgets(buf, sizeof(buf), fp) != NULL) { in __get_meminfo()
Ddebug_mapinfo.cpp76 while (fgets(data, sizeof(data), fp) != NULL) { in mapinfo_create()
Dpthread_attr.cpp140 while (fgets(line, sizeof(line), fp) != NULL) { in __pthread_attr_getstack_main_thread()
/bionic/tests/
Dfcntl_test.cpp193 ASSERT_TRUE(fgets(buf, sizeof(buf), fp) != NULL); in TEST()
202 ASSERT_TRUE(fgets(expected, sizeof(expected), expected_fp) != NULL); in TEST()
228 ASSERT_TRUE(fgets(buf1, sizeof(buf1), fp1) != NULL); in TEST()
234 ASSERT_TRUE(fgets(buf2, sizeof(buf2), fp2) != NULL); in TEST()
Dstdio_test.cpp67 char* s = fgets(buf, sizeof(buf), fp); in TEST()
85 ASSERT_EQ(buf, fgets(buf, sizeof(buf), tfile)); in TEST()
88 ASSERT_EQ(NULL, fgets(buf, sizeof(buf), tfile)); in TEST()
498 char* s = fgets(buf, sizeof(buf), fp); in TEST()
Ddlfcn_test.cpp334 while (fgets(line, sizeof(line), fp) != NULL) { in TEST()
Dpthread_test.cpp850 while (fgets(line, sizeof(line), fp) != NULL) { in TEST()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfgets.c46 fgets(char *buf, int n, FILE *fp) in fgets() function
/bionic/libc/include/
Dstdio.h217 char *fgets(char * __restrict, int, FILE * __restrict);
357 extern char* __fgets_real(char*, int, FILE*) __RENAME(fgets);
410 char *fgets(char* dest, int size, FILE* stream) { in fgets() function
/bionic/libstdc++/include/
Dcstdio52 using ::fgets;
/bionic/libc/dns/resolv/
Dres_init.c294 while (fgets(buf, sizeof(buf), fp) != NULL) { in __res_vinit()
/bionic/libc/
DAndroid.mk390 upstream-openbsd/lib/libc/stdio/fgets.c \
/bionic/libc/dns/
Dgethnamaddr.c933 if (!(p = fgets(rs->hostbuf, sizeof rs->hostbuf, rs->hostf))) { in _gethtent()
/bionic/libc/dns/net/
Dgetaddrinfo.c2052 if (!(p = fgets(hostbuf, sizeof hostbuf, *hostf))) in _gethtent()