Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dsysinfo.cpp71 while (fgets(buf, sizeof(buf), fp) != NULL) { in get_nprocs()
94 while (fgets(buf, sizeof(buf), fp) != NULL) { in __get_meminfo_page_count()
D__fgets_chk.cpp56 return fgets(dest, supplied_size, stream); in __fgets_chk()
Dmntent.cpp45 while (fgets(buf, buf_len, fp) != NULL) { in getmntent_r()
Dpthread_attr.cpp140 while (fgets(line, sizeof(line), fp) != NULL) { in __pthread_attr_getstack_main_thread()
Ddebug_mapinfo.cpp93 while (fgets(data, sizeof(data), fp) != NULL) { in mapinfo_create()
/bionic/tests/
Dfortify_compilation_test.cpp172 fgets(buf, -1, stdin); in test_fgets()
177 fgets(buf, 6, stdin); in test_fgets()
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_ext_test.cpp42 fgets(buf, sizeof(buf), fp); in TEST()
94 char* s = fgets(buf, sizeof(buf), fp); in TEST()
Dutils.h53 while (fgets(line, sizeof(line), fp) != nullptr) { in parse_maps()
Dstdio_test.cpp69 char* s = fgets(buf, sizeof(buf), fp); in TEST()
87 ASSERT_EQ(buf, fgets(buf, sizeof(buf), tfile)); in TEST()
90 ASSERT_EQ(NULL, fgets(buf, sizeof(buf), tfile)); in TEST()
553 char* s = fgets(buf, sizeof(buf), fp); in TEST()
766 char* s = fgets(line, sizeof(line), fp); in TEST()
780 char* s = fgets(line, sizeof(line), fp); in TEST()
Dgtest_main.cpp244 while (fgets(buf, sizeof(buf), fp) != NULL) { in EnumerateTests()
Dpthread_test.cpp1162 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.h221 char *fgets(char * __restrict, int, FILE * __restrict);
381 extern char* __fgets_real(char*, int, FILE*) __RENAME(fgets);
434 char *fgets(char* dest, int size, FILE* stream) { in fgets() function
/bionic/benchmarks/
Dstdio_benchmark.cpp76 fgets(buf, sizeof(buf), fp); in FopenFgetsFclose()
/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/tools/
Dposix-2013.txt260 fgets
/bionic/libc/
Dlibc.map448 fgets;
DAndroid.mk414 upstream-openbsd/lib/libc/stdio/fgets.c \
/bionic/libc/dns/net/
Dgethnamaddr.c988 if (!fgets(p, line_buf_size, hf)) { in netbsd_gethostent_r()
Dgetaddrinfo.c2044 if (!(p = fgets(hostbuf, sizeof hostbuf, *hostf))) in _gethtent()