Searched refs:rbytes (Results 1 - 12 of 12) sorted by relevance

/xsrc/external/mit/libXi/dist/src/
H A DXGetDProp.c52 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 DXISelEv.c133 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 DXIProperties.c175 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 DXrrProperty.c60 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 DXrrProviderProperty.c60 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 DXrrProvider.c45 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 DXrrScreen.c48 int nbytes, nbytesRead, rbytes; local in function:doGetScreenResources
124 rbytes = (sizeof (XRRScreenResources) +
130 xrsr = Xmalloc(rbytes);
135 rbytes = 0;
H A DXrrOutput.c45 int nbytes, nbytesRead, rbytes; local in function:XRRGetOutputInfo
87 rbytes = (sizeof (XRROutputInfo) +
93 xoi = Xmalloc(rbytes);
H A DXrrConfig.c203 int nbytes, nbytesRead, rbytes; local in function:_XRRGetScreenInfo
282 rbytes = sizeof (XRRScreenConfiguration) +
286 scp = Xmalloc(rbytes);
290 rbytes = 0;
H A DXrrMonitor.c90 size_t rbytes = (nmon * sizeof (XRRMonitorInfo)) local in function:XRRGetMonitors
94 mon = Xmalloc (rbytes);
H A DXrrCrtc.c42 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 Dmisc.c334 unsigned long rbytes = nbytes > 512 ? 512 : nbytes; local in function:_IceReadSkip
336 _IceRead (iceConn, rbytes, temp);
337 nbytes -= rbytes;

Completed in 7 milliseconds