Searched refs:ROUNDUP (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/libX11/dist/src/
H A DPutImage.c45 #define ROUNDUP(nbytes, pad) (((nbytes) + ((pad) - 1)) & ~(long)((pad) - 1)) macro
163 long length = ROUNDUP(srclen, 2);
222 long length = ROUNDUP(srclen, 4);
258 long length = ROUNDUP(srclen, 4);
360 long length = ROUNDUP(srclen, 2);
389 long length = ROUNDUP(srclen, 4);
426 long length = ROUNDUP(srclen, 4);
638 bytes_per_dest = (unsigned long)ROUNDUP((long)req->width + req->leftPad,
673 length = ROUNDUP(length, 4);
696 temp_length = ROUNDUP(bytes_per_temp_plan
[all...]
H A DGetImage.c35 #define ROUNDUP(nbytes, pad) (((((nbytes) - 1) + (pad)) / (pad)) * (pad)) macro
H A DImUtil.c222 * The ROUNDUP macro rounds up a quantity to the specified boundary,
242 #define ROUNDUP(nbytes, pad) ((((nbytes) + ((pad)-1)) / (pad)) * ((pad)>>3)) macro
368 ROUNDUP((bits_per_pixel * width), image->bitmap_pad);
376 ROUNDUP((width + offset), image->bitmap_pad);
416 ROUNDUP((image->bits_per_pixel * image->width),
420 ROUNDUP((image->width + image->xoffset), image->bitmap_pad);
868 ROUNDUP(subimage->bits_per_pixel * width,
872 ROUNDUP(width, subimage->bitmap_pad);
/xsrc/external/mit/libXext/dist/src/
H A DXShm.c269 #define ROUNDUP(nbytes, pad) ((((nbytes) + ((pad) - 1)) / (pad)) * (pad)) macro
308 image->bytes_per_line = ROUNDUP((image->bits_per_pixel * width),

Completed in 11 milliseconds