OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:read_fn
(Results
1 - 6
of
6
) sorted by null
/external/vboot_reference/futility/
dump_kernel_config_lib.c
54
/* Skip the stream by calling |
read_fn
| many times. Return 0 on success. */
55
static int SkipWithRead(void *ctx, ReadFullyFn
read_fn
, size_t count)
64
if (
read_fn
(ctx, buf, to_read) != to_read) {
72
static char *FindKernelConfigFromStream(void *ctx, ReadFullyFn
read_fn
,
81
if (
read_fn
(ctx, &key_block, sizeof(key_block)) != sizeof(key_block)) {
86
if (to_skip < 0 || SkipWithRead(ctx,
read_fn
, to_skip)) {
93
if (
read_fn
(ctx, &preamble, sizeof(preamble)) != sizeof(preamble)) {
98
if (to_skip < 0 || SkipWithRead(ctx,
read_fn
, to_skip)) {
116
if (to_skip < 0 || SkipWithRead(ctx,
read_fn
, to_skip)) {
126
if (
read_fn
(ctx, ret, CROS_CONFIG_SIZE) != CROS_CONFIG_SIZE)
145
ReadFullyFn
read_fn
= ReadFullyWithRead;
local
[
all
...]
/bionic/tests/
sys_uio_test.cpp
44
void TestPreadVPwriteV(ReadFn
read_fn
, WriteFn write_fn) {
57
ASSERT_EQ(5,
read_fn
(tf.fd, ios, 1, 5));
59
ASSERT_EQ(5,
read_fn
(tf.fd, ios, 1, 0));
stdio_test.cpp
1122
auto
read_fn
= [](void*, char*, int) { return -1; };
local
1123
FILE* fp = funopen(nullptr,
read_fn
, nullptr, nullptr, nullptr);
1159
auto
read_fn
= [](void*, char*, int) { return -1; };
local
[
all
...]
/bionic/libc/stdio/
stdio.cpp
550
int (*
read_fn
)(void*, char*, int),
553
if (
read_fn
== nullptr && write_fn == nullptr) {
561
if (
read_fn
!= nullptr && write_fn != nullptr) {
563
} else if (
read_fn
!= nullptr) {
571
fp->_read =
read_fn
;
579
int (*
read_fn
)(void*, char*, int),
583
FILE* fp = __funopen(cookie,
read_fn
, write_fn, close_fn);
591
int (*
read_fn
)(void*, char*, int),
595
FILE* fp = __funopen(cookie,
read_fn
, write_fn, close_fn);
/system/bt/osi/src/
socket.c
202
void (*
read_fn
)(void *) = (read_cb != NULL) ? internal_read_ready : NULL;
205
socket->reactor_object = reactor_register(reactor, socket->fd, socket,
read_fn
, write_fn);
/external/autotest/client/cros/
power_utils.py
571
def _verify_registers(self, reg_name,
read_fn
, match_list):
574
r =
read_fn
(k)
Completed in 241 milliseconds