Searched refs:hash (Results 1 - 25 of 63) sorted by relevance

123

/tldk/app/nginx/src/http/modules/
H A Dngx_http_upstream_hash_module.c14 uint32_t hash; member in struct:__anon237
38 uint32_t hash; member in struct:__anon240
55 ngx_http_upstream_chash_points_t *points, uint32_t hash);
68 { ngx_string("hash"),
150 "upstream hash key:\"%V\"", &hp->key);
155 hp->hash = 0;
170 uint32_t hash; local
177 "get hash peer, try: %ui", pc->tries);
199 ngx_crc32_init(hash);
203 ngx_crc32_update(&hash, bu
284 uint32_t hash, base_hash; local
426 ngx_http_upstream_find_chash_point(ngx_http_upstream_chash_points_t *points, uint32_t hash) argument
461 uint32_t hash; local
[all...]
H A Dngx_http_referer_module.c17 ngx_hash_combined_t hash; member in struct:__anon211
127 if (rlcf->hash.hash.buckets == NULL
128 && rlcf->hash.wc_head == NULL
129 && rlcf->hash.wc_tail == NULL
189 uri = ngx_hash_find_combined(&rlcf->hash, key, buf, p - ref);
279 * conf->hash = { NULL };
305 ngx_hash_init_t hash; local
310 conf->hash = prev->hash;
[all...]
H A Dngx_http_map_module.c184 ngx_hash_init_t hash; local
295 hash.key = ngx_hash_key_lc;
296 hash.max_size = mcf->hash_max_size;
297 hash.bucket_size = mcf->hash_bucket_size;
298 hash.name = "map_hash";
299 hash.pool = cf->pool;
302 hash.hash = &map->map.hash.hash;
[all...]
H A Dngx_http_upstream_ip_hash_module.c17 ngx_uint_t hash; member in struct:__anon242
140 iphp->hash = 89;
156 ngx_uint_t i, n, p, hash; local
160 "get ip hash peer, try: %ui", pc->tries);
176 hash = iphp->hash;
181 hash = (hash * 113 + iphp->addr[i]) % 6271;
184 w = hash % iphp->rrp.peers->total_weight;
202 "get ip hash pee
[all...]
H A Dngx_http_secure_link_module.c105 ngx_str_t val, hash; local
157 hash.len = 16;
158 hash.data = hash_buf;
160 if (ngx_decode_base64url(&hash, &val) != NGX_OK) {
164 if (hash.len != 16) {
209 u_char hash[16]; local
245 ngx_md5_final(hash, &md5);
249 if (n == NGX_ERROR || n != hash[i]) {
H A Dngx_http_realip_module.c22 ngx_uint_t hash; member in struct:__anon209
135 ngx_uint_t i, hash; local
198 hash = rlcf->hash;
214 if (hash == header[i].hash
394 rlcf->hash = ngx_hash_strlow(value[1].data, value[1].data, value[1].len);
415 * conf->hash = 0;
440 conf->hash = prev->hash;
[all...]
H A Dngx_http_split_clients_module.c80 uint32_t hash; local
91 hash = ngx_murmur_hash2(val.data, val.len);
98 "http split: %uD %uD", hash, part[i].percent);
100 if (hash < part[i].percent || part[i].percent == 0) {
H A Dngx_http_ssi_filter_module.h34 ngx_hash_t hash; member in struct:__anon227
H A Dngx_http_scgi_module.c24 ngx_hash_t hash; member in struct:__anon214
628 ngx_uint_t i, n, hash, skip_empty, header_params; local
737 hash = 0;
749 hash = ngx_hash(hash, ch);
753 if (ngx_hash_find(&params->hash, hash, lowcase_key, n)) {
1034 h->hash = r->header_hash;
1061 hh = ngx_hash_find(&umcf->headers_in_hash, h->hash,
1257 ngx_hash_init_t hash; local
1612 ngx_hash_init_t hash; local
[all...]
H A Dngx_http_limit_conn_module.c47 ngx_str_t *key, uint32_t hash);
144 uint32_t hash; local
184 hash = ngx_crc32_short(key.data, key.len);
190 node = ngx_http_limit_conn_lookup(ctx->rbtree, &key, hash);
208 node->key = hash;
298 ngx_http_limit_conn_lookup(ngx_rbtree_t *rbtree, ngx_str_t *key, uint32_t hash) argument
309 if (hash < node->key) {
314 if (hash > node->key) {
319 /* hash == node->key */
H A Dngx_http_headers_filter_module.c255 e->hash = 1;
283 cc->hash = 1;
289 ccp[i]->hash = 0;
441 h->hash = 1;
482 cc->hash = 1;
517 (*old)->hash = 0;
536 h->hash = 1;
H A Dngx_http_uwsgi_module.c25 ngx_hash_t hash; member in struct:__anon249
827 ngx_uint_t i, n, hash, skip_empty, header_params; local
924 hash = 0;
936 hash = ngx_hash(hash, ch);
940 if (ngx_hash_find(&params->hash, hash, lowcase_key, n)) {
1237 h->hash = r->header_hash;
1264 hh = ngx_hash_find(&umcf->headers_in_hash, h->hash,
1471 ngx_hash_init_t hash; local
1874 ngx_hash_init_t hash; local
[all...]
/tldk/app/nginx/src/stream/
H A Dngx_stream_upstream_hash_module.c14 uint32_t hash; member in struct:__anon471
38 uint32_t hash; member in struct:__anon474
55 ngx_stream_upstream_chash_points_t *points, uint32_t hash);
68 { ngx_string("hash"),
150 "upstream hash key:\"%V\"", &hp->key);
155 hp->hash = 0;
170 uint32_t hash; local
177 "get hash peer, try: %ui", pc->tries);
198 ngx_crc32_init(hash);
202 ngx_crc32_update(&hash, bu
284 uint32_t hash, base_hash; local
427 ngx_stream_upstream_find_chash_point(ngx_stream_upstream_chash_points_t *points, uint32_t hash) argument
462 uint32_t hash; local
[all...]
H A Dngx_stream_map_module.c182 ngx_hash_init_t hash; local
294 hash.key = ngx_hash_key_lc;
295 hash.max_size = mcf->hash_max_size;
296 hash.bucket_size = mcf->hash_bucket_size;
297 hash.name = "map_hash";
298 hash.pool = cf->pool;
301 hash.hash = &map->map.hash.hash;
[all...]
H A Dngx_stream_split_clients_module.c78 uint32_t hash; local
89 hash = ngx_murmur_hash2(val.data, val.len);
96 "stream split: %uD %uD", hash, part[i].percent);
98 if (hash < part[i].percent || part[i].percent == 0) {
H A Dngx_stream_limit_conn_module.c46 ngx_str_t *key, uint32_t hash);
128 uint32_t hash; local
162 hash = ngx_crc32_short(key.data, key.len);
168 node = ngx_stream_limit_conn_lookup(ctx->rbtree, &key, hash);
186 node->key = hash;
277 uint32_t hash)
288 if (hash < node->key) {
293 if (hash > node->key) {
298 /* hash == node->key */
276 ngx_stream_limit_conn_lookup(ngx_rbtree_t *rbtree, ngx_str_t *key, uint32_t hash) argument
H A Dngx_stream_variables.h38 ngx_str_t name; /* must be first to build the hash */
91 ngx_hash_combined_t hash; member in struct:__anon480
/tldk/app/nginx/src/core/
H A Dngx_hash.h30 ngx_hash_t hash; member in struct:__anon23
46 ngx_hash_t hash; member in struct:__anon25
53 ngx_hash_t *hash; member in struct:__anon26
93 ngx_uint_t hash; member in struct:__anon28
100 void *ngx_hash_find(ngx_hash_t *hash, ngx_uint_t key, u_char *name, size_t len);
103 void *ngx_hash_find_combined(ngx_hash_combined_t *hash, ngx_uint_t key,
H A Dngx_hash.c13 ngx_hash_find(ngx_hash_t *hash, ngx_uint_t key, u_char *name, size_t len) argument
22 elt = hash->buckets[key % hash->size];
82 value = ngx_hash_find(&hwc->hash, key, &name[n], len - n);
95 * 10 - value is pointer to wildcard hash allowing
97 * 11 - value is pointer to wildcard hash allowing
174 value = ngx_hash_find(&hwc->hash, key, name, i);
185 * 11 - value is pointer to wildcard hash allowing "example.*".
211 ngx_hash_find_combined(ngx_hash_combined_t *hash, ngx_uint_t key, u_char *name, argument
216 if (hash
[all...]
H A Dngx_conf_file.c106 uint32_t hash; local
111 hash = ngx_crc32_long(filename->data, filename->len);
113 sn = ngx_str_rbtree_lookup(&cf->cycle->config_dump_rbtree, filename, hash);
148 sn->node.key = hash;
/tldk/app/nginx/src/http/
H A Dngx_http.c408 ngx_hash_init_t hash; local
428 hash.hash = &cmcf->headers_in_hash;
429 hash.key = ngx_hash_key_lc;
430 hash.max_size = 512;
431 hash.bucket_size = ngx_align(64, ngx_cacheline_size);
432 hash.name = "headers_in_hash";
433 hash.pool = cf->pool;
434 hash.temp_pool = NULL;
436 if (ngx_hash_init(&hash, headers_i
1430 ngx_hash_init_t hash; local
1919 ngx_uint_t i, n, hash; local
1994 ngx_hash_init_t hash; local
[all...]
H A Dngx_http_core_module.h276 ngx_hash_t hash; member in struct:__anon283
553 r->headers_out.content_length->hash = 0; \
561 r->headers_out.accept_ranges->hash = 0; \
569 r->headers_out.last_modified->hash = 0; \
576 r->headers_out.location->hash = 0; \
583 r->headers_out.etag->hash = 0; \
H A Dngx_http_variables.h38 ngx_str_t name; /* must be first to build the hash */
94 ngx_hash_combined_t hash; member in struct:__anon335
/tldk/app/nginx/src/http/modules/perl/
H A Dngx_http_perl_module.h41 ngx_uint_t hash; member in struct:__anon261
H A Dnginx.xs231 ngx_uint_t i, n, hash;
255 hash = ngx_hash_strlow(lowcase_key, p, len);
259 hh = ngx_hash_find(&cmcf->headers_in_hash, hash, lowcase_key, len);
510 header->hash = 1;
861 ngx_uint_t i, hash;
896 hash = ngx_hash_strlow(lowcase, p, len);
911 vv = ngx_http_get_variable(r, &var, hash);
925 if (hash != v[i].hash
957 v->hash
[all...]

Completed in 21 milliseconds

123