Lines Matching defs:npixels
326 int npixels = width * height;
329 memcpy(image, pCursor->bits->argb, npixels * sizeof(CARD32));
368 int npixels, width, height, rc, x, y;
381 npixels = width * height;
382 rep = calloc(sizeof(xXFixesGetCursorImageReply) + npixels * sizeof(CARD32),
389 rep->length = npixels;
410 SwapLongs(image, npixels);
413 sizeof(xXFixesGetCursorImageReply) + (npixels << 2), rep);
513 int npixels;
530 npixels = width * height;
535 npixels * sizeof(CARD32) + nbytesRound, 1);
541 rep->length = npixels + bytes_to_int32(nbytesRound);
554 memcpy((image + npixels), name, nbytes);
567 SwapLongs(image, npixels);
570 (npixels << 2) + nbytesRound, rep);