Home
last modified time | relevance | path

Searched refs:BROTLI_BOOL (Results 1 – 25 of 41) sorted by relevance

12

/external/brotli/c/tools/
Dbrotli.c95 BROTLI_BOOL force_overwrite;
96 BROTLI_BOOL junk_source;
97 BROTLI_BOOL copy_stat;
98 BROTLI_BOOL write_to_stdout;
99 BROTLI_BOOL test_integrity;
100 BROTLI_BOOL decompress;
101 BROTLI_BOOL large_window;
114 BROTLI_BOOL iterator_error;
138 static BROTLI_BOOL ParseInt(const char* s, int low, int high, int* result) { in ParseInt()
185 BROTLI_BOOL command_set = BROTLI_FALSE; in ParseParams()
[all …]
/external/brotli/c/include/brotli/
Dencode.h245 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderSetParameter(
312 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderCompress(
380 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderCompressStream(
393 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderIsFinished(BrotliEncoderState* state);
402 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderHasMoreOutput(
Ddecode.h154 BROTLI_DEC_API BROTLI_BOOL BrotliDecoderSetParameter(
257 BROTLI_DEC_API BROTLI_BOOL BrotliDecoderHasMoreOutput(
301 BROTLI_DEC_API BROTLI_BOOL BrotliDecoderIsUsed(const BrotliDecoderState* state);
311 BROTLI_DEC_API BROTLI_BOOL BrotliDecoderIsFinished(
Dtypes.h49 #define BROTLI_BOOL int macro
/external/brotli/python/
D_brotli.cc90 static BROTLI_BOOL compress_stream(BrotliEncoderState* enc, BrotliEncoderOperation op, in compress_stream()
93 BROTLI_BOOL ok = BROTLI_TRUE; in compress_stream()
227 BROTLI_BOOL ok = BROTLI_TRUE; in brotli_Compressor_process()
230 ok = (BROTLI_BOOL)PyArg_ParseTuple(args, "y*:process", &input); in brotli_Compressor_process()
232 ok = (BROTLI_BOOL)PyArg_ParseTuple(args, "s*:process", &input); in brotli_Compressor_process()
274 BROTLI_BOOL ok = BROTLI_TRUE; in brotli_Compressor_flush()
314 BROTLI_BOOL ok = BROTLI_TRUE; in brotli_Compressor_finish()
395 static BROTLI_BOOL decompress_stream(BrotliDecoderState* dec, in decompress_stream()
398 BROTLI_BOOL ok = BROTLI_TRUE; in decompress_stream()
496 BROTLI_BOOL ok = BROTLI_TRUE; in brotli_Decompressor_process()
[all …]
/external/brotli/c/enc/
Dbrotli_bit_stream.h46 uint8_t prev_byte, uint8_t prev_byte2, BROTLI_BOOL is_last,
57 BROTLI_BOOL is_last, const BrotliEncoderParams* params,
67 BROTLI_BOOL is_last, const BrotliEncoderParams* params,
76 BROTLI_BOOL is_final_block, const uint8_t* BROTLI_RESTRICT input,
Dhash.h40 BROTLI_BOOL is_prepared_;
136 static BROTLI_INLINE BROTLI_BOOL TestStaticDictionaryItem( in TestStaticDictionaryItem()
179 HasherSearchResult* out, BROTLI_BOOL shallow) { in SearchInStaticDictionary()
189 BROTLI_BOOL item_matches = TestStaticDictionaryItem( in SearchInStaticDictionary()
407 BROTLI_BOOL one_shot, const size_t input_size) { in HasherSize()
422 size_t input_size, BROTLI_BOOL is_last) { in HasherSetup()
423 BROTLI_BOOL one_shot = (position == 0 && is_last); in HasherSetup()
468 BROTLI_BOOL is_last) { in InitOrStitchToPreviousBlock()
Dencode.c127 BROTLI_BOOL is_last_block_emitted_;
128 BROTLI_BOOL is_initialized_;
146 BROTLI_BOOL BrotliEncoderSetParameter( in BrotliEncoderSetParameter()
264 static void EncodeWindowBits(int lgwin, BROTLI_BOOL large_window, in EncodeWindowBits()
402 static BROTLI_BOOL ShouldUseComplexStaticContextMap(const uint8_t* input, in ShouldUseComplexStaticContextMap()
513 static BROTLI_BOOL ShouldCompress( in ShouldCompress()
558 const BROTLI_BOOL is_last, in WriteMetaBlockInternal()
688 static BROTLI_BOOL EnsureInitialized(BrotliEncoderState* s) { in EnsureInitialized()
907 static BROTLI_BOOL UpdateLastProcessedPos(BrotliEncoderState* s) { in UpdateLastProcessedPos()
960 static BROTLI_BOOL EncodeData( in EncodeData()
[all …]
Dstatic_dict.c42 static BROTLI_INLINE BROTLI_BOOL IsMatch(const BrotliDictionary* dictionary, in IsMatch()
77 BROTLI_BOOL BrotliFindAllStaticDictionaryMatches( in BrotliFindAllStaticDictionaryMatches()
80 BROTLI_BOOL has_found_match = BROTLI_FALSE; in BrotliFindAllStaticDictionaryMatches()
83 BROTLI_BOOL end = !offset; in BrotliFindAllStaticDictionaryMatches()
279 const BROTLI_BOOL is_all_caps = in BrotliFindAllStaticDictionaryMatches()
326 BROTLI_BOOL is_space = TO_BROTLI_BOOL(data[0] == ' '); in BrotliFindAllStaticDictionaryMatches()
328 BROTLI_BOOL end = !offset; in BrotliFindAllStaticDictionaryMatches()
379 const BROTLI_BOOL is_all_caps = in BrotliFindAllStaticDictionaryMatches()
423 BROTLI_BOOL end = !offset; in BrotliFindAllStaticDictionaryMatches()
452 BROTLI_BOOL end = !offset; in BrotliFindAllStaticDictionaryMatches()
Dparams.h39 BROTLI_BOOL disable_literal_context_modeling;
40 BROTLI_BOOL large_window;
Dentropy_encode.c23 BROTLI_BOOL BrotliSetDepth( in BrotliSetDepth()
48 static BROTLI_INLINE BROTLI_BOOL SortHuffmanTree( in SortHuffmanTree()
376 BROTLI_BOOL* use_rle_for_non_zero, in DecideOverRleUse()
377 BROTLI_BOOL* use_rle_for_zero) { in DecideOverRleUse()
412 BROTLI_BOOL use_rle_for_non_zero = BROTLI_FALSE; in BrotliWriteHuffmanTree()
413 BROTLI_BOOL use_rle_for_zero = BROTLI_FALSE; in BrotliWriteHuffmanTree()
Dhash_composite_inc.h39 BROTLI_BOOL fresh;
58 HashComposite* BROTLI_RESTRICT self, BROTLI_BOOL one_shot, in FN()
73 const BrotliEncoderParams* params, BROTLI_BOOL one_shot, in FN()
Dentropy_encode.h34 BROTLI_INTERNAL BROTLI_BOOL BrotliSetDepth(
81 typedef BROTLI_BOOL (*HuffmanTreeComparator)(
Dutf8_util.h24 BROTLI_INTERNAL BROTLI_BOOL BrotliIsMostlyUTF8(
Dstatic_dict.h31 BROTLI_INTERNAL BROTLI_BOOL BrotliFindAllStaticDictionaryMatches(
Dcompress_fragment_two_pass.c58 static BROTLI_INLINE BROTLI_BOOL IsMatch(const uint8_t* p1, const uint8_t* p2, in IsMatch()
223 size_t len, BROTLI_BOOL is_uncompressed, size_t* storage_ix, in BrotliStoreMetaBlockHeader()
524 static BROTLI_BOOL ShouldCompress( in ShouldCompress()
559 BROTLI_BOOL is_last, uint32_t* command_buf, uint8_t* literal_buf, in BrotliCompressFragmentTwoPassImpl()
601 BROTLI_BOOL is_last, uint32_t* command_buf, uint8_t* literal_buf, \
612 BROTLI_BOOL is_last, uint32_t* command_buf, uint8_t* literal_buf, in FOR_TABLE_BITS_()
Dcompress_fragment.c58 static BROTLI_INLINE BROTLI_BOOL IsMatch(const uint8_t* p1, const uint8_t* p2) { in IsMatch()
329 size_t len, BROTLI_BOOL is_uncompressed, size_t* storage_ix, in BrotliStoreMetaBlockHeader()
372 static BROTLI_BOOL ShouldMergeBlock( in ShouldMergeBlock()
393 static BROTLI_INLINE BROTLI_BOOL ShouldUseUncompressedMode( in ShouldUseUncompressedMode()
427 BROTLI_BOOL is_last, int* table, size_t table_bits, uint8_t cmd_depth[128], in BrotliCompressFragmentFastImpl()
736 BROTLI_BOOL is_last, int* table, uint8_t cmd_depth[128], \
747 BROTLI_BOOL is_last, int* table, size_t table_size, uint8_t cmd_depth[128], in FOR_TABLE_BITS_()
Dcompress_fragment_two_pass.h42 BROTLI_BOOL is_last,
Dcompress_fragment.h48 BROTLI_BOOL is_last,
Dcommand.h63 uint16_t inscode, uint16_t copycode, BROTLI_BOOL use_last_distance) { in CombineLengthCodes()
84 BROTLI_BOOL use_last_distance, in GetLengthCode()
/external/brotli/c/dec/
Dbit_reader.h58 BROTLI_INTERNAL BROTLI_BOOL BrotliWarmupBitReader(BrotliBitReader* const br);
63 BROTLI_INTERNAL BROTLI_NOINLINE BROTLI_BOOL BrotliSafeReadBits32Slow(
98 static BROTLI_INLINE BROTLI_BOOL BrotliCheckInputAmount( in BrotliCheckInputAmount()
165 static BROTLI_INLINE BROTLI_BOOL BrotliPullByte(BrotliBitReader* const br) { in BrotliPullByte()
206 static BROTLI_INLINE BROTLI_BOOL BrotliSafeGetBits( in BrotliSafeGetBits()
291 static BROTLI_INLINE BROTLI_BOOL BrotliSafeReadBits( in BrotliSafeReadBits()
304 static BROTLI_INLINE BROTLI_BOOL BrotliSafeReadBits32( in BrotliSafeReadBits32()
322 static BROTLI_INLINE BROTLI_BOOL BrotliJumpToByteBoundary(BrotliBitReader* br) { in BrotliJumpToByteBoundary()
Dbit_reader.c34 BROTLI_BOOL BrotliWarmupBitReader(BrotliBitReader* const br) { in BrotliWarmupBitReader()
57 BROTLI_BOOL BrotliSafeReadBits32Slow(BrotliBitReader* const br, in BrotliSafeReadBits32Slow()
Ddecode.c61 BROTLI_BOOL BrotliDecoderSetParameter( in BrotliDecoderSetParameter()
137 BROTLI_BOOL large_window = s->large_window; in DecodeWindowBits()
375 static BROTLI_NOINLINE BROTLI_BOOL SafeDecodeSymbol( in SafeDecodeSymbol()
415 static BROTLI_INLINE BROTLI_BOOL SafeReadSymbol( in SafeReadSymbol()
647 BROTLI_BOOL get_byte = BROTLI_FALSE; in SafeReadSymbolCodeLengths()
884 static BROTLI_INLINE BROTLI_BOOL SafeReadBlockLength( in SafeReadBlockLength()
1055 BROTLI_BOOL skip_preamble = (code != 0xFFFF); in DecodeContextMap()
1120 static BROTLI_INLINE BROTLI_BOOL DecodeBlockTypeAndLength( in DecodeBlockTypeAndLength()
1197 static BROTLI_INLINE BROTLI_BOOL DecodeLiteralBlockSwitchInternal( in DecodeLiteralBlockSwitchInternal()
1210 static BROTLI_BOOL BROTLI_NOINLINE SafeDecodeLiteralBlockSwitch( in SafeDecodeLiteralBlockSwitch()
[all …]
Dstate.h344 BROTLI_INTERNAL BROTLI_BOOL BrotliDecoderStateInit(BrotliDecoderState* s,
350 BROTLI_INTERNAL BROTLI_BOOL BrotliDecoderHuffmanTreeGroupInit(
Dstate.c18 BROTLI_BOOL BrotliDecoderStateInit(BrotliDecoderState* s, in BrotliDecoderStateInit()
136 BROTLI_BOOL BrotliDecoderHuffmanTreeGroupInit(BrotliDecoderState* s, in BrotliDecoderHuffmanTreeGroupInit()

12