/bionic/libc/bionic/ |
D | pututline.c | 42 while (fread(&u, sizeof(struct utmp), 1, f) == 1) in pututline()
|
D | fortify.cpp | 108 return fread(buf, size, count, stream); in __fread_chk() 111 return fread(buf, size, count, stream); in __fread_chk()
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | utmp.c | 75 if (fread(&utmp, sizeof(utmp), 1, ut) == 1) in getutent()
|
/bionic/tests/ |
D | fortify_filecheck_diagnostics_test.cpp | 237 fread(buf, 2, (size_t)-1, stdin); in test_fread_overflow() 244 fread(buf, 1, 5, stdin); in test_fread_too_big()
|
D | stdio_test.cpp | 1664 ASSERT_EQ(8U, fread(buf2, 1, sizeof(buf2), fp)); in TEST() 1687 ASSERT_EQ(4U, fread(buf2, 1, sizeof(buf2), fp)); in TEST() 1958 ASSERT_EQ(1U, fread(buf, 64*1024, 1, fp)); in TEST() 1982 ASSERT_EQ(2U, fread(buf1, 4, 4, fp)); in TEST() 1991 ASSERT_EQ(2U, fread(buf2, 4, 4096, fp)); in TEST() 2002 ASSERT_EQ(0U, fread(&buf[0], n, 1, fp)); in test_fread_from_write_only_stream() 2026 ASSERT_EQ(0U, fread(&buf[0], 1, buf.size(), fp)); in test_fwrite_after_fread() 2035 ASSERT_EQ(2U, fread(&buf[0], 1, buf.size(), fp)); in test_fwrite_after_fread() 2070 ASSERT_EQ(100U, fread(buffer, 1, 100, fp)); in TEST() 2076 ASSERT_EQ(8192U, fread(buffer, 1, 8192, fp)); in TEST() [all …]
|
D | fortify_test.cpp | 654 ASSERT_FORTIFY(fread(buf, 1, ct, fp)); in TEST_F()
|
/bionic/libc/include/bits/fortify/ |
D | stdio.h | 95 size_t fread(void* const __pass_object_size0 buf, size_t size, size_t count, FILE* stream) in fread() function 104 return __call_bypassing_fortify(fread)(buf, size, count, stream); in fread()
|
/bionic/libc/dns/net/ |
D | gethnamaddr.c | 573 if (fread(buf, 1, sizeof(buf), proxy) != sizeof(buf)) return NULL; in android_read_hostent() 579 fread(&size, 1, sizeof(size), proxy); in android_read_hostent() 584 if (fread(&size, 1, sizeof(size), proxy) != sizeof(size)) return NULL; in android_read_hostent() 594 if (fread(ptr, 1, size, proxy) != size) return NULL; in android_read_hostent() 602 if (fread(&size, 1, sizeof(size), proxy) != sizeof(size)) return NULL; in android_read_hostent() 612 if (fread(ptr, 1, size, proxy) != size) return NULL; in android_read_hostent() 630 if (fread(&size, 1, sizeof(size), proxy) != sizeof(size)) return NULL; in android_read_hostent() 633 if (fread(&size, 1, sizeof(size), proxy) != sizeof(size)) return NULL; in android_read_hostent() 640 if (fread(&size, 1, sizeof(size), proxy) != sizeof(size)) return NULL; in android_read_hostent() 649 if (fread(ptr, 1, size, proxy) != size) return NULL; in android_read_hostent()
|
D | getaddrinfo.c | 396 if (fread(&tmp, sizeof(tmp), 1, fp) != 1) { in readBE32() 450 if (fread(buf, 1, sizeof(buf), proxy) != sizeof(buf)) { in android_getaddrinfo_proxy() 457 fread(buf, 1, sizeof(buf), proxy); in android_getaddrinfo_proxy() 510 if (fread(ai->ai_addr, addr_len, 1, proxy) != 1) { in android_getaddrinfo_proxy() 522 if (fread(ai->ai_canonname, name_len, 1, proxy) != 1) { in android_getaddrinfo_proxy()
|
/bionic/benchmarks/ |
D | stdio_benchmark.cpp | 61 ReadWriteTest(state, fread, true); in BM_stdio_fread() 71 ReadWriteTest(state, fread, false); in BM_stdio_fread_unbuffered()
|
/bionic/tests/headers/posix/ |
D | stdio_h.c | 96 FUNCTION(fread, size_t (*f)(void*, size_t, size_t, FILE*)); in stdio_h()
|
/bionic/libc/include/ |
D | stdio.h | 116 size_t fread(void* __buf, size_t __size, size_t __count, FILE* __fp);
|
/bionic/libc/stdio/ |
D | vfscanf.cpp | 405 size_t r = fread(p, 1, width, fp); in __svfscanf()
|
D | stdio.cpp | 1089 size_t fread(void* buf, size_t size, size_t count, FILE* fp) { in fread() function
|
/bionic/libc/tools/ |
D | posix-2013.txt | 292 fread
|
/bionic/docs/ |
D | status.md | 117 * more FORTIFY support functions (`fread`/`fwrite`/`getcwd`/`pwrite`/`write`)
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 1537 fread(buf, fileLen, 1, fp); in _dump_answer()
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 378 fread;
|
/bionic/libc/ |
D | libc.map.txt | 378 fread;
|