| /xsrc/external/mit/xfs/dist/difs/ |
| H A D | extensions.c | 71 .length = SIZEOF(fsQueryExtensionReply) >> 2, 81 WriteReplyToClient(client, SIZEOF(fsQueryExtensionReply), &reply); 92 .length = SIZEOF(fsListExtensionsReply) >> 2 99 WriteReplyToClient(client, SIZEOF(fsListExtensionsReply), &reply);
|
| H A D | events.c | 72 (void) WriteToClient(client, SIZEOF(fsError), (char *) &errorTo); 74 (void) WriteToClient(client, SIZEOF(fsError), 99 .length = SIZEOF(fsGetEventMaskReply) >> 2, 106 WriteReplyToClient(client, SIZEOF(fsGetEventMaskReply), &rep); 117 .length = SIZEOF(fsKeepAliveEvent) >> 2, 130 (void) WriteToClient(client, SIZEOF(fsKeepAliveEvent), (char *) &evTo); 132 (void) WriteToClient(client, SIZEOF(fsKeepAliveEvent), (char *) &ev);
|
| H A D | main.c | 170 setup.length = (SIZEOF(fsConnSetupAccept) + setup.vendor_len + 3) >> 2; 172 ConnInfoLen = SIZEOF(fsConnSetupAccept) + ((setup.vendor_len + 3) & ~3); 177 memcpy(ConnectionInfo, &setup, SIZEOF(fsConnSetupAccept)); 178 pBuf = ConnectionInfo + SIZEOF(fsConnSetupAccept);
|
| /xsrc/external/mit/libX11/dist/src/ |
| H A D | DrLine.c | 34 #define wsize (SIZEOF(xPolySegmentReq) + WLNSPERBATCH * SIZEOF(xSegment)) 35 #define zsize (SIZEOF(xPolySegmentReq) + ZLNSPERBATCH * SIZEOF(xSegment)) 60 && ((dpy->bufptr + SIZEOF(xSegment)) <= dpy->bufmax) 63 req->length += SIZEOF(xSegment) >> 2; 65 dpy->bufptr += SIZEOF(xSegment); 69 GetReqExtra (PolySegment, SIZEOF(xSegment), req);
|
| H A D | DrRect.c | 34 #define wsize (SIZEOF(xPolyRectangleReq) + WRCTSPERBATCH * SIZEOF(xRectangle)) 35 #define zsize (SIZEOF(xPolyRectangleReq) + ZRCTSPERBATCH * SIZEOF(xRectangle)) 60 && ((dpy->bufptr + SIZEOF(xRectangle)) <= dpy->bufmax) 63 req->length += SIZEOF(xRectangle) >> 2; 65 dpy->bufptr += SIZEOF(xRectangle); 69 GetReqExtra(PolyRectangle, SIZEOF(xRectangle), req);
|
| H A D | QuKeybd.c | 47 (SIZEOF(xQueryKeymapReply) - SIZEOF(xReply)) >> 2, xTrue);
|
| H A D | FillArc.c | 34 #define size (SIZEOF(xPolyFillArcReq) + FARCSPERBATCH * SIZEOF(xArc)) 61 && ((dpy->bufptr + SIZEOF(xArc)) <= dpy->bufmax) 63 req->length += SIZEOF(xArc) >> 2; 65 dpy->bufptr += SIZEOF(xArc); 69 GetReqExtra(PolyFillArc, SIZEOF(xArc), req);
|
| H A D | FillRct.c | 34 #define size (SIZEOF(xPolyFillRectangleReq) + FRCTSPERBATCH * SIZEOF(xRectangle)) 60 && ((dpy->bufptr + SIZEOF(xRectangle)) <= dpy->bufmax) 62 req->length += SIZEOF(xRectangle) >> 2; 64 dpy->bufptr += SIZEOF(xRectangle); 68 GetReqExtra(PolyFillRectangle, SIZEOF(xRectangle), req);
|
| H A D | DrPoint.c | 34 #define size (SIZEOF(xPolyPointReq) + PTSPERBATCH * SIZEOF(xPoint)) 59 && ((dpy->bufptr + SIZEOF(xPoint)) <= dpy->bufmax) 61 req->length += SIZEOF(xPoint) >> 2; 63 dpy->bufptr += SIZEOF(xPoint);
|
| H A D | PolyTxt.c | 63 length += SIZEOF(xTextElt) * ((item->delta + 126) / 127); 67 length += SIZEOF(xTextElt) * ((-item->delta + 127) / 128); 72 length += SIZEOF(xTextElt) * ((item->nchars + 253) / 254 - 1); 73 if (!item->delta) length += SIZEOF(xTextElt); 112 int nbytes = SIZEOF(xTextElt); 122 int nb = SIZEOF(xTextElt); 152 nbytes += SIZEOF(xTextElt); 164 nbytes += SIZEOF(xTextElt); 183 nbytes += SIZEOF(xTextElt); 195 nbytes += SIZEOF(xTextEl [all...] |
| H A D | PolyTxt16.c | 63 length += SIZEOF(xTextElt) * ((item->delta + 126) / 127); 67 length += SIZEOF(xTextElt) * ((-item->delta + 127) / 128); 72 length += SIZEOF(xTextElt) * ((item->nchars + 253) / 254 - 1); 73 if (!item->delta) length += SIZEOF(xTextElt); 112 int nbytes = SIZEOF(xTextElt); 121 int nb = SIZEOF(xTextElt); 150 nbytes += SIZEOF(xTextElt); 165 nbytes += SIZEOF(xTextElt); 184 nbytes += SIZEOF(xTextElt); 199 nbytes += SIZEOF(xTextEl [all...] |
| H A D | GetKCnt.c | 42 (SIZEOF(xGetKeyboardControlReply) - SIZEOF(xReply)) >> 2, xTrue);
|
| H A D | StColors.c | 48 req->length += (ncolors * SIZEOF(xColorItem)) >> 2; /* assume size is 4*n */ 60 Data(dpy, (char *)&citem, (long) SIZEOF(xColorItem));
|
| /xsrc/external/mit/libFS/dist/src/ |
| H A D | FSQGlyphs.c | 75 if (str_len > (FSMaxRequestBytes(svr) - SIZEOF(fsQueryXBitmaps8Req))) 88 (SIZEOF(fsQueryXBitmaps8Reply) - SIZEOF(fsGenericReply)) >> 2, fsFalse)) 107 left = (reply.length << 2) - SIZEOF(fsQueryXBitmaps8Reply) 108 - (SIZEOF(fsOffset32) * reply.num_chars); 117 _FSReadPad(svr, (char *) &local_offs, (SIZEOF(fsOffset32))); 147 if (str_len > ((FSMaxRequestBytes(svr) - SIZEOF(fsQueryXBitmaps16Req)) 148 / SIZEOF(fsChar2b))) 156 req->length += (CARD16) (((str_len * SIZEOF(fsChar2b)) + 3) >> 2); 161 if (str_len > SIZE_MAX/SIZEOF(fsChar2b_version [all...] |
| H A D | FSQXExt.c | 82 if (str_len > (FSMaxRequestBytes(svr) - SIZEOF(fsQueryXExtents8Req))) 94 (SIZEOF(fsQueryXExtents8Reply) - SIZEOF(fsGenericReply)) >> 2, 108 _FSReadPad(svr, (char *) &local_exts, SIZEOF(fsXCharInfo)); 131 if (str_len > ((FSMaxRequestBytes(svr) - SIZEOF(fsQueryXExtents16Req)) 132 / SIZEOF(fsChar2b))) 139 req->length += (CARD16) (((str_len * SIZEOF(fsChar2b)) + 3) >> 2); 144 swapped_str = FSmallocarray(str_len, SIZEOF(fsChar2b_version1)); 151 _FSSend(svr, (char *)swapped_str, (str_len*SIZEOF(fsChar2b_version1))); 154 _FSSend(svr, (char *) str, (str_len * SIZEOF(fsChar2 [all...] |
| H A D | FSOpenFont.c | 78 (nbytes > (FSMaxRequestBytes(svr) - SIZEOF(fsOpenBitmapFontReq)))) 90 (SIZEOF(fsOpenBitmapFontReply)-SIZEOF(fsGenericReply)) >> 2,
|
| H A D | FSQuExt.c | 76 (namelen > (FSMaxRequestBytes(svr) - SIZEOF(fsQueryExtensionReq)))) 84 (SIZEOF(fsQueryExtensionReply) - SIZEOF(fsGenericReply)) >> 2, fsFalse))
|
| H A D | FSConnServ.c | 174 if (pend < SIZEOF(fsEvent)) 175 pend = SIZEOF(fsEvent); 182 pend = (pend / SIZEOF(fsEvent)) * SIZEOF(fsEvent); 188 (pend -= SIZEOF(fsEvent))) { 227 add_to_iov((caddr_t) client, SIZEOF(fsConnClientPrefix));
|
| H A D | FSFtNames.c | 84 if (nbytes <= (FSMaxRequestBytes(svr) - SIZEOF(fsListFontsReq))) { 92 (SIZEOF(fsListFontsReply) - SIZEOF(fsGenericReply)) >> 2, fsFalse)) 102 rlen = (rep.length << 2) - SIZEOF(fsListFontsReply);
|
| H A D | FSListCats.c | 83 if (nbytes <= (FSMaxRequestBytes(svr) - SIZEOF(fsListCataloguesReq))) { 91 (SIZEOF(fsListCataloguesReply) - SIZEOF(fsGenericReply)) >> 2, fsFalse)) 101 rlen = (rep.length << 2) - SIZEOF(fsListCataloguesReply);
|
| H A D | FSQXInfo.c | 82 if (!_FSReply(svr, (fsReply *) & reply, ((SIZEOF(fsQueryXInfoReply) - 83 SIZEOF(fsGenericReply)) >> 2), fsFalse)) { 90 _FSReadPad(svr, (char *) &local_pi, SIZEOF(fsPropInfo)); 111 _FSReadPad(svr, (char *) &local_po, SIZEOF(fsPropOffset));
|
| /xsrc/external/mit/libXrender/dist/src/ |
| H A D | FillRect.c | 32 #define size (SIZEOF(xRenderFillRectanglesReq) + FRCTSPERBATCH * SIZEOF(xRectangle)) 49 long len = SIZEOF(xRectangle); 67 dpy->bufptr + SIZEOF(xRectangle) <= dpy->bufmax && 70 req->length = (CARD16) (req->length + (SIZEOF(xRectangle) >> 2)); 73 dpy->bufptr += SIZEOF(xRectangle); 78 GetReqExtra(RenderFillRectangles, SIZEOF(xRectangle), req); 90 dpy->bufptr -= SIZEOF(xRectangle);
|
| /xsrc/external/mit/xfs/dist/include/ |
| H A D | client.h | 73 if (((SIZEOF(fs_req) >> 2) > stuff->length) || \ 74 (((SIZEOF(fs_req) + (n) + 3) >> 2) != stuff->length)) { \ 81 if ((SIZEOF(fs_req) >> 2) != stuff->length) { \ 88 if ((SIZEOF(fs_req) >> 2) > stuff->length) { \
|
| /xsrc/external/mit/libXTrap/dist/src/ |
| H A D | XERqsts.c | 41 if ((dpy->bufptr + SIZEOF(x##name##Req)) > dpy->bufmax)\ 52 if ((dpy->bufptr + SIZEOF(x/**/name/**/Req)) > dpy->bufmax)\ 111 if ((dpy->bufptr + SIZEOF(x##name##Req)) > dpy->bufmax)\ 115 req->length = (SIZEOF(x##name##Req))>>2;\ 116 dpy->bufptr += SIZEOF(x##name##Req);\ 122 if ((dpy->bufptr + SIZEOF(x/**/name/**/Req)) > dpy->bufmax)\ 126 req->length = (SIZEOF(x/**/name/**/Req))>>2;\ 127 dpy->bufptr += SIZEOF(x/**/name/**/Req);\ 149 int numlongs = (SIZEOF(xXTrapGetVersReply) - 150 SIZEOF(xRepl [all...] |
| /xsrc/external/mit/libXv/dist/src/ |
| H A D | Xvlibint.h | 52 dpy, (CARD8) info->codes->major_opcode, SIZEOF(xv##name##Req)); \
|