Lines Matching refs:rep
92 xGetDeviceMotionEventsReply rep; in ProcXGetDeviceMotionEvents() local
113 rep = (xGetDeviceMotionEventsReply) { in ProcXGetDeviceMotionEvents()
126 WriteReplyToClient(client, sizeof(xGetDeviceMotionEventsReply), &rep); 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()
140 rep.length = length; in ProcXGetDeviceMotionEvents()
142 nEvents = rep.nEvents; in ProcXGetDeviceMotionEvents()
143 WriteReplyToClient(client, sizeof(xGetDeviceMotionEventsReply), &rep); in ProcXGetDeviceMotionEvents()
167 xGetDeviceMotionEventsReply * rep) in SRepXGetDeviceMotionEvents() argument
169 swaps(&rep->sequenceNumber); in SRepXGetDeviceMotionEvents()
170 swapl(&rep->length); in SRepXGetDeviceMotionEvents()
171 swapl(&rep->nEvents); in SRepXGetDeviceMotionEvents()
172 WriteToClient(client, size, rep); in SRepXGetDeviceMotionEvents()