Searched refs:inbuf (Results 1 - 2 of 2) sorted by relevance
/ast/src/lib/libz/ |
H A D | gzio.c | 67 Byte *inbuf; /* input buffer */ member in struct:gz_stream 128 s->stream.next_in = s->inbuf = Z_NULL; 198 s->stream.next_in = s->inbuf = (Byte*)ALLOC((len > Z_BUFSIZE) ? len : Z_BUFSIZE); 201 zmemcpy(s->inbuf, buf, len); 203 fprintf(stderr, "AHA gz_open inbuf=< %02x %02x > len=%d offset=%d:%d\n", s->inbuf[0], s->inbuf[1], len, (int)ftell(fp), (int)lseek(fileno(fp), 0, SEEK_CUR)); 214 if (err != Z_OK || s->inbuf == Z_NULL) { 241 s->start = s->stream.next_in - s->inbuf; 336 s->stream.avail_in = (uInt)fread(s->inbuf, [all...] |
/ast/src/cmd/INIT/ |
H A D | ratz.c | 3639 Byte *inbuf; /* input buffer */ 3696 s->stream.next_in = s->inbuf = Z_NULL; 3763 s->stream.next_in = s->inbuf = (Byte*)ALLOC(Z_BUFSIZE); 3772 if (err != Z_OK || s->inbuf == Z_NULL) { 3833 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file); 3839 s->stream.next_in = s->inbuf; 3882 if (len) s->inbuf[0] = s->stream.next_in[0]; 3884 len = (uInt)fread(s->inbuf + len, 1, Z_BUFSIZE >> len, s->file); 3887 s->stream.next_in = s->inbuf; 3969 TRYFREE(s->inbuf); [all...] |
Completed in 25 milliseconds