Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 58) sorted by path

123

/unit/
H A DSECURITY.txt10 Encryption: https://nginx.org/keys/maxim.key
11 Encryption: https://nginx.org/keys/sb.key
12 Encryption: https://nginx.org/keys/thresh.key
/unit/auto/
H A Dthreads193 __thread int key;
198 key = 0x9abcdef0;
206 key = 0x12345678;
211 if (key != 0x12345678)
231 pthread_key_t key = -1;
233 if (pthread_key_create(&key, NULL))
235 if (pthread_setspecific(key, (void *) 0x12345678))
237 if (pthread_getspecific(key) != (void *) 0x12345678)
/unit/go/
H A Dport.go27 key port_key member
41 res := port_registry_.m[key]
54 old := port_registry_.m[p.key]
57 port_registry_.m[p.key] = p
100 key: port_key{
129 key := port_key{
136 delete(port_registry_.m, key)
146 key := port_key{
151 p := find_port(key)
174 key := port_key{
[all …]
/unit/pkg/deb/debian.module/
H A Dunit.example-jsc-app7 String key = (String) keys.nextElement();
8 String value = (String) p.get(key);
9 out.println(" " + key + " : " + value);
/unit/pkg/rpm/rpmbuild/SOURCES/
H A Dunit.example-jsc-app7 String key = (String) keys.nextElement();
8 String value = (String) p.get(key);
9 out.println(" " + key + " : " + value);
/unit/src/java/nginx/unit/websocket/
H A DAuthenticator.java59 String key = m.group(1); in parseWWWAuthenticateHeader() local
63 challenge.put(key, qtedValue != null ? qtedValue : value); in parseWWWAuthenticateHeader()
H A DWsWebSocketContainer.java748 private static ByteBuffer addHeader(ByteBuffer result, String key, List<String> values) { in addHeader() argument
753 result = putWithExpand(result, key.getBytes(StandardCharsets.ISO_8859_1)); in addHeader()
/unit/src/java/nginx/unit/websocket/server/
H A DUpgradeUtil.java280 private static String getWebSocketAccept(String key) { in getWebSocketAccept() argument
282 key.getBytes(StandardCharsets.ISO_8859_1), WS_ACCEPT); in getWebSocketAccept()
H A DWsServerContainer.java153 Integer key = Integer.valueOf(uriTemplate.getSegmentCount()); in addEndpoint() local
155 configTemplateMatchMap.get(key); in addEndpoint()
161 configTemplateMatchMap.putIfAbsent(key, templateMatches); in addEndpoint()
162 templateMatches = configTemplateMatchMap.get(key); in addEndpoint()
292 Integer key = Integer.valueOf(pathUriTemplate.getSegmentCount()); in findMapping() local
294 configTemplateMatchMap.get(key); in findMapping()
/unit/src/nodejs/unit-http/
H A Dhttp_server.js107 const key = keys[i];
109 ret[key] = this.headers[key][1];
H A Dnxt_napi.h299 get_property(napi_value val, napi_value key) in get_property()
304 status = napi_get_property(env_, val, key, &res); in get_property()
H A Dwebsocket_request.js121 this.key = request.headers['sec-websocket-key'];
122 if (!this.key) {
231 var key = pair.substr(0, eq_idx).trim();
240 name: key,
470 for (var key in extraHeaders) {
471 var sanitizedValue = extraHeaders[key].toString().replace(headerSanitizeRegExp, '');
472 var sanitizedKey = key.replace(headerSanitizeRegExp, '');
/unit/src/
H A Dnxt_application.c1117 qpid = (nxt_pid_t *) lhq->key.start; in nxt_proto_lvlhsh_isolated_pid_test()
1139 lhq->key.length = sizeof(nxt_pid_t); in nxt_proto_process_lhq_pid()
1140 lhq->key.start = (u_char *) pid; in nxt_proto_process_lhq_pid()
H A Dnxt_cache.c103 if (nxt_str_eq(&lhq->key, node->key_data, node->key_len)) { in nxt_cache_lvlhsh_test()
141 lhq.key.len = q->key_len; in nxt_cache_query()
142 lhq.key.data = q->key_data; in nxt_cache_query()
425 lhq.key.len = node->key_len; in nxt_cache_update()
426 lhq.key.data = node->key_data; in nxt_cache_update()
H A Dnxt_cert.c23 EVP_PKEY *key; member
136 key = NULL; in nxt_cert_bio()
221 if (key != NULL) { in nxt_cert_bio()
228 cert->key = key; in nxt_cert_bio()
254 if (cert->key == NULL) { in nxt_cert_bio()
399 lhq.key = *name; in nxt_cert_info_save()
430 lhq.key = *name; in nxt_cert_info_get()
497 EVP_PKEY *key; in nxt_cert_details() local
518 if (cert->key != NULL) { in nxt_cert_details()
519 key = cert->key; in nxt_cert_details()
[all …]
H A Dnxt_conf.c1669 nxt_conf_get_string(&member->name, &lhq.key); in nxt_conf_object_hash_add()
1671 lhq.key_hash = nxt_djb_hash(lhq.key.start, lhq.key.length); in nxt_conf_object_hash_add()
1691 return nxt_strstr_eq(&lhq->key, &str) ? NXT_OK : NXT_DECLINED; in nxt_conf_object_hash_test()
H A Dnxt_conf_validation.c554 nxt_str_t key; in nxt_conf_vldt_ticket_key_element() local
561 nxt_conf_get_string(value, &key); in nxt_conf_vldt_ticket_key_element()
563 ret = nxt_base64_decode(NULL, key.start, key.length); in nxt_conf_vldt_ticket_key_element()
566 "key \"%V\".", &key); in nxt_conf_vldt_ticket_key_element()
572 ret, &key); in nxt_conf_vldt_ticket_key_element()
H A Dnxt_cyassl.c109 char *certificate, *key; in nxt_cyassl_server_init() local
139 key = conf->certificate_key; in nxt_cyassl_server_init()
141 err = CyaSSL_CTX_use_PrivateKey_file(ctx, key, SSL_FILETYPE_PEM); in nxt_cyassl_server_init()
145 key); in nxt_cyassl_server_init()
H A Dnxt_fastcgi_source.c578 lhq.key.len = nv->name_len; in nxt_fastcgi_source_header_process()
579 lhq.key.data = nv->name_start; in nxt_fastcgi_source_header_process()
H A Dnxt_file_cache.c59 if (nxt_strmem_eq(&hkey->key, node->key_data, node->key_len)) { in nxt_file_cache_lvlhsh_test()
74 hkey.key.len = q->key_len; in nxt_file_cache_query()
75 hkey.key.data = q->key_data; in nxt_file_cache_query()
408 hkey.key.len = node->key_len;
409 hkey.key.data = node->key_data;
482 hkey.key.len = node->key_len; in nxt_cache_node_release_locked()
483 hkey.key.data = node->key_data; in nxt_cache_node_release_locked()
H A Dnxt_gnutls.c147 char *certificate, *key, *ca_certificate; in nxt_gnutls_server_init() local
176 key = conf->certificate_key; in nxt_gnutls_server_init()
179 key, GNUTLS_X509_FMT_PEM); in nxt_gnutls_server_init()
183 certificate, key); in nxt_gnutls_server_init()
H A Dnxt_http_parse.c1164 if (nxt_strcasestr_eq(&lhq->key, &field->name)) { in nxt_http_field_hash_test()
1184 uint32_t key; in nxt_http_fields_hash() local
1194 key = NXT_HTTP_FIELD_HASH_INIT; in nxt_http_fields_hash()
1199 key = nxt_http_field_hash_char(key, ch); in nxt_http_fields_hash()
1202 lhq.key_hash = nxt_http_field_hash_end(key) & 0xFFFF; in nxt_http_fields_hash()
1203 lhq.key = *name; in nxt_http_fields_hash()
1222 uint32_t key, mask; in nxt_http_fields_hash_collisions() local
1239 key = NXT_HTTP_FIELD_HASH_INIT; in nxt_http_fields_hash_collisions()
1244 key = nxt_http_field_hash_char(key, ch); in nxt_http_fields_hash_collisions()
1247 lhq.key_hash = nxt_http_field_hash_end(key) & mask; in nxt_http_fields_hash_collisions()
H A Dnxt_http_parse.h144 lhq.key.length = field->name_length; in nxt_http_field_process()
145 lhq.key.start = field->name; in nxt_http_field_process()
H A Dnxt_http_source.c356 lhq.key.len = nv->name_len; in nxt_http_source_header_line_process()
357 lhq.key.data = nv->name_start; in nxt_http_source_header_line_process()
H A Dnxt_http_static.c1043 lhq.key = *exten; in nxt_http_static_mtypes_hash_add()
1044 lhq.key_hash = nxt_djb_hash_lowcase(lhq.key.start, lhq.key.length); in nxt_http_static_mtypes_hash_add()
1062 lhq.key = *exten; in nxt_http_static_mtype_get()
1063 lhq.key_hash = nxt_djb_hash_lowcase(lhq.key.start, lhq.key.length); in nxt_http_static_mtype_get()
1082 return nxt_strcasestr_eq(&lhq->key, &mtype->exten) ? NXT_OK : NXT_DECLINED; in nxt_http_static_mtypes_hash_test()

123