| /xsrc/external/mit/libXi/dist/src/ |
| H A D | XGetDProp.c | 52 unsigned long nbytes, rbytes; local in function:XGetDeviceProperty 95 rbytes = rep.nItems + 1; 96 if ((*prop = Xmalloc (rbytes))) 106 rbytes = rep.nItems * sizeof (short) + 1; 107 if ((*prop = Xmalloc (rbytes))) 117 rbytes = rep.nItems * sizeof (long) + 1; 118 if ((*prop = Xmalloc (rbytes))) 138 (*prop)[rbytes - 1] = '\0';
|
| H A D | XISelEv.c | 133 size_t rbytes; local in function:XIGetSelectedEvents 156 rbytes = (unsigned long) reply.length << 2; 157 mask_in = Xmalloc(rbytes); 164 _XRead(dpy, (char*)mask_in, rbytes); 183 if ((sizeof(xXIEventMask) + mask_bytes) > rbytes) 185 rbytes -= (sizeof(xXIEventMask) + mask_bytes);
|
| H A D | XIProperties.c | 175 unsigned long nbytes, rbytes; local in function:XIGetProperty 223 rbytes = nbytes + 1; 224 *data = Xmalloc(rbytes); 235 (*data)[rbytes - 1] = '\0';
|
| /xsrc/external/mit/libXrandr/dist/src/ |
| H A D | XrrProperty.c | 60 size_t rbytes = rep.nAtoms * sizeof (Atom); local in function:XRRListOutputProperties 63 props = Xmalloc (rbytes); 106 size_t rbytes = sizeof (XRRPropertyInfo) + (rep.length * sizeof (long)); local in function:XRRQueryOutputProperty 109 prop_info = Xmalloc (rbytes); 290 size_t nbytes, rbytes; local in function:XRRGetOutputProperty 308 rbytes = rep.nItems + 1; 309 if (rbytes > 0 && (*prop = Xmalloc (rbytes))) 315 rbytes = rep.nItems * sizeof (short) + 1; 316 if (rbytes > [all...] |
| H A D | XrrProviderProperty.c | 60 size_t rbytes = rep.nAtoms * sizeof (Atom); local in function:XRRListProviderProperties 63 props = Xmalloc (rbytes); 106 size_t rbytes = sizeof (XRRPropertyInfo) + (rep.length * sizeof (long)); local in function:XRRQueryProviderProperty 109 prop_info = Xmalloc (rbytes); 290 unsigned long nbytes, rbytes; local in function:XRRGetProviderProperty 308 rbytes = rep.nItems + 1; 309 if (rbytes > 0 && (*prop = Xmalloc (rbytes))) 315 rbytes = rep.nItems * sizeof (short) + 1; 316 if (rbytes > [all...] |
| H A D | XrrProvider.c | 45 int rbytes; local in function:XRRGetProviderResources 68 rbytes = (sizeof(XRRProviderResources) + rep.nProviders * 70 xrpr = Xmalloc(rbytes); 74 rbytes = 0; 113 int nbytes, nbytesRead, rbytes; local in function:XRRGetProviderInfo 147 rbytes = (sizeof(XRRProviderInfo) + 153 xpi = Xmalloc(rbytes);
|
| H A D | XrrScreen.c | 48 int nbytes, nbytesRead, rbytes; local in function:doGetScreenResources 124 rbytes = (sizeof (XRRScreenResources) + 130 xrsr = Xmalloc(rbytes); 135 rbytes = 0;
|
| H A D | XrrOutput.c | 45 int nbytes, nbytesRead, rbytes; local in function:XRRGetOutputInfo 87 rbytes = (sizeof (XRROutputInfo) + 93 xoi = Xmalloc(rbytes);
|
| H A D | XrrConfig.c | 203 int nbytes, nbytesRead, rbytes; local in function:_XRRGetScreenInfo 282 rbytes = sizeof (XRRScreenConfiguration) + 286 scp = Xmalloc(rbytes); 290 rbytes = 0;
|
| H A D | XrrMonitor.c | 90 size_t rbytes = (nmon * sizeof (XRRMonitorInfo)) local in function:XRRGetMonitors 94 mon = Xmalloc (rbytes);
|
| H A D | XrrCrtc.c | 42 int nbytes, nbytesRead, rbytes; local in function:XRRGetCrtcInfo 74 rbytes = (sizeof (XRRCrtcInfo) + 78 xci = Xmalloc(rbytes); 84 rbytes = 0;
|
| /xsrc/external/mit/libICE/dist/src/ |
| H A D | misc.c | 334 unsigned long rbytes = nbytes > 512 ? 512 : nbytes; local in function:_IceReadSkip 336 _IceRead (iceConn, rbytes, temp); 337 nbytes -= rbytes;
|