| /libtiff-4.0.7/libtiff/ |
| H A D | tif_dirwrite.c | 709 uint32 count = tif->tif_dir.td_customValues[m].count; in TIFFWriteDirectorySec() local 1914 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_ASCII,count,count,value)); in TIFFWriteDirectoryTagCheckedAscii() 1937 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_BYTE,count,count,value)); in TIFFWriteDirectoryTagCheckedByteArray() 1953 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SBYTE,count,count,value)); in TIFFWriteDirectoryTagCheckedSbyteArray() 1970 assert(count<0x80000000); in TIFFWriteDirectoryTagCheckedShortArray() 1993 assert(count<0x80000000); in TIFFWriteDirectoryTagCheckedSshortArray() 2014 assert(count<0x40000000); in TIFFWriteDirectoryTagCheckedLongArray() 2037 assert(count<0x40000000); in TIFFWriteDirectoryTagCheckedSlongArray() 2061 assert(count<0x20000000); in TIFFWriteDirectoryTagCheckedLong8Array() 2169 o=TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_RATIONAL,count,count*8,&m[0]); in TIFFWriteDirectoryTagCheckedRationalArray() [all …]
|
| H A D | tif_dirread.c | 839 uint32 count; in TIFFReadDirEntryByteArray() local 1020 uint32 count; in TIFFReadDirEntrySbyteArray() local 1199 uint32 count; in TIFFReadDirEntryShortArray() local 1371 uint32 count; in TIFFReadDirEntrySshortArray() local 1538 uint32 count; in TIFFReadDirEntryLongArray() local 1707 uint32 count; in TIFFReadDirEntrySlongArray() local 1868 uint32 count; in TIFFReadDirEntryLong8Array() local 2034 uint32 count; in TIFFReadDirEntrySlong8Array() local 2184 uint32 count; in TIFFReadDirEntryFloatArray() local 2422 uint32 count; in TIFFReadDirEntryDoubleArray() local [all …]
|
| H A D | tif_unix.c | 74 tmsize_t count = -1; in _tiffReadProc() local 81 for (bytes_read=0; bytes_read < bytes_total; bytes_read+=count) in _tiffReadProc() 87 count=read(fdh.fd, buf_offset, (TIFFIOSize_t) io_size); in _tiffReadProc() 88 if (count <= 0) in _tiffReadProc() 91 if (count < 0) in _tiffReadProc() 102 tmsize_t count = -1; in _tiffWriteProc() local 109 for (bytes_written=0; bytes_written < bytes_total; bytes_written+=count) in _tiffWriteProc() 115 count=write(fdh.fd, buf_offset, (TIFFIOSize_t) io_size); in _tiffWriteProc() 116 if (count <= 0) in _tiffWriteProc() 119 if (count < 0) in _tiffWriteProc()
|
| H A D | tif_predict.c | 410 tmsize_t count = cc; in fpAcc() local 425 while (count > stride) { in fpAcc() 428 count -= stride; in fpAcc() 433 for (count = 0; count < wc; count++) { in fpAcc() 437 cp[bps * count + byte] = tmp[byte * wc + count]; in fpAcc() 439 cp[bps * count + byte] = in fpAcc() 642 tmsize_t count; in fpDiff() local 658 for (count = 0; count < wc; count++) { in fpDiff() 662 cp[byte * wc + count] = tmp[bps * count + byte]; in fpDiff() 665 tmp[bps * count + byte]; in fpDiff() [all …]
|
| H A D | tif_dir.c | 531 tv->count = 0; in _TIFFVSetField() 562 tv->count=ma; in _TIFFVSetField() 571 tv->count = (int) va_arg(ap, int); in _TIFFVSetField() 574 tv->count = 1; in _TIFFVSetField() 578 tv->count = fip->field_writecount; in _TIFFVSetField() 580 if (tv->count == 0) { in _TIFFVSetField() 616 || tv->count > 1) { in _TIFFVSetField() 618 tv->count * tv_size); in _TIFFVSetField() 621 assert( tv->count == 1 ); in _TIFFVSetField() 1096 || tv->count > 1) { in _TIFFVGetField() [all …]
|
| H A D | tif_print.c | 486 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory() local 488 for (i = 0; i < count; ++i) in TIFFPrintDirectory() 494 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory() local 496 for (i = 0; i < count; ++i) in TIFFPrintDirectory() 576 short count; in TIFFPrintDirectory() local 578 count = (short) TIFFGetTagListCount(tif); in TIFFPrintDirectory() 579 for(i = 0; i < count; i++) { in TIFFPrintDirectory()
|
| H A D | tif_dir.h | 35 int count; member 272 uint32 count; /* number of elements in fields array */ member
|
| H A D | tif_dirinfo.c | 337 if (!_TIFFMergeFields(tif, fieldarray->fields, fieldarray->count)) { in _TIFFSetupFields() 737 _TIFFSetGetType(TIFFDataType type, short count, unsigned char passcount) in _TIFFSetGetType() argument 739 if (type == TIFF_ASCII && count == TIFF_VARIABLE && passcount == 0) in _TIFFSetGetType() 742 else if (count == 1 && passcount == 0) { in _TIFFSetGetType() 778 else if (count >= 1 && passcount == 0) { in _TIFFSetGetType() 814 else if (count == TIFF_VARIABLE && passcount == 1) { in _TIFFSetGetType() 850 else if (count == TIFF_VARIABLE2 && passcount == 1) { in _TIFFSetGetType() 917 tif->tif_fieldscompat[nfields].count = n; in TIFFMergeFieldInfo()
|
| /libtiff-4.0.7/tools/ |
| H A D | tiffdump.c | 385 uint64 count; in ReadDirectory() local 412 count = count32; in ReadDirectory() 468 if (count>maxitems) in ReadDirectory() 471 count = maxitems; in ReadDirectory() 721 while (count-- > 0) in PrintData() 725 while (count-- > 0) in PrintData() 729 while (count-- > 0) in PrintData() 737 while (count-- > 0) in PrintData() 743 while (count-- > 0) in PrintData() 757 while (count-- > 0) in PrintData() [all …]
|
| H A D | pal2rgb.c | 279 cpTag(TIFF* in, TIFF* out, uint16 tag, uint16 count, TIFFDataType type) in cpTag() argument 283 if (count == 1) { in cpTag() 286 } else if (count == 2) { in cpTag() 289 } else if (count == 4) { in cpTag() 292 } else if (count == (uint16) -1) { in cpTag() 304 if (count == 1) { in cpTag() 307 } else if (count == (uint16) -1) { in cpTag() 318 if (count == 1) { in cpTag() 321 } else if (count == (uint16) -1) { in cpTag() 340 uint16 count; member [all …]
|
| H A D | tiff2bw.c | 327 cpTag(TIFF* in, TIFF* out, uint16 tag, uint16 count, TIFFDataType type) in cpTag() argument 331 if (count == 1) { in cpTag() 334 } else if (count == 2) { in cpTag() 337 } else if (count == 4) { in cpTag() 340 } else if (count == (uint16) -1) { in cpTag() 352 if (count == 1) { in cpTag() 355 } else if (count == (uint16) -1) { in cpTag() 366 if (count == 1) { in cpTag() 369 } else if (count == (uint16) -1) { in cpTag() 388 uint16 count; member [all …]
|
| H A D | thumbnail.c | 146 cpTag(TIFF* in, TIFF* out, uint16 tag, uint16 count, TIFFDataType type) in cpTag() argument 150 if (count == 1) { in cpTag() 153 } else if (count == 2) { in cpTag() 156 } else if (count == 4) { in cpTag() 159 } else if (count == (uint16) -1) { in cpTag() 181 if (count == 1) { in cpTag() 184 } else if (count == (uint16) -1) { in cpTag() 195 if (count == 1) { in cpTag() 198 } else if (count == (uint16) -1) { in cpTag() 221 uint16 count; member [all …]
|
| H A D | tiffcrop.c | 773 tsample_t count = spp; in readContigTilesIntoBuffer() local 1505 if (count == 1) { in cpTag() 1526 if (count == 1) { in cpTag() 1540 if (count == 1) { in cpTag() 1557 uint16 count; member 1596 #define CopyTag(tag, count, type) cpTag(in, out, tag, count, type) argument 2511 if ((fwrite (data, 1, count, dumpfile)) != count) in dump_data() 2748 if (count == spp) in extractContigSamplesBytes() 3528 tsample_t count = 1; in extractContigSamplesToBuffer() local 6291 count = spp; in extractCompositeRegions() [all …]
|
| H A D | tiffsplit.c | 175 uint32 count = 0; in tiffcp() local 177 if (TIFFGetField(in, TIFFTAG_JPEGTABLES, &count, &table) in tiffcp() 178 && count > 0 && table) { in tiffcp() 179 TIFFSetField(out, TIFFTAG_JPEGTABLES, count, table); in tiffcp()
|
| H A D | tiffcp.c | 493 if (count == 1) { in cpTag() 496 } else if (count == 2) { in cpTag() 499 } else if (count == 4) { in cpTag() 502 } else if (count == (uint16) -1) { in cpTag() 514 if (count == 1) { in cpTag() 517 } else if (count == (uint16) -1) { in cpTag() 528 if (count == 1) { in cpTag() 531 } else if (count == (uint16) -1) { in cpTag() 545 uint16 count; member 584 #define CopyTag(tag, count, type) cpTag(in, out, tag, count, type) argument [all …]
|
| H A D | tiff2rgba.c | 431 size_t count = pixel_count; in cvt_whole_image() local 435 while (count > 0) in cvt_whole_image() 441 count--; in cvt_whole_image()
|
| H A D | tiff2pdf.c | 1980 uint32 count = 0; in t2p_read_tiff_size() local 1982 if(count > 4){ in t2p_read_tiff_size() 1983 k += count; in t2p_read_tiff_size() 2071 uint32 count = 0; in t2p_read_tiff_size_tile() local 2073 if(count > 4){ in t2p_read_tiff_size_tile() 2380 uint32 count = 0; in t2p_readwrite_pdf_image() local 2393 if(count > 4) { in t2p_readwrite_pdf_image() 2395 bufferoffset += count - 2; in t2p_readwrite_pdf_image() 2886 uint32 count = 0; in t2p_readwrite_pdf_image_tile() local 2898 if (count >= 4) { in t2p_readwrite_pdf_image_tile() [all …]
|
| H A D | tiff2ps.c | 2122 PS_FlipBytes(unsigned char* buf, tsize_t count) in PS_FlipBytes() argument 2127 if (count <= 0 || bitspersample <= 8) { in PS_FlipBytes() 2131 count--; in PS_FlipBytes() 2133 for (i = 0; i < count; i += 2) { in PS_FlipBytes()
|
| /libtiff-4.0.7/port/ |
| H A D | snprintf.c | 16 int count = -1; in _TIFF_vsnprintf_f() local 19 count = _vsnprintf_s(str, size, _TRUNCATE, format, ap); in _TIFF_vsnprintf_f() 20 if (count == -1) in _TIFF_vsnprintf_f() 21 count = _vscprintf(format, ap); in _TIFF_vsnprintf_f() 23 return count; in _TIFF_vsnprintf_f() 28 int count; in _TIFF_snprintf_f() local 32 count = vsnprintf(str, size, format, ap); in _TIFF_snprintf_f() 35 return count; in _TIFF_snprintf_f()
|
| /libtiff-4.0.7/archive/tools/ |
| H A D | gif2tiff.c | 347 int count; in readextension() local 352 while ((count = getc(infile)) && count <= 255) in readextension() 353 if (fread(buf, 1, count, infile) != (size_t) count) { in readextension() 375 register int count, code; in readraster() local 392 for (count = getc(infile); count > 0 && count <= 255; count = getc(infile)) { in readraster() 393 if (fread(buf,1,count,infile) != (size_t)count) { in readraster() 398 for (ch=buf; count-- > 0; ch++) { in readraster()
|
| /libtiff-4.0.7/test/ |
| H A D | long_tag.c | 48 short count; member
|
| H A D | Makefile.in | 1017 desc=$$1 count=$$2; \ 1018 if test $$maybe_colorize = yes && test $$count -gt 0; then \ 1023 echo "$${color_start}# $$desc $$count$${color_end}"; \
|
| /libtiff-4.0.7/contrib/pds/ |
| H A D | tif_pdsdirread.c | 352 CheckDirCount(TIFF* tif, TIFFDirEntry* dir, uint32 count) in CheckDirCount() argument 354 if (count != dir->tdir_count) { in CheckDirCount() 358 dir->tdir_count, count); in CheckDirCount()
|
| /libtiff-4.0.7/ |
| H A D | ChangeLog | 1133 * tools/tiffdump.c: fix crash due to overflow of entry count. 1217 count for tag should be a warning rather than an error since 1237 * libtiff/tif_dir.c: generate error in case of directory count 1564 * man/TIFFGetField.3tiff: Correct the 'count' field type in the 1628 * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be 1940 or missing byte-count tag 2007 * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for 2189 when the tag count value is zero. Error handling is still a 2760 from the public interface. Type of its 'count' parameter changed 4672 uint32 count. Use this type everywhere. [all …]
|
| /libtiff-4.0.7/m4/ |
| H A D | libtool.m4 | 3395 [if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 3412 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 3414 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
|