Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 17 of 17) sorted by relevance

/unit/src/java/nginx/unit/websocket/
H A DWsHandshakeResponse.java41 for (Entry<String,List<String>> entry : headers.entrySet()) { in WsHandshakeResponse()
42 if (this.headers.containsKey(entry.getKey())) { in WsHandshakeResponse()
43 this.headers.get(entry.getKey()).addAll(entry.getValue()); in WsHandshakeResponse()
45 List<String> values = new ArrayList<>(entry.getValue()); in WsHandshakeResponse()
46 this.headers.put(entry.getKey(), values); in WsHandshakeResponse()
H A DWsRemoteEndpointImplBase.java659 EncoderEntry entry = new EncoderEntry( in setEncoders() local
661 encoderEntries.add(entry); in setEncoders()
667 for (EncoderEntry entry : encoderEntries) { in findEncoder()
668 if (entry.getClazz().isAssignableFrom(obj.getClass())) { in findEncoder()
669 return entry.getEncoder(); in findEncoder()
677 for (EncoderEntry entry : encoderEntries) { in close()
678 entry.getEncoder().destroy(); in close()
H A DUtil.java351 DecoderEntry entry = new DecoderEntry( in getDecoders() local
353 result.add(entry); in getDecoders()
H A DWsWebSocketContainer.java735 for (Entry<String, List<String>> entry : reqHeaders.entrySet()) { in createRequest()
736 result = addHeader(result, entry.getKey(), entry.getValue()); in createRequest()
/unit/src/java/nginx/unit/websocket/server/
H A DWsHandshakeRequest.java66 for (Entry<String,String[]> entry : originalParameters.entrySet()) { in WsHandshakeRequest()
67 newParameters.put(entry.getKey(), in WsHandshakeRequest()
69 Arrays.asList(entry.getValue()))); in WsHandshakeRequest()
71 for (Entry<String,String> entry : pathParams.entrySet()) { in WsHandshakeRequest()
72 newParameters.put(entry.getKey(), in WsHandshakeRequest()
74 Collections.singletonList(entry.getValue()))); in WsHandshakeRequest()
H A DUpgradeUtil.java158 for (Entry<String,List<String>> entry : in doUpgrade()
160 for (String headerValue: entry.getValue()) { in doUpgrade()
161 resp.addHeader(entry.getKey(), headerValue); in doUpgrade()
212 for (Map.Entry<String,List<List<Extension.Parameter>>> entry : in createTransformations()
214 Transformation transformation = factory.create(entry.getKey(), entry.getValue(), true); in createTransformations()
H A DLocalStrings.properties36 wsFrameServer.onDataAvailable=Method entry
/unit/src/nodejs/unit-http/
H A Dutils.js63 this.buffer.forEach(function(entry) { argument
64 var date = entry[0].toLocaleString();
65 var args = entry[1].slice();
H A Dhttp_server.js91 const entry = this.headers[name.toLowerCase()];
93 return entry && entry[1];
133 let entry = this.headers[lc_name];
134 let name_len = Buffer.byteLength(entry[0] + "", 'latin1');
135 let value = entry[1];
/unit/src/
H A Dnxt_lvlhsh.c768 lhe->entry = 0; in nxt_lvlhsh_each()
804 lhe->entry = 0; in nxt_lvlhsh_level_each()
838 bucket = &lhe->bucket[lhe->entry]; in nxt_lvlhsh_bucket_each()
839 lhe->entry += NXT_LVLHSH_ENTRY_SIZE; in nxt_lvlhsh_bucket_each()
854 lhe->entry = 0; in nxt_lvlhsh_bucket_each()
938 uint32_t *bucket, *entry; in nxt_lvlhsh_bucket_peek() local
945 for (entry = bucket; in nxt_lvlhsh_bucket_peek()
946 nxt_lvlhsh_free_entry(entry); in nxt_lvlhsh_bucket_peek()
947 entry += NXT_LVLHSH_ENTRY_SIZE) in nxt_lvlhsh_bucket_peek()
952 value = nxt_lvlhsh_entry_value(entry); in nxt_lvlhsh_bucket_peek()
[all …]
H A Dnxt_lvlhsh.h112 uint32_t entry; member
H A Dnxt_php_sapi.c1523 void *entry; local
1533 ret = zend_hash_find(ht, buf, str->length + 1, &entry);
1535 return entry;
/unit/src/perl/
H A Dnxt_perl_psgi.c782 SV **entry; in nxt_perl_psgi_result_head() local
817 entry = av_fetch(array_head, i, 0); in nxt_perl_psgi_result_head()
819 if (nxt_fast_path(entry == NULL)) { in nxt_perl_psgi_result_head()
826 value = SvPV(*entry, value_len); in nxt_perl_psgi_result_head()
840 entry = av_fetch(array_head, i, 0); in nxt_perl_psgi_result_head()
841 name = SvPV(*entry, name_len); in nxt_perl_psgi_result_head()
843 entry = av_fetch(array_head, i + 1, 0); in nxt_perl_psgi_result_head()
844 value = SvPV(*entry, value_len); in nxt_perl_psgi_result_head()
860 SV **entry; in nxt_perl_psgi_result_body() local
879 entry = av_fetch(body_array, i, 0); in nxt_perl_psgi_result_body()
[all …]
/unit/auto/os/
H A Dconf9 # relative path in SONAME library entry or in RPATH executable entry.
/unit/src/java/nginx/unit/websocket/pojo/
H A DPojoMethodMapping.java635 for (Map.Entry<Integer,PojoPathParam> entry : in getMessageHandlers()
637 PojoPathParam pathParam = entry.getValue(); in getMessageHandlers()
650 params[entry.getKey().intValue()] = value; in getMessageHandlers()
/unit/src/java/nginx/unit/
H A DContext.java1841 for (Map.Entry<String, String> entry : initParameters.entrySet())
1843 if (entry.getKey() == null) {
1847 if (entry.getValue() == null) {
1848 …throw new IllegalArgumentException("non-null value required for init parameter " + entry.getKey());
1851 if (init_params_.get(entry.getKey()) != null)
1855 clash.add(entry.getKey());
1858 … trace("CtxInitParams.setInitParameters " + entry.getKey() + " = " + entry.getValue());
/unit/
H A DCHANGES219 information about a certificate with a non-DNS SAN entry.