Searched refs:nEvents (Results 1 – 4 of 4) sorted by relevance
95 unsigned long nEvents; in ProcXGetDeviceMotionEvents() local118 .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()
2384 unsigned long nEvents; in ProcGetMotionEvents() local2405 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()
319 swapl(&pRep->nEvents); in SGetMotionEventsReply()
896 XkbFilterEvents(ClientPtr client, int nEvents, xEvent *xE) in XkbFilterEvents() argument