Home
last modified time | relevance | path

Searched refs:available_out (Results 1 – 8 of 8) sorted by relevance

/external/bsdiff/
Dbrotli_decompressor.cc34 size_t available_out = bytes_to_output; in Read() local
36 while (available_out > 0) { in Read()
40 brotli_decoder_state_, &available_in_, &next_in_, &available_out, in Read()
56 if (available_out > 0) { in Read()
57 LOG(ERROR) << "Expected to read " << available_out in Read()
/external/brotli/python/
D_brotli.cc98 size_t available_out = 0; in compress_stream() local
104 &available_out, &next_out, NULL); in compress_stream()
403 size_t available_out = 0; in decompress_stream() local
410 &available_out, &next_out, NULL); in decompress_stream()
668 size_t available_out = 0; in brotli_decompress() local
670 &available_out, 0, 0); in brotli_decompress()
671 const uint8_t* next_out = BrotliDecoderTakeOutput(state, &available_out); in brotli_decompress()
672 if (available_out != 0) in brotli_decompress()
673 output.insert(output.end(), next_out, next_out + available_out); in brotli_decompress()
/external/brotli/research/
Dbrotli_decoder.c49 size_t available_out = BUFFER_SIZE; in main() local
75 available_out = BUFFER_SIZE; in main()
81 ctx.decoder, &available_in, &next_in, &available_out, &next_out, 0); in main()
/external/brotli/c/enc/
Dencode.c1468 size_t available_out = *encoded_size; in BrotliEncoderCompress() local
1480 &available_in, &next_in, &available_out, &next_out, &total_out); in BrotliEncoderCompress()
1526 size_t* available_out, uint8_t** next_out, size_t* total_out) { in InjectFlushOrPushOutput() argument
1533 if (s->available_out_ != 0 && *available_out != 0) { in InjectFlushOrPushOutput()
1535 BROTLI_MIN(size_t, s->available_out_, *available_out); in InjectFlushOrPushOutput()
1538 *available_out -= copy_output_size; in InjectFlushOrPushOutput()
1559 const uint8_t** next_in, size_t* available_out, uint8_t** next_out, in BrotliEncoderCompressStreamFast() argument
1594 if (InjectFlushOrPushOutput(s, available_out, next_out, total_out)) { in BrotliEncoderCompressStreamFast()
1620 if (max_out_size <= *available_out) { in BrotliEncoderCompressStreamFast()
1647 BROTLI_DCHECK(out_bytes <= *available_out); in BrotliEncoderCompressStreamFast()
[all …]
/external/brotli/c/dec/
Ddecode.c1258 BrotliDecoderState* s, size_t* available_out, uint8_t** next_out, in WriteRingBuffer() argument
1263 size_t num_written = *available_out; in WriteRingBuffer()
1278 *available_out -= num_written; in WriteRingBuffer()
1346 size_t* available_out, uint8_t** next_out, size_t* total_out, in CopyUncompressedBlockToOutput() argument
1381 s, available_out, next_out, total_out, BROTLI_FALSE); in CopyUncompressedBlockToOutput()
1961 size_t available_out = *decoded_size; in BrotliDecoderDecompress() local
1967 &s, &available_in, &next_in, &available_out, &next_out, &total_out); in BrotliDecoderDecompress()
1989 size_t* available_out, uint8_t** next_out, size_t* total_out) { in BrotliDecoderDecompressStream() argument
2000 if (*available_out && (!next_out || !*next_out)) { in BrotliDecoderDecompressStream()
2004 if (!*available_out) next_out = 0; in BrotliDecoderDecompressStream()
[all …]
/external/brotli/c/tools/
Dbrotli.c122 size_t available_out; member
788 context->available_out = kFileBufferSize; in InitializeBuffers()
825 context->available_out = kFileBufferSize; in ProvideOutput()
832 context->available_out = 0; in FlushOutput()
864 &context->next_in, &context->available_out, &context->next_out, 0); in DecompressFile()
906 &context->available_out, &context->next_out, NULL)) { in CompressFile()
913 if (context->available_out == 0) { in CompressFile()
/external/brotli/c/include/brotli/
Dencode.h361 const uint8_t** next_in, size_t* available_out, uint8_t** next_out,
Ddecode.h248 size_t* available_out, uint8_t** next_out, size_t* total_out);