/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fgets.c | 46 fgets(char *buf, int n, FILE *fp) __overloadable in fgets() function 106 DEF_STRONG(fgets);
|
/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 | 202 ASSERT_TRUE(fgets(buf, sizeof(buf), fp) != NULL); in TEST() 211 ASSERT_TRUE(fgets(expected, sizeof(expected), expected_fp) != NULL); in TEST() 237 ASSERT_TRUE(fgets(buf1, sizeof(buf1), fp1) != NULL); in TEST() 243 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 | 75 while (fgets(line, sizeof(line), fp) != nullptr) { in parse_maps()
|
D | stdio_test.cpp | 52 ASSERT_EQ(line, fgets(line, sizeof(line), fp)); in AssertFileIs() 58 ASSERT_EQ(line, fgets(line, sizeof(line), fp)); in AssertFileIs() 63 ASSERT_EQ(nullptr, fgets(line, sizeof(line), fp)) << "junk at end of file: " << line; in AssertFileIs() 710 char* s = fgets(buf, sizeof(buf), fp); in TEST()
|
D | gtest_main.cpp | 285 while (fgets(buf, sizeof(buf), fp) != NULL) { in EnumerateTests()
|
/bionic/libc/include/ |
D | stdio.h | 124 char *fgets(char * __restrict, int, FILE * __restrict) __overloadable 125 __RENAME_CLANG(fgets); 384 char *fgets(char* __restrict dest, int size, FILE* stream) __overloadable 389 char *fgets(char* dest, int size, FILE* stream) __overloadable 395 char *fgets(char* __restrict const __pass_object_size dest, in fgets() function 400 return __call_bypassing_fortify(fgets)(dest, size, stream); in fgets() 413 char* __fgets_real(char*, int, FILE*) __RENAME(fgets); 489 char *fgets(char* dest, int size, FILE* stream) { in fgets() function
|
/bionic/libc/bionic/ |
D | pthread_attr.cpp | 125 if (fgets(line, sizeof(line), fp) == nullptr) { in __get_main_stack_startstack() 170 while (fgets(line, sizeof(line), fp) != NULL) { in __pthread_attr_getstack_main_thread()
|
D | mntent.cpp | 41 while (fgets(buf, buf_len, fp) != NULL) { in getmntent_r()
|
D | fortify.cpp | 105 return fgets(dst, supplied_size, stream); in __fgets_chk()
|
/bionic/benchmarks/ |
D | stdio_benchmark.cpp | 75 if (fgets(buf, sizeof(buf), fp) == nullptr) abort(); in FopenFgetsFclose()
|
/bionic/libc/malloc_debug/ |
D | MapData.cpp | 120 while (fgets(buffer.data(), buffer.size(), fp) != nullptr) { in ReadMaps()
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 295 while (fgets(buf, sizeof(buf), fp) != NULL) { in __res_vinit()
|
/bionic/libc/tools/ |
D | posix-2013.txt | 260 fgets
|
/bionic/libc/dns/net/ |
D | gethnamaddr.c | 995 if (!fgets(p, line_buf_size, hf)) { in netbsd_gethostent_r()
|
D | getaddrinfo.c | 2061 if (!(p = fgets(hostbuf, sizeof hostbuf, *hostf))) in _gethtent()
|
/bionic/libc/ |
D | libc.mips64.map | 285 fgets;
|
D | libc.x86_64.map | 285 fgets;
|
D | libc.arm64.map | 285 fgets;
|
D | libc.mips.map | 353 fgets;
|
D | libc.x86.map | 351 fgets;
|
D | libc.arm.map | 355 fgets;
|
D | libc.map.txt | 357 fgets;
|
D | Android.bp | 437 "upstream-openbsd/lib/libc/stdio/fgets.c",
|