/external/libvncserver/webclients/novnc/include/ |
D | websock.js | 207 init: function (protocols, ws_schema) { argument 236 if (typeof(protocols) === "undefined") { 238 protocols = ['binary', 'base64']; 240 protocols = 'base64'; 245 if (protocols === 'binary') { 249 if (typeof(protocols) === 'object') { 252 for (var i = 0; i < protocols.length; i++) { 253 if (protocols[i] === 'binary') { 256 new_protocols.push(protocols[i]); 261 protocols = new_protocols; [all …]
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
D | FilterUrlByProtocolAttributePolicy.java | 59 private final ImmutableSet<String> protocols; field in FilterUrlByProtocolAttributePolicy 62 Iterable<? extends String> protocols) { in FilterUrlByProtocolAttributePolicy() argument 63 this.protocols = ImmutableSet.copyOf(protocols); in FilterUrlByProtocolAttributePolicy() 81 if (!protocols.contains(protocol)) { return null; } in apply() 89 return protocols.contains("http") && protocols.contains("https"); in allowProtocolRelativeUrls() 154 && protocols.equals(((FilterUrlByProtocolAttributePolicy) o).protocols); in equals() 159 return protocols.hashCode(); in hashCode()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | SSLUtilsTest.java | 59 byte[][] protocols = new byte[][]{ in validProtocolsShouldSucceed() 64 byte[] expected = getExpectedEncodedBytes(protocols); in validProtocolsShouldSucceed() 65 byte[] actual = SSLUtils.toLengthPrefixedList(toStrings(protocols)); in validProtocolsShouldSucceed() 101 private static String[] toStrings(byte[][] protocols) { in toStrings() argument 102 int numProtocols = protocols.length; in toStrings() 105 out[i] = new String(protocols[i], UTF_8); in toStrings() 110 private static byte[] getExpectedEncodedBytes(byte[][] protocols) { in getExpectedEncodedBytes() argument 111 int numProtocols = protocols.length; in getExpectedEncodedBytes() 113 for (byte[] protocol : protocols) { in getExpectedEncodedBytes() 118 byte[] protocol = protocols[i]; in getExpectedEncodedBytes()
|
/external/curl/docs/cmdline-opts/ |
D | proto.d | 2 Arg: <protocols> 7 Tells curl to limit what protocols it may use in the transfer. Protocols are 13 Permit this protocol in addition to protocols already permitted (this is 17 Deny this protocol, removing it from the list of protocols already permitted. 29 uses the default protocols, but disables ftps 38 Unknown protocols produce a warning. This allows scripts to safely rely on 39 being able to disable potentially dangerous protocols, without relying upon 43 as concatenating the protocols into one instance of the option.
|
D | gen.pl | 66 sub protocols { subroutine 94 my $protocols; 124 $protocols=$1; 182 if($protocols) { 183 print protocols($standalone, $protocols); 236 my $protocols; 251 $protocols=$1; 265 $protolong{$long}=$protocols;
|
D | proto-redir.d | 2 Arg: <protocols> 6 Tells curl to limit what protocols it may use on redirect. Protocols denied by 7 --proto are not overridden by this option. See --proto for how protocols are 14 By default curl will allow all protocols on redirect except several disabled 17 protocols on redirect, including those disabled for security.
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Address.java | 43 final List<Protocol> protocols; field in Address 54 List<Protocol> protocols, List<ConnectionSpec> connectionSpecs, ProxySelector proxySelector) { in Address() argument 70 if (protocols == null) throw new IllegalArgumentException("protocols == null"); in Address() 71 this.protocols = Util.immutableList(protocols); in Address() 134 return protocols; in getProtocols() 178 && this.protocols.equals(that.protocols) in equals() 194 result = 31 * result + protocols.hashCode(); in hashCode()
|
D | OkHttpClient.java | 123 private List<Protocol> protocols; field in OkHttpClient 157 this.protocols = okHttpClient.protocols; in OkHttpClient() 513 public OkHttpClient setProtocols(List<Protocol> protocols) { in setProtocols() argument 514 protocols = Util.immutableList(protocols); in setProtocols() 515 if (!protocols.contains(Protocol.HTTP_1_1)) { in setProtocols() 516 throw new IllegalArgumentException("protocols doesn't contain http/1.1: " + protocols); in setProtocols() 518 if (protocols.contains(Protocol.HTTP_1_0)) { in setProtocols() 519 throw new IllegalArgumentException("protocols must not contain http/1.0: " + protocols); in setProtocols() 521 if (protocols.contains(null)) { in setProtocols() 524 this.protocols = Util.immutableList(protocols); in setProtocols() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | Platform.java | 103 List<Protocol> protocols) { in configureTlsExtensions() argument 272 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { in configureTlsExtensions() argument 281 Object[] parameters = { concatLengthPrefixed(protocols) }; in configureTlsExtensions() 368 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { in configureTlsExtensions() argument 369 List<String> names = new ArrayList<>(protocols.size()); in configureTlsExtensions() 370 for (int i = 0, size = protocols.size(); i < size; i++) { in configureTlsExtensions() 371 Protocol protocol = protocols.get(i); in configureTlsExtensions() 414 private final List<String> protocols; field in Platform.JettyNegoProvider 420 public JettyNegoProvider(List<String> protocols) { in JettyNegoProvider() argument 421 this.protocols = protocols; in JettyNegoProvider() [all …]
|
/external/curl/tests/data/ |
D | test2004 | 37 for several protocols 62 for several protocols 64 for several protocols 66 for several protocols 68 for several protocols 70 for several protocols
|
/external/python/cpython2/Lib/test/ |
D | pickletester.py | 25 protocols = range(pickle.HIGHEST_PROTOCOL + 1) variable 830 for proto in protocols: 850 for proto in protocols: 874 for proto in protocols: 884 for proto in protocols: 896 for proto in protocols: 907 for proto in protocols: 947 for proto in protocols: 960 for proto in protocols: 973 for proto in protocols: [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | AddressTest.java | 32 private List<Protocol> protocols = Util.immutableList(Protocol.HTTP_1_1); field in AddressTest 38 authenticator, null, protocols, connectionSpecs, proxySelector); in equalsAndHashcode() 40 authenticator, null, protocols, connectionSpecs, proxySelector); in equalsAndHashcode() 47 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector()); in differentProxySelectorsAreDifferent() 49 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector()); in differentProxySelectorsAreDifferent()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | SSLParametersImpl.java | 118 ServerSessionContext serverSessionContext, String[] protocols) in SSLParametersImpl() argument 149 protocols == null ? NativeCrypto.DEFAULT_PROTOCOLS : protocols).clone(); in SSLParametersImpl() 231 void setEnabledProtocols(String[] protocols) { in setEnabledProtocols() argument 232 if (protocols == null) { in setEnabledProtocols() 236 filterFromProtocols(protocols, NativeCrypto.OBSOLETE_PROTOCOL_SSLV3); in setEnabledProtocols() 237 isEnabledProtocolsFiltered = protocols.length != filteredProtocols.length; in setEnabledProtocols() 386 private static String[] filterFromProtocols(String[] protocols, String obsoleteProtocol) { in filterFromProtocols() argument 387 if (protocols.length == 1 && obsoleteProtocol.equals(protocols[0])) { in filterFromProtocols() 392 for (String protocol : protocols) { in filterFromProtocols()
|
D | SSLUtils.java | 350 static byte[] toLengthPrefixedList(String... protocols) { in toLengthPrefixedList() argument 353 for (int i = 0; i < protocols.length; ++i) { in toLengthPrefixedList() 354 int protocolLength = protocols[i].length(); in toLengthPrefixedList() 360 + protocolLength + "): " + protocols[i]); in toLengthPrefixedList() 368 for (int dataIndex = 0, i = 0; i < protocols.length; ++i) { in toLengthPrefixedList() 369 String protocol = protocols[i]; in toLengthPrefixedList()
|
/external/strace/ |
D | socketutils.c | 453 } protocols[] = { variable 467 i < ARRAY_SIZE(protocols); ++i) { in get_proto_by_name() 468 if (protocols[i].name && !strcmp(name, protocols[i].name)) in get_proto_by_name() 478 if ((unsigned int) proto >= ARRAY_SIZE(protocols) || in get_sockaddr_by_inode_uncached() 479 (proto != SOCK_PROTO_UNKNOWN && !protocols[proto].get)) in get_sockaddr_by_inode_uncached() 488 details = protocols[proto].get(fd, inode); in get_sockaddr_by_inode_uncached() 492 i < ARRAY_SIZE(protocols); ++i) { in get_sockaddr_by_inode_uncached() 493 if (!protocols[i].get) in get_sockaddr_by_inode_uncached() 495 details = protocols[i].get(fd, inode); in get_sockaddr_by_inode_uncached() 516 if ((unsigned int) proto < ARRAY_SIZE(protocols) && in print_sockaddr_by_inode_uncached() [all …]
|
/external/autotest/client/site_tests/kernel_ProtocolCheck/ |
D | control | 7 PURPOSE = "Check if the kernel supports the required network protocols." 8 CRITERIA = "Fails if any of the required protocols are not available." 17 Determines the protocols supported by a kernel by inspecting 18 /proc/net/protocols.
|
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
D | ServerEndpoint.java | 61 private final String[] protocols; field in ServerEndpoint 72 ChannelType channelType, int messageSize, String[] protocols, in ServerEndpoint() argument 78 this.protocols = protocols; in ServerEndpoint() 124 socket.setEnabledProtocols(protocols); in run()
|
D | SocketType.java | 24 ClientEndpoint newClient(ChannelType channelType, int port, String[] protocols, in newClient() argument 27 factories.clientFactory, channelType, port, protocols, ciphers); in newClient() 31 String[] protocols, String[] ciphers) throws IOException { in newServer() argument 33 channelType, messageSize, protocols, ciphers); in newServer()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/ |
D | SSLParametersTest.java | 66 String[] protocols = new String[] {"baz", null, "qux"}; in test_SSLParameters_cpherSuitesProtocolsConstructor() local 67 SSLParameters p = new SSLParameters(cipherSuites, protocols); in test_SSLParameters_cpherSuitesProtocolsConstructor() 71 assertNotSame(protocols, p.getProtocols()); in test_SSLParameters_cpherSuitesProtocolsConstructor() 73 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols())); in test_SSLParameters_cpherSuitesProtocolsConstructor() 100 String[] protocols = new String[] {"fnord"}; in test_SSLParameters_Protocols() local 101 String[] copy = protocols.clone(); in test_SSLParameters_Protocols() 104 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols())); in test_SSLParameters_Protocols()
|
D | SSLServerSocketTest.java | 61 String[] protocols = new String[] {socket.getSupportedProtocols()[0]}; in testSetEnabledProtocolsAffectsGetter() local 62 socket.setEnabledProtocols(protocols); in testSetEnabledProtocolsAffectsGetter() 63 assertEquals(Arrays.asList(protocols), Arrays.asList(socket.getEnabledProtocols())); in testSetEnabledProtocolsAffectsGetter()
|
/external/okhttp/android/test/java/com/squareup/okhttp/internal/ |
D | PlatformTest.java | 58 List<Protocol> protocols = Arrays.asList(Protocol.HTTP_1_1, Protocol.SPDY_3); in enableTlsExtensionOptionalMethods() local 59 platform.configureTlsExtensions(arbitrarySocketImpl, "host", protocols); in enableTlsExtensionOptionalMethods() 61 platform.configureTlsExtensions(npnOnlySSLSocketImpl, "host", protocols); in enableTlsExtensionOptionalMethods() 64 platform.configureTlsExtensions(openSslSocket, "host", protocols); in enableTlsExtensionOptionalMethods() 67 assertArrayEquals(Platform.concatLengthPrefixed(protocols), openSslSocket.alpnProtocols); in enableTlsExtensionOptionalMethods() 187 public void setEnabledProtocols(String[] protocols) { in setEnabledProtocols() argument
|
/external/libvncserver/webclients/novnc/include/web-socket-js/ |
D | web_socket.js | 48 window.WebSocket = function(url, protocols, proxyHost, proxyPort, headers) { argument 55 if (!protocols) { 56 protocols = []; 57 } else if (typeof protocols == "string") { 58 protocols = [protocols]; 66 self.__id, url, protocols, proxyHost || null, proxyPort || 0, headers || null);
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/ |
D | SRWebSocket.h | 63 - (id)initWithURLRequest:(NSURLRequest *)request protocols:(NSArray *)protocols; 67 - (id)initWithURL:(NSURL *)url protocols:(NSArray *)protocols;
|
/external/okhttp/android/main/java/com/squareup/okhttp/internal/ |
D | Platform.java | 103 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { in configureTlsExtensions() argument 116 Object[] parameters = { concatLengthPrefixed(protocols) }; in configureTlsExtensions() 207 static byte[] concatLengthPrefixed(List<Protocol> protocols) { in concatLengthPrefixed() argument 209 for (int i = 0, size = protocols.size(); i < size; i++) { in concatLengthPrefixed() 210 Protocol protocol = protocols.get(i); in concatLengthPrefixed()
|
/external/ppp/pppd/ |
D | demand.c | 109 for (i = 0; (protp = protocols[i]) != NULL; ++i) in demand_conf() 125 for (i = 0; (protp = protocols[i]) != NULL; ++i) in demand_block() 142 for (i = 0; (protp = protocols[i]) != NULL; ++i) in demand_discard() 168 for (i = 0; (protp = protocols[i]) != NULL; ++i) in demand_unblock() 354 for (i = 0; (protp = protocols[i]) != NULL; ++i) {
|