Lines Matching refs:buf2
161 unsigned char *buf1, *buf2; in tiffcmp() local
179 buf2 = (unsigned char *)_TIFFmalloc(TIFFScanlineSize(tif2)); in tiffcmp()
180 if (buf1 == NULL || buf2 == NULL) { in tiffcmp()
193 if (TIFFReadScanline(tif2, buf2, row, 0) < 0) in tiffcmp()
198 if (SeparateCompare(1, s, row, buf2, buf1) < 0) in tiffcmp()
208 if (TIFFReadScanline(tif2, buf2, row, s) < 0) in tiffcmp()
210 if (SeparateCompare(0, s, row, buf1, buf2) < 0) in tiffcmp()
220 if (TIFFReadScanline(tif2, buf2, row, s) < 0) in tiffcmp()
222 if (ContigCompare(s, row, buf1, buf2, size1) < 0) in tiffcmp()
230 if (TIFFReadScanline(tif2, buf2, row, 0) < 0) in tiffcmp()
232 if (ContigCompare(-1, row, buf1, buf2, size1) < 0) in tiffcmp()
238 if (buf2) _TIFFfree(buf2); in tiffcmp()
245 if (buf2) _TIFFfree(buf2); in tiffcmp()