/third_party/node/deps/brotli/c/dec/ |
H A D | bit_reader.h | 40 size_t avail_in; member 47 size_t avail_in; member 71 to->avail_in = from->avail_in; in BrotliBitReaderSaveState() 79 to->avail_in = from->avail_in; in BrotliBitReaderRestoreState() 92 if (br->avail_in > kCap) return kCap; in BrotliGetRemainingBytes() 93 return br->avail_in + (BrotliGetAvailableBits(br) >> 3); in BrotliGetRemainingBytes() 100 return TO_BROTLI_BOOL(br->avail_in >= num); in BrotliCheckInputAmount() 115 br->avail_in in BrotliFillBitWindow() [all...] |
/third_party/skia/third_party/externals/brotli/c/dec/ |
H A D | bit_reader.h | 40 size_t avail_in; member 47 size_t avail_in; member 71 to->avail_in = from->avail_in; in BrotliBitReaderSaveState() 79 to->avail_in = from->avail_in; in BrotliBitReaderRestoreState() 92 if (br->avail_in > kCap) return kCap; in BrotliGetRemainingBytes() 93 return br->avail_in + (BrotliGetAvailableBits(br) >> 3); in BrotliGetRemainingBytes() 100 return TO_BROTLI_BOOL(br->avail_in >= num); in BrotliCheckInputAmount() 115 br->avail_in in BrotliFillBitWindow() [all...] |
/third_party/node/deps/zlib/ |
H A D | gzwrite.c | 59 /* Compress whatever is at avail_in and next_in and write to the output file. 76 while (strm->avail_in) { in gz_comp() 77 put = strm->avail_in > max ? max : strm->avail_in; in gz_comp() 83 strm->avail_in -= (unsigned)writ; in gz_comp() 92 if (strm->avail_in == 0) in gz_comp() 149 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1) in gz_zero() 161 strm->avail_in = n; in gz_zero() 197 if (state->strm.avail_in == 0) in gz_write() 199 have = (unsigned)((state->strm.next_in + state->strm.avail_in) in gz_write() [all...] |
H A D | gzread.c | 40 If strm->avail_in != 0, then the current data is moved to the beginning of 50 if (strm->avail_in) { /* copy what's there to the start */ in gz_avail() 53 unsigned n = strm->avail_in; in gz_avail() 58 if (gz_load(state, state->in + strm->avail_in, in gz_avail() 59 state->size - strm->avail_in, &got) == -1) in gz_avail() 61 strm->avail_in += got; in gz_avail() 96 state->strm.avail_in = 0; in gz_look() 108 if (strm->avail_in < 2) { in gz_look() 111 if (strm->avail_in == 0) in gz_look() 122 if (strm->avail_in > in gz_look() [all...] |
H A D | uncompr.c | 46 stream.avail_in = 0; in uncompress2() 62 if (stream.avail_in == 0) { in uncompress2() 63 stream.avail_in = len > (uLong)max ? max : (uInt)len; in uncompress2() 64 len -= stream.avail_in; in uncompress2() 69 *sourceLen -= len + stream.avail_in; in uncompress2()
|
/third_party/zlib/ |
H A D | gzwrite.c | 62 /* Compress whatever is at avail_in and next_in and write to the output file. 80 while (strm->avail_in) { in gz_comp() 81 put = strm->avail_in > max ? max : strm->avail_in; in gz_comp() 87 strm->avail_in -= (unsigned)writ; in gz_comp() 96 if (strm->avail_in == 0) in gz_comp() 154 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1) in gz_zero() 166 strm->avail_in = n; in gz_zero() 203 if (state->strm.avail_in == 0) in gz_write() 205 have = (unsigned)((state->strm.next_in + state->strm.avail_in) in gz_write() [all...] |
H A D | gzread.c | 49 If strm->avail_in != 0, then the current data is moved to the beginning of 62 if (strm->avail_in) { /* copy what's there to the start */ in gz_avail() 65 unsigned n = strm->avail_in; in gz_avail() 70 if (gz_load(state, state->in + strm->avail_in, in gz_avail() 71 state->size - strm->avail_in, &got) == -1) in gz_avail() 75 strm->avail_in += got; in gz_avail() 111 state->strm.avail_in = 0; in gz_look() 123 if (strm->avail_in < 2) { in gz_look() 128 if (strm->avail_in == 0) in gz_look() 141 if (strm->avail_in > in gz_look() [all...] |
H A D | uncompr.c | 46 stream.avail_in = 0; in uncompress2() 62 if (stream.avail_in == 0) { in uncompress2() 63 stream.avail_in = len > (uLong)max ? max : (uInt)len; in uncompress2() 64 len -= stream.avail_in; in uncompress2() 69 *sourceLen -= len + stream.avail_in; in uncompress2()
|
/third_party/node/deps/v8/third_party/zlib/ |
H A D | gzwrite.c | 67 /* Compress whatever is at avail_in and next_in and write to the output file. 87 while (strm->avail_in) { 88 put = strm->avail_in > max ? max : strm->avail_in; 94 strm->avail_in -= (unsigned)writ; 154 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1) 166 strm->avail_in = n; 206 if (state->strm.avail_in == 0) 208 have = (unsigned)((state->strm.next_in + state->strm.avail_in) - 214 state->strm.avail_in [all...] |
H A D | gzread.c | 53 If strm->avail_in != 0, then the current data is moved to the beginning of 65 if (strm->avail_in) { /* copy what's there to the start */ 68 unsigned n = strm->avail_in; 73 if (gz_load(state, state->in + strm->avail_in, 74 state->size - strm->avail_in, &got) == -1) 76 strm->avail_in += got; 113 state->strm.avail_in = 0; 125 if (strm->avail_in < 2) { 128 if (strm->avail_in == 0) 139 if (strm->avail_in > [all...] |
H A D | uncompr.c | 50 stream.avail_in = 0; 66 if (stream.avail_in == 0) { 67 stream.avail_in = len > (uLong)max ? max : (uInt)len; 68 len -= stream.avail_in; 73 *sourceLen -= len + stream.avail_in;
|
/third_party/skia/third_party/externals/zlib/ |
H A D | gzwrite.c | 67 /* Compress whatever is at avail_in and next_in and write to the output file. 87 while (strm->avail_in) { 88 put = strm->avail_in > max ? max : strm->avail_in; 94 strm->avail_in -= (unsigned)writ; 154 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1) 166 strm->avail_in = n; 206 if (state->strm.avail_in == 0) 208 have = (unsigned)((state->strm.next_in + state->strm.avail_in) - 214 state->strm.avail_in [all...] |
H A D | gzread.c | 53 If strm->avail_in != 0, then the current data is moved to the beginning of 65 if (strm->avail_in) { /* copy what's there to the start */ 68 unsigned n = strm->avail_in; 73 if (gz_load(state, state->in + strm->avail_in, 74 state->size - strm->avail_in, &got) == -1) 76 strm->avail_in += got; 113 state->strm.avail_in = 0; 125 if (strm->avail_in < 2) { 128 if (strm->avail_in == 0) 139 if (strm->avail_in > [all...] |
H A D | uncompr.c | 50 stream.avail_in = 0; 66 if (stream.avail_in == 0) { 67 stream.avail_in = len > (uLong)max ? max : (uInt)len; 68 len -= stream.avail_in; 73 *sourceLen -= len + stream.avail_in;
|
/third_party/libwebsockets/lib/roles/ws/ext/ |
H A D | extension-permessage-deflate.c | 192 pmdrx->eb_in.len, priv->rx.avail_in); in lws_extension_callback_pm_deflate() 220 pmdrx->eb_in.len, priv->rx.avail_in, wsi->ws->final); in lws_extension_callback_pm_deflate() 248 if (priv->rx.avail_in && pmdrx->eb_in.token && in lws_extension_callback_pm_deflate() 250 lwsl_wsi_warn(wsi, "priv->rx.avail_in %d while getting new in", in lws_extension_callback_pm_deflate() 251 priv->rx.avail_in); in lws_extension_callback_pm_deflate() 255 if (!priv->rx.avail_in && pmdrx->eb_in.token && pmdrx->eb_in.len) { in lws_extension_callback_pm_deflate() 257 priv->rx.avail_in = (uInt)pmdrx->eb_in.len; in lws_extension_callback_pm_deflate() 275 if (!priv->rx.avail_in && in lws_extension_callback_pm_deflate() 283 priv->rx.avail_in = sizeof(trail); in lws_extension_callback_pm_deflate() 291 if (!priv->rx.avail_in) in lws_extension_callback_pm_deflate() [all...] |
/third_party/libwebsockets/win32port/zlib/ |
H A D | gzread.c | 49 gz_avail() assumes that strm->avail_in == 0. */
59 (unsigned *)&(strm->avail_in)) == -1)
67 #define NEXT() ((strm->avail_in == 0 && gz_avail(state) == -1) ? -1 : \
68 (strm->avail_in == 0 ? -1 : \
69 (strm->avail_in--, *(strm->next_in)++)))
130 state->strm.avail_in = 0;
142 if (strm->avail_in == 0) {
145 if (strm->avail_in == 0)
151 strm->avail_in--;
153 if (strm->avail_in [all...] |
H A D | gzwrite.c | 55 /* Compress whatever is at avail_in and next_in and write to the output file.
120 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1)
132 strm->avail_in = n;
189 if (strm->avail_in == 0)
191 n = state->size - strm->avail_in;
194 memcpy(strm->next_in + strm->avail_in, buf, n);
195 strm->avail_in += n;
205 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1)
209 strm->avail_in = len;
248 if (strm->avail_in < stat [all...] |
/third_party/zlib/examples/ |
H A D | zran.c | 150 if (strm.avail_in == 0) { in deflate_index_build() 151 strm.avail_in = fread(buf, 1, sizeof(buf), in); in deflate_index_build() 152 totin += strm.avail_in; in deflate_index_build() 154 if (strm.avail_in < sizeof(buf) && ferror(in)) { in deflate_index_build() 165 mode = strm.avail_in == 0 ? RAW : // empty -- will fail in deflate_index_build() 201 index = add_point(index, strm.data_type & 7, totin - strm.avail_in, in deflate_index_build() 211 (strm.avail_in || ungetc(getc(in), in) != EOF)) in deflate_index_build() 322 strm->avail_in = have >> 3; in inflatePreface() 390 if (strm.avail_in == 0) { in deflate_index_extract() 392 strm.avail_in in deflate_index_extract() [all...] |
/third_party/skia/third_party/externals/zlib/contrib/tests/ |
H A D | infcover.cc | 316 strm.avail_in = 0; in inf() 336 strm.avail_in = step; in inf() 360 have += strm.avail_in; in inf() 361 strm.avail_in = step > have ? have : step; in inf() 362 have -= strm.avail_in; in inf() 363 } while (strm.avail_in); in inf() 378 strm.avail_in = 0; in cover_support() 396 strm.avail_in = 0; in cover_support() 402 strm.avail_in = 0; in cover_support() 436 strm.avail_in in cover_wrap() [all...] |
/third_party/zlib/test/ |
H A D | infcover.c | 294 strm.avail_in = 0; in inf() 314 strm.avail_in = step; in inf() 338 have += strm.avail_in; in inf() 339 strm.avail_in = step > have ? have : step; in inf() 340 have -= strm.avail_in; in inf() 341 } while (strm.avail_in); in inf() 356 strm.avail_in = 0; in cover_support() 374 strm.avail_in = 0; in cover_support() 380 strm.avail_in = 0; in cover_support() 414 strm.avail_in in cover_wrap() [all...] |
H A D | example.c | 187 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */ in test_deflate() 222 d_stream.avail_in = 0; in test_inflate() 229 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */ in test_inflate() 272 c_stream.avail_in = (uInt)uncomprLen; in test_large_deflate() 275 if (c_stream.avail_in != 0) { in test_large_deflate() 283 c_stream.avail_in = (uInt)uncomprLen/2; in test_large_deflate() 290 c_stream.avail_in = (uInt)uncomprLen; in test_large_deflate() 319 d_stream.avail_in = (uInt)comprLen; in test_large_inflate() 364 c_stream.avail_in = 3; in test_flush() 370 c_stream.avail_in in test_flush() [all...] |
/third_party/elfutils/libdwfl/ |
H A D | gzip.c | 237 size_t avail_in = state.mapped_size; in unzip() local 249 if (avail_in == 0 && state.input_buffer != NULL) in unzip() 259 avail_in = n; in unzip() 265 if (!bigger_buffer (&state, avail_in)) in unzip() 274 ZSTD_inBuffer input = { next_in, avail_in, 0 }; in unzip() 284 avail_in -= input.pos; in unzip() 290 while (avail_in > 0 && ! ZSTD_isError (result)); in unzip() 305 z_stream z = { .next_in = mapped, .avail_in = state.mapped_size }; in unzip() 315 if (z.avail_in == 0 && state.input_buffer != NULL) in unzip() 325 z.avail_in in unzip() [all...] |
/third_party/protobuf/src/google/protobuf/io/ |
H A D | gzip_stream.cc | 58 zcontext_.avail_in = 0; in GzipInputStream() 97 } else if (zcontext_.avail_in == 0) { in Inflate() 108 zcontext_.avail_in = in_size; in Inflate() 231 zcontext_.avail_in = 0; in Init() 282 if (zcontext_.avail_in != 0) { in Next() 288 if (zcontext_.avail_in == 0) { in Next() 291 zcontext_.avail_in = input_buffer_length_; in Next() 295 // The loop in Deflate should consume all avail_in in Next() 301 GOOGLE_CHECK_GE(zcontext_.avail_in, count); in BackUp() 302 zcontext_.avail_in in BackUp() [all...] |
/third_party/zlib/contrib/pascal/ |
H A D | example.pas | 205 c_stream.avail_in := 1; 241 d_stream.avail_in := 0; 251 d_stream.avail_in := 1; 291 c_stream.avail_in := Integer(uncomprLen); 294 if c_stream.avail_in <> 0 then 300 c_stream.avail_in := Integer(comprLen div 2); 307 c_stream.avail_in := Integer(uncomprLen); 336 d_stream.avail_in := Integer(comprLen); 384 c_stream.avail_in := 3; 390 c_stream.avail_in [all...] |
/third_party/curl/lib/ |
H A D | content_encoding.c | 157 uInt len = z->avail_in < zp->trailerlen? z->avail_in: zp->trailerlen; in process_trailer() 163 z->avail_in -= len; in process_trailer() 165 if(z->avail_in) in process_trailer() 182 uInt nread = z->avail_in; in inflate_stream() 252 z->avail_in = nread; in inflate_stream() 308 z->avail_in = (uInt) nbytes; in deflate_do_write() 466 z->avail_in = (uInt) nbytes; in gzip_do_write() 497 z->avail_in = (uInt) (nbytes - hlen); in gzip_do_write() 509 z->avail_in in gzip_do_write() [all...] |