hinit 251 core/ngx_hash.c ngx_hash_init(ngx_hash_init_t *hinit, ngx_hash_key_t *names, ngx_uint_t nelts) hinit 260 core/ngx_hash.c if (hinit->bucket_size < NGX_HASH_ELT_SIZE(&names[n]) + sizeof(void *)) hinit 262 core/ngx_hash.c ngx_log_error(NGX_LOG_EMERG, hinit->pool->log, 0, hinit 265 core/ngx_hash.c hinit->name, hinit->name, hinit->bucket_size); hinit 270 core/ngx_hash.c test = ngx_alloc(hinit->max_size * sizeof(u_short), hinit->pool->log); hinit 275 core/ngx_hash.c bucket_size = hinit->bucket_size - sizeof(void *); hinit 280 core/ngx_hash.c if (hinit->max_size > 10000 && hinit->max_size / nelts < 100) { hinit 281 core/ngx_hash.c start = hinit->max_size - 1000; hinit 284 core/ngx_hash.c for (size = start; size < hinit->max_size; size++) { hinit 297 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, hinit 314 core/ngx_hash.c ngx_log_error(NGX_LOG_EMERG, hinit->pool->log, 0, hinit 317 core/ngx_hash.c hinit->name, hinit->name, hinit->max_size, hinit 318 core/ngx_hash.c hinit->name, hinit->bucket_size); hinit 351 core/ngx_hash.c if (hinit->hash == NULL) { hinit 352 core/ngx_hash.c hinit->hash = ngx_pcalloc(hinit->pool, sizeof(ngx_hash_wildcard_t) hinit 354 core/ngx_hash.c if (hinit->hash == NULL) { hinit 360 core/ngx_hash.c ((u_char *) hinit->hash + sizeof(ngx_hash_wildcard_t)); hinit 363 core/ngx_hash.c buckets = ngx_pcalloc(hinit->pool, size * sizeof(ngx_hash_elt_t *)); hinit 370 core/ngx_hash.c elts = ngx_palloc(hinit->pool, len + ngx_cacheline_size); hinit 420 core/ngx_hash.c hinit->hash->buckets = buckets; hinit 421 core/ngx_hash.c hinit->hash->size = size; hinit 432 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, hinit 441 core/ngx_hash.c key = hinit->key(val.data, val.len); hinit 443 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, hinit 458 core/ngx_hash.c ngx_hash_wildcard_init(ngx_hash_init_t *hinit, ngx_hash_key_t *names, hinit 468 core/ngx_hash.c if (ngx_array_init(&curr_names, hinit->temp_pool, nelts, hinit 475 core/ngx_hash.c if (ngx_array_init(&next_names, hinit->temp_pool, nelts, hinit 485 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, hinit 505 core/ngx_hash.c name->key_hash = hinit->key(name->key.data, name->key.len); hinit 509 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, hinit 533 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, hinit 561 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0, hinit 568 core/ngx_hash.c h = *hinit; hinit 591 core/ngx_hash.c if (ngx_hash_init(hinit, (ngx_hash_key_t *) curr_names.elts, hinit 105 core/ngx_hash.h ngx_int_t ngx_hash_init(ngx_hash_init_t *hinit, ngx_hash_key_t *names, hinit 107 core/ngx_hash.h ngx_int_t ngx_hash_wildcard_init(ngx_hash_init_t *hinit, ngx_hash_key_t *names,