/external/clang/test/SemaObjC/ |
protocol-expr-neg-1.m | 3 @class Protocol; 5 @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'} [all...] |
protocol-expr-1.m | 3 @protocol fproto; 5 @protocol p1 12 Protocol *proto = @protocol(p1); 13 Protocol *fproto = @protocol(fproto);
|
protocols.m | 14 @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 [all...] |
undefined-protocol-type-1.m | 3 @protocol p1, p4; 4 @protocol p2 @end 7 - (T<p2, p3, p1, p4>*) meth; // expected-error {{cannot find protocol declaration for 'p3'}} 8 - (T<p2, p3, p1, p4>*) meth; // expected-error {{cannot find protocol declaration for 'p3'}}
|
protocol-implementation-inherited.m | 3 @protocol P0 10 // Interface conforms to inherited protocol 18 // Interface conforms to a protocol which extends another. The other 19 // protocol is inherited, and extended methods are implemented. 21 @protocol P1 <P0> 32 // Interface conforms to a protocol whose methods are provided by an 33 // alternate inherited protocol. 35 @protocol P2 45 // Interface conforms to a protocol whose methods are provided by a base class.
|
class-protocol.m | 4 @interface Protocol
|
class-proto-1.m | 5 @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'}}
|
interface-tu-variable.m | 4 int x; // expected-error {{cannot declare variable inside @interface or @protocol}} 5 int one=1; // expected-error {{cannot declare variable inside @interface or @protocol}} 8 @protocol PPP 9 int ddd; // expected-error {{cannot declare variable inside @interface or @protocol}} 13 char * III; // expected-error {{cannot declare variable inside @interface or @protocol}} 18 char * III2; // expected-error {{cannot declare variable inside @interface or @protocol}}
|
no-protocol-option-tests.m | 1 // RUN: %clang_cc1 -fsyntax-only -Wno-protocol -verify %s 4 @protocol P 10 @implementation I @end // no warning with -Wno-protocol 15 @implementation C (Category) @end // no warning with -Wno-protocol 27 @implementation K @end // no warning with -Wno-protocol 32 @implementation L @end // no warning with -Wno-protocol
|
comptypes-8.m | 3 @protocol MyProtocol
|
/external/clang/test/PCH/ |
chain-predecl.h | 3 @protocol Pro;
|
/external/clang/test/CodeGenObjC/ |
protocols.m | 10 @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) [all...] |
protocols-lazy.m | 6 @protocol P0; 10 @protocol P1 -im1; @end 12 // Definition triggered by protocol reference. 15 @protocol P2 -im1; @end 16 void f0() { id x = @protocol(P2); } 18 // Forward definition triggered by protocol reference. 21 @protocol P3; 22 void f1() { id x = @protocol(P3); } 27 @protocol P4 -im1; @end 34 @protocol P5 [all...] |
/external/clang/test/Parser/ |
placeholder-recovery.m | 6 @protocol <#protocol name#> <NSObject> // expected-error 2{{expected identifier}} \ 7 // expected-error{{cannot find protocol declaration for 'NSObject'}} \ 8 // expected-warning{{protocol qualifiers without 'id'}}
|
objc-type-printing.m | 3 @protocol P1 @end 4 @protocol P2 @end 5 @protocol P3 @end
|
prefix-attributes.m | 3 __attribute__((deprecated)) @class B; // expected-error {{prefix attribute must be followed by an interface or protocol}} 6 __attribute__((deprecated)) @protocol P0; 7 __attribute__((deprecated)) @protocol P1
|
/external/clang/test/SemaObjCXX/ |
instantiate-method-return.mm | 9 @protocol Protocol 14 @interface I<Protocol>
|
/external/chromium/chrome/browser/sync/protocol/ |
sync_proto.gyp | 40 '<(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...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLContextTest.java | 50 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { 53 SSLContext newContext = SSLContext.getInstance(protocol); 68 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { 69 assertNotNull(SSLContext.getInstance(protocol)); 70 assertNotSame(SSLContext.getInstance(protocol), 71 SSLContext.getInstance(protocol)); 84 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { 86 SSLContext.getInstance(protocol, (String) null); 99 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { 100 String protocolName = SSLContext.getInstance(protocol).getProtocol() [all...] |
/external/clang/test/ASTMerge/Inputs/ |
interface1.m | 49 // Matching protocol 50 @protocol P0 55 // Protocol with mismatching method 56 @protocol P1 61 // Interface with protocol 67 // Protocol with protocol 68 @protocol P2 <P0> 78 @protocol P3, P5; 79 @protocol P [all...] |
interface2.m | 48 // Matching protocol 49 @protocol P0 54 // Protocol with mismatching method 55 @protocol P1 60 // Interface with protocol 66 // Protocol with protocol 67 @protocol P2 <P0> 77 @protocol P3, P4; 78 @protocol P [all...] |
/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/ |
set-href-attribute-protocol-expected.txt | 1 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 undefine [all...] |
/external/chromium/net/http/ |
http_alternate_protocols.h | 6 // of which HTTP HostPortPairs have an alternate protocol that can be used 24 enum Protocol { 28 BROKEN, // The alternate protocol is known to be broken. 34 return port == other.port && protocol == other.protocol; 40 Protocol protocol; member in struct:net::HttpAlternateProtocols::PortProtocolPair 51 // Reports whether or not we have received Alternate-Protocol for 61 // SetAlternateProtocolFor() will ignore the request if the alternate protocol 65 Protocol alternate_protocol) [all...] |
/external/libpcap/ |
ppp.h | 3 * Point to Point Protocol (PPP) RFC1331 24 /* Protocol numbers */ 34 #define PPP_STII 0x0033 /* Stream Protocol (ST-II) */ 36 #define PPP_IPV6 0x0057 /* Internet Protocol version 6 */ 44 #define PPP_IPCP 0x8021 /* IP Control Protocol */ 45 #define PPP_OSICP 0x8023 /* OSI Network Layer Control Protocol */ 46 #define PPP_NSCP 0x8025 /* Xerox NS IDP Control Protocol */ 47 #define PPP_DECNETCP 0x8027 /* DECnet Control Protocol */ 48 #define PPP_APPLECP 0x8029 /* Appletalk Control Protocol */ 49 #define PPP_IPXCP 0x802b /* Novell IPX Control Protocol */ [all...] |
/external/clang/test/ARCMT/Inputs/ |
test.h.result | 1 @protocol NSObject
|