Searched refs:protocol (Results 1 - 25 of 347) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/fixincludes/tests/base/rpc/
H A Dsvc.h13 * int protocol; */ /* like TCP or UDP variable
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/objc/execute/
H A Dprotocol-isEqual-1.m2 /* Test that a protocol is equal to itself. */
5 @protocol Foo
11 Protocol *protocol = @protocol(Foo);
14 if ( !protocol_isEqual (protocol, protocol))
16 if (! [protocol isEqual: protocol])
H A Dprotocol-isEqual-2.m6 @protocol Foo1
10 @protocol Foo2
17 if (protocol_isEqual (@protocol(Foo1), @protocol(Foo2)))
19 if ([@protocol(Foo1) isEqual: @protocol(Foo2)])
H A Dformal_protocol-6.m6 /* Test defining a protocol, and accessing it using @protocol */
8 @protocol Evaluating
12 /* Without a class adopting the protocol - this doesn't work
17 Protocol *protocol = @protocol (Evaluating);
20 if (strcmp (protocol_getName(protocol), "Evaluating"))
22 if (strcmp ([protocol name], "Evaluating"))
H A Dprotocol-isEqual-3.m2 /* Test that a protocol is not equal to nil. */
6 @protocol Foo
13 if (protocol_isEqual (@protocol(Foo), nil))
15 if ([@protocol(Foo) isEqual: nil])
H A Dprotocol-isEqual-4.m2 /* Test that a protocol is not equal to something which is not a protocol. */
6 @protocol Foo
14 if (protocol_isEqual (@protocol(Foo), objc_getClass("Protocol")))
16 if ([@protocol(Foo) isEqual: [Protocol class]])
H A Dformal_protocol-5.m6 /* Test defining a protocol, and accessing it using @protocol */
8 @protocol Evaluating
12 /* A class adopting the protocol */
25 Protocol *protocol = @protocol (Evaluating);
28 if (strcmp (protocol_getName(protocol), "Evaluating"))
30 if (strcmp ([protocol name], "Evaluating"))
H A Dbycopy-3.m19 @protocol MyProtocol
39 Protocol *protocol;
44 /* Get the protocol object */
45 protocol = @protocol (MyProtocol);
47 /* Ask to the protocol for the description of the method bycopyMethod */
48 method = [protocol descriptionForClassMethod: @selector (bycopyMethod)];
51 printf ("Could not find method bycopyMethod in protocol!\n");
H A Dbycopy-1.m8 @protocol MyProtocol
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/objc.dg/
H A Dmissing-proto-2.m1 /* Test for graceful handling of missing protocol declarations. */
5 void *protRef = @protocol(Missing); /* { dg-error "cannot find protocol declaration for .Missing." } */
H A Dproto-lossage-3.m2 a protocol with no instance/class methods respectively.
10 @protocol NoInstanceMethods
14 @protocol NoClassMethods
21 [@protocol(NoInstanceMethods) descriptionForInstanceMethod: @selector(name)];
22 [@protocol(NoInstanceMethods) descriptionForClassMethod: @selector(name)];
23 [@protocol(NoClassMethods) descriptionForInstanceMethod: @selector(name)];
24 [@protocol(NoClassMethods) descriptionForClassMethod: @selector(name)];
H A Dfwd-proto-1.m8 @protocol Bar;
9 @protocol Boo;
11 @protocol Foo
13 - (id <Baz>)anotherMethod; /* { dg-error "annot find protocol declaration" } */
16 @protocol Bar <Boo>
18 - (id <Baz>)anotherMethod; /* { dg-error "annot find protocol declaration" } */
26 @protocol Boo <Bar> /* { /*dg*/-error "has circular dependency" } */
H A Dproto-lossage-5.m5 @protocol _MyProtocol;
14 @protocol _MyProtocol
H A Dproto-hier-1.m1 /* Test for handling of protocol hierarchies. */
8 @protocol NSObj
12 @protocol NSCopying
24 @protocol Booing <NSObj>
28 @interface Boo: NSObject <Booing> // protocol has only one parent
35 @protocol Fooing <NSCopying, NSObj> // Fooing has two parent protocols
51 [stupidVar anotherMsg]; /* { dg-warning ".\\-anotherMsg. not found in protocol" } */
H A Dproto-lossage-2.m7 @protocol Zot
/netbsd-6-1-5-RELEASE/sys/netiso/xebec/
H A Dputdriver.c24 extern char protocol[];
34 protocol,
69 protocol,
71 protocol,
74 protocol,
92 protocol,
94 protocol,
104 protocol,
116 protocol,
118 protocol,
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/obj-c++.dg/
H A Dproto-lossage-3.mm2 a protocol with no instance/class methods respectively.
10 @protocol NoInstanceMethods
14 @protocol NoClassMethods
21 [@protocol(NoInstanceMethods) descriptionForInstanceMethod: @selector(name)];
22 [@protocol(NoInstanceMethods) descriptionForClassMethod: @selector(name)];
23 [@protocol(NoClassMethods) descriptionForInstanceMethod: @selector(name)];
24 [@protocol(NoClassMethods) descriptionForClassMethod: @selector(name)];
H A Dproto-lossage-5.mm5 @protocol _MyProtocol;
14 @protocol _MyProtocol
H A Dproto-lossage-2.mm7 @protocol Zot
/netbsd-6-1-5-RELEASE/tests/lib/libc/net/getaddrinfo/
H A Dbasics_v4.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http
10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
13 arg: flags 0x2 family 0 socktype 0 protocol
[all...]
H A Dspec_fam_v4v6.exp1 arg: flags 0x2 family 2 socktype 0 protocol 0 addrlen 0 host localhost serv http
2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
5 arg: flags 0x2 family 24 socktype 0 protocol 0 addrlen 0 host localhost serv http
6 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
7 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
H A Dbasics_v4v6.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http
10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
12 ai3: flags 0x2 family 24 socktype 1 protocol
[all...]
/netbsd-6-1-5-RELEASE/dist/ipf/rules/
H A Dipmon.conf10 match { protocol = udp, result = block }
21 protocol = udp, srcip = 10.1.0.0/16, dstip = 192.168.1.0/24 }
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/rdata/generic/
H A Ddnskey_48.h32 isc_uint8_t protocol; member in struct:dns_rdata_dnskey
H A Dkey_25.h32 isc_uint8_t protocol; member in struct:dns_rdata_key_t

Completed in 215 milliseconds

1234567891011>>