Home
last modified time | relevance | path

Searched refs:BROTLI_ALLOC (Results 1 - 24 of 24) sorted by relevance

/third_party/node/deps/brotli/c/enc/
H A Dblock_splitter_inc.h193 uint32_t* histogram_symbols = BROTLI_ALLOC(m, uint32_t, num_blocks);
194 uint32_t* block_lengths = BROTLI_ALLOC(m, uint32_t, num_blocks);
200 BROTLI_ALLOC(m, HistogramType, all_histograms_capacity);
203 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, cluster_size_capacity);
205 HistogramType* histograms = BROTLI_ALLOC(m, HistogramType,
210 HistogramPair* pairs = BROTLI_ALLOC(m, HistogramPair, pairs_capacity);
285 pairs = BROTLI_ALLOC(m, HistogramPair, max_num_pairs + 1);
289 clusters = BROTLI_ALLOC(m, uint32_t, num_clusters);
301 new_index = BROTLI_ALLOC(m, uint32_t, num_clusters);
393 histograms = BROTLI_ALLOC(
[all...]
H A Dmetablock.c198 BROTLI_ALLOC(m, ContextType, mb->literal_split.num_types); in BrotliBuildMetaBlock()
208 BROTLI_ALLOC(m, HistogramLiteral, literal_histograms_size); in BrotliBuildMetaBlock()
215 BROTLI_ALLOC(m, HistogramDistance, distance_histograms_size); in BrotliBuildMetaBlock()
222 BROTLI_ALLOC(m, HistogramCommand, mb->command_histograms_size); in BrotliBuildMetaBlock()
236 BROTLI_ALLOC(m, uint32_t, mb->literal_context_map_size); in BrotliBuildMetaBlock()
242 BROTLI_ALLOC(m, HistogramLiteral, mb->literal_histograms_size); in BrotliBuildMetaBlock()
267 BROTLI_ALLOC(m, uint32_t, mb->distance_context_map_size); in BrotliBuildMetaBlock()
273 BROTLI_ALLOC(m, HistogramDistance, mb->distance_histograms_size); in BrotliBuildMetaBlock()
370 *histograms = BROTLI_ALLOC(m, HistogramLiteral, *histograms_size); in InitContextBlockSplitter()
418 BROTLI_ALLOC( in ContextBlockSplitterFinishBlock()
[all...]
H A Dblock_encoder_inc.h19 self->depths_ = BROTLI_ALLOC(m, uint8_t, table_size); in BuildAndStoreEntropyCodes()
20 self->bits_ = BROTLI_ALLOC(m, uint16_t, table_size); in BuildAndStoreEntropyCodes()
H A Dblock_splitter.c134 uint8_t* literals = BROTLI_ALLOC(m, uint8_t, literals_count); in BrotliSplitBlock()
151 uint16_t* insert_and_copy_codes = BROTLI_ALLOC(m, uint16_t, num_commands); in BrotliSplitBlock()
170 uint16_t* distance_prefixes = BROTLI_ALLOC(m, uint16_t, num_commands); in BrotliSplitBlock()
H A Dmemory.h44 #define BROTLI_ALLOC(M, T, N) \ macro
86 new_array = BROTLI_ALLOC((M), T, _new_size); \
H A Dcluster_inc.h214 uint32_t* new_index = BROTLI_ALLOC(m, uint32_t, length);
231 tmp = BROTLI_ALLOC(m, HistogramType, next_index);
253 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, in_size);
254 uint32_t* clusters = BROTLI_ALLOC(m, uint32_t, in_size);
259 HistogramPair* pairs = BROTLI_ALLOC(m, HistogramPair, pairs_capacity + 1);
H A Dencode.c214 s->storage_ = BROTLI_ALLOC(m, uint8_t, size); in GetBrotliStorage()
253 s->large_table_ = BROTLI_ALLOC(m, int, htsize); in GetHashTable()
985 BROTLI_ALLOC(m, uint32_t, kCompressFragmentTwoPassBlockSize); in EncodeData()
987 BROTLI_ALLOC(m, uint8_t, kCompressFragmentTwoPassBlockSize); in EncodeData()
1048 new_commands = BROTLI_ALLOC(m, Command, newsize); in EncodeData()
1278 ZopfliNode* nodes = BROTLI_ALLOC(m, ZopfliNode, block_size + 1); in BrotliCompressBufferQuality10()
1300 Command* new_commands = BROTLI_ALLOC(m, Command, new_cmd_alloc_size); in BrotliCompressBufferQuality10()
1332 storage = BROTLI_ALLOC(m, uint8_t, 16); in BrotliCompressBufferQuality10()
1343 storage = BROTLI_ALLOC(m, uint8_t, metablock_size + 16); in BrotliCompressBufferQuality10()
1367 storage = BROTLI_ALLOC( in BrotliCompressBufferQuality10()
[all...]
H A Dbackward_references_hq.c92 self->literal_costs_ = BROTLI_ALLOC(m, float, num_bytes + 2); in InitZopfliCostModel()
93 self->cost_dist_ = BROTLI_ALLOC(m, float, dist->alphabet_size_limit); in InitZopfliCostModel()
727 ZopfliNode* nodes = BROTLI_ALLOC(m, ZopfliNode, num_bytes + 1); in BrotliCreateZopfliBackwardReferences()
746 uint32_t* num_matches = BROTLI_ALLOC(m, uint32_t, num_bytes); in BrotliCreateHqZopfliBackwardReferences()
758 BackwardMatch* matches = BROTLI_ALLOC(m, BackwardMatch, matches_size); in BrotliCreateHqZopfliBackwardReferences()
811 nodes = BROTLI_ALLOC(m, ZopfliNode, num_bytes + 1); in BrotliCreateHqZopfliBackwardReferences()
H A Dringbuffer.h75 uint8_t* new_data = BROTLI_ALLOC( in RingBufferInitBuffer()
H A Dmetablock_inc.h72 *histograms = BROTLI_ALLOC(m, HistogramType, *histograms_size); in InitBlockSplitter()
H A Dbrotli_bit_stream.c436 HuffmanTree* tree = BROTLI_ALLOC(m, HuffmanTree, max_tree_size); in BrotliBuildAndStoreHuffmanTreeFast()
701 rle_symbols = BROTLI_ALLOC(m, uint32_t, context_map_size); in EncodeContextMap()
957 tree = BROTLI_ALLOC(m, HuffmanTree, MAX_HUFFMAN_TREE_SIZE); in BrotliStoreMetaBlock()
1162 tree = BROTLI_ALLOC(m, HuffmanTree, MAX_HUFFMAN_TREE_SIZE); in BrotliStoreMetaBlockTrivial()
H A Dhash.h428 hasher->common.extra = BROTLI_ALLOC(m, uint8_t, alloc_size); in HasherSetup()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dblock_splitter_inc.h193 uint32_t* histogram_symbols = BROTLI_ALLOC(m, uint32_t, num_blocks);
194 uint32_t* block_lengths = BROTLI_ALLOC(m, uint32_t, num_blocks);
200 BROTLI_ALLOC(m, HistogramType, all_histograms_capacity);
203 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, cluster_size_capacity);
205 HistogramType* histograms = BROTLI_ALLOC(m, HistogramType,
210 HistogramPair* pairs = BROTLI_ALLOC(m, HistogramPair, pairs_capacity);
285 pairs = BROTLI_ALLOC(m, HistogramPair, max_num_pairs + 1);
289 clusters = BROTLI_ALLOC(m, uint32_t, num_clusters);
301 new_index = BROTLI_ALLOC(m, uint32_t, num_clusters);
393 histograms = BROTLI_ALLOC(
[all...]
H A Dmetablock.c198 BROTLI_ALLOC(m, ContextType, mb->literal_split.num_types); in BrotliBuildMetaBlock()
208 BROTLI_ALLOC(m, HistogramLiteral, literal_histograms_size); in BrotliBuildMetaBlock()
215 BROTLI_ALLOC(m, HistogramDistance, distance_histograms_size); in BrotliBuildMetaBlock()
222 BROTLI_ALLOC(m, HistogramCommand, mb->command_histograms_size); in BrotliBuildMetaBlock()
236 BROTLI_ALLOC(m, uint32_t, mb->literal_context_map_size); in BrotliBuildMetaBlock()
242 BROTLI_ALLOC(m, HistogramLiteral, mb->literal_histograms_size); in BrotliBuildMetaBlock()
267 BROTLI_ALLOC(m, uint32_t, mb->distance_context_map_size); in BrotliBuildMetaBlock()
273 BROTLI_ALLOC(m, HistogramDistance, mb->distance_histograms_size); in BrotliBuildMetaBlock()
370 *histograms = BROTLI_ALLOC(m, HistogramLiteral, *histograms_size); in InitContextBlockSplitter()
418 BROTLI_ALLOC( in ContextBlockSplitterFinishBlock()
[all...]
H A Dblock_encoder_inc.h19 self->depths_ = BROTLI_ALLOC(m, uint8_t, table_size); in BuildAndStoreEntropyCodes()
20 self->bits_ = BROTLI_ALLOC(m, uint16_t, table_size); in BuildAndStoreEntropyCodes()
H A Dblock_splitter.c134 uint8_t* literals = BROTLI_ALLOC(m, uint8_t, literals_count); in BrotliSplitBlock()
151 uint16_t* insert_and_copy_codes = BROTLI_ALLOC(m, uint16_t, num_commands); in BrotliSplitBlock()
170 uint16_t* distance_prefixes = BROTLI_ALLOC(m, uint16_t, num_commands); in BrotliSplitBlock()
H A Dmemory.h44 #define BROTLI_ALLOC(M, T, N) \ macro
86 new_array = BROTLI_ALLOC((M), T, _new_size); \
H A Dcluster_inc.h214 uint32_t* new_index = BROTLI_ALLOC(m, uint32_t, length);
231 tmp = BROTLI_ALLOC(m, HistogramType, next_index);
253 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, in_size);
254 uint32_t* clusters = BROTLI_ALLOC(m, uint32_t, in_size);
259 HistogramPair* pairs = BROTLI_ALLOC(m, HistogramPair, pairs_capacity + 1);
H A Dencode.c214 s->storage_ = BROTLI_ALLOC(m, uint8_t, size); in GetBrotliStorage()
253 s->large_table_ = BROTLI_ALLOC(m, int, htsize); in GetHashTable()
985 BROTLI_ALLOC(m, uint32_t, kCompressFragmentTwoPassBlockSize); in EncodeData()
987 BROTLI_ALLOC(m, uint8_t, kCompressFragmentTwoPassBlockSize); in EncodeData()
1048 new_commands = BROTLI_ALLOC(m, Command, newsize); in EncodeData()
1278 ZopfliNode* nodes = BROTLI_ALLOC(m, ZopfliNode, block_size + 1); in BrotliCompressBufferQuality10()
1300 Command* new_commands = BROTLI_ALLOC(m, Command, new_cmd_alloc_size); in BrotliCompressBufferQuality10()
1332 storage = BROTLI_ALLOC(m, uint8_t, 16); in BrotliCompressBufferQuality10()
1343 storage = BROTLI_ALLOC(m, uint8_t, metablock_size + 16); in BrotliCompressBufferQuality10()
1367 storage = BROTLI_ALLOC( in BrotliCompressBufferQuality10()
[all...]
H A Dbackward_references_hq.c92 self->literal_costs_ = BROTLI_ALLOC(m, float, num_bytes + 2); in InitZopfliCostModel()
93 self->cost_dist_ = BROTLI_ALLOC(m, float, dist->alphabet_size_limit); in InitZopfliCostModel()
727 ZopfliNode* nodes = BROTLI_ALLOC(m, ZopfliNode, num_bytes + 1); in BrotliCreateZopfliBackwardReferences()
746 uint32_t* num_matches = BROTLI_ALLOC(m, uint32_t, num_bytes); in BrotliCreateHqZopfliBackwardReferences()
758 BackwardMatch* matches = BROTLI_ALLOC(m, BackwardMatch, matches_size); in BrotliCreateHqZopfliBackwardReferences()
811 nodes = BROTLI_ALLOC(m, ZopfliNode, num_bytes + 1); in BrotliCreateHqZopfliBackwardReferences()
H A Dringbuffer.h75 uint8_t* new_data = BROTLI_ALLOC( in RingBufferInitBuffer()
H A Dmetablock_inc.h72 *histograms = BROTLI_ALLOC(m, HistogramType, *histograms_size); in InitBlockSplitter()
H A Dbrotli_bit_stream.c436 HuffmanTree* tree = BROTLI_ALLOC(m, HuffmanTree, max_tree_size); in BrotliBuildAndStoreHuffmanTreeFast()
701 rle_symbols = BROTLI_ALLOC(m, uint32_t, context_map_size); in EncodeContextMap()
957 tree = BROTLI_ALLOC(m, HuffmanTree, MAX_HUFFMAN_TREE_SIZE); in BrotliStoreMetaBlock()
1162 tree = BROTLI_ALLOC(m, HuffmanTree, MAX_HUFFMAN_TREE_SIZE); in BrotliStoreMetaBlockTrivial()
H A Dhash.h428 hasher->common.extra = BROTLI_ALLOC(m, uint8_t, alloc_size); in HasherSetup()

Completed in 24 milliseconds