/external/avahi/avahi-python/avahi-discover/ |
D | avahi-discover.py | 74 (name,interface,protocol,stype,domain) = self.treemodel.get(iter,1,2,3,4,5) 79 …self.server.ResolveService( int(interface), int(protocol), name, stype, domain, avahi.PROTO_UNSPEC… 81 def protoname(self,protocol): argument 82 if protocol == avahi.PROTO_INET: 84 if protocol == avahi.PROTO_INET6: 94 def get_interface_name(self, interface, protocol): argument 95 if interface == avahi.IF_UNSPEC and protocol == avahi.PROTO_UNSPEC: 98 return str(self.siocgifname(interface)) + " " + str(self.protoname(protocol)) 100 …def service_resolved(self, interface, protocol, name, stype, domain, host, aprotocol, address, por… argument 101 …or service '%s' of type '%s' in domain '%s' on %i.%i:" % (name, stype, domain, interface, protocol) [all …]
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | HandshakeProtocolTest.java | 35 HandshakeProtocol protocol = new ClientHandshakeImpl(new SSLEngineImpl( in testGetStatus() local 40 assertEquals(protocol.getStatus(), in testGetStatus() 43 protocol.status = HandshakeProtocol.NEED_UNWRAP; in testGetStatus() 44 assertEquals(protocol.getStatus(), in testGetStatus() 47 protocol.status = HandshakeProtocol.FINISHED; in testGetStatus() 48 assertEquals(protocol.getStatus(), in testGetStatus() 50 assertEquals(protocol.status, HandshakeProtocol.NOT_HANDSHAKING); in testGetStatus() 52 protocol.delegatedTaskErr = new Exception(); in testGetStatus() 53 assertEquals(protocol.getStatus(), in testGetStatus() 55 protocol.delegatedTaskErr = null; in testGetStatus() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Protocol.java | 71 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/ |
D | protocol-expr-neg-1.m | 5 @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…
|
D | 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> 44 @protocol PROTO4 <p1, p2, PROTO, PROTO3, p3> [all …]
|
D | class-proto-1.m | 5 @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 …]
|
D | protocols-suppress-conformance.m | 3 // 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/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/ |
D | WKS.py | 38 def __init__(self, rdclass, rdtype, address, protocol, bitmap): argument 41 self.protocol = protocol 52 return '%s %d %s' % (self.address, self.protocol, text) 56 protocol = tok.get_string() 57 if protocol.isdigit(): 58 protocol = int(protocol) 60 protocol = socket.getprotobyname(protocol) 69 if protocol != _proto_udp and protocol != _proto_tcp: 71 if protocol == _proto_udp: 83 return cls(rdclass, rdtype, address, protocol, bitmap) [all …]
|
/external/apache-http/src/org/apache/http/ |
D | ProtocolVersion.java | 67 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/ |
D | basic_resolver_query.hpp | 68 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/ |
D | objcmt-protocol-conformance.m.result | 2 // 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 …]
|
D | objcmt-protocol-conformance.m | 2 // 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 …]
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ |
D | keybase.py | 79 def __init__(self, rdclass, rdtype, flags, protocol, algorithm, key): argument 82 self.protocol = protocol 87 return '%d %d %d %s' % (self.flags, self.protocol, self.algorithm, 103 protocol = tok.get_string() 104 if protocol.isdigit(): 105 protocol = int(protocol) 107 protocol = _protocol_from_text.get(protocol) 108 if protocol is None: 109 raise dns.exception.SyntaxError('unknown protocol %s' % protocol) 122 return cls(rdclass, rdtype, flags, protocol, algorithm, key) [all …]
|
/external/clang/test/CodeGenObjC/ |
D | protocols-lazy.m | 5 @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/ |
D | region-1.m | 10 @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/avahi/avahi-core/ |
D | lookup.h | 59 AvahiProtocol protocol, /**< Protocol number the record was found. */ 69 …AvahiProtocol protocol, /**< Protocol number to use when looking for the record, o… 82 AvahiProtocol protocol, 93 AvahiProtocol protocol, 107 AvahiProtocol protocol, 118 AvahiProtocol protocol, 131 AvahiProtocol protocol, 141 AvahiProtocol protocol, 155 AvahiProtocol protocol, 166 AvahiProtocol protocol, [all …]
|
D | browse.c | 47 AvahiProtocol protocol; member 60 static void lookup_handle_cname(AvahiSRBLookup *l, AvahiIfIndex interface, AvahiProtocol protocol, … 61 static void lookup_drop_cname(AvahiSRBLookup *l, AvahiIfIndex interface, AvahiProtocol protocol, Av… 85 AvahiProtocol protocol, in lookup_new() argument 93 assert(AVAHI_PROTO_VALID(protocol)); in lookup_new() 105 l->protocol = protocol; in lookup_new() 161 AvahiProtocol protocol, in lookup_find() argument 172 (l->interface == AVAHI_PROTO_UNSPEC || l->protocol == protocol) && in lookup_find() 252 AvahiProtocol protocol, in lookup_multicast_callback() argument 278 lookup_handle_cname(l, interface, protocol, b->flags, r); in lookup_multicast_callback() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | StatusLine.java | 15 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/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/ |
D | test_sanitizer.py | 102 for protocol in sanitizer.HTMLSanitizer.allowed_protocols: 104 if protocol == 'data': 106 yield (runSanitizerTest, "test_should_allow_uppercase_%s_uris" % protocol, 107 "<img src=\"%s:%s\">foo</a>" % (protocol, rest_of_uri), 108 """<img src="%s:%s">foo</a>""" % (protocol, rest_of_uri), 121 for protocol in sanitizer.HTMLSanitizer.allowed_protocols: 123 if protocol == 'data': 125 protocol = protocol.upper() 126 yield (runSanitizerTest, "test_should_allow_uppercase_%s_uris" % protocol, 127 "<img src=\"%s:%s\">foo</a>" % (protocol, rest_of_uri), [all …]
|
/external/iproute2/examples/diffserv/ |
D | Edge32-ca-u32 | 57 $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/selinux/policycoreutils/sepolicy/sepolicy/ |
D | network.py | 38 def get_network_connect(src, protocol, perm): argument 41 tlist = get_types(src, "%s_socket" % protocol, [perm]) 43 d[(src, protocol, perm)] = [] 55 d[(src, protocol, perm)].append((i, ["all ports with out defined types"])) 57 d[(src, protocol, perm)].append((i, ["all ports"])) 59 d[(src, protocol, perm)].append((i, ["all ports > 1024"])) 61 d[(src, protocol, perm)].append((i, ["all ports < 1024"])) 63 d[(src, protocol, perm)].append((i, ["all ports > 500 and < 1024"])) 66 d[(src, protocol, perm)].append((i, portrecs[(i, protocol)]))
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | transport.py | 154 def __init__(self, protocol=protobuf): argument 164 if isinstance(protocol, six.string_types): 167 protocol = protocols.lookup_by_name(protocol) 169 protocol = protocols.lookup_by_content_type(protocol) 170 if isinstance(protocol, remote.ProtocolConfig): 171 self.__protocol = protocol.protocol 172 self.__protocol_config = protocol 174 self.__protocol = protocol 176 protocol, 'default', default_content_type=protocol.CONTENT_TYPE) 179 def protocol(self): member in Transport [all …]
|
/external/avahi/avahi-client/ |
D | lookup.h | 50 AvahiProtocol protocol, 60 AvahiProtocol protocol, 84 AvahiProtocol protocol, 106 AvahiProtocol protocol, /**< In most cases pass AVAHI_PROTO_UNSPEC here */ 129 AvahiProtocol protocol, 140 AvahiProtocol protocol, 163 AvahiProtocol protocol, 192 …AvahiProtocol protocol, /**< Pass the protocol argument you received in AvahiServiceBrowserCallb… 217 AvahiProtocol protocol, 228 AvahiProtocol protocol, [all …]
|
/external/android-clat/ |
D | ipv6.c | 82 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/clang/test/Modules/Inputs/ |
D | redecl-merge-right.h | 12 @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;
|