Home
last modified time | relevance | path

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

/external/pdfium/third_party/libtiff/
Dtif_read.c61 tmsize_t already_read = 0; in TIFFReadAndRealloc() local
85 while( already_read < size ) in TIFFReadAndRealloc()
88 tmsize_t to_read = size - already_read; in TIFFReadAndRealloc()
91 already_read + to_read + rawdata_offset > tif->tif_rawdatasize ) in TIFFReadAndRealloc()
97 if (already_read + to_read + rawdata_offset > tif->tif_rawdatasize) { in TIFFReadAndRealloc()
101 (uint64)already_read + to_read + rawdata_offset, 1024); in TIFFReadAndRealloc()
128 tif->tif_rawdata + rawdata_offset + already_read, to_read); in TIFFReadAndRealloc()
129 already_read += bytes_read; in TIFFReadAndRealloc()
131 memset( tif->tif_rawdata + rawdata_offset + already_read, 0, in TIFFReadAndRealloc()
132 tif->tif_rawdatasize - rawdata_offset - already_read ); in TIFFReadAndRealloc()
[all …]
Dtif_dirread.c785 tmsize_t already_read = 0; in TIFFReadDirEntryDataAndRealloc() local
798 while( already_read < size ) in TIFFReadDirEntryDataAndRealloc()
802 tmsize_t to_read = size - already_read; in TIFFReadDirEntryDataAndRealloc()
812 *pdest, already_read + to_read); in TIFFReadDirEntryDataAndRealloc()
819 (long) 1, (long) (already_read + to_read)); in TIFFReadDirEntryDataAndRealloc()
825 (char*)*pdest + already_read, to_read); in TIFFReadDirEntryDataAndRealloc()
826 already_read += bytes_read; in TIFFReadDirEntryDataAndRealloc()