/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|HTTP\/2|IMAP|POP3|SMTP|HTTP-PIPE)S?)|(TFTP|SFTP|SOCKS|SSH|RTSP|GOPHER|HTT… 120 return "${proto}${idnum}${ipver}"; 128 my ($proto, $ipver, $idnum) = @_; [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | reflection_test.py | 120 proto = unittest_pb2.TestAllTypes( 126 self.assertEqual(24, proto.optional_int32) 127 self.assertEqual(54.321, proto.optional_double) 128 self.assertEqual('optional_string', proto.optional_string) 129 self.assertFalse(proto.HasField("optional_float")) 133 proto = unittest_pb2.TestAllTypes( 140 self.assertEqual([1, 2, 3, 4], list(proto.repeated_int32)) 141 self.assertEqual([1.23, 54.321], list(proto.repeated_double)) 142 self.assertEqual([True, False, False], list(proto.repeated_bool)) 143 self.assertEqual(["optional_string"], list(proto.repeated_string)) [all …]
|
/external/protobuf/js/ |
D | message_test.js | 84 var empty1 = new proto.jspb.test.Empty([]); 85 var empty2 = new proto.jspb.test.Empty([]); 91 var response = new proto.jspb.test.EnumContainer([]); 92 response.setOuterEnum(proto.jspb.test.OuterEnum.FOO); 93 assertEquals(proto.jspb.test.OuterEnum.FOO, response.getOuterEnum()); 97 var data = new proto.jspb.test.DefaultValues([]); 105 var foo = new proto.jspb.test.Complex(data1); 106 var bar = new proto.jspb.test.Complex(data2); 138 var foo = new proto.jspb.test.Complex([ 141 var bar = new proto.jspb.test.Complex([ [all …]
|
/external/protobuf/js/binary/ |
D | proto_test.js | 120 msg.setOptionalGroup(new proto.jspb.test.TestAllTypes.OptionalGroup()); 122 var submsg = new proto.jspb.test.ForeignMessage(); 125 msg.setOptionalForeignEnum(proto.jspb.test.ForeignEnum.FOREIGN_FOO); 144 msg.setRepeatedGroupList([new proto.jspb.test.TestAllTypes.RepeatedGroup()]); 146 submsg = new proto.jspb.test.ForeignMessage(); 149 msg.setRepeatedForeignEnumList([proto.jspb.test.ForeignEnum.FOREIGN_FOO]); 221 proto.jspb.test.ForeignEnum.FOREIGN_FOO); 226 proto.jspb.test.TestAllTypes.OneofFieldCase.ONEOF_STRING); 253 [proto.jspb.test.ForeignEnum.FOREIGN_FOO]); 282 msg.getExtension(proto.jspb.test.extendOptionalInt32)); [all …]
|
/external/vulkan-validation-layers/ |
D | vk-generate.py | 134 for proto in self.protos: 135 … if proto.name == "CreateInstance" or proto.name == "EnumerateInstanceExtensionProperties" or \ 136 … proto.name == "EnumerateInstanceLayerProperties" or proto.params[0].ty == "VkInstance" or \ 137 proto.params[0].ty == "VkPhysicalDevice" or proto.name == "GetDeviceProcAddr": 139 if proto.name == "GetMemoryWin32HandleNV": 142 (proto.name, proto.name, proto.name)) 146 (proto.name, proto.name, proto.name)) 158 for proto in self.protos: 159 … if proto.params[0].ty != "VkInstance" and proto.params[0].ty != "VkPhysicalDevice" or \ 160 proto.name == "CreateDevice" or proto.name == "GetInstanceProcAddr": [all …]
|
/external/protobuf/objectivec/DevTools/ |
D | compile_testing_protos.sh | 43 src/google/protobuf/*.proto \ 44 objectivec/Tests/*.proto \ 71 src/google/protobuf/unittest_arena.proto 72 src/google/protobuf/unittest_custom_options.proto 73 src/google/protobuf/unittest_enormous_descriptor.proto 74 src/google/protobuf/unittest_embed_optimize_for.proto 75 src/google/protobuf/unittest_empty.proto 76 src/google/protobuf/unittest_import.proto 77 src/google/protobuf/unittest_import_lite.proto 78 src/google/protobuf/unittest_lite.proto [all …]
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 79 return proto; in toProto() 85 return proto.getName(); in getName() 97 return proto.getName(); in getFullName() 105 public String getPackage() { return proto.getPackage(); } in getPackage() 108 public FileOptions getOptions() { return proto.getOptions(); } in getOptions() 154 if (Syntax.PROTO3.name.equals(proto.getSyntax())) { in getSyntax() 266 public static FileDescriptor buildFrom(final FileDescriptorProto proto, in buildFrom() argument 269 return buildFrom(proto, dependencies, false); in buildFrom() 288 final FileDescriptorProto proto, final FileDescriptor[] dependencies, in buildFrom() argument 303 proto, dependencies, pool, allowUnknownDependencies); in buildFrom() [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/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 128 multiinfo->ports[i] = xtables_parse_port(cp, proto); in parse_multi_ports_v1() 131 multiinfo->ports[++i] = xtables_parse_port(range, proto); in parse_multi_ports_v1() 145 const char *proto; in check_proto() local 151 if ((proto = proto_to_name(pnum)) != NULL) in check_proto() 152 return proto; in check_proto() [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 | 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 | 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 …]
|
/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() 78 "parse address", proto); in node_parse_addr() 89 int proto, char **addr, size_t * addr_sz) in node_alloc_addr() argument 95 switch (proto) { in node_alloc_addr() 112 ERR(handle, "unsupported protocol %u", proto); in node_alloc_addr() 126 sepol_node_get_proto_str(proto)); in node_alloc_addr() 135 char *addr_bytes, int proto, char *addr_str) in node_expand_addr() argument [all …]
|
D | ports.c | 14 static inline int sepol2ipproto(sepol_handle_t * handle, int proto) in sepol2ipproto() argument 17 switch (proto) { in sepol2ipproto() 25 ERR(handle, "unsupported protocol %u", proto); in sepol2ipproto() 30 static inline int ipproto2sepol(sepol_handle_t * handle, int proto) in ipproto2sepol() argument 33 switch (proto) { in ipproto2sepol() 41 ERR(handle, "invalid protocol %u " "found in policy", proto); in ipproto2sepol() 59 int proto = sepol_port_get_proto(data); in port_from_record() local 66 tmp_proto = sepol2ipproto(handle, proto); in port_from_record() 103 low, high, sepol_port_get_proto_str(proto)); in port_from_record() 112 int proto = port->u.port.protocol; in port_to_record() local [all …]
|
/external/protobuf/csharp/ |
D | generate_protos.sh | 31 src/google/protobuf/descriptor.proto \ 32 src/google/protobuf/any.proto \ 33 src/google/protobuf/api.proto \ 34 src/google/protobuf/duration.proto \ 35 src/google/protobuf/empty.proto \ 36 src/google/protobuf/field_mask.proto \ 37 src/google/protobuf/source_context.proto \ 38 src/google/protobuf/struct.proto \ 39 src/google/protobuf/timestamp.proto \ 40 src/google/protobuf/type.proto \ [all …]
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.cc | 1729 void FileDescriptor::CopyTo(FileDescriptorProto* proto) const { in CopyTo() 1730 proto->set_name(name()); in CopyTo() 1731 if (!package().empty()) proto->set_package(package()); in CopyTo() 1733 if (syntax() == SYNTAX_PROTO3) proto->set_syntax(SyntaxName(syntax())); in CopyTo() 1736 proto->add_dependency(dependency(i)->name()); in CopyTo() 1740 proto->add_public_dependency(public_dependencies_[i]); in CopyTo() 1744 proto->add_weak_dependency(weak_dependencies_[i]); in CopyTo() 1748 message_type(i)->CopyTo(proto->add_message_type()); in CopyTo() 1751 enum_type(i)->CopyTo(proto->add_enum_type()); in CopyTo() 1754 service(i)->CopyTo(proto->add_service()); in CopyTo() [all …]
|
/external/vulkan-validation-layers/loader/ |
D | vk-loader-generate.py | 54 def _is_loader_non_trampoline_entrypoint(self, proto): argument 55 …if proto.name in ["GetDeviceProcAddr", "EnumeratePhysicalDevices", "EnumerateLayers", "DbgRegister… 57 return not self.is_dispatchable_object_first_param(proto) 60 def is_dispatchable_object_first_param(self, proto): argument 61 in_objs = proto.object_in_params() 63 param0 = proto.params[0] 137 for proto in self.protos: 138 if self.is_dispatchable_object_first_param(proto) or proto.name == "CreateInstance": 140 (proto.name, proto.name, proto.name)) 143 (proto.name, proto.name)) [all …]
|
/external/protobuf/java/core/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() 110 proto.toByteString(); in testCaching() 113 assertSame(a, proto.getOptionalString()); in testCaching() 114 assertSame(b, proto.getRepeatedString(0)); in testCaching() 115 assertSame(c, proto.getRepeatedString(1)); in testCaching() 119 UnittestProto.TestAllTypes proto = in testNoStringCachingIfOnlyBytesAccessed() local 121 ByteString optional = proto.getOptionalStringBytes(); in testNoStringCachingIfOnlyBytesAccessed() [all …]
|
/external/protobuf/cmake/ |
D | tests.cmake | 23 google/protobuf/map_lite_unittest.proto 24 google/protobuf/unittest_import_lite.proto 25 google/protobuf/unittest_import_public_lite.proto 26 google/protobuf/unittest_lite.proto 27 google/protobuf/unittest_no_arena_lite.proto 31 google/protobuf/any_test.proto 32 google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto 33 google/protobuf/compiler/cpp/cpp_test_large_enum_value.proto 34 google/protobuf/map_proto2_unittest.proto 35 google/protobuf/map_unittest.proto [all …]
|
/external/r8/src/main/java/com/android/tools/r8/graph/ |
D | DexMethod.java | 14 public final DexProto proto; field in DexMethod 20 DexMethod(DexType holder, DexProto proto, DexString name) { in DexMethod() argument 22 this.proto = proto; in DexMethod() 32 return "Method " + holder + "." + name + " " + proto.toString(); in toString() 39 proto.collectIndexedItems(indexedItems); in collectIndexedItems() 51 + proto.hashCode() * 7 in computeHashCode() 60 && proto.equals(o.proto); in computeEquals() 80 return proto.slowCompareTo(other.proto); in slowCompareTo() 93 return proto.slowCompareTo(other.proto, namingLens); in slowCompareTo() 106 return proto.compareTo(other.proto); in layeredCompareTo() [all …]
|
/external/python/cpython2/Lib/test/ |
D | pickletester.py | 830 for proto in protocols: 832 s = self.dumps(x, proto) 837 s = self.dumps(x, proto) 842 s = self.dumps(x, proto) 850 for proto in protocols: 851 s = self.dumps(expected, proto) 864 for proto, expected in (0, DATA0_DIS), (1, DATA1_DIS): 865 s = self.dumps(self._testdata, proto) 874 for proto in protocols: 875 s = self.dumps(l, proto) [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 …]
|