Home
last modified time | relevance | path

Searched refs:write_fn (Results 1 – 2 of 2) sorted by relevance

/bionic/tests/
Dsys_uio_test.cpp44 void TestPreadVPwriteV(ReadFn read_fn, WriteFn write_fn) { in TestPreadVPwriteV() argument
50 ASSERT_EQ(5, write_fn(tf.fd, ios, 1, 5)); in TestPreadVPwriteV()
54 ASSERT_EQ(5, write_fn(tf.fd, ios, 1, 0)); in TestPreadVPwriteV()
/bionic/libc/stdio/
Dstdio.cpp685 int (*write_fn)(void*, const char*, int), in __funopen()
687 if (read_fn == nullptr && write_fn == nullptr) { in __funopen()
695 if (read_fn != nullptr && write_fn != nullptr) { in __funopen()
699 } else if (write_fn != nullptr) { in __funopen()
706 fp->_write = write_fn; in __funopen()
714 int (*write_fn)(void*, const char*, int), in funopen()
717 FILE* fp = __funopen(cookie, read_fn, write_fn, close_fn); in funopen()
726 int (*write_fn)(void*, const char*, int), in funopen64()
729 FILE* fp = __funopen(cookie, read_fn, write_fn, close_fn); in funopen64()