Home
last modified time | relevance | path

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

12

/external/brotli/c/tools/
Dbrotli.c89 BROTLI_BOOL force_overwrite;
90 BROTLI_BOOL junk_source;
91 BROTLI_BOOL copy_stat;
92 BROTLI_BOOL verbose;
93 BROTLI_BOOL write_to_stdout;
94 BROTLI_BOOL test_integrity;
95 BROTLI_BOOL decompress;
96 BROTLI_BOOL large_window;
109 BROTLI_BOOL iterator_error;
127 static BROTLI_BOOL ParseInt(const char* s, int low, int high, int* result) { in ParseInt()
[all …]
/external/brotli/c/include/brotli/
Dencode.h229 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderSetParameter(
291 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderCompress(
359 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderCompressStream(
372 BROTLI_ENC_API BROTLI_BOOL BrotliEncoderIsFinished(BrotliEncoderState* state);
381 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(
/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,
Dencode.c113 BROTLI_BOOL is_last_block_emitted_;
114 BROTLI_BOOL is_initialized_;
117 static BROTLI_BOOL EnsureInitialized(BrotliEncoderState* s);
134 BROTLI_BOOL BrotliEncoderSetParameter( in BrotliEncoderSetParameter()
247 static void EncodeWindowBits(int lgwin, BROTLI_BOOL large_window, in EncodeWindowBits()
385 static BROTLI_BOOL ShouldUseComplexStaticContextMap(const uint8_t* input, in ShouldUseComplexStaticContextMap()
496 static BROTLI_BOOL ShouldCompress( in ShouldCompress()
541 const BROTLI_BOOL is_last, in WriteMetaBlockInternal()
675 static BROTLI_BOOL EnsureInitialized(BrotliEncoderState* s) { in EnsureInitialized()
875 static BROTLI_BOOL UpdateLastProcessedPos(BrotliEncoderState* s) { in UpdateLastProcessedPos()
[all …]
Dhash.h48 BROTLI_BOOL is_prepared_;
151 static BROTLI_INLINE BROTLI_BOOL TestStaticDictionaryItem( in TestStaticDictionaryItem()
198 HasherSearchResult* out, BROTLI_BOOL shallow) { in SearchInStaticDictionary()
210 BROTLI_BOOL item_matches = TestStaticDictionaryItem( in SearchInStaticDictionary()
412 BROTLI_BOOL one_shot, const size_t input_size) { in HasherSize()
429 size_t input_size, BROTLI_BOOL is_last) { in HasherSetup()
432 BROTLI_BOOL one_shot = (position == 0 && is_last); in HasherSetup()
478 BROTLI_BOOL is_last) { in InitOrStitchToPreviousBlock()
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.h37 BROTLI_BOOL disable_literal_context_modeling;
38 BROTLI_BOOL large_window;
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()
Dentropy_encode.h34 BROTLI_INTERNAL BROTLI_BOOL BrotliSetDepth(
80 typedef BROTLI_BOOL (*HuffmanTreeComparator)(
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.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_()
Dhash_to_binary_tree_inc.h72 static void FN(Prepare)(HasherHandle handle, BROTLI_BOOL one_shot, in FN()
86 const BrotliEncoderParams* params, BROTLI_BOOL one_shot, in FN()
123 const BROTLI_BOOL should_reroot_tree = in FN()
Dcommand.h63 uint16_t inscode, uint16_t copycode, BROTLI_BOOL use_last_distance) { in CombineLengthCodes()
84 BROTLI_BOOL use_last_distance, in GetLengthCode()
Dutf8_util.h24 BROTLI_INTERNAL BROTLI_BOOL BrotliIsMostlyUTF8(
Dstatic_dict.h31 BROTLI_INTERNAL BROTLI_BOOL BrotliFindAllStaticDictionaryMatches(
Dcompress_fragment_two_pass.h42 BROTLI_BOOL is_last,
Dcompress_fragment.h48 BROTLI_BOOL is_last,
Dmetablock.c86 static BROTLI_BOOL ComputeDistanceCost(const Command* cmds, in ComputeDistanceCost()
92 BROTLI_BOOL equal_params = BROTLI_FALSE; in ComputeDistanceCost()
152 BROTLI_BOOL check_orig = BROTLI_TRUE; in BrotliBuildMetaBlock()
160 BROTLI_BOOL skip; in BrotliBuildMetaBlock()
387 ContextBlockSplitter* self, MemoryManager* m, BROTLI_BOOL is_final) { in ContextBlockSplitterFinishBlock()
/external/brotli/c/dec/
Dbit_reader.h66 BROTLI_INTERNAL BROTLI_BOOL BrotliWarmupBitReader(BrotliBitReader* const br);
97 static BROTLI_INLINE BROTLI_BOOL BrotliCheckInputAmount( in BrotliCheckInputAmount()
164 static BROTLI_INLINE BROTLI_BOOL BrotliPullByte(BrotliBitReader* const br) { in BrotliPullByte()
205 static BROTLI_INLINE BROTLI_BOOL BrotliSafeGetBits( in BrotliSafeGetBits()
267 static BROTLI_INLINE BROTLI_BOOL BrotliSafeReadBits( in BrotliSafeReadBits()
280 static BROTLI_INLINE BROTLI_BOOL BrotliJumpToByteBoundary(BrotliBitReader* br) { in BrotliJumpToByteBoundary()
Ddecode.c60 BROTLI_BOOL BrotliDecoderSetParameter( in BrotliDecoderSetParameter()
136 BROTLI_BOOL large_window = s->large_window; in DecodeWindowBits()
372 static BROTLI_NOINLINE BROTLI_BOOL SafeDecodeSymbol( in SafeDecodeSymbol()
412 static BROTLI_INLINE BROTLI_BOOL SafeReadSymbol( in SafeReadSymbol()
640 BROTLI_BOOL get_byte = BROTLI_FALSE; in SafeReadSymbolCodeLengths()
876 static BROTLI_INLINE BROTLI_BOOL SafeReadBlockLength( in SafeReadBlockLength()
1045 BROTLI_BOOL skip_preamble = (code != 0xFFFF); in DecodeContextMap()
1110 static BROTLI_INLINE BROTLI_BOOL DecodeBlockTypeAndLength( in DecodeBlockTypeAndLength()
1187 static BROTLI_INLINE BROTLI_BOOL DecodeLiteralBlockSwitchInternal( in DecodeLiteralBlockSwitchInternal()
1200 static BROTLI_BOOL BROTLI_NOINLINE SafeDecodeLiteralBlockSwitch( in SafeDecodeLiteralBlockSwitch()
[all …]
Dstate.h237 BROTLI_INTERNAL BROTLI_BOOL BrotliDecoderStateInit(BrotliDecoderState* s,
243 BROTLI_INTERNAL BROTLI_BOOL BrotliDecoderHuffmanTreeGroupInit(
Dstate.c18 BROTLI_BOOL BrotliDecoderStateInit(BrotliDecoderState* s, in BrotliDecoderStateInit()
144 BROTLI_BOOL BrotliDecoderHuffmanTreeGroupInit(BrotliDecoderState* s, in BrotliDecoderHuffmanTreeGroupInit()
Dbit_reader.c23 BROTLI_BOOL BrotliWarmupBitReader(BrotliBitReader* const br) { in BrotliWarmupBitReader()

12