Searched refs:npixG (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/xorg-server.old/dist/dix/
H A Dcolormap.c1743 int npix, npixR, npixG, npixB; local in function:AllocDirect
1748 npixG = c << g;
1752 (npixG > pmap->freeGreen) || (npixG < c) ||
1761 ppixGreen = malloc(npixG * sizeof(Pixel));
1800 for(ppix = ppixGreen, npix = npixG; --npix >= 0; ppix++)
1826 for (pDst = pixels, p = ppixGreen; p < ppixGreen + npixG; p++)
1832 pmap->numPixelsGreen[client] += npixG;
1833 pmap->freeGreen -= npixG;
/xsrc/external/mit/xorg-server/dist/dix/
H A Dcolormap.c1637 int npix, npixR, npixG, npixB; local in function:AllocDirect
1642 npixG = c << g;
1646 (npixG > pmap->freeGreen) || (npixG < c) ||
1655 ppixGreen = xallocarray(npixG, sizeof(Pixel));
1691 for (ppix = ppixGreen, npix = npixG; --npix >= 0; ppix++)
1716 for (pDst = pixels, p = ppixGreen; p < ppixGreen + npixG; p++) {
1721 pmap->numPixelsGreen[client] += npixG;
1722 pmap->freeGreen -= npixG;

Completed in 8 milliseconds