Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 25 of 4567) sorted by relevance

12345678910>>...183

/external/wayland-protocols/chromium.org/
DREADME.chromium10 available in the Wayland core protocol. Such protocols either adds
12 protocol either in Wayland core, or some other protocol in
19 …-scanner code < src/unstable/xdg-shell/xdg-shell-unstable-v5.xml > protocol/xdg-shell-v5-protocol.c
20 …stable/xdg-shell/xdg-shell-unstable-v5.xml > include/protocol/xdg-shell-unstable-v5-server-protoco…
21 …stable/xdg-shell/xdg-shell-unstable-v5.xml > include/protocol/xdg-shell-unstable-v5-client-protoco…
22 …-scanner code < src/unstable/xdg-shell/xdg-shell-unstable-v6.xml > protocol/xdg-shell-v6-protocol.c
23 …stable/xdg-shell/xdg-shell-unstable-v6.xml > include/protocol/xdg-shell-unstable-v6-server-protoco…
24 …stable/xdg-shell/xdg-shell-unstable-v6.xml > include/protocol/xdg-shell-unstable-v6-client-protoco…
25 …er code < src/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml > protocol/linux-dmabuf-protocol.c
26 …linux-dmabuf/linux-dmabuf-unstable-v1.xml > include/protocol/linux-dmabuf-unstable-v1-server-proto…
[all …]
/external/tcpdump/tests/
Dhoobr_chdlc_print.out1 unknown CHDLC protocol (0x3030)
2 unknown CHDLC protocol (0x3030)
3 unknown CHDLC protocol (0x3030)
4 unknown CHDLC protocol (0x3030)
5 unknown CHDLC protocol (0x3030)
6 unknown CHDLC protocol (0x3030)
7 unknown CHDLC protocol (0x3030)
8 unknown CHDLC protocol (0x3030)
9 unknown CHDLC protocol (0x3030)
10 unknown CHDLC protocol (0x3030)
[all …]
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DProtocol.java84 private final String protocol; field in Protocol
86 Protocol(String protocol) { in Protocol() argument
87 this.protocol = protocol; in Protocol()
94 public static Protocol get(String protocol) throws IOException { in get() argument
96 if (protocol.equals(HTTP_1_0.protocol)) return HTTP_1_0; in get()
97 if (protocol.equals(HTTP_1_1.protocol)) return HTTP_1_1; in get()
98 if (protocol.equals(HTTP_2.protocol)) return HTTP_2; in get()
99 if (protocol.equals(GRPC_EXP.protocol)) return GRPC_EXP; in get()
100 if (protocol.equals(SPDY_3.protocol)) return SPDY_3; in get()
101 throw new IOException("Unexpected protocol: " + protocol); in get()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DProtocol.java71 private final String protocol; field in Protocol
73 Protocol(String protocol) { in Protocol() argument
74 this.protocol = protocol; in Protocol()
81 public static Protocol get(String protocol) throws IOException { in get() argument
83 if (protocol.equals(HTTP_1_0.protocol)) return HTTP_1_0; in get()
84 if (protocol.equals(HTTP_1_1.protocol)) return HTTP_1_1; in get()
85 if (protocol.equals(HTTP_2.protocol)) return HTTP_2; in get()
86 if (protocol.equals(SPDY_3.protocol)) return SPDY_3; in get()
87 throw new IOException("Unexpected protocol: " + protocol); in get()
95 return protocol; in toString()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DProtocol.java73 private final String protocol; field in Protocol
75 Protocol(String protocol) { in Protocol() argument
76 this.protocol = protocol; in Protocol()
83 public static Protocol get(String protocol) throws IOException { in get() argument
85 if (protocol.equals(HTTP_1_0.protocol)) return HTTP_1_0; in get()
86 if (protocol.equals(HTTP_1_1.protocol)) return HTTP_1_1; in get()
87 if (protocol.equals(HTTP_2.protocol)) return HTTP_2; in get()
88 if (protocol.equals(SPDY_3.protocol)) return SPDY_3; in get()
89 throw new IOException("Unexpected protocol: " + protocol); in get()
97 return protocol; in toString()
/external/llvm-project/clang/test/SemaObjC/
Dprotocol-expr-neg-1.m5 @protocol fproto; // expected-note {{'fproto' declared here}}
7 @protocol p1
14 Protocol *proto = @protocol(p1);
15 …Protocol *fproto = @protocol(fproto); // expected-error {{@protocol is using a forward protocol de…
16 Protocol *pp = @protocol(i); // expected-error {{cannot find protocol declaration for 'i'}}
17 Protocol *p1p = @protocol(cl); // expected-error {{cannot find protocol declaration for 'cl'}}
21 @protocol SuperProtocol; // expected-note {{'SuperProtocol' declared here}}
22 @protocol TestProtocol; // expected-note {{'TestProtocol' declared here}}
29 …return [foo conformsToProtocol:@protocol(TestProtocol)]; // expected-error {{@protocol is using a …
33 …return [foo conformsToProtocol:@protocol(SuperProtocol)]; // expected-error {{@protocol is using a…
Dprotocols.m14 @protocol p1,p2,p3;
16 @protocol p1;
18 @protocol PROTO1
27 @protocol PROTO2<p1>
30 @protocol p1 @end
32 @protocol PROTO<p1> // expected-note {{previous definition is here}}
35 @protocol PROTO<p1> // expected-warning {{duplicate protocol definition of 'PROTO'}}
38 @protocol PROTO3<p1, p1>
41 @protocol p2 <p1>
44 @protocol PROTO4 <p1, p2, PROTO, PROTO3, p3>
[all …]
/external/clang/test/SemaObjC/
Dprotocol-expr-neg-1.m5 @protocol fproto; // expected-note {{'fproto' declared here}}
7 @protocol p1
14 Protocol *proto = @protocol(p1);
15 …Protocol *fproto = @protocol(fproto); // expected-warning {{@protocol is using a forward protocol
16 Protocol *pp = @protocol(i); // expected-error {{cannot find protocol declaration for 'i'}}
17 Protocol *p1p = @protocol(cl); // expected-error {{cannot find protocol declaration for 'cl'}}
21 @protocol SuperProtocol; // expected-note {{'SuperProtocol' declared here}}
22 @protocol TestProtocol; // expected-note {{'TestProtocol' declared here}}
29 …return [foo conformsToProtocol:@protocol(TestProtocol)]; // expected-warning {{@protocol is using …
33 …return [foo conformsToProtocol:@protocol(SuperProtocol)]; // expected-warning {{@protocol is using…
Dprotocols.m14 @protocol p1,p2,p3;
16 @protocol p1;
18 @protocol PROTO1
27 @protocol PROTO2<p1>
30 @protocol p1 @end
32 @protocol PROTO<p1> // expected-note {{previous definition is here}}
35 @protocol PROTO<p1> // expected-warning {{duplicate protocol definition of 'PROTO'}}
38 @protocol PROTO3<p1, p1>
41 @protocol p2 <p1>
44 @protocol PROTO4 <p1, p2, PROTO, PROTO3, p3>
[all …]
Dclass-proto-1.m5 @protocol p1,p2,p3; // expected-note {{protocol 'p2' has no definition}} \
6 // expected-note {{protocol 'p3' has no definition}}
8 @protocol p1;
10 @protocol PROTO1
14 @protocol p1 @end
18 @interface E1 <p2> @end // expected-warning {{cannot find protocol definition for 'p2'}}
20 @protocol p2 @end
25 @interface E2 <p1,p2,p3> @end // expected-warning {{cannot find protocol definition for 'p3'}}
42 @protocol UndefinedParentProtocol; // expected-note {{protocol 'UndefinedParentProtocol' has no def…
44 @protocol UndefinedProtocol <UndefinedParentProtocol>
[all …]
/external/wayland/
DMakefile.am10 -I$(top_builddir)/protocol
19 protocol/wayland.xml \
20 protocol/wayland.dtd
35 src/dtddata.o: protocol/wayland.dtd
72 protocol/wayland-server-protocol.h \
73 protocol/wayland-client-protocol.h
84 protocol/wayland-server-protocol.h \
85 protocol/wayland-protocol.c
94 protocol/wayland-client-protocol.h \
95 protocol/wayland-protocol.c
[all …]
/external/webrtc/pc/
Dmedia_protocol_names.cc26 bool IsDtlsSctp(const std::string& protocol) { in IsDtlsSctp() argument
27 return protocol == kMediaProtocolDtlsSctp || in IsDtlsSctp()
28 protocol == kMediaProtocolUdpDtlsSctp || in IsDtlsSctp()
29 protocol == kMediaProtocolTcpDtlsSctp; in IsDtlsSctp()
32 bool IsPlainSctp(const std::string& protocol) { in IsPlainSctp() argument
33 return protocol == kMediaProtocolSctp; in IsPlainSctp()
36 bool IsRtpProtocol(const std::string& protocol) { in IsRtpProtocol() argument
37 if (protocol.empty()) { in IsRtpProtocol()
40 size_t pos = protocol.find(cricket::kMediaProtocolRtpPrefix); in IsRtpProtocol()
45 if (pos == 0 || !isalpha(protocol[pos - 1])) { in IsRtpProtocol()
[all …]
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DSSLContextTest.java95 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_setDefault()
98 SSLContext newContext = SSLContext.getInstance(protocol); in test_SSLContext_setDefault()
111 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS_WITH_DEFAULT_CONFIG) { in test_SSLContext_defaultConfiguration()
112 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_defaultConfiguration()
113 if (!protocol.equals(StandardNames.SSL_CONTEXT_PROTOCOLS_DEFAULT)) { in test_SSLContext_defaultConfiguration()
243 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_getInstance()
244 assertNotNull(SSLContext.getInstance(protocol)); in test_SSLContext_getInstance()
245 assertNotSame(SSLContext.getInstance(protocol), SSLContext.getInstance(protocol)); in test_SSLContext_getInstance()
276 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_getInstance()
278 SSLContext.getInstance(protocol, (String) null); in test_SSLContext_getInstance()
[all …]
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dtc_flower.sh41 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
43 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
55 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
56 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
67 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
69 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
81 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
82 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
91 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
93 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
[all …]
/external/apache-http/src/org/apache/http/
DProtocolVersion.java67 protected final String protocol; field in ProtocolVersion
83 public ProtocolVersion(String protocol, int major, int minor) { in ProtocolVersion() argument
84 if (protocol == null) { in ProtocolVersion()
96 this.protocol = protocol; in ProtocolVersion()
107 return protocol; in getProtocol()
151 return new ProtocolVersion(this.protocol, major, minor); in forVersion()
161 return this.protocol.hashCode() ^ (this.major * 100000) ^ this.minor; in hashCode()
187 return ((this.protocol.equals(that.protocol)) && in equals()
204 return (that != null) && this.protocol.equals(that.protocol); in isComparable()
229 if (!this.protocol.equals(that.protocol)) { in compareToVersion()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Dbasic_resolver_query.hpp68 hints_.ai_socktype = endpoint.protocol().type(); in basic_resolver_query()
69 hints_.ai_protocol = endpoint.protocol().protocol(); in basic_resolver_query()
96 basic_resolver_query(const protocol_type& protocol, in basic_resolver_query() argument
104 hints_.ai_family = protocol.family(); in basic_resolver_query()
105 hints_.ai_socktype = protocol.type(); in basic_resolver_query()
106 hints_.ai_protocol = protocol.protocol(); in basic_resolver_query()
153 hints_.ai_socktype = endpoint.protocol().type(); in basic_resolver_query()
154 hints_.ai_protocol = endpoint.protocol().protocol(); in basic_resolver_query()
195 basic_resolver_query(const protocol_type& protocol, in basic_resolver_query() argument
203 hints_.ai_family = protocol.family(); in basic_resolver_query()
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLContextTest.java99 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_setDefault()
102 SSLContext newContext = SSLContext.getInstance(protocol); in test_SSLContext_setDefault()
115 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS_WITH_DEFAULT_CONFIG) { in test_SSLContext_defaultConfiguration()
116 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_defaultConfiguration()
117 if (!protocol.equals(StandardNames.SSL_CONTEXT_PROTOCOLS_DEFAULT)) { in test_SSLContext_defaultConfiguration()
247 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_getInstance()
248 assertNotNull(SSLContext.getInstance(protocol)); in test_SSLContext_getInstance()
249 assertNotSame(SSLContext.getInstance(protocol), SSLContext.getInstance(protocol)); in test_SSLContext_getInstance()
280 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_getInstance()
282 SSLContext.getInstance(protocol, (String) null); in test_SSLContext_getInstance()
[all …]
/external/wayland-protocols/freedesktop.org/
DREADME.md4 available in the Wayland core protocol. Such protocols either add
6 protocol either in Wayland core, or some other protocol in
9 A protocol in wayland-protocols consists of a directory containing a set
10 of XML files containing the protocol specification, and a README file
16 and protocol names as well as place in the directory tree will reflect
19 A stable protocol is a protocol which has been declared stable by
23 An unstable protocol is a protocol currently under development and this
24 will be reflected in the protocol and interface names. See [Unstable
27 A deprecated protocol is a protocol that has either been replaced by some
28 other protocol, or declared undesirable for some other reason. No more
[all …]
DREADME5 available in the Wayland core protocol. Such protocols either add
7 protocol either in Wayland core, or some other protocol in
10 A protocol in wayland-protocols consists of a directory containing a set
11 of XML files containing the protocol specification, and a README file
17 and protocol names as well as place in the directory tree will reflect
20 A stable protocol is a protocol which has been declared stable by
24 An unstable protocol is a protocol currently under development and this
25 will be reflected in the protocol and interface names. See <<Unstable
28 A deprecated protocol is a protocol that has either been replaced by some
29 other protocol, or declared undesirable for some other reason. No more
[all …]
/external/curl/tests/libtest/
Dlib1535.c31 long protocol; in test() local
41 res = curl_easy_getinfo(curl, CURLINFO_PROTOCOL, &protocol); in test()
47 if(protocol != 0) { in test()
49 __FILE__, __LINE__, protocol); in test()
66 res = curl_easy_getinfo(curl, CURLINFO_PROTOCOL, &protocol); in test()
72 if(protocol != CURLPROTO_HTTP) { in test()
75 __FILE__, __LINE__, CURLPROTO_HTTP, protocol); in test()
91 res = curl_easy_getinfo(dupe, CURLINFO_PROTOCOL, &protocol); in test()
97 if(protocol != 0) { in test()
99 __FILE__, __LINE__, protocol); in test()
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh100 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
109 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
124 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
132 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
146 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
148 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
157 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
165 tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \
174 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
182 tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower
[all …]
/external/clang/test/ARCMT/
Dobjcmt-protocol-conformance.m2 // RUN: %clang_cc1 -objcmt-migrate-protocol-conformance -mt-migrate-directory %t %s -x objective-c …
8 @protocol P
12 @interface Test1 // Test for no super class and no protocol list
19 @protocol P1 @end
20 @protocol P2 @end
22 @interface Test2 <P1, P2> // Test for no super class and with protocol list
33 @interface Test3 : NSObject { // Test for Super class and no protocol list
42 @interface Test4 : NSObject <P1, P2> // Test for Super class and protocol list
50 @protocol P3
54 @protocol P4
[all …]
Dobjcmt-protocol-conformance.m.result2 // RUN: %clang_cc1 -objcmt-migrate-protocol-conformance -mt-migrate-directory %t %s -x objective-c …
8 @protocol P
12 @interface Test1<P> // Test for no super class and no protocol list
19 @protocol P1 @end
20 @protocol P2 @end
22 @interface Test2 <P1, P2, P> // Test for no super class and with protocol list
33 @interface Test3 : NSObject<P> { // Test for Super class and no protocol list
42 @interface Test4 : NSObject <P1, P2, P> // Test for Super class and protocol list
50 @protocol P3
54 @protocol P4
[all …]
/external/llvm-project/clang/test/ARCMT/
Dobjcmt-protocol-conformance.m2 // RUN: %clang_cc1 -objcmt-migrate-protocol-conformance -mt-migrate-directory %t %s -x objective-c …
8 @protocol P
12 @interface Test1 // Test for no super class and no protocol list
19 @protocol P1 @end
20 @protocol P2 @end
22 @interface Test2 <P1, P2> // Test for no super class and with protocol list
33 @interface Test3 : NSObject { // Test for Super class and no protocol list
42 @interface Test4 : NSObject <P1, P2> // Test for Super class and protocol list
50 @protocol P3
54 @protocol P4
[all …]
Dobjcmt-protocol-conformance.m.result2 // RUN: %clang_cc1 -objcmt-migrate-protocol-conformance -mt-migrate-directory %t %s -x objective-c …
8 @protocol P
12 @interface Test1<P> // Test for no super class and no protocol list
19 @protocol P1 @end
20 @protocol P2 @end
22 @interface Test2 <P1, P2, P> // Test for no super class and with protocol list
33 @interface Test3 : NSObject<P> { // Test for Super class and no protocol list
42 @interface Test4 : NSObject <P1, P2, P> // Test for Super class and protocol list
50 @protocol P3
54 @protocol P4
[all …]

12345678910>>...183