OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cw_event
(Results
1 - 3
of
3
) sorted by null
/device/htc/flounder/sensor_hub/libsensors/
InputEventReader.h
27
struct
cw_event
{
struct
33
struct
cw_event
* const mBuffer;
34
struct
cw_event
* const mBufferEnd;
35
struct
cw_event
* mHead;
36
struct
cw_event
* mCurr;
43
ssize_t readEvent(
cw_event
const** events);
InputEventReader.cpp
31
struct
cw_event
;
34
: mBuffer(new
cw_event
[numEvents * 2])
51
const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(
cw_event
));
52
if (nread<0 || nread % sizeof(
cw_event
)) {
57
numEventsRead = nread / sizeof(
cw_event
);
63
memcpy(mBuffer, mBufferEnd, s * sizeof(
cw_event
));
72
ssize_t InputEventCircularReader::readEvent(
cw_event
const** events)
CwMcuSensor.cpp
[
all
...]
Completed in 725 milliseconds