Home | History | Annotate | Download | only in libtiff

Lines Matching refs:uint64

88     static uint64   _tiffosSeekProc(thandle_t fd, uint64 off, int whence);
89 static uint64 _tiffisSeekProc(thandle_t fd, uint64 off, int whence);
90 static uint64 _tiffosSizeProc(thandle_t fd);
91 static uint64 _tiffisSizeProc(thandle_t fd);
154 static uint64
155 _tiffosSeekProc(thandle_t fd, uint64 off, int whence)
162 return static_cast<uint64>(-1);
168 uint64 new_offset = static_cast<uint64>(data->start_pos) + off;
172 if (static_cast<uint64>(offset) != new_offset)
173 return static_cast<uint64>(-1);
182 if (static_cast<uint64>(offset) != off)
183 return static_cast<uint64>(-1);
192 if (static_cast<uint64>(offset) != off)
193 return static_cast<uint64>(-1);
232 if( (static_cast<uint64>(origin) + off) > static_cast<uint64>(data->start_pos) ) {
233 uint64 num_fill;
240 num_fill = (static_cast<uint64>(origin)) + off - os->tellp();
241 for( uint64 i = 0; i < num_fill; i++ )
245 os->seekp(static_cast<ios::off_type>(static_cast<uint64>(origin) + off), ios::beg);
249 return static_cast<uint64>(os->tellp());
252 static uint64
253 _tiffisSeekProc(thandle_t fd, uint64 off, int whence)
261 uint64 new_offset = static_cast<uint64>(data->start_pos) + off;
265 if (static_cast<uint64>(offset) != new_offset)
266 return static_cast<uint64>(-1);
275 if (static_cast<uint64>(offset) != off)
276 return static_cast<uint64>(-1);
285 if (static_cast<uint64>(offset) != off)
286 return static_cast<uint64>(-1);
293 return (uint64) (data->stream->tellg() - data->start_pos);
296 static uint64
308 return (uint64) len;
311 static uint64
322 return (uint64) len;