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
1240
auto
read_fn
= [](void*, char*, int) { return -1; };
local
1277
auto
read_fn
= [](void*, char*, int) { return -1; };
local
[
all
...]
/bionic/libc/stdio/
stdio.cpp
596
int (*
read_fn
)(void*, char*, int),
599
if (
read_fn
== nullptr && write_fn == nullptr) {
607
if (
read_fn
!= nullptr && write_fn != nullptr) {
609
} else if (
read_fn
!= nullptr) {
617
fp->_read =
read_fn
;
625
int (*
read_fn
)(void*, char*, int),
629
FILE* fp = __funopen(cookie,
read_fn
, write_fn, close_fn);
637
int (*
read_fn
)(void*, char*, int),
641
FILE* fp = __funopen(cookie,
read_fn
, write_fn, close_fn);
/system/bt/osi/src/
socket.cc
206
void (*
read_fn
)(void*) = (read_cb != NULL) ? internal_read_ready : NULL;
210
reactor_register(reactor, socket->fd, socket,
read_fn
, write_fn);
/external/autotest/client/cros/
power_utils.py
592
def _verify_registers(self, reg_name,
read_fn
, match_list):
595
r =
read_fn
(k)
Completed in 1223 milliseconds