/external/brotli/enc/ |
D | backward_references_hq.c | 119 size_t ringbuffer_mask, in ZopfliCostModelSetFromCommands() argument 147 histogram_literal[ringbuffer[(pos + j) & ringbuffer_mask]]++; in ZopfliCostModelSetFromCommands() 168 cost_literal[ringbuffer[(position + i) & ringbuffer_mask]]; in ZopfliCostModelSetFromCommands() 176 size_t ringbuffer_mask) { in ZopfliCostModelSetFromLiteralCosts() argument 182 BrotliEstimateBitCostsForLiterals(position, num_bytes, ringbuffer_mask, in ZopfliCostModelSetFromLiteralCosts() 374 const uint8_t* ringbuffer, const size_t ringbuffer_mask, in UpdateNodes() argument 380 const size_t cur_ix_masked = cur_ix & ringbuffer_mask; in UpdateNodes() 424 prev_ix &= ringbuffer_mask; in UpdateNodes() 426 if (cur_ix_masked + best_len > ringbuffer_mask || in UpdateNodes() 427 prev_ix + best_len > ringbuffer_mask || in UpdateNodes() [all …]
|
D | backward_references_inc.h | 13 const uint8_t* ringbuffer, size_t ringbuffer_mask, in FN() 45 ringbuffer, ringbuffer_mask, dist_cache, in FN() 61 dictionary_hash, ringbuffer, ringbuffer_mask, dist_cache, in FN() 99 FN(StoreRange)(hasher, ringbuffer, ringbuffer_mask, position + 2, in FN() 124 FN(Store)(hasher, ringbuffer, ringbuffer_mask, position); in FN() 133 FN(Store)(hasher, ringbuffer, ringbuffer_mask, position); in FN()
|
D | backward_references_hq.h | 27 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, 34 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, 82 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask,
|
D | hash_longest_match_quickly_inc.h | 102 const uint8_t* ringbuffer, size_t ringbuffer_mask) { in FN() 107 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 3); in FN() 108 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 2); in FN() 109 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 1); in FN()
|
D | hash_longest_match64_inc.h | 132 size_t ringbuffer_mask) { in FN() 137 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 3); in FN() 138 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 2); in FN() 139 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 1); in FN()
|
D | hash_longest_match_inc.h | 125 size_t ringbuffer_mask) { in FN() 130 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 3); in FN() 131 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 2); in FN() 132 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 1); in FN()
|
D | backward_references.c | 105 size_t ringbuffer_mask, in BrotliCreateBackwardReferences() argument 118 ringbuffer_mask, params, hasher, dist_cache, \ in BrotliCreateBackwardReferences()
|
D | backward_references.h | 30 const uint8_t* ringbuffer, size_t ringbuffer_mask,
|
D | hash_to_binary_tree_inc.h | 292 size_t ringbuffer_mask) { in FN() 314 FN(StoreAndFindMatches)(self, ringbuffer, i, ringbuffer_mask, in FN()
|
/external/brotli/dec/ |
D | state.h | 121 int ringbuffer_mask; member
|
D | state.c | 67 s->ringbuffer_mask = 0; in BrotliDecoderStateInitWithCustomAllocators()
|
D | decode.c | 1193 s->ringbuffer + (s->partial_pos_out & (size_t)s->ringbuffer_mask); in WriteRingBuffer() 1282 s->ringbuffer_mask = s->new_ringbuffer_size - 1; in BrotliEnsureRingBuffer() 1667 uint8_t p1 = s->ringbuffer[(pos - 1) & s->ringbuffer_mask]; in ProcessCommandsInternal() 1668 uint8_t p2 = s->ringbuffer[(pos - 2) & s->ringbuffer_mask]; in ProcessCommandsInternal() 1698 BROTLI_LOG_ARRAY_INDEX(s->ringbuffer, pos & s->ringbuffer_mask); in ProcessCommandsInternal() 1784 int src_start = (pos - s->distance_code) & s->ringbuffer_mask; in ProcessCommandsInternal() 1830 s->ringbuffer[(pos - s->distance_code) & s->ringbuffer_mask]; in ProcessCommandsInternal()
|