/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/INIT/ |
H A D | ratz.c | 471 stream interface. 481 around a deflate stream, which is itself documented in RFC 1951. 486 gzip wrapper, documented in RFC 1952, wrapped around a deflate stream. 1305 z_streamp strm; /* pointer back to this zlib stream */ 1309 Bytef *pending_out; /* next pending byte to output to the stream */ 1475 /* Output a byte on the stream. 2532 inflate call, but the end of the deflate stream has not been reached yet. 2724 and a NEEDBITS(8), then BITS(8) would return the next byte in the stream. 2768 stream available. So the only thing the flush parameter actually does is: 2770 will return Z_BUF_ERROR if it has not reached the end of the stream [all...] |
/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...] |
H A D | bzip2recover.c | 121 /*--- Bit stream I/O ---*/ 135 BitStream* bsOpenReadStream ( FILE* stream ) 139 bs->handle = stream; 148 BitStream* bsOpenWriteStream ( FILE* stream ) 152 bs->handle = stream;
|
/ast/src/lib/libast/port/ |
H A D | astwinsize.c | 45 #include <sys/stream.h>
|
/ast/src/lib/libcs/ |
H A D | Makefile | 2 * connect stream library
|
/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));
|
H A D | service.h | 374 extern char* stream(int, char*);
|
H A D | main.c | 214 state.mesg = stream(MESG, "mesg"); 215 state.pump = stream(PUMP, "pump"); 227 * no id checks since we can trust the connect stream path access 835 * check for alternate connect stream 846 error(-1, "connect stream is %s", s); 879 else error(ERROR_USAGE|4, "[connect-stream] [-hjqQs[aelpst]] [-r host [cmd]] | + [info]"); 885 else error(ERROR_SYSTEM|3, "%s: cannot open connect stream", state.service); 904 error(ERROR_SYSTEM|3, "%s: cannot create pump connect stream", t);
|
/ast/src/cmd/std/ |
H A D | shar.sh | 281 [[ $(file -m /dev/null -M "$1") == @(*/ebcdic*|*/octet-stream|*system*/*) ]]
|
/ast/src/cmd/ie/ |
H A D | edit.c | 446 # include <sys/stream.h>
|
/ast/src/cmd/html/ |
H A D | troff2html.c | 690 * pop input stream 794 * lookup or create (force!=0) io stream handle 809 error(ERROR_SYSTEM|3, "out of space [stream]"); 816 * push output stream np 829 * pop ouput stream 2282 error(1, "%s: %s: stream not open", ap->argv[0], ap->argv[1]); 2338 error(ERROR_SYSTEM|3, "out of space [stream path]"); 2438 error(1, "%s: %s: stream not open", ap->argv[0], ap->argv[1]);
|