Searched refs:bufptr (Results 1 - 25 of 46) sorted by relevance

12

/xsrc/external/mit/libX11/dist/src/
H A DDrLine.c60 && ((dpy->bufptr + SIZEOF(xSegment)) <= dpy->bufmax)
61 && (((char *)dpy->bufptr - (char *)req) < (gc->values.line_width ?
64 segment = (xSegment *) dpy->bufptr;
65 dpy->bufptr += SIZEOF(xSegment);
H A DDrPoint.c59 && ((dpy->bufptr + SIZEOF(xPoint)) <= dpy->bufmax)
60 && (((char *)dpy->bufptr - (char *)req) < size) ) {
62 point = (xPoint *) dpy->bufptr;
63 dpy->bufptr += SIZEOF(xPoint);
H A DDrRect.c60 && ((dpy->bufptr + SIZEOF(xRectangle)) <= dpy->bufmax)
61 && (((char *)dpy->bufptr - (char *)req) < (gc->values.line_width ?
64 rect = (xRectangle *) dpy->bufptr;
65 dpy->bufptr += SIZEOF(xRectangle);
H A DFillArc.c61 && ((dpy->bufptr + SIZEOF(xArc)) <= dpy->bufmax)
62 && (((char *)dpy->bufptr - (char *)req) < size) ) {
64 arc = (xArc *) dpy->bufptr;
65 dpy->bufptr += SIZEOF(xArc);
H A DFillRct.c60 && ((dpy->bufptr + SIZEOF(xRectangle)) <= dpy->bufmax)
61 && (((char *)dpy->bufptr - (char *)req) < size) ) {
63 rect = (xRectangle *) dpy->bufptr;
64 dpy->bufptr += SIZEOF(xRectangle);
H A DText.c70 if (dpy->bufptr + Datalength > dpy->bufmax)
134 if ((dpy->bufptr - dpy->buffer) & 3)
H A DText16.c70 if (dpy->bufptr + Datalength > dpy->bufmax)
123 if ((dpy->bufptr - dpy->buffer) & 3)
H A DPolyTxt.c89 if (dpy->bufptr + length > dpy->bufmax)
229 if ((dpy->bufptr - dpy->buffer) & 3)
H A DPolyTxt16.c89 if (dpy->bufptr + length > dpy->bufmax)
236 if ((dpy->bufptr - dpy->buffer) & 3)
/xsrc/external/mit/libFS/dist/src/
H A DFSlibint.h126 if ((svr->bufptr + SIZEOF(fs##name##Req)) > svr->bufmax)\
128 req = (fs##name##Req *)(svr->last_req = svr->bufptr);\
131 svr->bufptr += SIZEOF(fs##name##Req);\
138 if ((svr->bufptr + SIZEOF(fs##name##Req) + n) > svr->bufmax)\
140 req = (fs##name##Req *)(svr->last_req = svr->bufptr);\
143 svr->bufptr += SIZEOF(fs##name##Req) + n;\
153 if ((svr->bufptr + SIZEOF(fsResourceReq)) > svr->bufmax)\
155 req = (fsResourceReq *) (svr->last_req = svr->bufptr);\
159 svr->bufptr += SIZEOF(fsResourceReq);\
168 if ((svr->bufptr
[all...]
H A DFSlibInt.c138 size = todo = svr->bufptr - svr->buffer;
139 bufindex = svr->bufptr = svr->buffer;
345 long svrbufsize = (svr->bufptr - svr->buffer);
415 svr->bufptr = svr->buffer;
883 if (svr->bufptr + (len) <= svr->bufmax) {
884 memmove(svr->bufptr, data, len);
885 svr->bufptr += ((len) + 3) & ~3;
/xsrc/external/mit/libXrender/dist/src/
H A DFillRect.c67 dpy->bufptr + SIZEOF(xRectangle) <= dpy->bufmax &&
68 (char *)dpy->bufptr - (char *)req < size)
72 rect = (xRectangle *) dpy->bufptr;
73 dpy->bufptr += SIZEOF(xRectangle);
90 dpy->bufptr -= SIZEOF(xRectangle);
/xsrc/external/mit/xfs/dist/os/
H A Dio.c157 oci->bufptr += oci->lenLastReq;
159 gotnow = oci->bufcnt + oci->buffer - oci->bufptr;
160 request = (fsReq *) oci->bufptr;
174 ((oci->bufptr - oci->buffer + needed) > oci->size))
176 if ((gotnow > 0) && (oci->bufptr != oci->buffer))
177 memmove( oci->buffer, oci->bufptr, gotnow);
190 oci->bufptr = oci->buffer;
225 oci->bufptr = ibuf + oci->bufcnt - gotnow;
228 request = (fsReq *) oci->bufptr;
245 request = (fsReq *) (oci->bufptr
[all...]
H A Dosdep.h82 char *bufptr; /* pointer to current start of data */ member in struct:_connectionInput
/xsrc/external/mit/xorg-server.old/dist/Xi/
H A Dgtmotion.c93 INT32 *coords = NULL, *bufptr; local in function:ProcXGetDeviceMotionEvents
148 bufptr = coords;
150 swapl(bufptr, n);
151 bufptr++;
/xsrc/external/mit/xorg-server/dist/Xi/
H A Dgtmotion.c91 INT32 *coords = NULL, *bufptr; local in function:ProcXGetDeviceMotionEvents
146 bufptr = coords;
148 swapl(bufptr);
149 bufptr++;
/xsrc/external/mit/xorg-server.old/dist/os/
H A Dio.c128 * buffer bufptr
131 * bufptr points to the start of the current request.
140 * Typically, gotnow = (buffer + bufcnt) - bufptr
250 oci->bufptr += oci->lenLastReq;
254 gotnow = oci->bufcnt + oci->buffer - oci->bufptr;
275 request = (xReq *)oci->bufptr;
314 ((oci->bufptr - oci->buffer + needed) > oci->size))
318 if ((gotnow > 0) && (oci->bufptr != oci->buffer))
320 memmove(oci->buffer, oci->bufptr, gotnow);
335 oci->bufptr
[all...]
/xsrc/external/mit/xorg-server/dist/os/
H A Dio.c89 char *bufptr; /* pointer to current start of data */ member in struct:_connectionInput
135 * buffer bufptr
138 * bufptr points to the start of the current request.
147 * Typically, gotnow = (buffer + bufcnt) - bufptr
264 oci->bufptr += oci->lenLastReq;
268 gotnow = oci->bufcnt + oci->buffer - oci->bufptr;
287 request = (xReq *) oci->bufptr;
325 if ((gotnow == 0) || ((oci->bufptr - oci->buffer + needed) > oci->size)) {
328 if ((gotnow > 0) && (oci->bufptr != oci->buffer))
330 memmove(oci->buffer, oci->bufptr, gotno
[all...]
/xsrc/external/mit/libXTrap/dist/src/
H A DXERqsts.c41 if ((dpy->bufptr + SIZEOF(x##name##Req)) > dpy->bufmax)\
43 req = (x##name##Req *)(dpy->last_req = dpy->bufptr);\
46 dpy->bufptr += old_length;\
52 if ((dpy->bufptr + SIZEOF(x/**/name/**/Req)) > dpy->bufmax)\
54 req = (x/**/name/**/Req *)(dpy->last_req = dpy->bufptr);\
57 dpy->bufptr += old_length;\
111 if ((dpy->bufptr + SIZEOF(x##name##Req)) > dpy->bufmax)\
113 req = (x##name##Req *)(dpy->last_req = dpy->bufptr);\
116 dpy->bufptr += SIZEOF(x##name##Req);\
122 if ((dpy->bufptr
[all...]
/xsrc/external/mit/xorg-server.old/dist/dix/
H A Dextension.c306 char *bufptr, *buffer; local in function:ProcListExtensions
334 buffer = bufptr = malloc(total_length);
343 *bufptr++ = len = strlen(extensions[i]->name);
344 memmove(bufptr, extensions[i]->name, len);
345 bufptr += len;
348 *bufptr++ = len = strlen(extensions[i]->aliases[j]);
349 memmove(bufptr, extensions[i]->aliases[j], len);
350 bufptr += len;
/xsrc/external/mit/xorg-server/dist/dix/
H A Dextension.c261 char *bufptr, *buffer; local in function:ProcListExtensions
286 buffer = bufptr = malloc(total_length);
295 *bufptr++ = len = strlen(extensions[i]->name);
296 memmove(bufptr, extensions[i]->name, len);
297 bufptr += len;
/xsrc/external/mit/xtrap/dist/
H A Dchparse.c310 static char *bufptr = buffer; local in function:kbinr
313 if (bufptr >= bufend) {
314 bufptr = bufend = buffer;
322 return (*bufptr++ & 0xFF);
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/glxProxy/
H A Dglxvendor.c63 if ((dpy->bufptr + SIZEOF(x##name##Req)) > dpy->bufmax)\
65 req = (x##name##Req *)(dpy->last_req = dpy->bufptr);\
67 dpy->bufptr += SIZEOF(x##name##Req);\
73 if ((dpy->bufptr + SIZEOF(x/**/name/**/Req)) > dpy->bufmax)\
75 req = (x/**/name/**/Req *)(dpy->last_req = dpy->bufptr);\
77 dpy->bufptr += SIZEOF(x/**/name/**/Req);\
/xsrc/external/mit/xf86-video-tseng/dist/src/
H A Dtseng_accel.c313 CARD8 *bufptr; local in function:TsengSubsequentColorExpandScanline_8bpp
316 bufptr = (CARD8 *) (pTseng->XAAScanlineColorExpandBuffers[bufno]);
326 MMIO_OUT8(dest,j++, *bufptr++);
344 CARD8 *bufptr; local in function:TsengSubsequentColorExpandScanline_16bpp
348 bufptr = (CARD8 *) (pTseng->XAAScanlineColorExpandBuffers[bufno]);
355 bits16 = pTseng->ColExpLUT[*bufptr++];
375 CARD8 *bufptr; local in function:TsengSubsequentColorExpandScanline_24bpp
379 bufptr = (CARD8 *) (pTseng->XAAScanlineColorExpandBuffers[bufno]);
385 bits24 = pTseng->ColExpLUT[*bufptr++];
390 bits24 = pTseng->ColExpLUT[*bufptr
411 CARD8 *bufptr; local in function:TsengSubsequentColorExpandScanline_32bpp
[all...]
/xsrc/external/mit/libX11/dist/src/xlibi18n/
H A DlcCT.c710 char *bufptr; local in function:cttocs
715 bufptr = (char *) *to;
782 *bufptr++ = *ctptr++;
805 memcpy(bufptr, ctptr, (size_t) n);
807 bufptr += n; buf_len -= n;
826 *bufptr++ = *ctptr++;
837 memcpy(bufptr, ctptr, (size_t) n);
839 bufptr += n; buf_len -= n;
856 *to_left -= bufptr - *((char **) to);
857 *to = (XPointer) bufptr;
[all...]

Completed in 14 milliseconds

12