Go to the documentation of this file.
28 unsigned get,
max = ((unsigned)-1 >> 2) + 1;
38 *have += (unsigned)
ret;
39 }
while (*have <
len);
64 if (
state->eof == 0) {
67 unsigned const char *q = strm->next_in;
68 unsigned n = strm->avail_in;
74 state->size - strm->avail_in, &got) == -1)
76 strm->avail_in += got;
97 if (
state->size == 0) {
113 state->strm.avail_in = 0;
125 if (strm->avail_in < 2) {
128 if (strm->avail_in == 0)
139 if (strm->avail_in > 1 &&
140 strm->next_in[0] == 31 && strm->next_in[1] == 139) {
149 if (
state->direct == 0) {
161 state->x.have = strm->avail_in;
181 had = strm->avail_out;
186 if (strm->avail_in == 0) {
195 "internal error: inflate stream corrupt");
204 strm->msg == NULL ?
"compressed data error" : strm->msg);
210 state->x.have = had - strm->avail_out;
247 strm->avail_out =
state->size << 1;
252 }
while (
state->x.have == 0 && (!
state->eof || strm->avail_in));
276 else if (
state->eof &&
state->strm.avail_in == 0)
329 else if (
state->eof &&
state->strm.avail_in == 0) {
353 state->strm.avail_out =
n;
354 state->strm.next_out = (
unsigned char *)
buf;
448 unsigned char buf[1];
507 if (
state->x.have == 0) {
570 left = (unsigned)
len - 1;
575 if (
state->x.have == 0) {
582 eol = (
unsigned char *)memchr(
state->x.
next,
'\n',
n);
593 }
while (left && eol == NULL);
619 return state->direct;
int ZEXPORT inflateEnd(z_streamp strm)
int gz_load(gz_statep state, unsigned char *buf, unsigned len, unsigned *have)
absl::string_view get(const Cont &c)
int ZEXPORT inflate(z_streamp strm, int flush)
char *ZEXPORT gzgets(gzFile file, char *buf, int len)
const grpc_generator::File * file
int gz_skip(gz_statep state, z_off64_t len)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
int ZEXPORT gzgetc(gzFile file)
unsigned char out[MAXWIN]
int gz_avail(gz_statep state)
int ZEXPORT gzungetc(int c, gzFile file)
int ZEXPORT gzclose_r(gzFile file)
int read(izstream &zs, T *x, Items items)
int ZEXPORT gzdirect(gzFile file)
int gz_decomp(gz_statep state)
int ZEXPORT inflateReset(z_streamp strm)
UniquePtr< SSL_SESSION > ret
int ZEXPORT gzgetc_(gzFile file)
int gz_look(gz_statep state)
int ZEXPORT gzread(gzFile file, voidp buf, unsigned len)
z_size_t gz_read(gz_statep state, voidp buf, z_size_t len)
z_size_t ZEXPORT gzfread(voidp buf, z_size_t size, z_size_t nitems, gzFile file)
int gz_load OF((gz_statep, unsigned char *, unsigned, unsigned *))
#define inflateInit2(strm, windowBits)
int gz_fetch(gz_statep state)
static struct rpc_state state
void ZLIB_INTERNAL gz_error(gz_statep state, int err, const char *msg)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:00