Lines Matching defs:bufptr
99 char *bufptr; /* Output buffer index pointer. */
404 #define WORD64ALIGN if ((long)dpy->bufptr >> 61) {\
405 dpy->last_req = dpy->bufptr;\
406 *(dpy->bufptr) = X_NoOperation;\
407 *(dpy->bufptr+1) = 0;\
408 *(dpy->bufptr+2) = 0;\
409 *(dpy->bufptr+3) = 1;\
411 dpy->bufptr += 4;\
430 if ((dpy->bufptr + SIZEOF(x##name##Req)) > dpy->bufmax)\
432 req = (x##name##Req *)(dpy->last_req = dpy->bufptr);\
435 dpy->bufptr += SIZEOF(x##name##Req);\
441 if ((dpy->bufptr + SIZEOF(x/**/name/**/Req)) > dpy->bufmax)\
443 req = (x/**/name/**/Req *)(dpy->last_req = dpy->bufptr);\
446 dpy->bufptr += SIZEOF(x/**/name/**/Req);\
456 if ((dpy->bufptr + SIZEOF(x##name##Req) + n) > dpy->bufmax)\
458 req = (x##name##Req *)(dpy->last_req = dpy->bufptr);\
461 dpy->bufptr += SIZEOF(x##name##Req) + n;\
466 if ((dpy->bufptr + SIZEOF(x/**/name/**/Req) + n) > dpy->bufmax)\
468 req = (x/**/name/**/Req *)(dpy->last_req = dpy->bufptr);\
471 dpy->bufptr += SIZEOF(x/**/name/**/Req) + n;\
485 if ((dpy->bufptr + SIZEOF(xResourceReq)) > dpy->bufmax)\
487 req = (xResourceReq *) (dpy->last_req = dpy->bufptr);\
491 dpy->bufptr += SIZEOF(xResourceReq);\
496 if ((dpy->bufptr + SIZEOF(xResourceReq)) > dpy->bufmax)\
498 req = (xResourceReq *) (dpy->last_req = dpy->bufptr);\
502 dpy->bufptr += SIZEOF(xResourceReq);\
513 if ((dpy->bufptr + SIZEOF(xReq)) > dpy->bufmax)\
515 req = (xReq *) (dpy->last_req = dpy->bufptr);\
518 dpy->bufptr += SIZEOF(xReq);\
523 if ((dpy->bufptr + SIZEOF(xReq)) > dpy->bufmax)\
525 req = (xReq *) (dpy->last_req = dpy->bufptr);\
528 dpy->bufptr += SIZEOF(xReq);\
596 if (dpy->bufptr + (len) <= dpy->bufmax) {\
597 memcpy(dpy->bufptr, data, (int)len);\
598 dpy->bufptr += ((len) + 3) & ~3;\
620 if (dpy->bufptr + (n) > dpy->bufmax) \
622 ptr = (type) dpy->bufptr; \
624 dpy->bufptr += (n);
722 { dpy->bufptr -= 4; Data32 (dpy, (char *) &(srcvar), 4); }