Lines Matching defs:req

96     xAllPlanesQueryVersionReq *req;
101 GetReq(AllPlanesQueryVersion, req);
102 req->reqType = info->codes->major_opcode;
103 req->allplanesReqType = X_AllPlanesQueryVersion;
126 xAllPlanesPolyPointReq *req;
138 GetReq(AllPlanesPolyPoint, req);
139 req->reqType = info->codes->major_opcode;
140 req->allplanesReqType = X_AllPlanesPolyPoint;
141 req->drawable = d;
142 req->coordMode = mode;
144 if (n > (dpy->max_request_size - req->length))
145 n = dpy->max_request_size - req->length;
146 req->length += n;
184 xAllPlanesPolyLineReq *req;
190 GetReq(AllPlanesPolyLine, req);
191 req->reqType = info->codes->major_opcode;
192 req->allplanesReqType = X_AllPlanesPolyLine;
193 req->drawable = d;
194 req->coordMode = mode;
195 if ((req->length + npoints) > 65535)
196 npoints = 65535 - req->length; /* force BadLength, if possible */
197 req->length += npoints;
214 xAllPlanesPolySegmentReq *req;
222 GetReq(AllPlanesPolySegment, req);
223 req->reqType = info->codes->major_opcode;
224 req->allplanesReqType = X_AllPlanesPolySegment;
225 req->drawable = d;
228 if (len > (dpy->max_request_size - req->length)) {
229 n = (dpy->max_request_size - req->length) >> 1;
232 req->length += len;
251 xAllPlanesPolyRectangleReq *req;
259 GetReq(AllPlanesPolyRectangle, req);
260 req->reqType = info->codes->major_opcode;
261 req->allplanesReqType = X_AllPlanesPolyRectangle;
262 req->drawable = d;
265 if (len > (dpy->max_request_size - req->length)) {
266 n = (dpy->max_request_size - req->length) >> 1;
269 req->length += len;
288 xAllPlanesPolyFillRectangleReq *req;
296 GetReq(AllPlanesPolyFillRectangle, req);
297 req->reqType = info->codes->major_opcode;
298 req->allplanesReqType = X_AllPlanesPolyFillRectangle;
299 req->drawable = d;
302 if (len > (dpy->max_request_size - req->length)) {
303 n = (dpy->max_request_size - req->length) >> 1;
306 req->length += len;