Home
last modified time | relevance | path

Searched refs:read_fn (Results 1 – 3 of 3) sorted by relevance

/bionic/tests/
Dsys_uio_test.cpp44 void TestPreadVPwriteV(ReadFn read_fn, WriteFn write_fn) { in TestPreadVPwriteV() argument
57 ASSERT_EQ(5, read_fn(tf.fd, ios, 1, 5)); in TestPreadVPwriteV()
59 ASSERT_EQ(5, read_fn(tf.fd, ios, 1, 0)); in TestPreadVPwriteV()
Dstdio_test.cpp2190 auto read_fn = [](void*, char*, int) { return -1; }; in TEST() local
2191 FILE* fp = funopen(nullptr, read_fn, nullptr, nullptr, nullptr); in TEST()
2227 auto read_fn = [](void*, char*, int) { return -1; }; in TEST() local
2232 FILE* fp = funopen(nullptr, read_fn, nullptr, seek_fn, nullptr); in TEST()
2243 FILE* fp64 = funopen64(nullptr, read_fn, nullptr, seek64_fn, nullptr); in TEST()
/bionic/libc/stdio/
Dstdio.cpp686 int (*read_fn)(void*, char*, int), in __funopen()
689 if (read_fn == nullptr && write_fn == nullptr) { in __funopen()
697 if (read_fn != nullptr && write_fn != nullptr) { in __funopen()
699 } else if (read_fn != nullptr) { in __funopen()
707 fp->_read = read_fn; in __funopen()
715 int (*read_fn)(void*, char*, int), in funopen()
719 FILE* fp = __funopen(cookie, read_fn, write_fn, close_fn); in funopen()
727 int (*read_fn)(void*, char*, int), in funopen64()
731 FILE* fp = __funopen(cookie, read_fn, write_fn, close_fn); in funopen64()