/external/curl/tests/ |
D | serverhelp.pm | 77 my $proto; 83 $proto = $1; 89 $proto = $1; 96 return($proto, $ipvnum, $idnum); 104 my ($proto, $ipver, $idnum) = @_; 106 $proto = uc($proto) if($proto); 107 die "unsupported protocol: '$proto'" unless($proto && 108 …($proto =~ /^(((FTP|HTTP|IMAP|POP3|SMTP|HTTP-PIPE)S?)|(TFTP|SFTP|SOCKS|SSH|RTSP|GOPHER|HTTPTLS))$/… 120 return "${proto}${idnum}${ipver}"; 128 my ($proto, $ipver, $idnum) = @_; [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | reflection_test.py | 116 proto = unittest_pb2.TestAllTypes( 121 self.assertEqual(24, proto.optional_int32) 122 self.assertEqual(54.321, proto.optional_double) 123 self.assertEqual('optional_string', proto.optional_string) 127 proto = unittest_pb2.TestAllTypes( 133 self.assertEquals([1, 2, 3, 4], list(proto.repeated_int32)) 134 self.assertEquals([1.23, 54.321], list(proto.repeated_double)) 135 self.assertEquals([True, False, False], list(proto.repeated_bool)) 136 self.assertEquals(["optional_string"], list(proto.repeated_string)) 140 proto = unittest_pb2.TestAllTypes( [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | protobuf_test.py | 63 proto = protorpc_test_pb2.OptionalMessage() 64 proto.double_value = 1.23 65 proto.int64_value = -100000000000 66 proto.int32_value = 1020 67 proto.string_value = u'a string' 68 proto.enum_value = protorpc_test_pb2.OptionalMessage.VAL2 70 return proto.SerializeToString() 74 proto = protorpc_test_pb2.OptionalMessage() 75 proto.double_value = 1.23 76 proto.float_value = -2.5 [all …]
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 75 public FileDescriptorProto toProto() { return proto; } in toProto() 78 public String getName() { return proto.getName(); } in getName() 84 public String getFullName() { return proto.getName(); } in getFullName() 91 public String getPackage() { return proto.getPackage(); } in getPackage() 94 public FileOptions getOptions() { return proto.getOptions(); } in getOptions() 232 public static FileDescriptor buildFrom(final FileDescriptorProto proto, in buildFrom() argument 235 return buildFrom(proto, dependencies, false); in buildFrom() 254 final FileDescriptorProto proto, final FileDescriptor[] dependencies, in buildFrom() argument 269 proto, dependencies, pool, allowUnknownDependencies); in buildFrom() 307 FileDescriptorProto proto; in internalBuildGeneratedFileFrom() local [all …]
|
/external/vulkan-validation-layers/loader/ |
D | vk-loader-generate.py | 61 def _is_loader_non_trampoline_entrypoint(self, proto): argument 62 …if proto.name in ["GetDeviceProcAddr", "EnumeratePhysicalDevices", "EnumerateLayers", "DbgRegister… 64 return not self.is_dispatchable_object_first_param(proto) 67 def is_dispatchable_object_first_param(self, proto): argument 68 in_objs = proto.object_in_params() 70 param0 = proto.params[0] 167 def _generate_object_setup(self, proto): argument 172 if not self._requires_special_trampoline_code(proto.name): 175 if "Get" in proto.name: 178 if proto.name == "GetSwapchainInfoKHR": [all …]
|
/external/v8/test/webkit/ |
D | dictionary-prototype-caching.js | 30 var proto = {protoProp: "PASS", propToRemove: "foo"}; variable 31 var o = { __proto__: proto }; 33 delete proto.propToRemove; 40 delete proto.protoProp; 41 proto.fakeProtoProp = "FAIL"; 48 var proto = {a:1, b:"meh", c:2}; variable 49 var o = { __proto__: proto }; 51 delete proto.b; 52 proto.d = 3; 57 for (var i in proto) [all …]
|
/external/v8/test/mjsunit/ |
D | element-read-only.js | 23 var proto = {}; 26 o.__proto__ = proto; 30 Object.defineProperty(proto, index, {value: 100, writable: false}); 38 var proto = {3: 10000}; variable 41 o.__proto__ = proto; 45 Object.defineProperty(proto, index, {value: 100, writable: false}); 53 var proto = f(100); 56 o.__proto__ = proto; 60 Object.defineProperty(proto, index, {value: 100, writable: false}); 68 var proto = f(100, 200, 300, 400); [all …]
|
D | fast-prototype.js | 48 function DoProtoMagic(proto, set__proto__) { argument 50 (new Sub()).__proto__ = proto; 52 Sub.prototype = proto; 61 var proto = use_new ? new Super() : {}; 64 assertTrue(%HasFastProperties(proto)); 67 AddProps(proto); 69 assertFalse(%HasFastProperties(proto)); 70 DoProtoMagic(proto, set__proto__); 72 assertTrue(%HasFastProperties(proto)); 74 DoProtoMagic(proto, set__proto__); [all …]
|
/external/libbrillo/policy/ |
D | device_policy_impl.cc | 148 const enterprise_management::UserWhitelistProto& proto = in GetUserWhitelist() local 151 for (int i = 0; i < proto.user_whitelist_size(); i++) in GetUserWhitelist() 152 user_whitelist->push_back(proto.user_whitelist(i)); in GetUserWhitelist() 204 const enterprise_management::DeviceReportingProto& proto = in GetReportVersionInfo() local 206 if (!proto.has_report_version_info()) in GetReportVersionInfo() 209 *report_version_info = proto.report_version_info(); in GetReportVersionInfo() 218 const enterprise_management::DeviceReportingProto& proto = in GetReportActivityTimes() local 220 if (!proto.has_report_activity_times()) in GetReportActivityTimes() 223 *report_activity_times = proto.report_activity_times(); in GetReportActivityTimes() 231 const enterprise_management::DeviceReportingProto& proto = in GetReportBootMode() local [all …]
|
/external/tcpdump/tests/ |
D | vrrp-v.out | 1 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) 3 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) 5 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) 7 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) 9 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) 11 …5, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 40 12 …5, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 88 13 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) 15 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) 17 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) [all …]
|
D | hsrp_1-v.out | 1 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 3 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 5 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 7 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 9 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 11 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 13 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 15 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44) 17 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 19 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) [all …]
|
D | vrrp.out | 6 IP6 fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 40 7 IP6 fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 88 11 IP6 fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 88 12 IP6 fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 40 17 IP6 fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 40 18 IP6 fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 88 22 IP6 fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 88 23 IP6 fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 40 27 IP6 fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 40 28 IP6 fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 88 [all …]
|
D | geneve-vv.out | 1 IP (tos 0x0, ttl 64, id 57261, offset 0, flags [DF], proto UDP (17), length 142) 3 IP (tos 0x0, ttl 64, id 48546, offset 0, flags [DF], proto ICMP (1), length 84) 5 IP (tos 0x0, ttl 64, id 34821, offset 0, flags [DF], proto UDP (17), length 134) 7 IP (tos 0x0, ttl 64, id 4595, offset 0, flags [none], proto ICMP (1), length 84) 9 IP (tos 0x0, ttl 64, id 34822, offset 0, flags [DF], proto UDP (17), length 110) 11 IP (tos 0x0, ttl 64, id 23057, offset 0, flags [DF], proto TCP (6), length 60) 13 IP (tos 0x0, ttl 64, id 57274, offset 0, flags [DF], proto UDP (17), length 118) 15 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60) 17 IP (tos 0x0, ttl 64, id 34823, offset 0, flags [DF], proto UDP (17), length 102) 19 IP (tos 0x0, ttl 64, id 23058, offset 0, flags [DF], proto TCP (6), length 52) [all …]
|
D | hsrp_2-v.out | 1 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 3 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 5 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 7 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 9 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44) 11 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 13 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44) 15 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 17 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 19 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44) [all …]
|
D | esp2.out | 1 …2.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1280, length 64 (ipip-proto-4) (ipip-proto-4) 2 …2.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1536, length 64 (ipip-proto-4) (ipip-proto-4) 3 …2.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1792, length 64 (ipip-proto-4) (ipip-proto-4) 4 …2.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2048, length 64 (ipip-proto-4) (ipip-proto-4) 5 …2.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2304, length 64 (ipip-proto-4) (ipip-proto-4) 6 …2.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2560, length 64 (ipip-proto-4) (ipip-proto-4) 7 …2.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2816, length 64 (ipip-proto-4) (ipip-proto-4) 8 …2.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 3072, length 64 (ipip-proto-4) (ipip-proto-4)
|
D | forces2vvv.out | 1 05:12:46.942414 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68) 4 05:12:46.943161 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29… 7 05:12:46.943242 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 26… 10 05:12:46.943643 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36) 13 05:12:47.944776 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68) 16 05:12:47.946163 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29… 19 05:12:47.946319 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 26… 22 05:12:47.947214 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36) 25 05:12:48.948471 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68) 28 05:12:48.949179 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29… [all …]
|
/external/selinux/libsepol/src/ |
D | port_record.c | 13 int proto; member 24 int proto; member 29 int low, int high, int proto, in sepol_port_key_create() argument 43 tmp_key->proto = proto; in sepol_port_key_create() 52 int *low, int *high, int *proto) in hidden_def() 57 *proto = key->proto; in hidden_def() 68 (handle, port->low, port->high, port->proto, key_ptr) < 0) { in hidden_def() 71 sepol_port_get_proto_str(port->proto), in hidden_def() 89 (port->high == key->high) && (port->proto == key->proto)) in sepol_port_compare() 104 else if (port->proto < key->proto) in sepol_port_compare() [all …]
|
D | node_record.c | 22 int proto; member 38 int proto; member 45 const char *addr_str, int proto, char *addr_bytes) in node_parse_addr() argument 48 switch (proto) { in node_parse_addr() 82 "parse address", proto); in node_parse_addr() 93 int proto, char **addr, size_t * addr_sz) in node_alloc_addr() argument 99 switch (proto) { in node_alloc_addr() 116 ERR(handle, "unsupported protocol %u", proto); in node_alloc_addr() 130 sepol_node_get_proto_str(proto)); in node_alloc_addr() 139 char *addr_bytes, int proto, char *addr_str) in node_expand_addr() argument [all …]
|
D | ports.c | 11 static inline int sepol2ipproto(sepol_handle_t * handle, int proto) in sepol2ipproto() argument 14 switch (proto) { in sepol2ipproto() 20 ERR(handle, "unsupported protocol %u", proto); in sepol2ipproto() 25 static inline int ipproto2sepol(sepol_handle_t * handle, int proto) in ipproto2sepol() argument 28 switch (proto) { in ipproto2sepol() 34 ERR(handle, "invalid protocol %u " "found in policy", proto); in ipproto2sepol() 52 int proto = sepol_port_get_proto(data); in port_from_record() local 59 tmp_proto = sepol2ipproto(handle, proto); in port_from_record() 96 low, high, sepol_port_get_proto_str(proto)); in port_from_record() 105 int proto = port->u.port.protocol; in port_to_record() local [all …]
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | LazyStringEndToEndTest.java | 97 UnittestProto.TestAllTypes proto = UnittestProto.TestAllTypes.newBuilder() in testCaching() local 104 assertSame(a, proto.getOptionalString()); in testCaching() 105 assertSame(b, proto.getRepeatedString(0)); in testCaching() 106 assertSame(c, proto.getRepeatedString(1)); in testCaching() 112 proto.toByteString(); in testCaching() 113 String aPrime = proto.getOptionalString(); in testCaching() 116 String bPrime = proto.getRepeatedString(0); in testCaching() 119 String cPrime = proto.getRepeatedString(1); in testCaching() 124 assertSame(aPrime, proto.getOptionalString()); in testCaching() 125 assertSame(bPrime, proto.getRepeatedString(0)); in testCaching() [all …]
|
/external/iptables/extensions/ |
D | libxt_multiport.c | 66 proto_to_name(uint8_t proto) in proto_to_name() argument 68 switch (proto) { in proto_to_name() 85 parse_multi_ports(const char *portstring, uint16_t *ports, const char *proto) in parse_multi_ports() argument 97 ports[i] = xtables_parse_port(cp, proto); in parse_multi_ports() 107 const char *proto) in parse_multi_ports_v1() argument 129 multiinfo->ports[i] = xtables_parse_port(cp, proto); in parse_multi_ports_v1() 132 multiinfo->ports[++i] = xtables_parse_port(range, proto); in parse_multi_ports_v1() 147 const char *proto; in check_proto() local 153 if ((proto = proto_to_name(pnum)) != NULL) in check_proto() 154 return proto; in check_proto() [all …]
|
/external/vulkan-validation-layers/ |
D | vk-generate.py | 127 for proto in self.protos: 128 …proto.name == "CreateInstance" or proto.name == "EnumerateInstanceExtensionProperties" or proto.na… 130 if proto.name != "GetDeviceProcAddr" and 'KHR' not in proto.name: 132 (proto.name, proto.name, proto.name)) 141 for proto in self.protos: 142 if proto.params[0].ty != "VkInstance" and proto.params[0].ty != "VkPhysicalDevice": 144 if proto.name == "CreateDevice": 146 if proto.name != "GetInstanceProcAddr" and 'KHR' not in proto.name: 148 (proto.name, proto.name, proto.name)) 238 for proto in self.exports: [all …]
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.cc | 1562 void FileDescriptor::CopyTo(FileDescriptorProto* proto) const { in CopyTo() 1563 proto->set_name(name()); in CopyTo() 1564 if (!package().empty()) proto->set_package(package()); in CopyTo() 1567 proto->add_dependency(dependency(i)->name()); in CopyTo() 1571 proto->add_public_dependency(public_dependencies_[i]); in CopyTo() 1575 proto->add_weak_dependency(weak_dependencies_[i]); in CopyTo() 1579 message_type(i)->CopyTo(proto->add_message_type()); in CopyTo() 1582 enum_type(i)->CopyTo(proto->add_enum_type()); in CopyTo() 1585 service(i)->CopyTo(proto->add_service()); in CopyTo() 1588 extension(i)->CopyTo(proto->add_extension()); in CopyTo() [all …]
|
/external/avahi/avahi-common/ |
D | address.c | 38 if (a->proto == AVAHI_PROTO_INET) in address_get_size() 40 else if (a->proto == AVAHI_PROTO_INET6) in address_get_size() 50 if (a->proto != b->proto) in avahi_address_cmp() 61 if (!(inet_ntop(avahi_proto_to_af(a->proto), a->data.data, s, length))) in avahi_address_snprint() 72 if (a->proto == AVAHI_PROTO_INET) { in avahi_reverse_lookup_name() 79 assert(a->proto == AVAHI_PROTO_INET6); in avahi_reverse_lookup_name() 105 AvahiAddress *avahi_address_parse(const char *s, AvahiProtocol proto, AvahiAddress *ret_addr) { in avahi_address_parse() argument 109 if (proto == AVAHI_PROTO_UNSPEC) { in avahi_address_parse() 114 ret_addr->proto = AVAHI_PROTO_INET6; in avahi_address_parse() 116 ret_addr->proto = AVAHI_PROTO_INET; in avahi_address_parse() [all …]
|
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/ |
D | protobufwireadaptertest.cc | 127 Configuration proto; in TEST_F() local 128 proto.set_client_role(Options_RoleType_ROLE_TYPE_OUTPUT); in TEST_F() 129 proto.mutable_encoding()->set_type( in TEST_F() 131 proto.mutable_encoding()->set_symbol_length(64); in TEST_F() 135 outer.set_payload(proto.SerializeAsString()); in TEST_F() 152 ConfigurationAck proto; in TEST_F() local 156 outer.set_payload(proto.SerializeAsString()); in TEST_F() 170 Options proto; in TEST_F() local 171 proto.set_preferred_role(Options_RoleType_ROLE_TYPE_INPUT); in TEST_F() 172 Options_Encoding* encoding = proto.add_input_encodings(); in TEST_F() [all …]
|