Home
last modified time | relevance | path

Searched refs:BROTLI_IS_NULL (Results 1 - 22 of 22) sorted by relevance

/third_party/node/deps/brotli/c/enc/
H A Dblock_splitter_inc.h222 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(histogram_symbols) ||
223 BROTLI_IS_NULL(block_lengths) || BROTLI_IS_NULL(all_histograms) ||
224 BROTLI_IS_NULL(cluster_size) || BROTLI_IS_NULL(histograms) ||
225 BROTLI_IS_NULL(pairs)) {
286 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(pairs)) return;
290 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(clusters)) return;
302 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_index)) return;
394 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(histogram
[all...]
H A Dmemory.h60 BROTLI_IS_NULL is a fake check, BROTLI_IS_OOM does the heavy lifting.
66 #define BROTLI_IS_NULL(A) ((A) == nullptr) macro
68 #define BROTLI_IS_NULL(A) (!!0) macro
87 if (!BROTLI_IS_OOM(M) && !BROTLI_IS_NULL(new_array) && C != 0) \
H A Dmetablock.c199 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(literal_context_modes)) return; in BrotliBuildMetaBlock()
209 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(literal_histograms)) return; in BrotliBuildMetaBlock()
216 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(distance_histograms)) return; in BrotliBuildMetaBlock()
223 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(mb->command_histograms)) return; in BrotliBuildMetaBlock()
237 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(mb->literal_context_map)) return; in BrotliBuildMetaBlock()
243 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(mb->literal_histograms)) return; in BrotliBuildMetaBlock()
268 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(mb->distance_context_map)) return; in BrotliBuildMetaBlock()
274 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(mb->distance_histograms)) return; in BrotliBuildMetaBlock()
372 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(*histograms)) return; in InitContextBlockSplitter()
422 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(combined_hist in ContextBlockSplitterFinishBlock()
[all...]
H A Dblock_splitter.c135 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(literals)) return; in BrotliSplitBlock()
153 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(insert_and_copy_codes)) return; in BrotliSplitBlock()
173 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(distance_prefixes)) return; in BrotliSplitBlock()
H A Dcluster_inc.h218 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_index)) return 0;
232 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(tmp)) return 0;
262 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(cluster_size) ||
263 BROTLI_IS_NULL(clusters) || BROTLI_IS_NULL(pairs)) {
H A Dencode.c215 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(s->storage_)) return NULL; in GetBrotliStorage()
254 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(s->large_table_)) return 0; in GetHashTable()
988 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(s->command_buf_) || in EncodeData()
989 BROTLI_IS_NULL(s->literal_buf_)) { in EncodeData()
1049 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_commands)) return BROTLI_FALSE; in EncodeData()
1281 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(nodes)) goto oom; in BrotliCompressBufferQuality10()
1301 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_commands)) goto oom; in BrotliCompressBufferQuality10()
1333 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(storage)) goto oom; in BrotliCompressBufferQuality10()
1344 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(storage)) goto oom; in BrotliCompressBufferQuality10()
1368 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(storag in BrotliCompressBufferQuality10()
[all...]
H A Dringbuffer.h78 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_data)) return; in RingBufferInitBuffer()
H A Dbackward_references_hq.c728 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(nodes)) return; in BrotliCreateZopfliBackwardReferences()
762 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(num_matches) || in BrotliCreateHqZopfliBackwardReferences()
763 BROTLI_IS_NULL(matches)) { in BrotliCreateHqZopfliBackwardReferences()
812 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(nodes)) return; in BrotliCreateHqZopfliBackwardReferences()
H A Dmetablock_inc.h74 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(*histograms)) return; in InitBlockSplitter()
H A Dbrotli_bit_stream.c438 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(tree)) return; in BrotliBuildAndStoreHuffmanTreeFast()
702 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(rle_symbols)) return; in EncodeContextMap()
958 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(tree)) return; in BrotliStoreMetaBlock()
1163 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(tree)) return; in BrotliStoreMetaBlockTrivial()
H A Dhash.h429 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(hasher->common.extra)) return; in HasherSetup()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dblock_splitter_inc.h222 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(histogram_symbols) ||
223 BROTLI_IS_NULL(block_lengths) || BROTLI_IS_NULL(all_histograms) ||
224 BROTLI_IS_NULL(cluster_size) || BROTLI_IS_NULL(histograms) ||
225 BROTLI_IS_NULL(pairs)) {
286 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(pairs)) return;
290 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(clusters)) return;
302 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_index)) return;
394 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(histogram
[all...]
H A Dmemory.h60 BROTLI_IS_NULL is a fake check, BROTLI_IS_OOM does the heavy lifting.
66 #define BROTLI_IS_NULL(A) ((A) == nullptr) macro
68 #define BROTLI_IS_NULL(A) (!!0) macro
87 if (!BROTLI_IS_OOM(M) && !BROTLI_IS_NULL(new_array) && C != 0) \
H A Dmetablock.c199 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(literal_context_modes)) return; in BrotliBuildMetaBlock()
209 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(literal_histograms)) return; in BrotliBuildMetaBlock()
216 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(distance_histograms)) return; in BrotliBuildMetaBlock()
223 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(mb->command_histograms)) return; in BrotliBuildMetaBlock()
237 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(mb->literal_context_map)) return; in BrotliBuildMetaBlock()
243 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(mb->literal_histograms)) return; in BrotliBuildMetaBlock()
268 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(mb->distance_context_map)) return; in BrotliBuildMetaBlock()
274 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(mb->distance_histograms)) return; in BrotliBuildMetaBlock()
372 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(*histograms)) return; in InitContextBlockSplitter()
422 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(combined_hist in ContextBlockSplitterFinishBlock()
[all...]
H A Dblock_splitter.c135 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(literals)) return; in BrotliSplitBlock()
153 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(insert_and_copy_codes)) return; in BrotliSplitBlock()
173 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(distance_prefixes)) return; in BrotliSplitBlock()
H A Dcluster_inc.h218 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_index)) return 0;
232 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(tmp)) return 0;
262 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(cluster_size) ||
263 BROTLI_IS_NULL(clusters) || BROTLI_IS_NULL(pairs)) {
H A Dencode.c215 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(s->storage_)) return NULL; in GetBrotliStorage()
254 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(s->large_table_)) return 0; in GetHashTable()
988 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(s->command_buf_) || in EncodeData()
989 BROTLI_IS_NULL(s->literal_buf_)) { in EncodeData()
1049 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_commands)) return BROTLI_FALSE; in EncodeData()
1281 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(nodes)) goto oom; in BrotliCompressBufferQuality10()
1301 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_commands)) goto oom; in BrotliCompressBufferQuality10()
1333 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(storage)) goto oom; in BrotliCompressBufferQuality10()
1344 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(storage)) goto oom; in BrotliCompressBufferQuality10()
1368 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(storag in BrotliCompressBufferQuality10()
[all...]
H A Dringbuffer.h78 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_data)) return; in RingBufferInitBuffer()
H A Dbackward_references_hq.c728 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(nodes)) return; in BrotliCreateZopfliBackwardReferences()
762 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(num_matches) || in BrotliCreateHqZopfliBackwardReferences()
763 BROTLI_IS_NULL(matches)) { in BrotliCreateHqZopfliBackwardReferences()
812 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(nodes)) return; in BrotliCreateHqZopfliBackwardReferences()
H A Dmetablock_inc.h74 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(*histograms)) return; in InitBlockSplitter()
H A Dbrotli_bit_stream.c438 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(tree)) return; in BrotliBuildAndStoreHuffmanTreeFast()
702 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(rle_symbols)) return; in EncodeContextMap()
958 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(tree)) return; in BrotliStoreMetaBlock()
1163 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(tree)) return; in BrotliStoreMetaBlockTrivial()
H A Dhash.h429 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(hasher->common.extra)) return; in HasherSetup()

Completed in 24 milliseconds