Lines Matching refs:toff_t
47 static toff_t
48 _tiffSeekProc(thandle_t fd, toff_t off, int whence)
51 return ((toff_t) lseek64((int) fd, (off64_t) off, whence));
53 return ((toff_t) lseek((int) fd, (off_t) off, whence));
65 static toff_t
74 return (toff_t) (fstat64((int) fd, &sb) < 0 ? 0 : sb.st_size);
77 return (toff_t) (fstat((int) fd, &sb) < 0 ? 0 : sb.st_size);
86 _tiffMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize)
88 toff_t size = _tiffSizeProc(fd);
89 if (size != (toff_t) -1) {
101 _tiffUnmapProc(thandle_t fd, tdata_t base, toff_t size)
108 _tiffMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize)
115 _tiffUnmapProc(thandle_t fd, tdata_t base, toff_t size)