Home
last modified time | relevance | path

Searched refs:BROTLI_IS_NULL (Results 1 – 11 of 11) sorted by relevance

/external/brotli/c/enc/
Dblock_splitter_inc.h222 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(histogram_symbols) || in FN()
223 BROTLI_IS_NULL(block_lengths) || BROTLI_IS_NULL(all_histograms) || in FN()
224 BROTLI_IS_NULL(cluster_size) || BROTLI_IS_NULL(histograms) || in FN()
225 BROTLI_IS_NULL(pairs)) { in FN()
286 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(pairs)) return; in FN()
290 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(clusters)) return; in FN()
302 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_index)) return; in FN()
394 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(histograms)) return; in FN()
413 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(block_ids) || in FN()
414 BROTLI_IS_NULL(insert_cost) || BROTLI_IS_NULL(cost) || in FN()
[all …]
Dmemory.h66 #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) \
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_histo)) return; in ContextBlockSplitterFinishBlock()
[all …]
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)) {
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()
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(storage)) goto oom; in BrotliCompressBufferQuality10()
[all …]
Dringbuffer.h78 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_data)) return; in RingBufferInitBuffer()
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()
Dmetablock_inc.h74 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(*histograms)) return; in FN()
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()
Dhash.h429 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(hasher->common.extra)) return; in HasherSetup()