Home
last modified time | relevance | path

Searched refs:fwrite (Results 1 – 19 of 19) sorted by relevance

/bionic/libc/bionic/
Dpututline.c50 fwrite(utmp, sizeof(struct utmp), 1, f); in pututline()
60 fwrite(utmp, sizeof(struct utmp), 1, f); in pututline()
Dfortify.cpp124 return fwrite(buf, size, count, stream); in __fwrite_chk()
127 return fwrite(buf, size, count, stream); in __fwrite_chk()
Dndk_cruft.cpp382 return fwrite(&value, sizeof(value), 1, fp) == 1 ? 0 : EOF; in putw()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfwrite.c48 fwrite(const void *buf, size_t size, size_t count, FILE *fp) __overloadable in fwrite() function
89 DEF_STRONG(fwrite);
/bionic/benchmarks/
Dstdio_benchmark.cpp56 ReadWriteTest(state, fwrite, true); in BM_stdio_fwrite()
66 ReadWriteTest(state, fwrite, false); in BM_stdio_fwrite_unbuffered()
/bionic/tests/
Dfortify_compilation_test.cpp256 fwrite(buf, 2, (size_t)-1, stdout); in test_fwrite_overflow()
264 fwrite(buf, 1, 5, stdout); in test_fwrite_too_big()
Dstdio_test.cpp789 EXPECT_EQ(0U, fwrite("hello", 1, 2, fp)); in TEST()
1121 ASSERT_EQ(1U, fwrite("1", 1, 1, fp)); in test_fwrite_after_fread()
1131 ASSERT_EQ(1U, fwrite("2", 1, 1, fp)) << strerror(errno); in test_fwrite_after_fread()
1161 ASSERT_EQ(12288U, fwrite(file_data, 1, 12288, fp)); in TEST()
1199 fwrite("a", 1, 1, fw); in TEST()
1209 fwrite("z", 1, 1, fw); in TEST()
Dfortify_test.cpp652 ASSERT_FORTIFY(fwrite(buf, 1, ct, fp)); in TEST_F()
/bionic/libc/include/
Dstdio.h132 size_t fwrite(const void * __restrict, size_t, size_t, FILE * __restrict)
133 __overloadable __RENAME_CLANG(fwrite);
355 size_t fwrite(const void * __restrict buf, size_t size,
361 size_t fwrite(const void * __restrict buf, size_t size,
369 size_t fwrite(const void * __restrict const __pass_object_size0 buf, in fwrite() function
375 return __call_bypassing_fortify(fwrite)(buf, size, count, stream); in fwrite()
417 size_t __fwrite_real(const void * __restrict, size_t, size_t, FILE * __restrict) __RENAME(fwrite);
463 size_t fwrite(const void * __restrict buf, size_t size, size_t count, FILE * __restrict stream) { in fwrite() function
/bionic/tools/relocation_packer/src/
Delf_file_unittest.cc55 ASSERT_EQ(bytes, fwrite(buffer, 1, bytes, temporary)); in OpenRelocsTestFile()
/bionic/libc/tools/
Dposix-2013.txt318 fwrite
/bionic/libc/
Dlibc.mips64.map343 fwrite;
Dlibc.x86_64.map343 fwrite;
Dlibc.arm64.map343 fwrite;
Dlibc.mips.map411 fwrite;
Dlibc.x86.map409 fwrite;
Dlibc.arm.map413 fwrite;
Dlibc.map.txt415 fwrite;
DAndroid.bp449 "upstream-openbsd/lib/libc/stdio/fwrite.c",