Home
last modified time | relevance | path

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

12345678910>>...107

/external/v8/src/inspector/
Dv8-debugger-agent-impl.h28 using protocol::Maybe;
29 using protocol::Response;
31 class V8DebuggerAgentImpl : public protocol::Debugger::Backend {
39 V8DebuggerAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*,
40 protocol::DictionaryValue* state);
53 std::unique_ptr<protocol::Array<protocol::Debugger::Location>>* locations)
56 std::unique_ptr<protocol::Debugger::Location>,
58 std::unique_ptr<protocol::Debugger::Location>* actualLocation) override;
61 std::unique_ptr<protocol::Debugger::Location>) override;
65 std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>>*)
[all …]
Dv8-inspector-session-impl.cc27 protocol::Runtime::Metainfo::commandPrefix) || in canDispatchMethod()
29 protocol::Debugger::Metainfo::commandPrefix) || in canDispatchMethod()
31 protocol::Profiler::Metainfo::commandPrefix) || in canDispatchMethod()
33 method, protocol::HeapProfiler::Metainfo::commandPrefix) || in canDispatchMethod()
35 protocol::Console::Metainfo::commandPrefix) || in canDispatchMethod()
37 protocol::Schema::Metainfo::commandPrefix); in canDispatchMethod()
69 std::unique_ptr<protocol::Value> state = in V8InspectorSessionImpl()
70 protocol::StringUtil::parseJSON(toString16(savedState)); in V8InspectorSessionImpl()
71 if (state) m_state = protocol::DictionaryValue::cast(std::move(state)); in V8InspectorSessionImpl()
72 if (!m_state) m_state = protocol::DictionaryValue::create(); in V8InspectorSessionImpl()
[all …]
Dv8-profiler-agent-impl.cc30 std::unique_ptr<protocol::Array<protocol::Profiler::PositionTickInfo>>
34 auto array = protocol::Array<protocol::Profiler::PositionTickInfo>::create(); in buildInspectorObjectForPositionTicks()
38 std::unique_ptr<protocol::Profiler::PositionTickInfo> line = in buildInspectorObjectForPositionTicks()
39 protocol::Profiler::PositionTickInfo::create() in buildInspectorObjectForPositionTicks()
49 std::unique_ptr<protocol::Profiler::ProfileNode> buildInspectorObjectFor( in buildInspectorObjectFor()
53 protocol::Runtime::CallFrame::create() in buildInspectorObjectFor()
60 auto result = protocol::Profiler::ProfileNode::create() in buildInspectorObjectFor()
68 auto children = protocol::Array<int>::create(); in buildInspectorObjectFor()
84 std::unique_ptr<protocol::Array<int>> buildInspectorObjectForSamples( in buildInspectorObjectForSamples()
86 auto array = protocol::Array<int>::create(); in buildInspectorObjectForSamples()
[all …]
Dv8-runtime-agent-impl.h49 using protocol::Response;
50 using protocol::Maybe;
52 class V8RuntimeAgentImpl : public protocol::Runtime::Backend {
54 V8RuntimeAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*,
55 protocol::DictionaryValue* state);
73 Maybe<protocol::Array<protocol::Runtime::CallArgument>> optionalArguments,
82 std::unique_ptr<protocol::Array<protocol::Runtime::PropertyDescriptor>>*
84 Maybe<protocol::Array<protocol::Runtime::InternalPropertyDescriptor>>*
86 Maybe<protocol::Runtime::ExceptionDetails>*) override;
94 Maybe<protocol::Runtime::ExceptionDetails>*) override;
[all …]
Dv8-profiler-agent-impl.h23 using protocol::Response;
25 class V8ProfilerAgentImpl : public protocol::Profiler::Backend {
27 V8ProfilerAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*,
28 protocol::DictionaryValue* state);
38 Response stop(std::unique_ptr<protocol::Profiler::Profile>*) override;
43 std::unique_ptr<protocol::Array<protocol::Profiler::ScriptCoverage>>*
46 std::unique_ptr<protocol::Array<protocol::Profiler::ScriptCoverage>>*
59 std::unique_ptr<protocol::Profiler::Profile> stopProfiling(
65 protocol::DictionaryValue* m_state;
66 protocol::Profiler::Frontend m_frontend;
Dv8-console-message.cc26 return protocol::Runtime::ConsoleAPICalled::TypeEnum::Log; in consoleAPITypeValue()
28 return protocol::Runtime::ConsoleAPICalled::TypeEnum::Debug; in consoleAPITypeValue()
30 return protocol::Runtime::ConsoleAPICalled::TypeEnum::Info; in consoleAPITypeValue()
32 return protocol::Runtime::ConsoleAPICalled::TypeEnum::Error; in consoleAPITypeValue()
34 return protocol::Runtime::ConsoleAPICalled::TypeEnum::Warning; in consoleAPITypeValue()
36 return protocol::Runtime::ConsoleAPICalled::TypeEnum::Clear; in consoleAPITypeValue()
38 return protocol::Runtime::ConsoleAPICalled::TypeEnum::Dir; in consoleAPITypeValue()
40 return protocol::Runtime::ConsoleAPICalled::TypeEnum::Dirxml; in consoleAPITypeValue()
42 return protocol::Runtime::ConsoleAPICalled::TypeEnum::Table; in consoleAPITypeValue()
44 return protocol::Runtime::ConsoleAPICalled::TypeEnum::Trace; in consoleAPITypeValue()
[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/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 …]
Dprotocols-suppress-conformance.m3 // Mark this protocol as requiring all of its methods and properties
6 @protocol Protocol
11 // In this example, ClassA adopts the protocol. We won't
12 // provide the implementation here, but this protocol will
48 @protocol Inherited
53 @protocol Derived <Inherited>
63 @implementation ClassD // expected-warning {{method 'foulIsFair' in protocol 'Derived' not implemen…
68 @protocol AnotherProtocol @end
70 // Cannot put the attribute on classes or other non-protocol declarations.
80 @protocol ProtocolA
[all …]
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
DSSLContextTest.java90 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_setDefault()
93 SSLContext newContext = SSLContext.getInstance(protocol); in test_SSLContext_setDefault()
106 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_defaultConfiguration()
107 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_defaultConfiguration()
108 if (!protocol.equals(StandardNames.SSL_CONTEXT_PROTOCOLS_DEFAULT)) { in test_SSLContext_defaultConfiguration()
230 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_getInstance()
231 assertNotNull(SSLContext.getInstance(protocol)); in test_SSLContext_getInstance()
232 assertNotSame(SSLContext.getInstance(protocol), SSLContext.getInstance(protocol)); in test_SSLContext_getInstance()
247 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_getInstance()
249 SSLContext.getInstance(protocol, (String) null); in test_SSLContext_getInstance()
[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/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/clang/test/CodeGenObjC/
Dprotocols-lazy.m5 @protocol P0;
9 @protocol P1 -im1; @end
11 // Definition triggered by protocol reference.
14 @protocol P2 -im1; @end
15 void f0() { id x = @protocol(P2); }
17 // Forward definition triggered by protocol reference.
20 @protocol P3;
21 void f1() { id x = @protocol(P3); }
26 @protocol P4 -im1; @end
33 @protocol P5;
[all …]
/external/clang/test/Analysis/
Dregion-1.m10 @protocol NSObject - (BOOL)isEqual:(id)object;
13 @end @protocol NSCoding - (void)encodeWithCoder:(NSCoder *)aCoder;
21 @protocol EcoClassifier;
22 @protocol EcoClassInterfaceCommons <EcoClassifier> @end @protocol EcoImplementation;
23 @protocol EcoBehavioredClassifier <EcoClassInterfaceCommons> - (NSArray *) implementations;
26 @protocol EcoClass <EcoBehavioredClassifier> - (NSArray *) ownedAttributes;
27 @end @protocol EcoNamespace;
28 @protocol EcoType @end;
29 @protocol EcoClassifier <EcoNamespace,EcoType> - (NSArray *) features;
30 @end @protocol EcoComment;
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DStatusLine.java15 public final Protocol protocol; field in StatusLine
19 public StatusLine(Protocol protocol, int code, String message) { in StatusLine() argument
20 this.protocol = protocol; in StatusLine()
26 return new StatusLine(response.protocol(), response.code(), response.message()); in get()
35 Protocol protocol; in parse() local
43 protocol = Protocol.HTTP_1_0; in parse()
45 protocol = Protocol.HTTP_1_1; in parse()
51 protocol = Protocol.HTTP_1_0; in parse()
78 return new StatusLine(protocol, code, message); in parse()
83 result.append(protocol == Protocol.HTTP_1_0 ? "HTTP/1.0" : "HTTP/1.1"); in toString()
/external/selinux/python/sepolicy/sepolicy/
Dnetwork.py36 def get_network_connect(src, protocol, perm, check_bools=False): argument
39 tlist = get_types(src, "%s_socket" % protocol, [perm], check_bools)
41 d[(src, protocol, perm)] = []
53 d[(src, protocol, perm)].append((i, ["all ports with out defined types"]))
55 d[(src, protocol, perm)].append((i, ["all ports"]))
57 d[(src, protocol, perm)].append((i, ["all ports > 1024"]))
59 d[(src, protocol, perm)].append((i, ["all ports < 1024"]))
61 d[(src, protocol, perm)].append((i, ["all ports > 500 and < 1024"]))
64 d[(src, protocol, perm)].append((i, portrecs[(i, protocol)]))
/external/iproute2/examples/diffserv/
DEdge32-ca-u3257 $TC filter add dev $INDEV parent ffff: protocol ip prio 1 u32 \
61 $TC filter add dev $INDEV parent ffff: protocol ip prio 2 u32 \
70 $TC filter add dev $INDEV parent ffff: protocol ip prio 3 u32 \
74 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 u32 \
82 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \
86 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \
97 $TC filter add dev $INDEV parent ffff: protocol ip prio 8 u32 \
101 $TC filter add dev $INDEV parent ffff: protocol ip prio 9 u32 \
109 $TC filter add dev $INDEV parent ffff: protocol ip prio 10 u32 \
113 $TC filter add dev $INDEV parent ffff: protocol ip prio 11 u32 \
[all …]
/external/clang/test/Modules/Inputs/
Dredecl-merge-right.h12 @protocol P1
16 @protocol P1;
18 @protocol P2;
20 @protocol P2;
22 @protocol P2;
51 @protocol P4, P3;
52 @protocol P3;
53 @protocol P3;
54 @protocol P3;
/external/android-clat/
Dipv6.c82 uint8_t protocol; in ipv6_packet() local
116 protocol = ip6->ip6_nxt; in ipv6_packet()
122 fill_ip_header(ip_targ, 0, protocol, ip6); in ipv6_packet()
127 if (protocol == IPPROTO_FRAGMENT) { in ipv6_packet()
137 protocol = parse_frag_header(frag_hdr, ip_targ); in ipv6_packet()
141 if (protocol == IPPROTO_ICMPV6) { in ipv6_packet()
142 protocol = IPPROTO_ICMP; in ipv6_packet()
143 ip_targ->protocol = IPPROTO_ICMP; in ipv6_packet()
151 old_sum = ipv6_pseudo_header_checksum(ip6, len_left, protocol); in ipv6_packet()
157 } else if (protocol == IPPROTO_ICMP) { in ipv6_packet()
[all …]
/external/linux-kselftest/tools/testing/selftests/net/
Dreuseport_bpf.c33 int protocol; member
159 fd[i] = socket(p.recv_family, p.protocol, 0); in build_recv_group()
174 if (p.protocol == SOCK_STREAM) { in build_recv_group()
193 const int fd = socket(p.send_family, p.protocol, 0); in send_from()
242 if (p.protocol == SOCK_STREAM) { in test_recv_order()
310 fd1 = socket(p.recv_family, p.protocol, 0); in test_extra_filter()
313 fd2 = socket(p.recv_family, p.protocol, 0); in test_extra_filter()
366 fd = socket(p.recv_family, p.protocol, 0); in test_filter_no_reuseport()
445 .protocol = SOCK_DGRAM, in main()
452 .protocol = SOCK_DGRAM, in main()
[all …]
/external/ltp/testcases/network/stress/ns-tools/
Doutput_ipsec_conf69 output_ipsec_conf target protocol mode first_spi src_addr dst_addr
71 protocol: ah / esp / ipcomp
101 protocol=$2
108 case $protocol in
125 add $src_ipaddr $dst_ipaddr $protocol $first_spi
129 add $dst_ipaddr $src_ipaddr $protocol `expr $first_spi + 1`
154 -P $direct1 ipsec $protocol/transport//use ;
157 -P $direct2 ipsec $protocol/transport//use ;
164 -P $direct1 ipsec $protocol/tunnel/${src_ipaddr}-${dst_ipaddr}/use ;
167 -P $direct2 ipsec $protocol/tunnel/${dst_ipaddr}-${src_ipaddr}/use ;

12345678910>>...107