Searched defs:stream (Results 1 - 6 of 6) sorted by relevance
/ast/src/lib/libz/ |
H A D | uncompr.c | 32 z_stream stream; local 35 stream.next_in = (Bytef*)source; 36 stream.avail_in = (uInt)sourceLen; 38 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; 40 stream.next_out = dest; 41 stream.avail_out = (uInt)*destLen; 42 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; 44 stream.zalloc = (alloc_func)0; 45 stream.zfree = (free_func)0; 47 err = inflateInit(&stream); [all...] |
H A D | compress.c | 29 z_stream stream; local 32 stream.next_in = (Bytef*)source; 33 stream.avail_in = (uInt)sourceLen; 36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; 38 stream.next_out = dest; 39 stream.avail_out = (uInt)*destLen; 40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; 42 stream.zalloc = (alloc_func)0; 43 stream.zfree = (free_func)0; 44 stream [all...] |
H A D | gzio.c | 63 z_stream stream; member in struct:gz_stream 64 int z_err; /* error code for last stream operation */ 74 int fatal; /* fatal stream error => all other ops fail */ 125 s->stream.zalloc = (alloc_func)0; 126 s->stream.zfree = (free_func)0; 127 s->stream.opaque = (voidpf)0; 128 s->stream.next_in = s->inbuf = Z_NULL; 129 s->stream.next_out = s->outbuf = Z_NULL; 130 s->stream.avail_in = s->stream [all...] |
/ast/src/lib/libast/misc/ |
H A D | stk.c | 89 #define stream2stk(stream) ((stream)==stkstd? stkcur:\ 90 ((struct stk*)(((char*)(stream))+STK_HDRSIZE))) 92 #define stkleft(stream) ((stream)->_endb-(stream)->_data) 144 static int stkexcept(register Sfio_t *stream, int type, void* val, Sfdisc_t* dp) argument 152 register struct stk *sp = stream2stk(stream); 158 if(stream==stkstd) 159 stkset(stream,(cha 216 register Sfio_t *stream; local 263 stkinstall(Sfio_t *stream, _stk_overflow_ oflow) argument 297 stklink(register Sfio_t* stream) argument 309 stkclose(Sfio_t* stream) argument 323 stkon(register Sfio_t * stream, register char* loc) argument 338 stkset(register Sfio_t * stream, register char* loc, size_t offset) argument 393 stkalloc(register Sfio_t *stream, register size_t n) argument 410 _stkseek(register Sfio_t *stream, register ssize_t n) argument 425 stkfreeze(register Sfio_t *stream, register size_t extra) argument 450 stkcopy(Sfio_t *stream, const char* str) argument 498 stkgrow(register Sfio_t *stream, size_t size) argument [all...] |
/ast/src/cmd/coshell/ |
H A D | misc.c | 42 * create a remote service connect stream 43 * malloc'd stream pathname is returned 47 stream(int type, register char* name) function 53 error(ERROR_SYSTEM|3, "%s: cannot create connect stream", name); 58 message((-1, "%s connect stream path is %s", name, path));
|
/ast/src/cmd/bzip/ |
H A D | bzip2.c | 291 void compressStream ( FILE *stream, FILE *zStream ) argument 299 SET_BINARY_MODE(stream); 302 if (ferror(stream)) goto errhandler_io; 313 if (myfeof(stream)) break; 314 nIbuf = fread ( ibuf, sizeof(UChar), 5000, stream ); 315 if (ferror(stream)) goto errhandler_io; 331 if (ferror(stream)) goto errhandler_io; 332 ret = fclose ( stream ); 368 Bool uncompressStream ( FILE *zStream, FILE *stream ) 380 SET_BINARY_MODE(stream); [all...] |
Completed in 17 milliseconds