Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 16 of 16) sorted by relevance

/libtiff-4.0.7/libtiff/
H A Dtif_aux.c39 uint32 bytes = first * second; in _TIFFMultiply32() local
41 if (second && bytes / second != first) { in _TIFFMultiply32()
43 bytes = 0; in _TIFFMultiply32()
46 return bytes; in _TIFFMultiply32()
52 uint64 bytes = first * second; in _TIFFMultiply64() local
54 if (second && bytes / second != first) { in _TIFFMultiply64()
56 bytes = 0; in _TIFFMultiply64()
59 return bytes; in _TIFFMultiply64()
67 tmsize_t bytes = nmemb * elem_size; in _TIFFCheckRealloc() local
72 if (nmemb && elem_size && bytes / elem_size == nmemb) in _TIFFCheckRealloc()
[all …]
H A Dtif_pixarlog.c642 tmsize_t bytes = m1 * m2; in multiply_ms() local
644 if (m1 && bytes / m1 != m2) in multiply_ms()
645 bytes = 0; in multiply_ms()
647 return bytes; in multiply_ms()
653 tmsize_t bytes = m1 + m2; in add_ms() local
657 bytes = 0; in add_ms()
658 else if (bytes <= m1 || bytes <= m2) in add_ms()
659 bytes = 0; in add_ms()
661 return bytes; in add_ms()
H A Dtif_luv.c1269 tmsize_t bytes = m1 * m2; in multiply_ms() local
1271 if (m1 && bytes / m1 != m2) in multiply_ms()
1272 bytes = 0; in multiply_ms()
1274 return bytes; in multiply_ms()
H A Dtif_dir.c51 tmsize_t bytes = (tmsize_t)(nmemb * elem_size); in setByteArray() local
52 if (elem_size && bytes / elem_size == nmemb) in setByteArray()
53 *vpp = (void*) _TIFFmalloc(bytes); in setByteArray()
55 _TIFFmemcpy(*vpp, vp, bytes); in setByteArray()
H A Dtif_config.h.cmake.in197 /* Default size of the strip in bytes (when strip chopping enabled) */
H A Dtif_config.h.in290 /* Default size of the strip in bytes (when strip chopping enabled) */
/libtiff-4.0.7/tools/
H A Dppm2tiff.c78 tmsize_t bytes = m1 * m2; in multiply_ms() local
80 if (m1 && bytes / m1 != m2) in multiply_ms()
81 bytes = 0; in multiply_ms()
83 return bytes; in multiply_ms()
H A Dtiffcp.c1225 tsize_t bytes = scanlinesize * (tsize_t)imagelength; in cpImage() local
1231 && bytes / (tsize_t)imagelength == scanlinesize) { in cpImage()
1232 buf = _TIFFmalloc(bytes); in cpImage()
H A Dtiff2pdf.c452 uint64 bytes = summand1 + summand2; in checkAdd64() local
454 if (bytes < summand1) { in checkAdd64()
457 bytes = 0; in checkAdd64()
460 return bytes; in checkAdd64()
467 uint64 bytes = first * second; in checkMultiply64() local
469 if (second && bytes / second != first) { in checkMultiply64()
472 bytes = 0; in checkMultiply64()
475 return bytes; in checkMultiply64()
/libtiff-4.0.7/contrib/win_dib/
H A DREADME.Tiffile7 converted to RGBA, thus taking up 32x as much memory as needed (4 bytes per
/libtiff-4.0.7/
H A Dnmake.opt89 # is 8192 bytes, it can be configured via the STRIP_SIZE_DEFAULT parameter
H A Dconfigure.ac961 [default size of the strip in bytes (when strip chopping enabled) [[default=8192]]]),,)
972 …STRIP_SIZE_DEFAULT,$with_default_strip_size,[Default size of the strip in bytes (when strip choppi…
H A DCMakeLists.txt635 set(TIFF_DEFAULT_STRIP_SIZE 8192 CACHE STRING "default size of the strip in bytes (when strip chopp…
H A DChangeLog148 * tools/tiffcrop.c: fix out-of-bound read of up to 3 bytes in
154 * tools/tiff2pdf.c: fix write buffer overflow of 2 bytes on JPEG
157 Also prevents writing 2 extra uninitialized bytes to the file stream.
851 (checksignature): Fix Coverity 1024894 "Ignoring number of bytes
853 (readextension): Fix Coverity 1024893 "Ignoring number of bytes
855 (readgifimage): Fix Coverity 1024890 "Ignoring number of bytes
857 (readraster): Fix Coverity 1024891 "Ignoring number of bytes
859 (readgifimage): Fix Coverity 1024892 "Ignoring number of bytes
869 (guessSize): Fix Coverity 1214162 "Ignoring number of bytes read".
899 (main): Fix Coverity 1214160 "Ignoring number of bytes read".
[all …]
H A Dconfigure1586 default size of the strip in bytes (when strip
/libtiff-4.0.7/m4/
H A Dlibtool.m41682 # (any single argument exceeding 2000 bytes causes a buffer overrun