Home
last modified time | relevance | path

Searched refs:cw_event (Results 1 – 3 of 3) sorted by relevance

/device/htc/flounder/sensor_hub/libsensors/
DInputEventReader.h27 struct cw_event { struct
33 struct cw_event* const mBuffer; argument
34 struct cw_event* const mBufferEnd;
35 struct cw_event* mHead;
36 struct cw_event* mCurr;
43 ssize_t readEvent(cw_event const** events);
DInputEventReader.cpp31 struct cw_event;
34 : mBuffer(new cw_event[numEvents * 2]) in InputEventCircularReader()
51 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(cw_event)); in fill()
52 if (nread<0 || nread % sizeof(cw_event)) { in fill()
57 numEventsRead = nread / sizeof(cw_event); in fill()
63 memcpy(mBuffer, mBufferEnd, s * sizeof(cw_event)); in fill()
72 ssize_t InputEventCircularReader::readEvent(cw_event const** events) in readEvent()
DCwMcuSensor.cpp1065 cw_event const* event; in readEvents()