Home
last modified time | relevance | path

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

12

/bionic/libc/bionic/
D__fgets_chk.cpp56 return fgets(dest, supplied_size, stream); in __fgets_chk()
Dsysinfo.cpp87 while (fgets(buf, sizeof(buf), fp) != NULL) { in __get_meminfo_page_count()
Dmntent.cpp45 while (fgets(buf, buf_len, fp) != NULL) { in getmntent_r()
Dpthread_attr.cpp124 if (fgets(line, sizeof(line), fp) == nullptr) { in __get_main_stack_startstack()
169 while (fgets(line, sizeof(line), fp) != NULL) { in __pthread_attr_getstack_main_thread()
/bionic/tests/
Dfortify_compilation_test.cpp173 fgets(buf, -1, stdin); in test_fgets()
178 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.cpp43 fgets(buf, sizeof(buf), fp); in TEST()
95 char* s = fgets(buf, sizeof(buf), fp); in TEST()
Dutils.h62 while (fgets(line, sizeof(line), fp) != nullptr) { in parse_maps()
Dstdio_test.cpp75 char* s = fgets(buf, sizeof(buf), fp); in TEST()
99 ASSERT_EQ(buf, fgets(buf, sizeof(buf), tfile)); in TEST()
102 ASSERT_EQ(NULL, fgets(buf, sizeof(buf), tfile)); in TEST()
599 char* s = fgets(buf, sizeof(buf), fp); in TEST()
812 char* s = fgets(line, sizeof(line), fp); in TEST()
826 char* s = fgets(line, sizeof(line), fp); in TEST()
1202 ASSERT_TRUE(fgets(buf, sizeof(buf), fps[i]) != nullptr); in TEST()
Dgtest_main.cpp258 while (fgets(buf, sizeof(buf), fp) != NULL) { in EnumerateTests()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfgets.c46 fgets(char *buf, int n, FILE *fp) in fgets() function
/bionic/benchmarks/
Dstdio_benchmark.cpp76 if (fgets(buf, sizeof(buf), fp) == nullptr) abort(); in FopenFgetsFclose()
/bionic/libc/include/
Dstdio.h111 char *fgets(char * __restrict, int, FILE * __restrict);
287 extern char* __fgets_real(char*, int, FILE*) __RENAME(fgets);
402 char *fgets(char* dest, int size, FILE* stream) { in fgets() function
/bionic/libc/malloc_debug/
DMapData.cpp120 while (fgets(buffer.data(), buffer.size(), fp) != nullptr) { in ReadMaps()
/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/
Dlibc.mips64.map292 fgets;
Dlibc.x86_64.map292 fgets;
Dlibc.arm64.map292 fgets;
Dlibc.x86.brillo.map359 fgets;
Dlibc.mips.brillo.map361 fgets;
Dlibc.arm.brillo.map363 fgets;
Dlibc.mips.map361 fgets;
Dlibc.x86.map359 fgets;
/bionic/libc/tools/
Dposix-2013.txt260 fgets

12