Searched refs:cw_event (Results 1 – 3 of 3) sorted by relevance
27 struct cw_event { struct33 struct cw_event* const mBuffer; argument34 struct cw_event* const mBufferEnd;35 struct cw_event* mHead;36 struct cw_event* mCurr;43 ssize_t readEvent(cw_event const** events);
31 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()
1065 cw_event const* event; in readEvents()