Lines Matching refs:hash

17     ngx_hash_combined_t      hash;  member
131 if (rlcf->hash.hash.buckets == NULL in ngx_http_referer_variable()
132 && rlcf->hash.wc_head == NULL in ngx_http_referer_variable()
133 && rlcf->hash.wc_tail == NULL in ngx_http_referer_variable()
193 uri = ngx_hash_find_combined(&rlcf->hash, key, buf, p - ref); in ngx_http_referer_variable()
326 ngx_hash_init_t hash; in ngx_http_referer_merge_conf() local
331 conf->hash = prev->hash; in ngx_http_referer_merge_conf()
394 hash.key = ngx_hash_key_lc; in ngx_http_referer_merge_conf()
395 hash.max_size = conf->referer_hash_max_size; in ngx_http_referer_merge_conf()
396 hash.bucket_size = conf->referer_hash_bucket_size; in ngx_http_referer_merge_conf()
397 hash.name = "referer_hash"; in ngx_http_referer_merge_conf()
398 hash.pool = cf->pool; in ngx_http_referer_merge_conf()
401 hash.hash = &conf->hash.hash; in ngx_http_referer_merge_conf()
402 hash.temp_pool = NULL; in ngx_http_referer_merge_conf()
404 if (ngx_hash_init(&hash, conf->keys->keys.elts, conf->keys->keys.nelts) in ngx_http_referer_merge_conf()
418 hash.hash = NULL; in ngx_http_referer_merge_conf()
419 hash.temp_pool = cf->temp_pool; in ngx_http_referer_merge_conf()
421 if (ngx_hash_wildcard_init(&hash, conf->keys->dns_wc_head.elts, in ngx_http_referer_merge_conf()
428 conf->hash.wc_head = (ngx_hash_wildcard_t *) hash.hash; in ngx_http_referer_merge_conf()
438 hash.hash = NULL; in ngx_http_referer_merge_conf()
439 hash.temp_pool = cf->temp_pool; in ngx_http_referer_merge_conf()
441 if (ngx_hash_wildcard_init(&hash, conf->keys->dns_wc_tail.elts, in ngx_http_referer_merge_conf()
448 conf->hash.wc_tail = (ngx_hash_wildcard_t *) hash.hash; in ngx_http_referer_merge_conf()