Lines Matching refs:nSamples

123         int            nSamples, nPatches;    // Cols, Rows  member
1442 t -> nSamples = (int) cmsIT8GetPropertyDbl(it8, "NUMBER_OF_FIELDS"); in AllocateDataFormat()
1444 if (t -> nSamples <= 0) { in AllocateDataFormat()
1447 t -> nSamples = 10; in AllocateDataFormat()
1450 … t -> DataFormat = (char**) AllocChunk (it8, ((cmsUInt32Number) t->nSamples + 1) * sizeof(char *)); in AllocateDataFormat()
1477 if (n > t -> nSamples) { in SetDataFormat()
1503 t-> nSamples = atoi(cmsIT8GetProperty(it8, "NUMBER_OF_FIELDS")); in AllocateDataSet()
1506 …t-> Data = (char**)AllocChunk (it8, ((cmsUInt32Number) t->nSamples + 1) * ((cmsUInt32Number) t->nP… in AllocateDataSet()
1518 int nSamples = t -> nSamples; in GetData() local
1521 if (nSet >= nPatches || nField >= nSamples) in GetData()
1525 return t->Data [nSet * nSamples + nField]; in GetData()
1543 if (nField > t ->nSamples || nField < 0) { in SetData()
1544 … return SynError(it8, "Sample %d out of range, there are %d samples", nField, t ->nSamples); in SetData()
1548 t->Data [nSet * t -> nSamples + nField] = AllocString(it8, Val); in SetData()
1696 int i, nSamples; in WriteDataFormat() local
1703 nSamples = atoi(cmsIT8GetProperty(it8, "NUMBER_OF_FIELDS")); in WriteDataFormat()
1705 for (i = 0; i < nSamples; i++) { in WriteDataFormat()
1708 WriteStr(fp, ((i == (nSamples-1)) ? "\n" : "\t")); in WriteDataFormat()
1732 for (j = 0; j < t->nSamples; j++) { in WriteData()
1734 char *ptr = t->Data[i*t->nSamples+j]; in WriteData()
1750 WriteStr(fp, ((j == (t->nSamples-1)) ? "\n" : "\t")); in WriteData()
1855 if (iField != t ->nSamples) { in DataFormatSection()
1856 … SynError(it8, "Count mismatch. NUMBER_OF_FIELDS was %d, found %d\n", t ->nSamples, iField); in DataFormatSection()
1882 if (iField >= t -> nSamples) { in DataSection()
2143 for (idField = 0; idField < t -> nSamples; idField++) in CookPointers()
2394 return t -> nSamples; in cmsIT8EnumDataFormat()
2519 for (i=0; i < t->nSamples; i++) { in LocateSample()