OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:file_wait
(Results
1 - 2
of
2
) sorted by null
/external/adhd/cras/src/tests/
file_wait_unittest.cc
15
void cras_file_wait_mock_race_condition(struct cras_file_wait *
file_wait
);
52
struct cras_file_wait *
file_wait
;
local
66
&
file_wait
));
67
EXPECT_NE(reinterpret_cast<struct cras_file_wait *>(NULL),
file_wait
);
local
75
poll_fd.fd = cras_file_wait_get_fd(
file_wait
);
83
EXPECT_EQ(0, cras_file_wait_dispatch(
file_wait
));
89
EXPECT_EQ(-EAGAIN, cras_file_wait_dispatch(
file_wait
));
90
cras_file_wait_destroy(
file_wait
);
96
struct cras_file_wait *
file_wait
;
local
117
FileWaitCallback, &file_wait_result, &
file_wait
));
138
EXPECT_NE(reinterpret_cast<struct cras_
file_wait
*>(NULL),
file_wait
);
local
152
EXPECT_NE(reinterpret_cast<struct cras_
file_wait
*>(NULL),
file_wait
);
local
[
all
...]
/external/adhd/cras/src/common/
cras_file_wait.c
38
int cras_file_wait_get_fd(struct cras_file_wait *
file_wait
)
40
if (!
file_wait
)
42
if (
file_wait
->inotify_fd < 0)
44
return
file_wait
->inotify_fd;
48
void cras_file_wait_mock_race_condition(struct cras_file_wait *
file_wait
);
49
void cras_file_wait_mock_race_condition(struct cras_file_wait *
file_wait
)
51
if (
file_wait
)
52
file_wait
->flags |= CRAS_FILE_WAIT_FLAG_MOCK_RACE;
55
void cras_file_wait_destroy(struct cras_file_wait *
file_wait
)
57
if (!
file_wait
)
276
struct cras_
file_wait
*
file_wait
;
local
[
all
...]
Completed in 119 milliseconds