Searched refs:key (Results 1 - 25 of 70) sorted by relevance

123

/tldk/app/nginx/src/os/win32/
H A Dngx_user.c14 ngx_libc_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted) argument
18 *encrypted = key;
H A Dngx_user.h21 ngx_int_t ngx_libc_crypt(ngx_pool_t *pool, u_char *key, u_char *salt,
H A Dngx_event_log.c19 HKEY key; local
55 0, NULL, REG_OPTION_NON_VOLATILE, KEY_SET_VALUE, NULL, &key, NULL)
61 if (RegSetValueEx(key, "EventMessageFile", 0, REG_EXPAND_SZ,
70 if (RegSetValueEx(key, "TypesSupported", 0, REG_DWORD,
77 RegCloseKey(key);
/tldk/app/nginx/src/event/
H A Dngx_event_timer.h36 ngx_event_ident(ev->data), ev->timer.key);
53 ngx_msec_t key; local
56 key = ngx_current_msec + timer;
66 diff = (ngx_msec_int_t) (key - ev->timer.key);
71 ngx_event_ident(ev->data), ev->timer.key, key);
78 ev->timer.key = key;
82 ngx_event_ident(ev->data), timer, ev->timer.key);
[all...]
H A Dngx_event_timer.c47 timer = (ngx_msec_int_t) (node->key - ngx_current_msec);
70 /* node->key > ngx_current_msec */
72 if ((ngx_msec_int_t) (node->key - ngx_current_msec) > 0) {
80 ngx_event_ident(ev->data), ev->timer.key);
/tldk/app/nginx/src/core/
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];
56 ngx_uint_t i, n, key; local
72 key = 0;
75 key = ngx_hash(key, name[i]);
79 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "key:\"%ui\"", key);
82 value = ngx_hash_find(&hwc->hash, key, &name[n], len - n);
150 ngx_uint_t i, key; local
211 ngx_hash_find_combined(ngx_hash_combined_t *hash, ngx_uint_t key, u_char *name, size_t len) argument
257 ngx_uint_t i, n, key, size, start, bucket_size; local
612 ngx_uint_t i, key; local
627 ngx_uint_t i, key; local
642 ngx_uint_t key; local
713 ngx_hash_add_key(ngx_hash_keys_arrays_t *ha, ngx_str_t *key, void *value, ngx_uint_t flags) argument
[all...]
H A Dngx_crypt.c16 static ngx_int_t ngx_crypt_apr1(ngx_pool_t *pool, u_char *key, u_char *salt,
18 static ngx_int_t ngx_crypt_plain(ngx_pool_t *pool, u_char *key, u_char *salt,
20 static ngx_int_t ngx_crypt_ssha(ngx_pool_t *pool, u_char *key, u_char *salt,
22 static ngx_int_t ngx_crypt_sha(ngx_pool_t *pool, u_char *key, u_char *salt,
30 ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted) argument
33 return ngx_crypt_apr1(pool, key, salt, encrypted);
36 return ngx_crypt_plain(pool, key, salt, encrypted);
39 return ngx_crypt_ssha(pool, key, salt, encrypted);
42 return ngx_crypt_sha(pool, key, salt, encrypted);
47 return ngx_libc_crypt(pool, key, sal
52 ngx_crypt_apr1(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted) argument
168 ngx_crypt_plain(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted) argument
188 ngx_crypt_ssha(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted) argument
240 ngx_crypt_sha(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted) argument
[all...]
H A Dngx_crypt.h16 ngx_int_t ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt,
H A Dngx_radix_tree.h41 uint32_t key, uint32_t mask, uintptr_t value);
43 uint32_t key, uint32_t mask);
44 uintptr_t ngx_radix32tree_find(ngx_radix_tree_t *tree, uint32_t key);
48 u_char *key, u_char *mask, uintptr_t value);
50 u_char *key, u_char *mask);
51 uintptr_t ngx_radix128tree_find(ngx_radix_tree_t *tree, u_char *key);
H A Dngx_hash.h36 ngx_str_t key; member in struct:__anon24
54 ngx_hash_key_pt key; member in struct:__anon26
94 ngx_str_t key; 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,
111 #define ngx_hash(key, c) ((ngx_uint_t) key * 31 + c)
118 ngx_int_t ngx_hash_add_key(ngx_hash_keys_arrays_t *ha, ngx_str_t *key,
H A Dngx_radix_tree.c18 uint32_t key, mask, inc; local
86 key = 0;
91 if (ngx_radix32tree_insert(tree, key, mask, NGX_RADIX_NO_VALUE)
97 key += inc;
99 } while (key);
109 ngx_radix32tree_insert(ngx_radix_tree_t *tree, uint32_t key, uint32_t mask, argument
121 if (key & bit) {
156 if (key & bit) {
174 ngx_radix32tree_delete(ngx_radix_tree_t *tree, uint32_t key, uint32_t mask) argument
183 if (key
237 ngx_radix32tree_find(ngx_radix_tree_t *tree, uint32_t key) argument
269 ngx_radix128tree_insert(ngx_radix_tree_t *tree, u_char *key, u_char *mask, uintptr_t value) argument
352 ngx_radix128tree_delete(ngx_radix_tree_t *tree, u_char *key, u_char *mask) argument
425 ngx_radix128tree_find(ngx_radix_tree_t *tree, u_char *key) argument
[all...]
/tldk/app/nginx/src/os/unix/
H A Dngx_user.h20 ngx_int_t ngx_libc_crypt(ngx_pool_t *pool, u_char *key, u_char *salt,
H A Dngx_user.c27 ngx_libc_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted) argument
39 value = crypt_r((char *) key, (char *) salt, &cd);
61 ngx_libc_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted) argument
67 value = crypt((char *) key, (char *) salt);
/tldk/examples/l4fwd/
H A Dfwdtbl.h36 const struct sockaddr *sa, union fwd_key *key)
45 key->k4.port = sin4->sin_port;
46 key->k4.addr = sin4->sin_addr;
50 key->k6.port = sin6->sin6_port;
51 key->k6.addr = sin6->sin6_addr;
63 union fwd_key key; local
65 h = fwd_tbl_key_prep(fe, family, sa, &key);
66 rc = rte_hash_add_key_data(h, &key, data);
76 union fwd_key key; local
78 h = fwd_tbl_key_prep(fe, family, sa, &key);
35 fwd_tbl_key_prep(const struct netfe_lcore *fe, uint16_t family, const struct sockaddr *sa, union fwd_key *key) argument
[all...]
/tldk/app/nginx/src/http/modules/
H A Dngx_http_limit_conn_module.c29 ngx_http_complex_value_t key; member in struct:__anon157
47 ngx_str_t *key, uint32_t hash);
145 ngx_str_t key; local
166 if (ngx_http_complex_value(r, &ctx->key, &key) != NGX_OK) {
170 if (key.len == 0) {
174 if (key.len > 255) {
176 "the value of the \"%V\" key "
178 &ctx->key.value, &key);
298 ngx_http_limit_conn_lookup(ngx_rbtree_t *rbtree, ngx_str_t *key, uint32_t hash) argument
[all...]
H A Dngx_http_limit_req_module.c38 ngx_http_complex_value_t key; member in struct:__anon162
61 ngx_uint_t hash, ngx_str_t *key, ngx_uint_t *ep, ngx_uint_t account);
160 ngx_str_t key; local
189 if (ngx_http_complex_value(r, &ctx->key, &key) != NGX_OK) {
193 if (key.len == 0) {
197 if (key.len > 65535) {
199 "the value of the \"%V\" key "
201 &ctx->key.value, &key);
360 ngx_http_limit_req_lookup(ngx_http_limit_req_limit_t *limit, ngx_uint_t hash, ngx_str_t *key, ngx_uint_t *ep, ngx_uint_t account) argument
[all...]
H A Dngx_http_scgi_module.c600 ngx_str_t *key; local
603 key = ngx_array_push(&r->cache->keys);
604 if (key == NULL) {
610 if (ngx_http_complex_value(r, &scf->cache_key, key) != NGX_OK) {
624 u_char ch, *key, *val, *lowcase_key; local
729 if (allocated < header[i].key.len) {
730 allocated = header[i].key.len + 16;
739 for (n = 0; n < header[i].key.len; n++) {
740 ch = header[i].key.data[n];
759 len += sizeof("HTTP_") - 1 + header[i].key
[all...]
H A Dngx_http_ssi_filter_module.c37 ngx_uint_t key; member in struct:__anon224
80 ngx_str_t *name, ngx_uint_t key);
632 cmd = ngx_hash_find(&smcf->hash, ctx->key, ctx->command.data,
656 len += 1 + param[i].key.len + 2
685 b->last = ngx_cpymem(b->last, param[i].key.data,
686 param[i].key.len);
747 if (param[i].key.len != prm->name.len
748 || ngx_strncmp(param[i].key.data, prm->name.data,
760 &param[i].key, &ctx->command);
783 &param[i].key,
1554 ngx_http_ssi_get_variable(ngx_http_request_t *r, ngx_str_t *name, ngx_uint_t key) argument
1631 ngx_int_t key; local
1884 ngx_int_t key; local
1989 ngx_int_t rc, key; local
2249 ngx_int_t key; local
2411 ngx_int_t key, rc; local
[all...]
H A Dngx_http_memcached_module.c23 ngx_str_t key; member in struct:__anon176
274 ctx->key.data = b->last;
284 ctx->key.len = b->last - ctx->key.data;
287 "http memcached request: \"%V\"", &ctx->key);
347 if (ngx_strncmp(p, ctx->key.data, ctx->key.len) != 0) {
349 "memcached sent invalid key in response \"%V\" "
350 "for key \"%V\"",
351 &line, &ctx->key);
[all...]
H A Dngx_http_uwsgi_module.c802 ngx_str_t *key; local
805 key = ngx_array_push(&r->cache->keys);
806 if (key == NULL) {
812 if (ngx_http_complex_value(r, &uwcf->cache_key, key) != NGX_OK) {
916 if (allocated < header[i].key.len) {
917 allocated = header[i].key.len + 16;
926 for (n = 0; n < header[i].key.len; n++) {
927 ch = header[i].key.data[n];
946 len += 2 + sizeof("HTTP_") - 1 + header[i].key.len
1064 key_len = sizeof("HTTP_") - 1 + header[i].key
[all...]
H A Dngx_http_map_module.c295 hash.key = ngx_hash_key_lc;
376 return ngx_dns_strcmp(first->key.data, second->key.data);
387 ngx_uint_t i, key; local
421 key = 0;
424 key = ngx_hash(key, value[1].data[i]);
427 key %= ctx->keys.hsize;
429 vp = ctx->values_hash[key].elts;
432 for (i = 0; i < ctx->values_hash[key]
[all...]
/tldk/app/nginx/src/stream/
H A Dngx_stream_limit_conn_module.c29 ngx_stream_complex_value_t key; member in struct:__anon432
46 ngx_str_t *key, uint32_t hash);
129 ngx_str_t key; local
146 if (ngx_stream_complex_value(s, &ctx->key, &key) != NGX_OK) {
150 if (key.len == 0) {
154 if (key.len > 255) {
156 "the value of the \"%V\" key "
158 &ctx->key.value, &key);
276 ngx_stream_limit_conn_lookup(ngx_rbtree_t *rbtree, ngx_str_t *key, uint32_t hash) argument
[all...]
/tldk/app/nginx/src/event/modules/
H A Dngx_iocp_module.c18 ngx_uint_t key);
194 ngx_iocp_add_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t key) argument
204 "iocp add: fd:%d k:%ui ov:%p", c->fd, key, &ev->ovlp);
206 if (CreateIoCompletionPort((HANDLE) c->fd, iocp, key, 0) == NULL) {
239 u_int key; local
252 rc = GetQueuedCompletionStatus(iocp, &bytes, (PULONG_PTR) &key,
268 "iocp: %d b:%d k:%d ov:%p", rc, bytes, key, ovlp);
324 switch (key) {
/tldk/app/nginx/src/http/
H A Dngx_http_file_cache.c36 ngx_http_file_cache_lookup(ngx_http_file_cache_t *cache, u_char *key);
230 ngx_str_t *key; local
242 key = c->keys.elts;
245 "http cache key: \"%V\"", &key[i]);
247 len += key[i].len;
249 ngx_crc32_update(&c->crc32, key[i].data, key[i].len);
250 ngx_md5_update(&md5, key[i].data, key[
530 ngx_str_t *key; local
967 ngx_http_file_cache_lookup(ngx_http_file_cache_t *cache, u_char *key) argument
1246 ngx_str_t *key; local
1773 u_char key[2 * NGX_HTTP_CACHE_KEY_LEN]; local
[all...]
/tldk/app/nginx/src/http/modules/perl/
H A Dnginx.xs222 header_in(r, key)
227 SV *key;
240 key = ST(1);
242 if (SvROK(key) && SvTYPE(SvRV(key)) == SVt_PV) {
243 key = SvRV(key);
246 p = (u_char *) SvPV(key, len);
349 if (len != h[i].key.len
350 || ngx_strcasecmp(p, h[i].key
[all...]

Completed in 17 milliseconds

123