Lines Matching defs:stream

20 #define FTELLO_FUNC(stream) ftello(stream)
21 #define FSEEKO_FUNC(stream, offset, origin) fseeko(stream, offset, origin)
24 #define FTELLO_FUNC(stream) ftello64(stream)
25 #define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin)
88 static uLong ZCALLBACK fread_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size));
89 static uLong ZCALLBACK fwrite_file_func OF((voidpf opaque, voidpf stream, const void* buf,uLong size));
90 static ZPOS64_T ZCALLBACK ftell64_file_func OF((voidpf opaque, voidpf stream));
91 static long ZCALLBACK fseek64_file_func OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin));
92 static int ZCALLBACK fclose_file_func OF((voidpf opaque, voidpf stream));
93 static int ZCALLBACK ferror_file_func OF((voidpf opaque, voidpf stream));
132 static uLong ZCALLBACK fread_file_func (voidpf opaque, voidpf stream, void* buf, uLong size)
135 ret = (uLong)fread(buf, 1, (size_t)size, (FILE *)stream);
139 static uLong ZCALLBACK fwrite_file_func (voidpf opaque, voidpf stream, const void* buf, uLong size)
142 ret = (uLong)fwrite(buf, 1, (size_t)size, (FILE *)stream);
146 static long ZCALLBACK ftell_file_func (voidpf opaque, voidpf stream)
149 ret = ftell((FILE *)stream);
154 static ZPOS64_T ZCALLBACK ftell64_file_func (voidpf opaque, voidpf stream)
157 ret = FTELLO_FUNC((FILE *)stream);
161 static long ZCALLBACK fseek_file_func (voidpf opaque, voidpf stream, uLong offset, int origin)
179 if (fseek((FILE *)stream, offset, fseek_origin) != 0)
184 static long ZCALLBACK fseek64_file_func (voidpf opaque, voidpf stream, ZPOS64_T offset, int origin)
203 if(FSEEKO_FUNC((FILE *)stream, offset, fseek_origin) != 0)
210 static int ZCALLBACK fclose_file_func (voidpf opaque, voidpf stream)
213 ret = fclose((FILE *)stream);
217 static int ZCALLBACK ferror_file_func (voidpf opaque, voidpf stream)
220 ret = ferror((FILE *)stream);