Home
last modified time | relevance | path

Searched refs:next_out (Results 1 – 25 of 166) sorted by relevance

1234567

/third_party/protobuf/src/google/protobuf/io/
Dgzip_stream.cc68 zcontext_.next_out = static_cast<Bytef*>(output_buffer_); in GzipInputStream()
103 zcontext_.next_out = NULL; in Inflate()
116 zcontext_.next_out = static_cast<Bytef*>(output_buffer_); in Inflate()
125 *size = ((uintptr_t)zcontext_.next_out) - ((uintptr_t)output_position_); in DoNextOutput()
126 output_position_ = zcontext_.next_out; in DoNextOutput()
133 if ((!ok) || (zcontext_.next_out == NULL)) { in Next()
136 if (zcontext_.next_out != output_position_) { in Next()
141 if (zcontext_.next_out != NULL) { in Next()
159 if ((zerror_ == Z_STREAM_END) && (zcontext_.next_out == NULL)) { in Next()
190 if (zcontext_.next_out != NULL && output_position_ != NULL) { in ByteCount()
[all …]
/third_party/skia/third_party/externals/brotli/research/
Dbrotli_decoder.c51 uint8_t* next_out; in main() local
66 next_out = ctx.output_buffer; in main()
77 next_out = ctx.output_buffer; in main()
82 ctx.decoder, &available_in, &next_in, &available_out, &next_out, 0); in main()
84 if (next_out != ctx.output_buffer) { in main()
85 fwrite(ctx.output_buffer, 1, next_out - ctx.output_buffer, ctx.fout); in main()
/third_party/zlib/contrib/delphi/
DZLib.pas28 next_out: PChar; // next output byte should be put here
300 strm.next_out := OutBuf;
309 strm.next_out := PChar(Integer(OutBuf) + (Integer(strm.next_out) - Integer(P)));
343 strm.next_out := OutBuf;
352 strm.next_out := PChar(Integer(OutBuf) + (Integer(strm.next_out) - Integer(P)));
376 strm.next_out := OutBuf;
413 FZRec.next_out := FBuffer;
428 FZRec.next_out := FBuffer;
455 FZRec.next_out := FBuffer;
500 FZRec.next_out := @Buffer;
/third_party/libwebsockets/lib/roles/ws/ext/
Dextension-permessage-deflate.c260 priv->rx.next_out = priv->buf_rx_inflated + LWS_PRE; in lws_extension_callback_pm_deflate()
261 pmdrx->eb_out.token = priv->rx.next_out; in lws_extension_callback_pm_deflate()
353 pmdrx->eb_out.len = lws_ptr_diff(priv->rx.next_out, in lws_extension_callback_pm_deflate()
425 priv->tx.next_out = priv->buf_tx_deflated + LWS_PRE + 5; in lws_extension_callback_pm_deflate()
426 pmdrx->eb_out.token = priv->tx.next_out; in lws_extension_callback_pm_deflate()
464 pmdrx->eb_out.len = lws_ptr_diff(priv->tx.next_out, in lws_extension_callback_pm_deflate()
479 priv->tx.next_out -= 4; in lws_extension_callback_pm_deflate()
483 assert(priv->tx.next_out[0] == 0x00 && in lws_extension_callback_pm_deflate()
484 priv->tx.next_out[1] == 0x00 && in lws_extension_callback_pm_deflate()
485 priv->tx.next_out[2] == 0xff && in lws_extension_callback_pm_deflate()
[all …]
/third_party/python/Include/internal/
Dpycore_blocks_output_buffer.h104 void **next_out) in _BlocksOutputBuffer_InitAndGrow() argument
137 *next_out = PyBytes_AS_STRING(b); in _BlocksOutputBuffer_InitAndGrow()
152 void **next_out) in _BlocksOutputBuffer_InitWithSize() argument
178 *next_out = PyBytes_AS_STRING(b); in _BlocksOutputBuffer_InitWithSize()
189 void **next_out, in _BlocksOutputBuffer_Grow() argument
243 *next_out = PyBytes_AS_STRING(b); in _BlocksOutputBuffer_Grow()
/third_party/python/Modules/
Dzlibmodule.c23 Bytef **next_out, uint32_t *avail_out) in OutputBuffer_InitAndGrow() argument
28 buffer, max_length, (void**) next_out); in OutputBuffer_InitAndGrow()
37 Bytef **next_out, uint32_t *avail_out) in OutputBuffer_Grow() argument
42 buffer, (void**) next_out, (Py_ssize_t) *avail_out); in OutputBuffer_Grow()
92 Bytef **next_out, uint32_t *avail_out) in OutputBuffer_WindowInitWithSize() argument
95 buffer, init_size, (void**) next_out); in OutputBuffer_WindowInitWithSize()
103 window->next_posi = *next_out + window_size; in OutputBuffer_WindowInitWithSize()
114 Bytef **next_out, uint32_t *avail_out) in OutputBuffer_WindowGrow() argument
130 *next_out = window->next_posi; in OutputBuffer_WindowGrow()
142 buffer, (void**) next_out, (Py_ssize_t) *avail_out); in OutputBuffer_WindowGrow()
[all …]
D_bz2module.c22 char **next_out, uint32_t *avail_out) in OutputBuffer_InitAndGrow() argument
27 buffer, max_length, (void**) next_out); in OutputBuffer_InitAndGrow()
36 char **next_out, uint32_t *avail_out) in OutputBuffer_Grow() argument
41 buffer, (void**) next_out, (Py_ssize_t) *avail_out); in OutputBuffer_Grow()
180 if (OutputBuffer_InitAndGrow(&buffer, -1, &c->bzs.next_out, &c->bzs.avail_out) < 0) { in compress()
201 if (OutputBuffer_Grow(&buffer, &c->bzs.next_out, &c->bzs.avail_out) < 0) { in compress()
445 if (OutputBuffer_InitAndGrow(&buffer, max_length, &bzs->next_out, &bzs->avail_out) < 0) { in decompress_buf()
475 if (OutputBuffer_Grow(&buffer, &bzs->next_out, &bzs->avail_out) < 0) { in decompress_buf()
/third_party/skia/third_party/externals/zlib/contrib/tests/
Dutils_unittest.cc111 comp_strm.next_out = comp_buf; in TEST()
129 decomp_strm.next_out = decomp_buf; in TEST()
190 stream.next_out = compressed.data(); in TEST()
204 stream.next_out = decompressed.data(); in TEST()
259 stream.next_out = compressed.data(); in TEST()
273 stream.next_out = decompressed.data(); in TEST()
388 stream.next_out = compressed; in TEST()
412 stream.next_out = decompressed; in TEST()
508 stream.next_out = compressed.data(); in TEST()
/third_party/elfutils/libdwfl/
Dgzip.c238 void *next_out = NULL; in unzip() local
264 ptrdiff_t pos = (void *) next_out - state.buffer; in unzip()
270 next_out = state.buffer + pos; in unzip()
275 ZSTD_outBuffer output = { next_out, avail_out, 0 }; in unzip()
281 next_out += output.pos; in unzip()
330 ptrdiff_t pos = (void *) z.next_out - state.buffer; in unzip()
336 z.next_out = state.buffer + pos; in unzip()
/third_party/zlib/contrib/pascal/
Dexample.pas199 c_stream.next_out := compr;
242 d_stream.next_out := uncompr;
284 c_stream.next_out := compr;
343 d_stream.next_out := uncompr; (* discard the output *)
383 c_stream.next_out := compr;
424 d_stream.next_out := uncompr;
465 c_stream.next_out := compr;
501 d_stream.next_out := uncompr;
/third_party/zlib/examples/
Dfitblk.c105 inf->next_out = raw; in recompress()
157 def.next_out = blk; in main()
196 def.next_out = tmp; in main()
211 def.next_out = blk; in main()
Dzran.c185 strm.next_out = window; in deflate_index_build()
297 strm.next_out = discard; in deflate_index_extract()
302 strm.next_out = discard; in deflate_index_extract()
307 strm.next_out = buf; in deflate_index_extract()
/third_party/zlib/test/
Dexample.c216 c_stream.next_out = compr;
253 d_stream.next_out = uncompr;
293 c_stream.next_out = compr;
354 d_stream.next_out = uncompr; /* discard the output */
391 c_stream.next_out = compr;
432 d_stream.next_out = uncompr;
475 c_stream.next_out = compr;
512 d_stream.next_out = uncompr;
/third_party/openssl/crypto/comp/
Dc_zlib.c135 state->istream.next_out = Z_NULL; in zlib_stateful_init()
144 state->ostream.next_out = Z_NULL; in zlib_stateful_init()
177 state->ostream.next_out = out; in zlib_stateful_compress_block()
198 state->istream.next_out = out; in zlib_stateful_expand_block()
393 zin->next_out = (unsigned char *)out; in bio_zlib_read()
455 zout->next_out = ctx->obuf; in bio_zlib_write()
485 zout->next_out = ctx->obuf; in bio_zlib_write()
532 zout->next_out = ctx->obuf; in bio_zlib_flush()
/third_party/node/deps/openssl/openssl/crypto/comp/
Dc_zlib.c135 state->istream.next_out = Z_NULL; in zlib_stateful_init()
144 state->ostream.next_out = Z_NULL; in zlib_stateful_init()
177 state->ostream.next_out = out; in zlib_stateful_compress_block()
198 state->istream.next_out = out; in zlib_stateful_expand_block()
393 zin->next_out = (unsigned char *)out; in bio_zlib_read()
455 zout->next_out = ctx->obuf; in bio_zlib_write()
485 zout->next_out = ctx->obuf; in bio_zlib_write()
532 zout->next_out = ctx->obuf; in bio_zlib_flush()
/third_party/skia/third_party/externals/brotli/python/
D_brotli.cc99 uint8_t* next_out = NULL; in compress_stream() local
104 &available_out, &next_out, NULL); in compress_stream()
404 uint8_t* next_out = NULL; in decompress_stream() local
410 &available_out, &next_out, NULL); in decompress_stream()
671 const uint8_t* next_out = BrotliDecoderTakeOutput(state, &available_out); in brotli_decompress() local
673 output.insert(output.end(), next_out, next_out + available_out); in brotli_decompress()
/third_party/skia/third_party/externals/brotli/c/fuzz/
Ddecode_fuzzer.c43 uint8_t* next_out = buffer; in LLVMFuzzerTestOneInput() local
45 state, &avail_in, &next_in, &avail_out, &next_out, &total_out); in LLVMFuzzerTestOneInput()
/third_party/skia/tests/
DPDFDeflateWStreamTest.cpp45 flateData.next_out = outputBuffer; in stream_inflate()
71 flateData.next_out = outputBuffer; in stream_inflate()
94 flateData.next_out = outputBuffer; in stream_inflate()
/third_party/skia/third_party/externals/freetype/src/bzip2/
Dftbzip2.c199 bzstream->next_out = NULL; in ft_bzip2_file_done()
226 bzstream->next_out = (char*)zip->buffer; in ft_bzip2_file_reset()
288 bzstream->next_out = (char*)zip->cursor; in ft_bzip2_file_fill_output()
307 zip->limit = (FT_Byte*)bzstream->next_out; in ft_bzip2_file_fill_output()
/third_party/skia/third_party/externals/freetype/src/gzip/
Dinfutil.c32 p = z->next_out; in inflate_flush()
81 z->next_out = p; in inflate_flush()
/third_party/node/deps/zlib/
Dgzwrite.c53 strm->next_out = state->out; in gz_init()
54 state->x.next = strm->next_out; in gz_init()
105 while (strm->next_out > state->x.next) { in gz_comp()
106 put = strm->next_out - state->x.next > (int)max ? max : in gz_comp()
107 (unsigned)(strm->next_out - state->x.next); in gz_comp()
117 strm->next_out = state->out; in gz_comp()
/third_party/node/deps/brotli/c/enc/
Dencode.c1509 uint8_t* next_out = encoded_buffer; in BrotliEncoderCompress() local
1520 &available_in, &next_in, &available_out, &next_out, &total_out); in BrotliEncoderCompress()
1566 size_t* available_out, uint8_t** next_out, size_t* total_out) { in InjectFlushOrPushOutput() argument
1576 memcpy(*next_out, s->next_out_, copy_output_size); in InjectFlushOrPushOutput()
1577 *next_out += copy_output_size; in InjectFlushOrPushOutput()
1599 const uint8_t** next_in, size_t* available_out, uint8_t** next_out, in BrotliEncoderCompressStreamFast() argument
1640 if (InjectFlushOrPushOutput(s, available_out, next_out, total_out)) { in BrotliEncoderCompressStreamFast()
1667 storage = *next_out; in BrotliEncoderCompressStreamFast()
1697 *next_out += out_bytes; in BrotliEncoderCompressStreamFast()
1723 size_t* available_out, uint8_t** next_out, size_t* total_out) { in ProcessMetadata() argument
[all …]
/third_party/skia/third_party/externals/brotli/c/enc/
Dencode.c1509 uint8_t* next_out = encoded_buffer; in BrotliEncoderCompress() local
1520 &available_in, &next_in, &available_out, &next_out, &total_out); in BrotliEncoderCompress()
1566 size_t* available_out, uint8_t** next_out, size_t* total_out) { in InjectFlushOrPushOutput() argument
1576 memcpy(*next_out, s->next_out_, copy_output_size); in InjectFlushOrPushOutput()
1577 *next_out += copy_output_size; in InjectFlushOrPushOutput()
1599 const uint8_t** next_in, size_t* available_out, uint8_t** next_out, in BrotliEncoderCompressStreamFast() argument
1640 if (InjectFlushOrPushOutput(s, available_out, next_out, total_out)) { in BrotliEncoderCompressStreamFast()
1667 storage = *next_out; in BrotliEncoderCompressStreamFast()
1697 *next_out += out_bytes; in BrotliEncoderCompressStreamFast()
1723 size_t* available_out, uint8_t** next_out, size_t* total_out) { in ProcessMetadata() argument
[all …]
/third_party/skia/third_party/externals/zlib/contrib/tests/fuzzers/
Dstreaming_inflate_fuzzer.cc34 comp_strm.next_out = comp_buf; in LLVMFuzzerTestOneInput()
54 decomp_strm.next_out = decomp_buf; in LLVMFuzzerTestOneInput()
/third_party/node/deps/brotli/c/dec/
Ddecode.c1268 BrotliDecoderState* s, size_t* available_out, uint8_t** next_out, in WriteRingBuffer() argument
1280 if (next_out && !*next_out) { in WriteRingBuffer()
1281 *next_out = start; in WriteRingBuffer()
1283 if (next_out) { in WriteRingBuffer()
1284 memcpy(*next_out, start, num_written); in WriteRingBuffer()
1285 *next_out += num_written; in WriteRingBuffer()
1356 size_t* available_out, uint8_t** next_out, size_t* total_out, in CopyUncompressedBlockToOutput() argument
1391 s, available_out, next_out, total_out, BROTLI_FALSE); in CopyUncompressedBlockToOutput()
2044 uint8_t* next_out = decoded_buffer; in BrotliDecoderDecompress() local
2049 &s, &available_in, &next_in, &available_out, &next_out, &total_out); in BrotliDecoderDecompress()
[all …]

1234567