HomeSort by: relevance | last modified time | path
    Searched defs:nbytes (Results 1 - 25 of 99) sorted by relevancy

1 2 3 4

  /xsrc/external/mit/libX11/dist/src/
FillPoly.c 43 register long nbytes; local
58 nbytes = n_points << 2;
60 Data16 (dpy, (short *) points, nbytes);
FreeCols.c 41 register long nbytes; local
51 nbytes = npixels << 2; /* watch out for macros... */
52 Data32 (dpy, (long *) pixels, nbytes);
LoadFont.c 38 register long nbytes; local
50 nbytes = req->nbytes = name ? (CARD16) strlen(name) : 0;
52 req->length += (nbytes+3)>>2;
53 Data (dpy, name, nbytes);
QuTree.c 41 unsigned long nbytes; local
62 nbytes = rep.nChildren << 2;
63 _XRead32 (dpy, (long *) *children, nbytes);
RotProp.c 40 register long nbytes; local
50 nbytes = nprops << 2;
52 Data32 (dpy, (long *) properties, nbytes);
LiICmaps.c 38 unsigned long nbytes; local
61 nbytes = rep.nColormaps << 2;
62 _XRead32 (dpy, (long *) cmaps, nbytes);
LiProps.c 38 unsigned long nbytes; local
60 nbytes = rep.nProperties << 2;
61 _XRead32 (dpy, (long *) properties, nbytes);
SetPntMap.c 62 register long nbytes; local
71 nbytes = keysyms_per_keycode * nkeycodes * 4;
72 Data32 (dpy, (long *)keysyms, nbytes);
GetProp.c 76 unsigned long nbytes, netbytes; local
94 nbytes = netbytes = reply.nItems;
95 if (nbytes + 1 > 0 && (*prop = Xmalloc (nbytes + 1)))
100 nbytes = reply.nItems * sizeof (short);
102 if (nbytes + 1 > 0 && (*prop = Xmalloc (nbytes + 1)))
107 nbytes = reply.nItems * sizeof (long);
109 if (nbytes + 1 > 0 && (*prop = Xmalloc (nbytes + 1))
    [all...]
QuTextE16.c 47 long nbytes; local
51 nbytes = nchars << 1;
54 if ((buf = _XAllocScratch (dpy, (unsigned long) nbytes))) {
55 req->length += (nbytes + 3)>>2;
61 Data (dpy, buf, nbytes);
QuTextExt.c 47 long nbytes; local
51 nbytes = nchars << 1;
54 if ((buf = _XAllocScratch (dpy, (unsigned long) nbytes))) {
55 req->length += (nbytes + 3)>>2;
61 Data (dpy, buf, nbytes);
StNColor.c 44 unsigned int nbytes; local
82 req->nbytes = (CARD16) (nbytes = (unsigned) strlen(name));
83 req->length += (nbytes + 3) >> 2; /* round up to multiple of 4 */
84 Data(dpy, name, (long)nbytes);
StrToText.c 47 register unsigned int nbytes; local
51 for (i = 0, nbytes = 0; i < argc; i++) {
52 nbytes += (unsigned) ((argv[i] ? strlen (argv[i]) : 0) + 1);
58 if (nbytes)
59 proto.nitems = nbytes - 1; /* subtract one for trailing <NUL> */
65 if (nbytes > 0) {
66 register char *buf = Xmalloc (nbytes);
DrPoints.c 42 register long nbytes; local
59 nbytes = ((long)n) << 2; /* watch out for macros... */
64 if (nbytes > 4) {
65 Data16 (dpy, (short *) (points + 1), nbytes - 4);
68 Data16 (dpy, (short *) points, nbytes);
GetColor.c 44 long nbytes; local
90 nbytes = req->nbytes = (CARD16) strlen(colorname);
91 req->length += (nbytes + 3) >> 2; /* round up to mult of 4 */
93 _XSend(dpy, colorname, nbytes);
GetPntMap.c 47 unsigned long nbytes, remainder = 0; local
67 nbytes = (unsigned long) rep.length << 2;
68 if (nbytes > sizeof mapping) {
69 remainder = nbytes - sizeof mapping;
70 nbytes = sizeof mapping;
72 _XRead (dpy, (char *)mapping, nbytes);
97 unsigned long nbytes; local
124 nbytes = nkeysyms << 2;
125 _XRead32 (dpy, (long *) mapping, nbytes);
  /xsrc/external/mit/libXi/dist/src/
XChgKMap.c 73 register long nbytes; local
89 nbytes = syms_per_code * count * sizeof(CARD32);
90 Data(dpy, (char *)keysyms, nbytes);
XGetDProp.c 52 unsigned long nbytes, rbytes; local
94 nbytes = rep.nItems;
97 _XReadPad (dpy, (char *) *prop, nbytes);
105 nbytes = rep.nItems << 1;
108 _XRead16Pad (dpy, (short *) *prop, nbytes);
116 nbytes = rep.nItems << 2;
119 _XRead32 (dpy, (long *) *prop, nbytes);
XGetKMap.c 74 long nbytes; local
100 nbytes = (long)rep.length << 2;
101 mapping = (KeySym *) Xmalloc((unsigned)nbytes);
104 nbytes = 0;
108 _XRead(dpy, (char *)mapping, nbytes);
XGetMMap.c 69 unsigned long nbytes; local
91 nbytes = (unsigned long)rep.length << 2;
94 nbytes = 0;
98 res->modifiermap = (KeyCode *) Xmalloc(nbytes);
100 _XReadPad(dpy, (char *)res->modifiermap, nbytes); local
  /xsrc/external/mit/libFS/dist/src/
FSOpenFont.c 65 size_t nbytes; local
72 nbytes = strnlen(name, 256);
74 nbytes = strlen(name);
77 if ((nbytes == 0) || (nbytes > 255) ||
78 (nbytes > (FSMaxRequestBytes(svr) - SIZEOF(fsOpenBitmapFontReq))))
81 buf[0] = (CARD8) nbytes;
82 memcpy(&buf[1], name, nbytes);
83 nbytes++;
87 req->length += (CARD16) ((nbytes + 3) >> 2)
    [all...]
FSErrDis.c 83 int nbytes)
85 if (nbytes == 0)
88 if (strlcpy(buffer, defaultp, nbytes) >= nbytes)
91 (void) strncpy(buffer, defaultp, nbytes);
92 if ((strlen(defaultp) + 1) > nbytes)
93 buffer[nbytes - 1] = '\0';
102 int nbytes)
107 if (nbytes == 0)
112 FSGetErrorDatabaseText(svr, "FSProtoError", buf, defaultp, buffer, nbytes);
117 (*ext->error_string) (svr, code, &ext->codes, buffer, nbytes); local
    [all...]
FSFtNames.c 74 req->nbytes = 0;
76 size_t nbytes; local
79 nbytes = strnlen(pattern, FSMaxRequestBytes(svr));
81 nbytes = strlen(pattern);
84 if (nbytes <= (FSMaxRequestBytes(svr) - SIZEOF(fsListFontsReq))) {
85 req->nbytes = (CARD16) nbytes;
86 req->length += (CARD16) ((nbytes + 3) >> 2);
87 _FSSend(svr, pattern, (long) nbytes);
FSListCats.c 73 req->nbytes = 0;
75 size_t nbytes; local
78 nbytes = strnlen(pattern, FSMaxRequestBytes(svr));
80 nbytes = strlen(pattern);
83 if (nbytes <= (FSMaxRequestBytes(svr) - SIZEOF(fsListCataloguesReq))) {
84 req->nbytes = (CARD16) nbytes;
85 req->length += (CARD16) ((nbytes + 3) >> 2);
86 _FSSend(svr, pattern, (long) nbytes);
FSSetCats.c 91 size_t nbytes; local
94 nbytes = strnlen(cats[i], 256);
96 nbytes = strlen(cats[i]);
99 if (nbytes < 256) {
100 buf[0] = (CARD8) nbytes;
101 memcpy(&buf[1], cats[i], nbytes);
102 nbytes++;
103 _FSSend(svr, buf, (long) nbytes);

Completed in 19 milliseconds

1 2 3 4