Home
last modified time | relevance | path

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

12345678910>>...30

/minix3/minix/lib/libc/sys/
H A Dsocket.c36 static int _tcp_socket(int type, int protocol);
37 static int _udp_socket(int type, int protocol);
38 static int _uds_socket(int type, int protocol);
39 static int _raw_socket(int type, int protocol);
46 __socket(int domain, int type, int protocol) in __socket() argument
53 m.m_lc_vfs_socket.protocol = protocol; in __socket()
58 int socket(int domain, int type, int protocol) in socket() argument
62 r = __socket(domain, type, protocol); in socket()
70 domain, type, protocol); in socket()
74 return _uds_socket(type, protocol); in socket()
[all …]
H A Dsocketpair.c19 static int _uds_socketpair(int type, int protocol, int sv[2]);
25 __socketpair(int domain, int type, int protocol, int sv[2]) in __socketpair() argument
32 m.m_lc_vfs_socket.protocol = protocol; in __socketpair()
43 socketpair(int domain, int type, int protocol, int sv[2]) in socketpair() argument
47 r = __socketpair(domain, type, protocol, sv); in socketpair()
53 domain, type, protocol); in socketpair()
57 return _uds_socketpair(type, protocol, sv); in socketpair()
63 static int _uds_socketpair(int type, int protocol, int sv[2]) in _uds_socketpair() argument
74 if (protocol != 0) in _uds_socketpair()
77 fprintf(stderr, "socketpair(uds): bad protocol %d\n", protocol); in _uds_socketpair()
/minix3/tests/lib/libc/net/getaddrinfo/
H A Dno_host_v4v6.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) 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
4 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
5 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
7 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo
8 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv echo
9 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv echo
10 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo
11 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo
[all …]
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 6 addrlen 28 host ::1 serv http
[all …]
H A Dno_host_v4.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) 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 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv tftp
10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv tftp
11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv tftp
13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 80
[all …]
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 0 addrlen 0 host ::1 serv tftp
[all …]
H A Dno_serv_v4v6.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty)
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty)
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty)
10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0
11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0
[all …]
H A Dno_serv_v4.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty)
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty)
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty)
10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0
13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv (empty)
H A Dsock_raw_v4v6.exp1 arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty)
2 ai1: flags 0x2 family 24 socktype 3 protocol 0 addrlen 28 host ::1 serv 0
3 ai2: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0
5 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty)
6 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
7 ai2: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0
9 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80
11 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www
13 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty)
14 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
H A Dsock_raw_v4.exp1 arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty)
2 ai1: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0
4 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty)
5 ai1: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0
7 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80
9 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www
11 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty)
12 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
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
/minix3/external/bsd/llvm/dist/clang/test/SemaObjC/
H A 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…
H 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 …]
H A 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 …]
H A 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 …]
H A 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.
H A 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 >
H A Dobjc-asm-attribute-neg-test.m9 @protocol BProtocol1
13 @protocol Protocol
18 …expected-error {{'objc_runtime_name' attribute only applies to interface or protocol declarations}}
22 …t MyProperty; // expected-error {{prefix attribute must be followed by an interface or protocol}}}}
24 …expected-error {{'objc_runtime_name' attribute only applies to interface or protocol declarations}}
26 …expected-error {{'objc_runtime_name' attribute only applies to interface or protocol declarations}}
31 …s ForwardClass; // expected-error {{prefix attribute must be followed by an interface or protocol}}
34 @protocol ForwardProtocol;
37 …ntation Message // expected-error {{prefix attribute must be followed by an interface or protocol}}
/minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/
H A 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 …]
H A 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);
/minix3/external/bsd/llvm/dist/clang/test/ARCMT/
H A 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 …]
H A 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 …]
/minix3/external/bsd/llvm/dist/clang/test/Analysis/
H A 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 …]
/minix3/external/bsd/llvm/dist/clang/test/Modules/Inputs/
H A 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;
/minix3/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dgetaddrinfo.c48 int *protocol, in get_port_protocol_socktype() argument
63 *protocol = protoent->p_proto; in get_port_protocol_socktype()
72 *protocol = IPPROTO_TCP; in get_port_protocol_socktype()
76 *protocol = IPPROTO_UDP; in get_port_protocol_socktype()
82 *protocol = IPPROTO_TCP; in get_port_protocol_socktype()
86 *protocol = IPPROTO_UDP; in get_port_protocol_socktype()
106 add_one (int port, int protocol, int socktype, in add_one() argument
121 a->ai_protocol = protocol; in add_one()
183 int port, int protocol, int socktype, in get_null() argument
212 ret = add_one (port, protocol, socktype, in get_null()
[all …]

12345678910>>...30