Home
last modified time | relevance | path

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

12345678910>>...52

/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DHandshakeProtocolTest.java36 HandshakeProtocol protocol = new ClientHandshakeImpl(new SSLEngineImpl( in testGetStatus() local
41 assertEquals(protocol.getStatus(), in testGetStatus()
44 protocol.status = HandshakeProtocol.NEED_UNWRAP; in testGetStatus()
45 assertEquals(protocol.getStatus(), in testGetStatus()
48 protocol.status = HandshakeProtocol.FINISHED; in testGetStatus()
49 assertEquals(protocol.getStatus(), in testGetStatus()
51 assertEquals(protocol.status, HandshakeProtocol.NOT_HANDSHAKING); in testGetStatus()
53 protocol.delegatedTaskErr = new Exception(); in testGetStatus()
54 assertEquals(protocol.getStatus(), in testGetStatus()
56 protocol.delegatedTaskErr = null; in testGetStatus()
[all …]
/external/clang/test/SemaObjC/
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 …]
Dprotocol-expr-neg-1.m5 @protocol fproto;
7 @protocol p1
14 Protocol *proto = @protocol(p1);
15 Protocol *fproto = @protocol(fproto);
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'}}
Dprotocol-implementation-inherited.m4 @protocol P0
11 // Interface conforms to inherited protocol
19 // Interface conforms to a protocol which extends another. The other
20 // protocol is inherited, and extended methods are implemented.
22 @protocol P1 <P0>
33 // Interface conforms to a protocol whose methods are provided by an
34 // alternate inherited protocol.
36 @protocol P2
46 // Interface conforms to a protocol whose methods are provided by a base class.
Dundef-protocol-methods-1.m3 @protocol P1
8 @protocol P2
13 @protocol P3<P2>
19 @protocol PROTO<P1, P3>
25 @interface INTF <PROTO> // expected-note 3 {{required for direct or indirect protocol 'PROTO'}} \
26 // expected-note 2 {{required for direct or indirect protocol 'P1'}} \
27 // expected-note 2 {{required for direct or indirect protocol 'P3'}} \
28 // expected-note 2 {{required for direct or indirect protocol 'P2'}}
32 // expected-warning 9 {{in protocol not implemented}}
Dprops-on-prots.m6 @protocol NSObject
10 @protocol NSCoding
24 @protocol XCElementP < NSObject >
28 @protocol XCElementDisplayDelegateP;
29 @protocol XCElementTabMarkerP;
33 @protocol XCElementTabberP < XCElementP >
39 @protocol XCElementTabMarkerP < NSObject >
44 @protocol XCElementJustifierP < XCElementP >
Dclass-proto-1.m5 @protocol p1,p2,p3;
7 @protocol p1;
9 @protocol PROTO1
13 @protocol p1 @end
17 @interface E1 <p2> @end // expected-warning {{cannot find protocol definition for 'p2'}}
19 @protocol p2 @end
24 @interface E2 <p1,p2,p3> @end // expected-warning {{cannot find protocol definition for 'p3'}}
Dmethod-conflict.m7 @protocol NSObject - (BOOL)isEqual:(id)object;
8 @end @protocol NSCopying - (id)copyWithZone:(NSZone *)zone;
9 @end @protocol NSMutableCopying - (id)mutableCopyWithZone:(NSZone *)zone;
10 @end @protocol NSCoding - (void)encodeWithCoder:(NSCoder *)aCoder;
27 @protocol XDUMLClassifier;
28 @protocol XDUMLClassInterfaceCommons <XDUMLClassifier>
29 @end @protocol XDUMLImplementation;
30 @protocol XDUMLElement <NSObject> - (NSArray *) ownedElements;
31 @end @protocol XDUMLDataType;
32 @protocol XDUMLNamedElement <XDUMLElement> - (NSString *) name;
[all …]
/external/chromium/chrome/browser/sync/protocol/
Dsync_proto.gyp40 '<(protoc_out_dir)/chrome/browser/sync/protocol/<(RULE_INPUT_ROOT).pb.h',
41 '<(protoc_out_dir)/chrome/browser/sync/protocol/<(RULE_INPUT_ROOT).pb.cc',
47 '--cpp_out=<(protoc_out_dir)/chrome/browser/sync/protocol',
61 '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.cc',
62 '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.h',
63 '<(protoc_out_dir)/chrome/browser/sync/protocol/encryption.pb.cc',
64 '<(protoc_out_dir)/chrome/browser/sync/protocol/encryption.pb.h',
65 '<(protoc_out_dir)/chrome/browser/sync/protocol/app_specifics.pb.cc',
66 '<(protoc_out_dir)/chrome/browser/sync/protocol/app_specifics.pb.h',
67 '<(protoc_out_dir)/chrome/browser/sync/protocol/autofill_specifics.pb.cc',
[all …]
/external/apache-http/src/org/apache/http/
DProtocolVersion.java62 protected final String protocol; field in ProtocolVersion
78 public ProtocolVersion(String protocol, int major, int minor) { in ProtocolVersion() argument
79 if (protocol == null) { in ProtocolVersion()
91 this.protocol = protocol; in ProtocolVersion()
102 return protocol; in getProtocol()
146 return new ProtocolVersion(this.protocol, major, minor); in forVersion()
156 return this.protocol.hashCode() ^ (this.major * 100000) ^ this.minor; in hashCode()
182 return ((this.protocol.equals(that.protocol)) && in equals()
199 return (that != null) && this.protocol.equals(that.protocol); in isComparable()
224 if (!this.protocol.equals(that.protocol)) { in compareToVersion()
[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 …]
Dprotocols.m10 @protocol P0;
12 @protocol P1
23 @protocol P2
27 @protocol P3<P1, P2>
33 void *p = @protocol(P3);
37 Protocol *P0 = @protocol(P0);
38 Protocol *P1 = @protocol(P1);
39 Protocol *P2 = @protocol(P2);
40 Protocol *P3 = @protocol(P3);
/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/
Dset-href-attribute-protocol.js7 a.protocol = "http-foo";
14 a.protocol = "http:foo";
24 a.protocol = "http^foo";
34 a.protocol = "foo";
41 a.protocol = ":http";
50 a.protocol = null;
57 a.protocol = "";
66 a.protocol = "http";
72 a.protocol = "f-oo";
77 a.protocol = undefined;
/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;
29 @protocol EcoClassifier <EcoNamespace,EcoType> - (NSArray *) features;
30 @end @protocol EcoComment;
[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/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 …]
DEdge31-ca-u3233 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 handle 1: u32 \
53 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 u32 \
62 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \
70 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \
82 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \
90 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \
101 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \
113 $TC filter add dev $INDEV parent ffff: protocol ip prio 7 u32 \
144 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
146 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
[all …]
DEdge32-cb-u3255 $TC filter add dev $INDEV parent ffff: protocol ip prio 1 u32 \
58 $TC filter add dev $INDEV parent ffff: protocol ip prio 2 u32 \
66 $TC filter add dev $INDEV parent ffff: protocol ip prio 3 u32 \
69 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 u32 \
76 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \
79 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \
87 $TC filter add dev $INDEV parent ffff: protocol ip prio 7 u32 \
119 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
121 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
123 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
[all …]
DEdge32-cb-chains55 $TC filter add dev $INDEV parent ffff: protocol ip prio 1 handle 1 fw \
58 $TC filter add dev $INDEV parent ffff: protocol ip prio 2 handle 1 fw \
65 $TC filter add dev $INDEV parent ffff: protocol ip prio 3 handle 1 fw \
68 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 handle 1 fw \
75 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 handle 1 fw \
78 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 handle 1 fw \
85 $TC filter add dev $INDEV parent ffff: protocol ip prio 7 handle 2 fw \
118 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
120 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
122 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
[all …]
/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/
Dset-href-attribute-protocol-expected.txt1 Test setting the protocol attribute of the URL in HTMLAnchorElement .
8 Set a protocol that contains ':'
10 Set a protocol that contains invalid characters
12 Set a protocol to a URL with invalid host name
14 Set a protocol that starts with ':'
16 Set protocol to null
18 Set protocol to empty string
20 Set protocol to http on malformed URL
22 Set protocol to a URL which points to a local file
24 Set protocol to undefined
/external/webkit/Source/WebCore/websockets/
DWebSocket.cpp55 static bool isValidProtocolString(const String& protocol) in isValidProtocolString() argument
57 if (protocol.isNull()) in isValidProtocolString()
59 if (protocol.isEmpty()) in isValidProtocolString()
61 const UChar* characters = protocol.characters(); in isValidProtocolString()
62 for (size_t i = 0; i < protocol.length(); i++) { in isValidProtocolString()
69 static String encodeProtocolString(const String& protocol) in encodeProtocolString() argument
72 for (size_t i = 0; i < protocol.length(); i++) { in encodeProtocolString()
73 if (protocol[i] < 0x20 || protocol[i] > 0x7E) in encodeProtocolString()
74 builder.append(String::format("\\u%04X", protocol[i])); in encodeProtocolString()
75 else if (protocol[i] == 0x5c) in encodeProtocolString()
[all …]
/external/chromium/chrome/browser/custom_handlers/
Dprotocol_handler.cc10 ProtocolHandler::ProtocolHandler(const std::string& protocol, in ProtocolHandler() argument
13 : protocol_(protocol), in ProtocolHandler()
19 const std::string& protocol, in CreateProtocolHandler() argument
22 std::string lower_protocol(protocol); in CreateProtocolHandler()
23 lower_protocol = StringToLowerASCII(protocol); in CreateProtocolHandler()
29 std::string protocol, url; in CreateProtocolHandler() local
31 value->GetString("protocol", &protocol); in CreateProtocolHandler()
34 return ProtocolHandler::CreateProtocolHandler(protocol, GURL(url), title); in CreateProtocolHandler()
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dsessionmessages.h82 SessionMessage(SignalingProtocol protocol, ActionType type, in SessionMessage()
84 protocol(protocol), type(type), sid(sid), initiator(initiator), in SessionMessage()
90 SignalingProtocol protocol; member
208 bool ParseContentType(SignalingProtocol protocol,
215 bool ParseSessionInitiate(SignalingProtocol protocol,
221 bool WriteSessionInitiate(SignalingProtocol protocol,
228 bool ParseSessionAccept(SignalingProtocol protocol,
234 bool WriteSessionAccept(SignalingProtocol protocol,
241 bool ParseSessionTerminate(SignalingProtocol protocol,
245 void WriteSessionTerminate(SignalingProtocol protocol,
[all …]
/external/clang/test/ASTMerge/Inputs/
Dinterface1.m49 // Matching protocol
50 @protocol P0
56 @protocol P1
61 // Interface with protocol
67 // Protocol with protocol
68 @protocol P2 <P0>
78 @protocol P3, P5;
79 @protocol P4
Dinterface2.m48 // Matching protocol
49 @protocol P0
55 @protocol P1
60 // Interface with protocol
66 // Protocol with protocol
67 @protocol P2 <P0>
77 @protocol P3, P4;
78 @protocol P5

12345678910>>...52