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.cpp1240 auto read_fn = [](void*, char*, int) { return -1; }; in TEST() local
1241 FILE* fp = funopen(nullptr, read_fn, nullptr, nullptr, nullptr); in TEST()
1277 auto read_fn = [](void*, char*, int) { return -1; }; in TEST() local
1282 FILE* fp = funopen(nullptr, read_fn, nullptr, seek_fn, nullptr); in TEST()
1293 FILE* fp64 = funopen64(nullptr, read_fn, nullptr, seek64_fn, nullptr); in TEST()
/bionic/libc/stdio/
Dstdio.cpp596 int (*read_fn)(void*, char*, int), in __funopen()
599 if (read_fn == nullptr && write_fn == nullptr) { in __funopen()
607 if (read_fn != nullptr && write_fn != nullptr) { in __funopen()
609 } else if (read_fn != nullptr) { in __funopen()
617 fp->_read = read_fn; in __funopen()
625 int (*read_fn)(void*, char*, int), in funopen()
629 FILE* fp = __funopen(cookie, read_fn, write_fn, close_fn); in funopen()
637 int (*read_fn)(void*, char*, int), in funopen64()
641 FILE* fp = __funopen(cookie, read_fn, write_fn, close_fn); in funopen64()