Lines Matching defs:stream
329 void compressStream ( FILE *stream, FILE *zStream )
338 SET_BINARY_MODE(stream);
341 if (ferror(stream)) goto errhandler_io;
352 if (myfeof(stream)) break;
353 nIbuf = fread ( ibuf, sizeof(UChar), 5000, stream );
354 if (ferror(stream)) goto errhandler_io;
377 if (ferror(stream)) goto errhandler_io;
378 ret = fclose ( stream );
433 Bool uncompressStream ( FILE *zStream, FILE *stream )
446 SET_BINARY_MODE(stream);
449 if (ferror(stream)) goto errhandler_io;
465 fwrite ( obuf, sizeof(UChar), nread, stream );
466 if (ferror(stream)) goto errhandler_io;
484 if (stream != stdout) {
485 Int32 fd = fileno ( stream );
492 if (ferror(stream)) goto errhandler_io;
493 ret = fflush ( stream );
495 if (stream != stdout) {
496 ret = fclose ( stream );
511 if (nread > 0) fwrite ( obuf, sizeof(UChar), nread, stream );
512 if (ferror(stream)) goto errhandler_io;
533 if (stream != stdout) fclose(stream);