/external/brotli/include/brotli/ |
D | encode.h | 205 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderSetParameter( 241 BROTLI_DEPRECATED BROTLI_ENC_API BROTLI_BOOL BrotliEncoderWriteData( 242 BrotliEncoderState* state, const BROTLI_BOOL is_last, 243 const BROTLI_BOOL force_flush, size_t* out_size, uint8_t** output); 304 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderCompress( 372 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderCompressStream( 385 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderIsFinished(BrotliEncoderState* state); 394 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderHasMoreOutput(
|
D | decode.h | 252 BROTLI_DEC_API BROTLI_BOOL BrotliDecoderHasMoreOutput( 296 BROTLI_DEC_API BROTLI_BOOL BrotliDecoderIsUsed(const BrotliDecoderState* state); 306 BROTLI_BOOL BrotliDecoderIsFinished(const BrotliDecoderState* state);
|
D | types.h | 49 #define BROTLI_BOOL int macro
|
/external/brotli/enc/ |
D | brotli_bit_stream.h | 51 BROTLI_BOOL is_final_block, 70 BROTLI_BOOL is_last, 85 BROTLI_BOOL is_last, 96 BROTLI_BOOL is_final_block, const uint8_t* input, size_t position,
|
D | hash.h | 45 BROTLI_BOOL is_prepared_; 148 static BROTLI_INLINE BROTLI_BOOL TestStaticDictionaryItem( in TestStaticDictionaryItem() 187 static BROTLI_INLINE BROTLI_BOOL SearchInStaticDictionary( in SearchInStaticDictionary() 190 size_t max_backward, HasherSearchResult* out, BROTLI_BOOL shallow) { in SearchInStaticDictionary() 193 BROTLI_BOOL is_match_found = BROTLI_FALSE; in SearchInStaticDictionary() 203 BROTLI_BOOL item_matches = TestStaticDictionaryItem( in SearchInStaticDictionary() 360 BROTLI_BOOL one_shot, const size_t input_size) { in HasherSize() 377 size_t input_size, BROTLI_BOOL is_last) { in HasherSetup() 380 BROTLI_BOOL one_shot = (position == 0 && is_last); in HasherSetup() 450 BROTLI_BOOL is_last) { in InitOrStitchToPreviousBlock()
|
D | encode.c | 111 BROTLI_BOOL is_last_block_emitted_; 112 BROTLI_BOOL is_initialized_; 115 static BROTLI_BOOL EnsureInitialized(BrotliEncoderState* s); 133 BROTLI_BOOL BrotliEncoderSetParameter( in BrotliEncoderSetParameter() 387 static BROTLI_BOOL ShouldUseComplexStaticContextMap(const uint8_t* input, in ShouldUseComplexStaticContextMap() 501 static BROTLI_BOOL ShouldCompress( in ShouldCompress() 531 const BROTLI_BOOL is_last, in WriteMetaBlockInternal() 646 static BROTLI_BOOL EnsureInitialized(BrotliEncoderState* s) { in EnsureInitialized() 867 static BROTLI_BOOL UpdateLastProcessedPos(BrotliEncoderState* s) { in UpdateLastProcessedPos() 886 static BROTLI_BOOL EncodeData( in EncodeData() [all …]
|
D | static_dict.c | 46 static BROTLI_INLINE BROTLI_BOOL IsMatch(const BrotliDictionary* dictionary, in IsMatch() 81 BROTLI_BOOL BrotliFindAllStaticDictionaryMatches( in BrotliFindAllStaticDictionaryMatches() 84 BROTLI_BOOL has_found_match = BROTLI_FALSE; in BrotliFindAllStaticDictionaryMatches() 87 BROTLI_BOOL end = !offset; in BrotliFindAllStaticDictionaryMatches() 278 const BROTLI_BOOL is_all_caps = in BrotliFindAllStaticDictionaryMatches() 325 BROTLI_BOOL is_space = TO_BROTLI_BOOL(data[0] == ' '); in BrotliFindAllStaticDictionaryMatches() 327 BROTLI_BOOL end = !offset; in BrotliFindAllStaticDictionaryMatches() 375 const BROTLI_BOOL is_all_caps = in BrotliFindAllStaticDictionaryMatches() 419 BROTLI_BOOL end = !offset; in BrotliFindAllStaticDictionaryMatches() 448 BROTLI_BOOL end = !offset; in BrotliFindAllStaticDictionaryMatches()
|
D | entropy_encode.c | 21 BROTLI_BOOL BrotliSetDepth( in BrotliSetDepth() 46 static BROTLI_INLINE BROTLI_BOOL SortHuffmanTree( in SortHuffmanTree() 374 BROTLI_BOOL *use_rle_for_non_zero, in DecideOverRleUse() 375 BROTLI_BOOL *use_rle_for_zero) { in DecideOverRleUse() 410 BROTLI_BOOL use_rle_for_non_zero = BROTLI_FALSE; in BrotliWriteHuffmanTree() 411 BROTLI_BOOL use_rle_for_zero = BROTLI_FALSE; in BrotliWriteHuffmanTree()
|
D | hash_longest_match_quickly_inc.h | 51 static void FN(Prepare)(HasherHandle handle, BROTLI_BOOL one_shot, in FN() 72 const BrotliEncoderParams* params, BROTLI_BOOL one_shot, in FN() 127 static BROTLI_INLINE BROTLI_BOOL FN(FindLongestMatch)( in FN() 142 BROTLI_BOOL is_match_found = BROTLI_FALSE; in FN()
|
D | hash_longest_match64_inc.h | 78 static void FN(Prepare)(HasherHandle handle, BROTLI_BOOL one_shot, in FN() 97 const BrotliEncoderParams* params, BROTLI_BOOL one_shot, in FN() 160 static BROTLI_INLINE BROTLI_BOOL FN(FindLongestMatch)(HasherHandle handle, in FN() 171 BROTLI_BOOL is_match_found = BROTLI_FALSE; in FN()
|
D | hash_longest_match_inc.h | 73 static void FN(Prepare)(HasherHandle handle, BROTLI_BOOL one_shot, in FN() 91 const BrotliEncoderParams* params, BROTLI_BOOL one_shot, in FN() 153 static BROTLI_INLINE BROTLI_BOOL FN(FindLongestMatch)(HasherHandle handle, in FN() 164 BROTLI_BOOL is_match_found = BROTLI_FALSE; in FN()
|
D | hash_forgetful_chain_inc.h | 67 static void FN(Prepare)(HasherHandle handle, BROTLI_BOOL one_shot, in FN() 92 const BrotliEncoderParams* params, BROTLI_BOOL one_shot, in FN() 156 static BROTLI_INLINE BROTLI_BOOL FN(FindLongestMatch)(HasherHandle handle, in FN() 164 BROTLI_BOOL is_match_found = BROTLI_FALSE; in FN()
|
D | entropy_encode.h | 34 BROTLI_INTERNAL BROTLI_BOOL BrotliSetDepth( 80 typedef BROTLI_BOOL (*HuffmanTreeComparator)(
|
D | compress_fragment_two_pass.c | 58 static BROTLI_INLINE BROTLI_BOOL IsMatch(const uint8_t* p1, const uint8_t* p2) { in IsMatch() 221 size_t len, BROTLI_BOOL is_uncompressed, size_t* storage_ix, in BrotliStoreMetaBlockHeader() 493 static BROTLI_BOOL ShouldCompress( in ShouldCompress() 528 BROTLI_BOOL is_last, uint32_t* command_buf, uint8_t* literal_buf, in BrotliCompressFragmentTwoPassImpl() 569 BROTLI_BOOL is_last, uint32_t* command_buf, uint8_t* literal_buf, \ 579 BROTLI_BOOL is_last, uint32_t* command_buf, uint8_t* literal_buf, in FOR_TABLE_BITS_()
|
D | command.h | 62 uint16_t inscode, uint16_t copycode, BROTLI_BOOL use_last_distance) { in CombineLengthCodes() 83 BROTLI_BOOL use_last_distance, in GetLengthCode()
|
D | compress_fragment.c | 59 static BROTLI_INLINE BROTLI_BOOL IsMatch(const uint8_t* p1, const uint8_t* p2) { in IsMatch() 330 size_t len, BROTLI_BOOL is_uncompressed, size_t* storage_ix, in BrotliStoreMetaBlockHeader() 373 static BROTLI_BOOL ShouldMergeBlock( in ShouldMergeBlock() 394 static BROTLI_INLINE BROTLI_BOOL ShouldUseUncompressedMode( in ShouldUseUncompressedMode() 428 BROTLI_BOOL is_last, int* table, size_t table_bits, uint8_t cmd_depth[128], in BrotliCompressFragmentFastImpl() 737 BROTLI_BOOL is_last, int* table, uint8_t cmd_depth[128], \ 748 BROTLI_BOOL is_last, int* table, size_t table_size, uint8_t cmd_depth[128], in FOR_TABLE_BITS_()
|
D | utf8_util.h | 24 BROTLI_INTERNAL BROTLI_BOOL BrotliIsMostlyUTF8(
|
D | static_dict.h | 30 BROTLI_INTERNAL BROTLI_BOOL BrotliFindAllStaticDictionaryMatches(
|
D | compress_fragment_two_pass.h | 42 BROTLI_BOOL is_last,
|
D | compress_fragment.h | 48 BROTLI_BOOL is_last,
|
D | hash_to_binary_tree_inc.h | 70 static void FN(Prepare)(HasherHandle handle, BROTLI_BOOL one_shot, in FN() 84 const BrotliEncoderParams* params, BROTLI_BOOL one_shot, in FN() 121 const BROTLI_BOOL should_reroot_tree = in FN()
|
/external/brotli/dec/ |
D | bit_reader.h | 65 BROTLI_INTERNAL BROTLI_BOOL BrotliWarmupBitReader(BrotliBitReader* const br); 96 static BROTLI_INLINE BROTLI_BOOL BrotliCheckInputAmount( in BrotliCheckInputAmount() 217 static BROTLI_INLINE BROTLI_BOOL BrotliPullByte(BrotliBitReader* const br) { in BrotliPullByte() 256 static BROTLI_INLINE BROTLI_BOOL BrotliSafeGetBits( in BrotliSafeGetBits() 318 static BROTLI_INLINE BROTLI_BOOL BrotliSafeReadBits( in BrotliSafeReadBits() 331 static BROTLI_INLINE BROTLI_BOOL BrotliJumpToByteBoundary(BrotliBitReader* br) { in BrotliJumpToByteBoundary()
|
D | decode.c | 321 static BROTLI_NOINLINE BROTLI_BOOL SafeDecodeSymbol( in SafeDecodeSymbol() 360 static BROTLI_INLINE BROTLI_BOOL SafeReadSymbol( in SafeReadSymbol() 587 BROTLI_BOOL get_byte = BROTLI_FALSE; in SafeReadSymbolCodeLengths() 817 static BROTLI_INLINE BROTLI_BOOL SafeReadBlockLength( in SafeReadBlockLength() 981 BROTLI_BOOL skip_preamble = (code != 0xFFFF); in DecodeContextMap() 1044 static BROTLI_INLINE BROTLI_BOOL DecodeBlockTypeAndLength( in DecodeBlockTypeAndLength() 1119 static BROTLI_INLINE BROTLI_BOOL DecodeLiteralBlockSwitchInternal( in DecodeLiteralBlockSwitchInternal() 1132 static BROTLI_BOOL BROTLI_NOINLINE SafeDecodeLiteralBlockSwitch( in SafeDecodeLiteralBlockSwitch() 1139 static BROTLI_INLINE BROTLI_BOOL DecodeCommandBlockSwitchInternal( in DecodeCommandBlockSwitchInternal() 1151 static BROTLI_BOOL BROTLI_NOINLINE SafeDecodeCommandBlockSwitch( in SafeDecodeCommandBlockSwitch() [all …]
|
D | bit_reader.c | 23 BROTLI_BOOL BrotliWarmupBitReader(BrotliBitReader* const br) { in BrotliWarmupBitReader()
|
/external/brotli/python/ |
D | _brotli.cc | 90 static BROTLI_BOOL compress_stream(BrotliEncoderState* enc, BrotliEncoderOperation op, in compress_stream() 92 BROTLI_BOOL ok = BROTLI_TRUE; in compress_stream() 242 BROTLI_BOOL ok = BROTLI_TRUE; in brotli_Compressor_process() 244 ok = (BROTLI_BOOL)PyArg_ParseTuple(args, "s#:process", &input, &input_length); in brotli_Compressor_process() 283 BROTLI_BOOL ok = BROTLI_TRUE; in brotli_Compressor_flush() 323 BROTLI_BOOL ok = BROTLI_TRUE; in brotli_Compressor_finish()
|