Home
last modified time | relevance | path

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

/external/brotli/c/enc/
Dencode.c1466 size_t available_in = input_size; in BrotliEncoderCompress() local
1480 &available_in, &next_in, &available_out, &next_out, &total_out); in BrotliEncoderCompress()
1558 BrotliEncoderState* s, BrotliEncoderOperation op, size_t* available_in, in BrotliEncoderCompressStreamFast() argument
1563 BROTLI_MIN(size_t, *available_in, block_size_limit)); in BrotliEncoderCompressStreamFast()
1603 (*available_in != 0 || op != BROTLI_OPERATION_PROCESS)) { in BrotliEncoderCompressStreamFast()
1604 size_t block_size = BROTLI_MIN(size_t, block_size_limit, *available_in); in BrotliEncoderCompressStreamFast()
1606 (*available_in == block_size) && (op == BROTLI_OPERATION_FINISH); in BrotliEncoderCompressStreamFast()
1608 (*available_in == block_size) && (op == BROTLI_OPERATION_FLUSH); in BrotliEncoderCompressStreamFast()
1644 *available_in -= block_size; in BrotliEncoderCompressStreamFast()
1674 BrotliEncoderState* s, size_t* available_in, const uint8_t** next_in, in ProcessMetadata() argument
[all …]
/external/brotli/python/
D_brotli.cc96 size_t available_in = input_length; in compress_stream() local
103 &available_in, &next_in, in compress_stream()
114 if (available_in || BrotliEncoderHasMoreOutput(enc)) { in compress_stream()
401 size_t available_in = input_length; in decompress_stream() local
409 &available_in, &next_in, in decompress_stream()
641 size_t available_in; in brotli_decompress() local
666 available_in = input.len; in brotli_decompress()
669 result = BrotliDecoderDecompressStream(state, &available_in, &next_in, in brotli_decompress()
/external/brotli/research/
Dbrotli_decoder.c47 size_t available_in; in main() local
69 available_in = fread(ctx.input_buffer, 1, BUFFER_SIZE, ctx.fin); in main()
81 ctx.decoder, &available_in, &next_in, &available_out, &next_out, 0); in main()
Dfind_opt_references.cc45 size_t available_in; in ReadInput() local
48 available_in = fread(storage + last_pos, 1, kFileBufferSize, fin); in ReadInput()
49 last_pos += available_in; in ReadInput()
50 } while (available_in != 0); in ReadInput()
/external/brotli/c/tools/
Dbrotli.c120 size_t available_in; member
786 context->available_in = 0; in InitializeBuffers()
797 context->available_in = in ProvideInput()
851 if (context->available_in != 0 || HasMoreInput(context)) { in DecompressFile()
863 result = BrotliDecoderDecompressStream(s, &context->available_in, in DecompressFile()
898 if (context->available_in == 0 && !is_eof) { in CompressFile()
905 &context->available_in, &context->next_in, in CompressFile()
/external/brotli/c/dec/
Ddecode.c1959 size_t available_in = encoded_size; in BrotliDecoderDecompress() local
1967 &s, &available_in, &next_in, &available_out, &next_out, &total_out); in BrotliDecoderDecompress()
1988 BrotliDecoderState* s, size_t* available_in, const uint8_t** next_in, in BrotliDecoderDecompressStream() argument
2006 br->avail_in = *available_in; in BrotliDecoderDecompressStream()
2037 br->avail_in = *available_in; in BrotliDecoderDecompressStream()
2040 } else if (*available_in != 0) { in BrotliDecoderDecompressStream()
2048 (*available_in)--; in BrotliDecoderDecompressStream()
2057 *available_in = br->avail_in; in BrotliDecoderDecompressStream()
2058 while (*available_in) { in BrotliDecoderDecompressStream()
2062 (*available_in)--; in BrotliDecoderDecompressStream()
[all …]
/external/brotli/c/include/brotli/
Dencode.h360 BrotliEncoderState* state, BrotliEncoderOperation op, size_t* available_in,
Ddecode.h247 BrotliDecoderState* state, size_t* available_in, const uint8_t** next_in,