Home
last modified time | relevance | path

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

/bionic/tests/
Dfcntl_test.cpp215 ASSERT_TRUE(fgets(buf, sizeof(buf), fp) != nullptr); in TEST()
224 ASSERT_TRUE(fgets(expected, sizeof(expected), expected_fp) != nullptr); in TEST()
250 ASSERT_TRUE(fgets(buf1, sizeof(buf1), fp1) != nullptr); in TEST()
256 ASSERT_TRUE(fgets(buf2, sizeof(buf2), fp2) != nullptr); in TEST()
Dstdio_ext_test.cpp44 fgets(buf, sizeof(buf), fp); in TEST()
96 char* s = fgets(buf, sizeof(buf), fp); in TEST()
Dclang_fortify_tests.cpp521 EXPECT_FORTIFY_DEATH(fgets(small_buffer, -1, stdin)); in FORTIFY_TEST()
523 EXPECT_FORTIFY_DEATH(fgets(small_buffer, sizeof(small_buffer) + 1, stdin)); in FORTIFY_TEST()
Dutils.h121 while (fgets(line, sizeof(line), fp.get()) != nullptr) { in parse_maps()
Dstdio_test.cpp84 ASSERT_EQ(line, fgets(line, sizeof(line), fp)); in AssertFileIs()
90 ASSERT_EQ(line, fgets(line, sizeof(line), fp)); in AssertFileIs()
95 ASSERT_EQ(nullptr, fgets(line, sizeof(line), fp)) << "junk at end of file: " << line; in AssertFileIs()
939 char* s = fgets(buf, sizeof(buf), fp); in TEST()
954 ASSERT_NE(nullptr, fgets(buf, sizeof(buf), fp)); in TEST()
956 ASSERT_NE(nullptr, fgets(buf, sizeof(buf), fp)); in TEST()
971 ASSERT_NE(nullptr, fgets(buf, sizeof(buf), fp)); in TEST()
973 ASSERT_NE(nullptr, fgets(buf, sizeof(buf), fp)); in TEST()
/bionic/libc/include/bits/fortify/
Dstdio.h122 char* fgets(char* const __pass_object_size dest, int size, FILE* stream) in fgets() function
134 return __call_bypassing_fortify(fgets)(dest, size, stream); in fgets()
/bionic/libc/bionic/
Dpthread_attr.cpp164 if (fgets(line, sizeof(line), fp) == nullptr) { in __get_main_stack_startstack()
210 while (fgets(line, sizeof(line), fp) != nullptr) { in __pthread_attr_getstack_main_thread()
Dmntent.cpp41 while (fgets(buf, buf_len, fp) != nullptr) { in getmntent_r()
Dfortify.cpp101 return fgets(dst, supplied_size, stream); in __fgets_chk()
/bionic/tests/headers/posix/
Dstdio_h.c88 FUNCTION(fgets, char* (*f)(char*, int, FILE*)); in stdio_h()
/bionic/libc/malloc_debug/
DMapData.cpp151 while (fgets(buffer.data(), buffer.size(), fp) != nullptr) { in ReadMaps()
/bionic/benchmarks/
Dstdio_benchmark.cpp112 while (fgets(buf, sizeof(buf), fp) != nullptr) { in FopenFgetsFclose()
/bionic/libc/include/
Dstdio.h112 char* fgets(char* __buf, int __size, FILE* __fp);
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_076.S253 CALL(fgets)
Dliblinker_reloc_bench_084.S987 CALL(fgets)
Dliblinker_reloc_bench_007.S11481 CALL(fgets)
Dliblinker_reloc_bench_000.S8841 CALL(fgets)
/bionic/libc/dns/resolv/
Dres_init.c295 while (fgets(buf, sizeof(buf), fp) != NULL) { in __res_vinit()
/bionic/libc/tools/
Dposix-2013.txt260 fgets
/bionic/libc/stdio/
Dstdio.cpp765 char* fgets(char* buf, int n, FILE* fp) { in fgets() function
/bionic/libc/dns/net/
Dgethnamaddr.c957 if (!fgets(p, line_buf_size, hf)) { in netbsd_gethostent_r()
Dgetaddrinfo.c2066 if (!(p = fgets(hostbuf, sizeof hostbuf, *hostf))) in _gethtent()
/bionic/tools/versioner/platforms/
Dlibc.map.txt358 fgets;
/bionic/libc/
Dlibc.map.txt358 fgets;