Home
last modified time | relevance | path

Searched refs:nPatches (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/third_party/lcms/
D0032-cgats-allocation.patch7 t-> nPatches = atoi(cmsIT8GetProperty(it8, "NUMBER_OF_SETS"));
9 …Chunk (it8, ((cmsUInt32Number) t->nSamples + 1) * ((cmsUInt32Number) t->nPatches + 1) *sizeof (cha…
11 + if (t -> nSamples < 0 || t->nSamples > 0x7ffe || t->nPatches < 0 || t->nPatches > 0x7ffe)
16 …locChunk(it8, ((cmsUInt32Number)t->nSamples + 1) * ((cmsUInt32Number)t->nPatches + 1) * sizeof(cha…
/external/pdfium/third_party/lcms/src/
Dcmscgats.c123 int nSamples, nPatches; // Cols, Rows member
1510 t-> nPatches = atoi(cmsIT8GetProperty(it8, "NUMBER_OF_SETS")); in AllocateDataSet()
1512 if (t -> nSamples < 0 || t->nSamples > 0x7ffe || t->nPatches < 0 || t->nPatches > 0x7ffe) in AllocateDataSet()
1517 …locChunk(it8, ((cmsUInt32Number)t->nSamples + 1) * ((cmsUInt32Number)t->nPatches + 1) * sizeof(cha… in AllocateDataSet()
1531 int nPatches = t -> nPatches; in GetData() local
1533 if (nSet >= nPatches || nField >= nSamples) in GetData()
1550 if (nSet > t -> nPatches || nSet < 0) { in SetData()
1552 … return SynError(it8, "Patch %d out of range, there are %d patches", nSet, t -> nPatches); in SetData()
1738 t->nPatches = atoi(cmsIT8GetProperty(it8, "NUMBER_OF_SETS")); in WriteData()
1740 for (i = 0; i < t-> nPatches; i++) { in WriteData()
[all …]