/macosx-10.9.5/tcl-102/tk/tk/unix/ |
H A D | tkUnixColor.c | 31 int numColors; /* Number of entries currently active at member in struct:TkStressedCmap 288 stressPtr->numColors = visInfoPtr->colormap_size; 291 (stressPtr->numColors * sizeof(XColor))); 292 for (i = 0; i < stressPtr->numColors; i++) { 297 stressPtr->numColors); 317 if (stressPtr->numColors == 0) { 322 for (colorPtr = stressPtr->colorPtr, i = 0; i < stressPtr->numColors; 353 stressPtr->colorPtr[stressPtr->numColors-1]; 354 stressPtr->numColors -= 1;
|
/macosx-10.9.5/tcl-102/tk84/tk/unix/ |
H A D | tkUnixColor.c | 31 int numColors; /* Number of entries currently active member in struct:TkStressedCmap 290 stressPtr->numColors = visInfoPtr->colormap_size; 293 (stressPtr->numColors * sizeof(XColor))); 294 for (i = 0; i < stressPtr->numColors; i++) { 298 stressPtr->numColors); 317 if (stressPtr->numColors == 0) { 322 for (colorPtr = stressPtr->colorPtr, i = 0; i < stressPtr->numColors; 353 stressPtr->colorPtr[stressPtr->numColors-1]; 354 stressPtr->numColors -= 1;
|
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/xpm/ |
H A D | xpm.c | 70 int *widthPtr, int *heightPtr, int *numColors, int *byteSize); 142 int numColors, byteSize; local 148 return ReadXPMFileHeader(&handle, widthPtr, heightPtr, &numColors, &byteSize); 178 int numColors, byteSize; local 184 return ReadXPMFileHeader(&handle, widthPtr, heightPtr, &numColors, &byteSize); 220 int fileWidth = 0, fileHeight = 0, numColors = 0, byteSize = 0; local 249 type = ReadXPMFileHeader(handle, &fileWidth, &fileHeight, &numColors, &byteSize); 276 for (i=0; i<numColors; i++) { 577 * dimensions of the image and *numColors holds the number of 589 ReadXPMFileHeader(handle, widthPtr, heightPtr, numColors, byteSiz [all...] |
/macosx-10.9.5/tcl-102/tk84/tk/generic/ |
H A D | tkImgPhoto.c | 105 int numColors; /* Number of colors allocated for this map. */ member in struct:ColorTable 437 int numColors)); 3333 int nRed, nGreen, nBlue, mono, numColors; 3379 numColors = nRed; 3381 numColors *= nGreen*nBlue; 3383 if (numColors > (1 << instancePtr->visualInfo.depth)) { 3505 colorPtr->numColors = 0; 3523 if ((colorPtr->numColors == 0) 3597 int numColors, nRed, nGreen, nBlue; 3649 numColors 3316 int nRed, nGreen, nBlue, mono, numColors; local 3576 int numColors, nRed, nGreen, nBlue; local [all...] |
/macosx-10.9.5/tcl-102/tk/tk/generic/ |
H A D | tkImgPhoto.c | 101 int numColors; /* Number of colors allocated for this map. */ member in struct:ColorTable 429 static int ReclaimColors(ColorTableId *id, int numColors); 3324 int nRed, nGreen, nBlue, mono, numColors; 3367 numColors = nRed; 3369 numColors *= nGreen*nBlue; 3371 if (numColors > (1 << instancePtr->visualInfo.depth)) { 3491 colorPtr->numColors = 0; 3509 if ((colorPtr->numColors == 0) 3583 int numColors, nRed, nGreen, nBlue; 3635 numColors 3307 int nRed, nGreen, nBlue, mono, numColors; local 3562 int numColors, nRed, nGreen, nBlue; local 3885 ReclaimColors( ColorTableId *id, int numColors) argument [all...] |
/macosx-10.9.5/WebCore-7537.78.1/platform/image-decoders/gif/ |
H A D | GIFImageReader.cpp | 713 int numColors = 2 << (currentComponent[8] & 0x7); local 714 const size_t localColormapBytes = 3 * numColors; 718 currentFrame->localColormapSize = numColors;
|
/macosx-10.9.5/IOGraphics-471.92.1/IOGraphicsFamily/IOKit/graphics/ |
H A D | IOGraphicsTypes.h | 936 * @field numColors Number of colors for indexed pixel types. 950 UInt32 numColors; // number of colors in the colorMap. ie. member in struct:IOHardwareCursorDescriptor 971 * @field colorMap Pointer to array of IOColorEntry structures, with the number of elements set by the numColors field of the IOHardwareCursorDescriptor. Zero should be passed for direct pixel formats.
|
/macosx-10.9.5/IOGraphics-471.92.1/IOGraphicsFamily/ |
H A D | IOFramebuffer.cpp | 3515 UInt32 maxColors = hwDesc->numColors; 3522 UInt32 index, numColors = 0; local 3536 if ((hwDesc->numColors == 0) && (hwDesc->bitDepth > 8) && (hwDesc->bitDepth < 32)) 3748 for (index = 0; index < numColors; index++) 3758 if (index == numColors) 3760 ok = (numColors < maxColors); 3763 pixel = hwDesc->colorEncodings[numColors++];
|