Lines Matching refs:PACKBUFFERSIZE
346 * PACKBUFFERSIZE must be a multiple of 4.
349 #define PACKBUFFERSIZE 4096
382 char packbuffer[PACKBUFFERSIZE];
383 unsigned nunits = PACKBUFFERSIZE >> 2;
385 for (; len > PACKBUFFERSIZE; len -= PACKBUFFERSIZE, data += nunits) {
386 _doXRead32 (dpy, data, PACKBUFFERSIZE, packbuffer);
423 char packbuffer[PACKBUFFERSIZE];
424 unsigned nunits = PACKBUFFERSIZE >> 1;
426 for (; len > PACKBUFFERSIZE; len -= PACKBUFFERSIZE, data += nunits) {
427 _doXRead16 (dpy, data, PACKBUFFERSIZE, packbuffer);
1554 char packbuffer[PACKBUFFERSIZE];
1555 unsigned nunits = PACKBUFFERSIZE >> 1;
1557 for (; len > PACKBUFFERSIZE; len -= PACKBUFFERSIZE, data += nunits) {
1558 doData16 (dpy, data, PACKBUFFERSIZE, packbuffer);
1600 char packbuffer[PACKBUFFERSIZE];
1601 unsigned nunits = PACKBUFFERSIZE >> 2;
1603 for (; len > PACKBUFFERSIZE; len -= PACKBUFFERSIZE, data += nunits) {
1604 doData32 (dpy, data, PACKBUFFERSIZE, packbuffer);