Searched defs:nEntries (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Palette.cpp341 int nEntries = 256; local
343 buf = new char[sizeof(LOGPALETTE) + nEntries *
373 for (i = 0; i < nEntries; i++) {
H A Dawt_DataTransferer.cpp140 UINT nEntries = 0; local
144 nEntries =
148 nEntries =
153 if (!bFailSafe && (nEntries == 0 || nEntries == GDI_ERROR)) {
158 jsize size = sizeof(LOGPALETTE) + nEntries * sizeof(PALETTEENTRY);
170 pLogPalette->palNumEntries = nEntries;
174 VERIFY(::GetPaletteEntries((HPALETTE)hGdiObj, 0, nEntries,
175 pPalEntries) == nEntries);
178 VERIFY(::GetEnhMetaFilePaletteEntries((HENHMETAFILE)hGdiObj, nEntries,
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsgamma.c171 // Low level allocate, which takes care of memory details. nEntries may be zero, and in this case
175 cmsToneCurve* AllocateToneCurveStruct(cmsContext ContextID, cmsInt32Number nEntries, argument
183 if (nEntries > 65530 || nEntries < 0) {
188 if (nEntries <= 0 && nSegments <= 0) {
214 if (nEntries <= 0) {
218 p ->Table16 = (cmsUInt16Number*) _cmsCalloc(ContextID, nEntries, sizeof(cmsUInt16Number));
222 p -> nEntries = nEntries;
225 if (Values != NULL && (nEntries >
581 cmsBuildTabulatedToneCurve16(cmsContext ContextID, cmsInt32Number nEntries, const cmsUInt16Number Values[]) argument
630 cmsBuildTabulatedToneCurveFloat(cmsContext ContextID, cmsUInt32Number nEntries, const cmsFloat32Number values[]) argument
[all...]
H A Dcmsps2.c503 if (Table ->nEntries <= 0) return; // Empty table
527 for (i=0; i < Table->nEntries; i++) {
566 cmsBool GammaTableEquals(cmsUInt16Number* g1, cmsUInt16Number* g2, int nEntries) argument
568 return memcmp(g1, g2, nEntries* sizeof(cmsUInt16Number)) == 0;
583 if (i > 0 && GammaTableEquals(g[i-1]->Table16, g[i]->Table16, g[i]->nEntries)) {
H A Dlcms2_internal.h392 cmsUInt32Number nEntries; // Number of table elements member in struct:_cms_curve_struct
H A Dlcms2_plugin.h551 cmsUInt32Number nEntries; member in struct:__anon906
H A Dcmsopt.c742 int AtBegin = (int) floor((cmsFloat64Number) g ->nEntries * 0.02 + 0.5); // Cutoff at 2%
743 int AtEnd = g ->nEntries - AtBegin - 1; // And 98%
767 for (i = AtEnd; i < (int) g ->nEntries; i++)
939 int nEntries = g ->nEntries; local
941 for (i=0; i < nEntries; i++) {
948 if (Zeros > (nEntries / 4)) return TRUE; // Degenerated, mostly zeros
949 if (Poles > (nEntries / 4)) return TRUE; // Degenerated, mostly poles
H A Dcmstypes.c1170 if (!_cmsWriteUInt32Number(io, Curve ->nEntries)) return FALSE;
1171 return _cmsWriteUInt16Array(io, Curve ->nEntries, Curve ->Table16);
1704 if (Tables ->TheCurves[i]->nEntries != 256) {
1984 cmsBool Read16bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels, int nEntries) argument
1991 if (nEntries <= 0) return TRUE;
1994 if (nEntries < 2) return FALSE;
2002 Tables[i] = cmsBuildTabulatedToneCurve16(ContextID, nEntries, NULL);
2005 if (!_cmsReadUInt16Array(io, nEntries, Tables[i]->Table16)) goto Error;
2034 int nEntries = 256; local
2036 nEntries
[all...]

Completed in 125 milliseconds