Home
last modified time | relevance | path

Searched refs:nEvents (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/external/xserver/Xi/
H A Dgtmotion.c95 unsigned long nEvents; in ProcXGetDeviceMotionEvents() local
118 .nEvents = 0, in ProcXGetDeviceMotionEvents()
134 rep.nEvents = GetMotionHistory(dev, (xTimecoord **) &coords, /* XXX */ in ProcXGetDeviceMotionEvents()
138 if (rep.nEvents > 0) { in ProcXGetDeviceMotionEvents()
139 length = bytes_to_int32(rep.nEvents * size); in ProcXGetDeviceMotionEvents()
142 nEvents = rep.nEvents; in ProcXGetDeviceMotionEvents()
144 if (nEvents) { in ProcXGetDeviceMotionEvents()
147 for (i = 0; i < nEvents * (axes + 1); i++) { in ProcXGetDeviceMotionEvents()
171 swapl(&rep->nEvents); in SRepXGetDeviceMotionEvents()
/OK3568_Linux_fs/external/xserver/dix/
H A Ddevices.c2384 unsigned long nEvents; in ProcGetMotionEvents() local
2405 nEvents = 0; in ProcGetMotionEvents()
2425 coords[nEvents].time = coords[i].time; in ProcGetMotionEvents()
2426 coords[nEvents].x = coords[i].x - pWin->drawable.x; in ProcGetMotionEvents()
2427 coords[nEvents].y = coords[i].y - pWin->drawable.y; in ProcGetMotionEvents()
2428 nEvents++; in ProcGetMotionEvents()
2431 rep.length = nEvents * bytes_to_int32(sizeof(xTimecoord)); in ProcGetMotionEvents()
2432 rep.nEvents = nEvents; in ProcGetMotionEvents()
2434 if (nEvents) { in ProcGetMotionEvents()
2436 WriteSwappedDataToClient(client, nEvents * sizeof(xTimecoord), in ProcGetMotionEvents()
H A Dswaprep.c319 swapl(&pRep->nEvents); in SGetMotionEventsReply()
/OK3568_Linux_fs/external/xserver/xkb/
H A DxkbEvents.c896 XkbFilterEvents(ClientPtr client, int nEvents, xEvent *xE) in XkbFilterEvents() argument