Searched refs:read_fn (Results 1 – 3 of 3) sorted by relevance
/bionic/tests/ |
D | sys_uio_test.cpp | 44 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()
|
D | stdio_test.cpp | 1122 auto read_fn = [](void*, char*, int) { return -1; }; in TEST() local 1123 FILE* fp = funopen(nullptr, read_fn, nullptr, nullptr, nullptr); in TEST() 1159 auto read_fn = [](void*, char*, int) { return -1; }; in TEST() local 1164 FILE* fp = funopen(nullptr, read_fn, nullptr, seek_fn, nullptr); in TEST() 1175 FILE* fp64 = funopen64(nullptr, read_fn, nullptr, seek64_fn, nullptr); in TEST()
|
/bionic/libc/stdio/ |
D | stdio.cpp | 550 int (*read_fn)(void*, char*, int), in __funopen() 553 if (read_fn == nullptr && write_fn == nullptr) { in __funopen() 561 if (read_fn != nullptr && write_fn != nullptr) { in __funopen() 563 } else if (read_fn != nullptr) { in __funopen() 571 fp->_read = read_fn; in __funopen() 579 int (*read_fn)(void*, char*, int), in funopen() 583 FILE* fp = __funopen(cookie, read_fn, write_fn, close_fn); in funopen() 591 int (*read_fn)(void*, char*, int), in funopen64() 595 FILE* fp = __funopen(cookie, read_fn, write_fn, close_fn); in funopen64()
|