Searched refs:protocols (Results 1 - 25 of 109) sorted by relevance

12345

/external/smack/src/org/xbill/DNS/
H A DWKSRecord.java152 private static Mnemonic protocols = new Mnemonic("IP protocol", field in class:WKSRecord.Protocol
156 protocols.setMaximum(0xFF);
157 protocols.setNumericAllowed(true);
159 protocols.add(ICMP, "icmp");
160 protocols.add(IGMP, "igmp");
161 protocols.add(GGP, "ggp");
162 protocols.add(ST, "st");
163 protocols.add(TCP, "tcp");
164 protocols.add(UCL, "ucl");
165 protocols
[all...]
H A DKEYRecord.java46 private static Mnemonic protocols = new Mnemonic("KEY protocol", field in class:KEYRecord.Protocol
50 protocols.setMaximum(0xFF);
51 protocols.setNumericAllowed(true);
53 protocols.add(NONE, "NONE");
54 protocols.add(TLS, "TLS");
55 protocols.add(EMAIL, "EMAIL");
56 protocols.add(DNSSEC, "DNSSEC");
57 protocols.add(IPSEC, "IPSEC");
58 protocols.add(ANY, "ANY");
66 return protocols
[all...]
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DFilterUrlByProtocolAttributePolicy.java40 * URLs with protocols must match the protocol set passed to the constructor.
41 * URLs without protocols but which specify an origin different from the
59 private final ImmutableSet<String> protocols; field in class:FilterUrlByProtocolAttributePolicy
62 Iterable<? extends String> protocols) {
63 this.protocols = ImmutableSet.copyOf(protocols);
74 // or the protocols by which HTML is normally served are OK.
81 if (!protocols.contains(protocol)) { return null; }
89 return protocols.contains("http") && protocols
61 FilterUrlByProtocolAttributePolicy( Iterable<? extends String> protocols) argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DAddress.java46 final List<Protocol> protocols; field in class:Address
50 OkAuthenticator authenticator, Proxy proxy, List<Protocol> protocols)
55 if (protocols == null) throw new IllegalArgumentException("protocols == null");
63 this.protocols = Util.immutableList(protocols);
109 * Returns the protocols the client supports. This method always returns a
114 return protocols;
134 && equal(this.protocols, that.protocols);
48 Address(String uriHost, int uriPort, SocketFactory socketFactory, SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier, OkAuthenticator authenticator, Proxy proxy, List<Protocol> protocols) argument
[all...]
H A DOkHttpClient.java60 private List<Protocol> protocols; field in class:OkHttpClient
311 * protocols} that can be selected. Please switch to {@link
316 List<Protocol> protocols = new ArrayList<Protocol>(transports.size());
320 protocols.add(protocol);
325 return setProtocols(protocols);
329 * Configure the protocols used by this client to communicate with remote
331 * available, falling back to more ubiquitous protocols. Applications should
335 * <p>The following protocols are currently supported:
343 * support for transitional protocols (like spdy/3.1), in favor of their
347 * <p>If multiple protocols ar
356 setProtocols(List<Protocol> protocols) argument
[all...]
/external/okhttp/android/main/java/com/squareup/okhttp/internal/
H A DPlatform.java141 * Sets client-supported protocols on a socket to send to a server. The
142 * protocols are only sent if the socket implementation supports NPN.
151 byte[] protocols = concatLengthPrefixed(npnProtocols);
154 socket, new Object[] { protocols });
158 socket, new Object[] { protocols });
187 static byte[] concatLengthPrefixed(List<Protocol> protocols) { argument
189 for (Protocol protocol : protocols) {
194 for (Protocol protocol : protocols) {
/external/chromium_org/ppapi/utility/websocket/
H A Dwebsocket_api.cc32 int32_t Connect(const Var& url, const Var protocols[], argument
37 WebSocket::Connect(url, protocols, protocol_count, callback);
114 int32_t WebSocketAPI::Connect(const Var& url, const Var protocols[], argument
116 return impl_->Connect(url, protocols, protocol_count);
H A Dwebsocket_api.h33 /// @param[in] protocols A pointer to an array of string type
34 /// <code>Var</code> specifying sub-protocols. Each <code>Var</code>
38 /// @param[in] protocol_count The number of sub-protocols in
39 /// <code>protocols</code>.
44 int32_t Connect(const Var& url, const Var protocols[],
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebSocketHandle.h62 virtual void connect(const WebURL& /* url */, const WebVector<WebString>& protocols, const WebSerializedOrigin& /* origin */, WebSocketHandleClient*) = 0;
/external/okhttp/android/test/java/com/squareup/okhttp/internal/
H A DPlatformTest.java80 List<Protocol> protocols = Arrays.asList(Protocol.SPDY_3);
84 platform.setNpnProtocols(arbitrarySocketImpl, protocols);
87 platform.setNpnProtocols(npnOnlySSLSocketImpl, protocols);
91 platform.setNpnProtocols(openSslSocket, protocols);
178 public void setEnabledProtocols(String[] protocols) { argument
/external/chromium_org/chromeos/dbus/
H A Dfake_nfc_adapter_client.cc89 std::vector<std::string> protocols; local
90 protocols.push_back(nfc_common::kProtocolFelica);
91 protocols.push_back(nfc_common::kProtocolMifare);
92 protocols.push_back(nfc_common::kProtocolJewel);
93 protocols.push_back(nfc_common::kProtocolIsoDep);
94 protocols.push_back(nfc_common::kProtocolNfcDep);
100 properties_->protocols.ReplaceValue(protocols);
106 second_properties_->protocols.ReplaceValue(protocols);
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dnethelpers.cc120 scoped_ptr<char[]> protocols;
126 // Check for protocols in a do-while loop until we provide a buffer large
130 protocols.reset(new char[protbuff_size]);
131 protocol_infos = reinterpret_cast<LPWSAPROTOCOL_INFOW>(protocols.get());
/external/chromium_org/mojo/services/network/
H A Dweb_socket_impl.h31 Array<String> protocols,
/external/chromium_org/ppapi/cpp/
H A Dwebsocket.h45 /// @param[in] protocols A pointer to an array of <code>Var</code> of string
46 /// type specifying sub-protocols. Each <code>Var</code> represents one
50 /// @param[in] protocol_count The number of sub-protocols in
51 /// <code>protocols</code>.
60 /// or <code>protocols</code> contains invalid string as defined in
72 int32_t Connect(const Var& url, const Var protocols[],
H A Dwebsocket.cc35 int32_t WebSocket::Connect(const Var& url, const Var protocols[], argument
40 // Convert protocols to C interface.
45 c_protocols[i] = protocols[i].pp_var();
/external/chromium_org/ppapi/thunk/
H A Dppb_websocket_api.h27 // Connects to the specified WebSocket server with |protocols| argument
31 const PP_Var protocols[],
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
H A DDOMWebSocket.cpp252 Vector<String> protocols; local
253 return create(context, url, protocols, exceptionState);
256 DOMWebSocket* DOMWebSocket::create(ExecutionContext* context, const String& url, const Vector<String>& protocols, ExceptionState& exceptionState) argument
266 webSocket->connect(url, protocols, exceptionState);
275 Vector<String> protocols; local
276 protocols.append(protocol);
277 return create(context, url, protocols, exceptionState);
280 void DOMWebSocket::connect(const String& url, const Vector<String>& protocols, ExceptionState& exceptionState) argument
322 for (size_t i = 0; i < protocols.size(); ++i) {
323 if (!isValidSubprotocolString(protocols[
[all...]
H A DWebSocket.idl42 Constructor(DOMString url, sequence<DOMString> protocols),
/external/conscrypt/src/main/java/org/conscrypt/
H A DOpenSSLServerSocketImpl.java66 * The names of the protocols' versions that may be used on this SSL
68 * @return an array of protocols names
76 * The names of the protocols' versions that in use on this SSL connection.
78 * @return an array of protocols names
86 * This method enables the protocols' versions listed by
89 * @param protocols names of all the protocols to enable.
95 public void setEnabledProtocols(String[] protocols) { argument
96 sslParameters.setEnabledProtocols(protocols);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
H A DPlatform.java118 * Sets client-supported protocols on a socket to send to a server. The
119 * protocols are only sent if the socket implementation supports NPN.
342 /** This peer's supported protocols. */
343 private final List<String> protocols; field in class:Platform.JettyNpnProvider
349 public JettyNpnProvider(List<String> protocols) { argument
350 this.protocols = protocols;
364 } else if (methodName.equals("protocols") && args.length == 0) {
365 return protocols; // Server advertises these protocols
393 concatLengthPrefixed(List<Protocol> protocols) argument
[all...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
H A DRouteSelectorTest.java82 private final List<Protocol> protocols = Arrays.asList(Protocol.HTTP_11); field in class:RouteSelectorTest
88 protocols);
108 protocols);
130 proxyA, protocols);
148 NO_PROXY, protocols);
166 protocols);
184 protocols);
202 protocols);
238 protocols);
257 protocols);
[all...]
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
H A DSSLServerSocketTest.java123 public void setEnabledProtocols(String[] protocols) { argument
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dhandler_options_handler.cc135 std::vector<std::string> protocols; local
136 registry->GetRegisteredProtocols(&protocols);
139 for (std::vector<std::string>::iterator protocol = protocols.begin();
140 protocol != protocols.end(); protocol++) {
/external/chromium_org/content/child/
H A Dwebsocket_bridge.h35 const blink::WebVector<blink::WebString>& protocols,
/external/chromium_org/content/renderer/pepper/
H A Dpepper_websocket_host.cc206 const std::vector<std::string>& protocols) {
220 // Validate protocols.
222 for (std::vector<std::string>::const_iterator vector_it = protocols.begin();
223 vector_it != protocols.end();
246 // Join protocols with the comma separator.
247 if (vector_it != protocols.begin())
252 // Convert protocols to WebString.
203 OnHostMsgConnect( ppapi::host::HostMessageContext* context, const std::string& url, const std::vector<std::string>& protocols) argument

Completed in 676 milliseconds

12345