Lines Matching refs:stream
88 // Callback function for zlib that opens a file stream from a file descriptor.
90 // a file stream.
111 int FdCloseFileFunc(void* opaque, void* stream) {
112 fclose(static_cast<FILE*>(stream));
130 // Callback function for zlib that opens a file stream from a Windows handle.
145 int HandleCloseFileFunc(void* opaque, void* stream) {
146 free(stream); // malloc'ed in HandleOpenFileFunc()
161 // uses this pointer as a stream parameter while compressing or uncompressing
178 // Reads compressed data from the specified stream. This function copies data
180 uLong ReadZipBuffer(void* opaque, void* /*stream*/, void* buf, uLong size) {
193 // Writes compressed data to the stream. This function always returns zero
196 void* /*stream*/,
204 ZPOS64_T GetOffsetOfZipBuffer(void* opaque, void* /*stream*/) {
213 void* /*stream*/,
239 int CloseZipBuffer(void* opaque, void* /*stream*/) {
247 int GetErrorOfZipBuffer(void* /*opaque*/, void* /*stream*/) {