Searched refs:toff_t (Results 1 - 17 of 17) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/tiff/
H A Dtif_unix.c47 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)
[all...]
H A Dtif_win32.c52 static toff_t
53 _tiffSeekProc(thandle_t fd, toff_t off, int whence)
77 return ((toff_t)SetFilePointer(fd, (LONG) off, (PLONG)&dwMoveHigh,
87 static toff_t
90 return ((toff_t)GetFileSize(fd, NULL));
97 _tiffDummyMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize)
114 _tiffMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize)
116 toff_t size;
136 _tiffDummyUnmapProc(thandle_t fd, tdata_t base, toff_t size)
141 _tiffUnmapProc(thandle_t fd, tdata_t base, toff_t siz
[all...]
H A Dtiffiop.h93 toff_t tif_diroff; /* file offset of current directory */
94 toff_t tif_nextdiroff; /* file offset of following directory */
95 toff_t* tif_dirlist; /* list of offsets to already seen */
105 toff_t tif_curoff; /* current offset for read/write */
106 toff_t tif_dataoff; /* current offset for writing dir */
109 toff_t tif_subifdoff; /* offset for patching SubIFD link */
144 toff_t tif_size; /* size of mapped file region (bytes) */
174 ((*(tif)->tif_seekproc)((tif)->tif_clientdata,(toff_t)(off),whence))
193 (TIFFSeekFile(tif, (toff_t) off, SEEK_SET) == (toff_t) of
[all...]
H A Dtif_msdos.c48 static toff_t
49 _tiffSeekProc(thandle_t fd, toff_t off, int whence)
62 static toff_t
70 _tiffMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize)
76 _tiffUnmapProc(thandle_t fd, tdata_t base, toff_t size)
H A Dtif_apple.c72 static toff_t
73 _tiffSeekProc(thandle_t fd, toff_t off, int whence)
102 return (toff_t)(GetFPos((short) fd, &fpos) == noErr ? fpos : EOF);
106 _tiffMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize)
112 _tiffUnmapProc(thandle_t fd, tdata_t base, toff_t size)
122 static toff_t
131 return ((toff_t) size);
H A Dtif_os2.c77 static toff_t LINKAGEMODE
78 _tiffSeekProc(thandle_t fd, toff_t off, int whence)
98 return((toff_t)ibActual);
107 static toff_t LINKAGEMODE
117 _tiffDummyMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize)
134 _tiffMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize)
140 _tiffDummyUnmapProc(thandle_t fd, tdata_t base, toff_t size)
145 _tiffUnmapProc(thandle_t fd, tdata_t base, toff_t size)
H A Dtif_vms.c61 static toff_t
62 _tiffSeekProc(thandle_t fd, toff_t off, int whence)
64 return ((toff_t) lseek((int) fd, (off_t) off, whence));
75 static toff_t
79 return (toff_t) (fstat((int) fd, &sb) < 0 ? 0 : sb.st_size);
113 _tiffMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize)
158 *psize = (toff_t) size;
174 _tiffUnmapProc(thandle_t fd, tdata_t base, toff_t size)
197 _tiffMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize)
203 _tiffUnmapProc(thandle_t fd, tdata_t base, toff_t siz
[all...]
H A Dtif_win3.c51 static toff_t
52 _tiffSeekProc(thandle_t fd, toff_t off, int whence)
65 static toff_t
73 _tiffMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize)
79 _tiffUnmapProc(thandle_t fd, tdata_t base, toff_t size)
H A Dtif_atari.c73 static toff_t
118 static toff_t
130 _tiffMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize)
136 _tiffUnmapProc(thandle_t fd, tdata_t base, toff_t size)
H A Dtiffio.h57 * NB: toff_t is not off_t for many reasons; TIFFs max out at
68 typedef uint32 toff_t; /* file offset */ typedef
271 typedef toff_t (*TIFFSeekProc)(thandle_t, toff_t, int);
273 typedef toff_t (*TIFFSizeProc)(thandle_t);
274 typedef int (*TIFFMapFileProc)(thandle_t, tdata_t*, toff_t*);
275 typedef void (*TIFFUnmapFileProc)(thandle_t, tdata_t, toff_t);
391 extern void TIFFSetWriteOffset(TIFF*, toff_t);
H A Dtif_acorn.c378 static toff_t
379 _tiffSeekProc(thandle_t fd, toff_t off, int whence)
381 return ((toff_t) lseek((int) fd, (off_t) off, whence));
390 static toff_t
402 _tiffMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize)
409 _tiffUnmapProc(thandle_t fd, tdata_t base, toff_t size)
H A Dtif_dirwrite.c95 toff_t diroff;
166 tif->tif_dataoff = (toff_t)(
167 tif->tif_diroff + sizeof (uint16) + dirsize + sizeof (toff_t));
1124 #define HDROFF(f) ((toff_t)(unsigned long) &(((TIFFHeader*) 0)->f))
1126 #define HDROFF(f) ((toff_t) &(((TIFFHeader*) 0)->f))
1138 toff_t nextdir, off;
1161 (void) TIFFSeekFile(tif, off - (toff_t)sizeof(nextdir), SEEK_SET);
1185 toff_t nextdir;
1186 toff_t diroff, off;
1188 tif->tif_diroff = (TIFFSeekFile(tif, (toff_t)
[all...]
H A Dtif_dir.c1177 TIFFAdvanceDirectory(TIFF* tif, uint32* nextdir, toff_t* off)
1183 toff_t poff=*nextdir;
1196 if (((toff_t) (poff+sizeof (uint32))) > tif->tif_size)
1240 toff_t nextdir = tif->tif_header.tiff_diroff;
1255 toff_t nextdir;
1321 toff_t nextdir;
1322 toff_t off;
H A Dtif_dirread.c99 toff_t nextdiroff;
102 toff_t* new_dirlist;
119 tif->tif_dirnumber * sizeof(toff_t));
165 toff_t off = tif->tif_diroff;
659 toff_t filesize = TIFFGetFileSize(tif);
689 if (((toff_t)(td->td_stripoffset[i]+td->td_stripbytecount[i]))
H A Dtif_write.c657 TIFFSeekFile(tif, (toff_t) 0, SEEK_END);
700 TIFFSetWriteOffset(TIFF* tif, toff_t off)
H A Dtif_ojpeg.c1863 toff_t tiffoff=0;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/
H A Dimagtiff.cpp54 // bit, toff_t
55 static toff_t wxFileOffsetToTIFF(wxFileOffset ofs)
58 return (toff_t)-1;
60 toff_t tofs = wx_truncate_cast(toff_t, ofs);
61 wxCHECK_MSG( (wxFileOffset)tofs == ofs, (toff_t)-1,
113 toff_t TIFFLINKAGEMODE
114 wxTIFFSeekIProc(thandle_t handle, toff_t off, int whence)
122 toff_t TIFFLINKAGEMODE
123 wxTIFFSeekOProc(thandle_t handle, toff_t of
[all...]

Completed in 81 milliseconds