Searched refs:fgets (Results 1 – 25 of 31) sorted by relevance
12
/bionic/libc/bionic/ |
D | __fgets_chk.cpp | 56 return fgets(dest, supplied_size, stream); in __fgets_chk()
|
D | sysinfo.cpp | 87 while (fgets(buf, sizeof(buf), fp) != NULL) { in __get_meminfo_page_count()
|
D | mntent.cpp | 45 while (fgets(buf, buf_len, fp) != NULL) { in getmntent_r()
|
D | pthread_attr.cpp | 124 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/ |
D | fortify_compilation_test.cpp | 173 fgets(buf, -1, stdin); in test_fgets() 178 fgets(buf, 6, stdin); in test_fgets()
|
D | fcntl_test.cpp | 193 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()
|
D | stdio_ext_test.cpp | 43 fgets(buf, sizeof(buf), fp); in TEST() 95 char* s = fgets(buf, sizeof(buf), fp); in TEST()
|
D | utils.h | 62 while (fgets(line, sizeof(line), fp) != nullptr) { in parse_maps()
|
D | stdio_test.cpp | 75 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()
|
D | gtest_main.cpp | 258 while (fgets(buf, sizeof(buf), fp) != NULL) { in EnumerateTests()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fgets.c | 46 fgets(char *buf, int n, FILE *fp) in fgets() function
|
/bionic/benchmarks/ |
D | stdio_benchmark.cpp | 76 if (fgets(buf, sizeof(buf), fp) == nullptr) abort(); in FopenFgetsFclose()
|
/bionic/libc/include/ |
D | stdio.h | 111 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/ |
D | MapData.cpp | 120 while (fgets(buffer.data(), buffer.size(), fp) != nullptr) { in ReadMaps()
|
/bionic/libstdc++/include/ |
D | cstdio | 52 using ::fgets;
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 294 while (fgets(buf, sizeof(buf), fp) != NULL) { in __res_vinit()
|
/bionic/libc/ |
D | libc.mips64.map | 292 fgets;
|
D | libc.x86_64.map | 292 fgets;
|
D | libc.arm64.map | 292 fgets;
|
D | libc.x86.brillo.map | 359 fgets;
|
D | libc.mips.brillo.map | 361 fgets;
|
D | libc.arm.brillo.map | 363 fgets;
|
D | libc.mips.map | 361 fgets;
|
D | libc.x86.map | 359 fgets;
|
/bionic/libc/tools/ |
D | posix-2013.txt | 260 fgets
|
12