Lines Matching refs:npixels
22 - assert(sp->tbuflen >= npixels);
23 + if(sp->tbuflen < npixels) {
30 _TIFFmemset((void*) tp, 0, npixels*sizeof (tp[0]));
35 - for (i = 0; i < npixels && cc > 0; )
36 + for (i = 0; i < npixels && cc > 0; ) {
44 while (rc-- && i < npixels)
46 while (--cc && rc-- && i < npixels)
50 if (i != npixels) {
57 - assert(sp->tbuflen >= npixels);
58 + if(sp->tbuflen < npixels) {
68 - for (i = 0; i < npixels && cc > 0; i++) {
69 + for (i = 0; i < npixels && cc >= 3; i++) {
77 - assert(sp->tbuflen >= npixels);
78 + if(sp->tbuflen < npixels) {
85 _TIFFmemset((void*) tp, 0, npixels*sizeof (tp[0]));
90 - for (i = 0; i < npixels && cc > 0; )
91 + for (i = 0; i < npixels && cc > 0; ) {
99 while (rc-- && i < npixels)
103 while (--cc && rc-- && i < npixels)
107 if (i != npixels) {
122 - assert(sp->tbuflen >= npixels);
123 + if(sp->tbuflen < npixels) {
128 (*sp->tfunc)(sp, bp, npixels);
138 tmsize_t npixels;
143 - assert(sp->tbuflen >= npixels);
144 + if(sp->tbuflen < npixels) {
149 (*sp->tfunc)(sp, bp, npixels);
164 - assert(sp->tbuflen >= npixels);
165 + if(sp->tbuflen < npixels) {
170 (*sp->tfunc)(sp, bp, npixels);