Lines Matching refs:common
15 #include "../common/constants.h"
16 #include "../common/dictionary.h"
17 #include "../common/platform.h"
177 HasherCommon* common, const uint8_t* data, size_t max_length,
182 if (common->dict_num_matches < (common->dict_num_lookups >> 7)) {
187 common->dict_num_lookups++;
194 common->dict_num_matches++;
382 HasherCommon common;
394 hasher->common.extra = NULL;
398 if (hasher->common.extra == NULL) return;
399 BROTLI_FREE(m, hasher->common.extra);
403 hasher->common.is_prepared_ = BROTLI_FALSE;
424 if (hasher->common.extra == NULL) {
428 hasher->common.extra = BROTLI_ALLOC(m, uint8_t, alloc_size);
429 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(hasher->common.extra)) return;
430 hasher->common.params = params->hasher;
431 switch (hasher->common.params.type) {
434 InitializeH ## N(&hasher->common, \
445 if (!hasher->common.is_prepared_) {
446 switch (hasher->common.params.type) {
458 hasher->common.dict_num_lookups = 0;
459 hasher->common.dict_num_matches = 0;
461 hasher->common.is_prepared_ = BROTLI_TRUE;
471 switch (hasher->common.params.type) {