Lines Matching refs:rep
94 xGetDeviceMotionEventsReply rep;
115 rep.repType = X_Reply;
116 rep.RepType = X_GetDeviceMotionEvents;
117 rep.sequenceNumber = client->sequence;
118 rep.nEvents = 0;
119 rep.axes = axes;
120 rep.mode = Absolute; /* XXX we don't do relative at the moment */
121 rep.length = 0;
126 WriteReplyToClient(client, sizeof(xGetDeviceMotionEventsReply), &rep);
134 rep.nEvents = GetMotionHistory(dev, (xTimecoord **) &coords,/* XXX */
138 if (rep.nEvents > 0) {
139 length = bytes_to_int32(rep.nEvents * size);
140 rep.length = length;
142 nEvents = rep.nEvents;
143 WriteReplyToClient(client, sizeof(xGetDeviceMotionEventsReply), &rep);
169 xGetDeviceMotionEventsReply * rep)
173 swaps(&rep->sequenceNumber, n);
174 swapl(&rep->length, n);
175 swapl(&rep->nEvents, n);
176 WriteToClient(client, size, (char *)rep);