Home
last modified time | relevance | path

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

12

/external/brotli/include/brotli/
Dencode.h205 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(
Ddecode.h252 BROTLI_DEC_API BROTLI_BOOL BrotliDecoderHasMoreOutput(
296 BROTLI_DEC_API BROTLI_BOOL BrotliDecoderIsUsed(const BrotliDecoderState* state);
306 BROTLI_BOOL BrotliDecoderIsFinished(const BrotliDecoderState* state);
Dtypes.h49 #define BROTLI_BOOL int macro
/external/brotli/enc/
Dbrotli_bit_stream.h51 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,
Dhash.h45 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()
Dencode.c111 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 …]
Dstatic_dict.c46 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()
Dentropy_encode.c21 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()
Dhash_longest_match_quickly_inc.h51 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()
Dhash_longest_match64_inc.h78 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()
Dhash_longest_match_inc.h73 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()
Dhash_forgetful_chain_inc.h67 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()
Dentropy_encode.h34 BROTLI_INTERNAL BROTLI_BOOL BrotliSetDepth(
80 typedef BROTLI_BOOL (*HuffmanTreeComparator)(
Dcompress_fragment_two_pass.c58 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_()
Dcommand.h62 uint16_t inscode, uint16_t copycode, BROTLI_BOOL use_last_distance) { in CombineLengthCodes()
83 BROTLI_BOOL use_last_distance, in GetLengthCode()
Dcompress_fragment.c59 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_()
Dutf8_util.h24 BROTLI_INTERNAL BROTLI_BOOL BrotliIsMostlyUTF8(
Dstatic_dict.h30 BROTLI_INTERNAL BROTLI_BOOL BrotliFindAllStaticDictionaryMatches(
Dcompress_fragment_two_pass.h42 BROTLI_BOOL is_last,
Dcompress_fragment.h48 BROTLI_BOOL is_last,
Dhash_to_binary_tree_inc.h70 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/
Dbit_reader.h65 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()
Ddecode.c321 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 …]
Dbit_reader.c23 BROTLI_BOOL BrotliWarmupBitReader(BrotliBitReader* const br) { in BrotliWarmupBitReader()
/external/brotli/python/
D_brotli.cc90 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()

12