/external/tensorflow/tensorflow/tools/proto_text/ |
D | gen_proto_text_functions_lib_test.cc | 43 EXPECT_EQ(proto.DebugString(), ProtoDebugString(proto)); \ 44 EXPECT_EQ(proto.ShortDebugString(), ProtoShortDebugString(proto)); \ 45 EXPECT_EQ(proto.DebugString(), \ 46 RoundtripParseProtoOrDie(proto, true).DebugString()); \ 47 EXPECT_EQ(proto.DebugString(), \ 48 RoundtripParseProtoOrDie(proto, false).DebugString()); 53 EXPECT_FALSE(ProtoParseFromString(str, &proto)); \ 54 EXPECT_FALSE(protobuf::TextFormat::ParseFromString(str, &proto)) 60 EXPECT_TRUE(ProtoParseFromString(str, &proto)); \ 61 string proto_text_str = ProtoShortDebugString(proto); \ [all …]
|
/external/curl/tests/ |
D | serverhelp.pm | 78 my $proto; 84 $proto = $1; 90 $proto = $1; 97 return($proto, $ipvnum, $idnum); 105 my ($proto, $ipver, $idnum) = @_; 107 $proto = uc($proto) if($proto); 108 die "unsupported protocol: '$proto'" unless($proto && 109 …($proto =~ /^(((FTP|HTTP|HTTP\/2|IMAP|POP3|SMTP|HTTP-PIPE)S?)|(TFTP|SFTP|SOCKS|SSH|RTSP|GOPHER|HTT… 121 return "${proto}${idnum}${ipver}"; 129 my ($proto, $ipver, $idnum) = @_; [all …]
|
/external/perfetto/protos/perfetto/trace/ftrace/ |
D | all_protos.gni | 18 "ftrace_event.proto", 19 "ftrace_event_bundle.proto", 20 "ftrace_stats.proto", 21 "test_bundle_wrapper.proto", 22 "generic.proto", 23 "binder.proto", 24 "block.proto", 25 "cgroup.proto", 26 "clk.proto", 27 "compaction.proto", [all …]
|
/external/grpc-grpc/examples/node/static_codegen/route_guide/ |
D | route_guide_pb.js | 28 proto.routeguide.Point = function(opt_data) { 31 goog.inherits(proto.routeguide.Point, jspb.Message); 33 proto.routeguide.Point.displayName = 'proto.routeguide.Point'; 48 proto.routeguide.Point.prototype.toObject = function(opt_includeInstance) { 49 return proto.routeguide.Point.toObject(opt_includeInstance, this); 61 proto.routeguide.Point.toObject = function(includeInstance, msg) { 80 proto.routeguide.Point.deserializeBinary = function(bytes) { 82 var msg = new proto.routeguide.Point; 83 return proto.routeguide.Point.deserializeBinaryFromReader(msg, reader); 94 proto.routeguide.Point.deserializeBinaryFromReader = function(msg, reader) { [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | reflection_test.py | 126 proto = unittest_pb2.TestAllTypes( 132 self.assertEqual(24, proto.optional_int32) 133 self.assertEqual(54.321, proto.optional_double) 134 self.assertEqual('optional_string', proto.optional_string) 135 self.assertFalse(proto.HasField("optional_float")) 139 proto = unittest_pb2.TestAllTypes( 146 self.assertEqual([1, 2, 3, 4], list(proto.repeated_int32)) 147 self.assertEqual([1.23, 54.321], list(proto.repeated_double)) 148 self.assertEqual([True, False, False], list(proto.repeated_bool)) 149 self.assertEqual(["optional_string"], list(proto.repeated_string)) [all …]
|
/external/tensorflow/tensorflow/core/protobuf/ |
D | BUILD | 25 "bfc_memory_map.proto", 26 "config.proto", 27 "cluster.proto", 28 "debug.proto", 29 "device_filters.proto", 30 "device_properties.proto", 31 "graph_debug_info.proto", 32 "queue_runner.proto", 33 "rewriter_config.proto", 34 "tensor_bundle.proto", [all …]
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_node_show.cc | 54 const GraphNodeProto& ShowNode::proto() const { return proto_; } in proto() function in tensorflow::tfprof::ShowNode 58 mutable_proto()->set_total_run_count(proto().total_run_count() + in AggregateTotalStats() 61 proto().total_definition_count() + node_pb->total_definition_count()); in AggregateTotalStats() 62 mutable_proto()->set_total_exec_micros(proto().total_exec_micros() + in AggregateTotalStats() 65 proto().total_accelerator_exec_micros() + in AggregateTotalStats() 67 mutable_proto()->set_total_cpu_exec_micros(proto().total_cpu_exec_micros() + in AggregateTotalStats() 70 mutable_proto()->set_total_requested_bytes(proto().total_requested_bytes() + in AggregateTotalStats() 72 mutable_proto()->set_total_peak_bytes(proto().total_peak_bytes() + in AggregateTotalStats() 74 mutable_proto()->set_total_residual_bytes(proto().total_residual_bytes() + in AggregateTotalStats() 76 mutable_proto()->set_total_output_bytes(proto().total_output_bytes() + in AggregateTotalStats() [all …]
|
/external/autotest/client/common_lib/cros/ |
D | smbprovider.py | 13 def _proto_to_blob(proto): argument 14 return dbus.ByteArray(proto.SerializeToString()) 107 proto = MountOptionsProto() 108 proto.path = mount_path 109 proto.workgroup = workgroup 110 proto.username = username 111 proto.mount_config.enable_ntlm = True 114 return self._smbproviderd.Mount(_proto_to_blob(proto), 133 proto = UnmountOptionsProto() 134 proto.mount_id = mount_id [all …]
|
/external/protobuf/objectivec/DevTools/ |
D | compile_testing_protos.sh | 49 src/google/protobuf/*.proto \ 50 objectivec/Tests/*.proto \ 96 src/google/protobuf/any_test.proto 97 src/google/protobuf/unittest_arena.proto 98 src/google/protobuf/unittest_custom_options.proto 99 src/google/protobuf/unittest_enormous_descriptor.proto 100 src/google/protobuf/unittest_embed_optimize_for.proto 101 src/google/protobuf/unittest_empty.proto 102 src/google/protobuf/unittest_import.proto 103 src/google/protobuf/unittest_import_lite.proto [all …]
|
/external/protobuf/js/ |
D | message_test.js | 134 var empty1 = new proto.jspb.test.Empty([]); 135 var empty2 = new proto.jspb.test.Empty([]); 141 var response = new proto.jspb.test.EnumContainer([]); 142 response.setOuterEnum(proto.jspb.test.OuterEnum.FOO); 143 assertEquals(proto.jspb.test.OuterEnum.FOO, response.getOuterEnum()); 147 var data = new proto.jspb.test.DefaultValues([]); 155 var foo = new proto.jspb.test.Complex(data1); 156 var bar = new proto.jspb.test.Complex(data2); 190 var foo = new proto.jspb.test.Complex([ 194 var bar = new proto.jspb.test.Complex([ [all …]
|
/external/protobuf/js/compatibility_tests/v3.1.0/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/protobuf/js/compatibility_tests/v3.0.0/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/protobuf/js/compatibility_tests/v3.0.0/ |
D | message_test.js | 86 var empty1 = new proto.jspb.test.Empty([]); 87 var empty2 = new proto.jspb.test.Empty([]); 93 var response = new proto.jspb.test.EnumContainer([]); 94 response.setOuterEnum(proto.jspb.test.OuterEnum.FOO); 95 assertEquals(proto.jspb.test.OuterEnum.FOO, response.getOuterEnum()); 99 var data = new proto.jspb.test.DefaultValues([]); 107 var foo = new proto.jspb.test.Complex(data1); 108 var bar = new proto.jspb.test.Complex(data2); 140 var foo = new proto.jspb.test.Complex([ 143 var bar = new proto.jspb.test.Complex([ [all …]
|
/external/protobuf/js/binary/ |
D | proto_test.js | 124 msg.setOptionalGroup(new proto.jspb.test.TestAllTypes.OptionalGroup()); 126 var submsg = new proto.jspb.test.ForeignMessage(); 129 msg.setOptionalForeignEnum(proto.jspb.test.ForeignEnum.FOREIGN_FOO); 148 msg.setRepeatedGroupList([new proto.jspb.test.TestAllTypes.RepeatedGroup()]); 150 submsg = new proto.jspb.test.ForeignMessage(); 153 msg.setRepeatedForeignEnumList([proto.jspb.test.ForeignEnum.FOREIGN_FOO]); 223 proto.jspb.test.ForeignEnum.FOREIGN_FOO); 228 proto.jspb.test.TestAllTypes.OneofFieldCase.ONEOF_STRING); 255 [proto.jspb.test.ForeignEnum.FOREIGN_FOO]); 286 assertEquals(0, msg.getExtension(proto.jspb.test.extendOptionalInt32)); [all …]
|
/external/protobuf/js/compatibility_tests/v3.1.0/ |
D | message_test.js | 86 var empty1 = new proto.jspb.test.Empty([]); 87 var empty2 = new proto.jspb.test.Empty([]); 93 var response = new proto.jspb.test.EnumContainer([]); 94 response.setOuterEnum(proto.jspb.test.OuterEnum.FOO); 95 assertEquals(proto.jspb.test.OuterEnum.FOO, response.getOuterEnum()); 99 var data = new proto.jspb.test.DefaultValues([]); 107 var foo = new proto.jspb.test.Complex(data1); 108 var bar = new proto.jspb.test.Complex(data2); 140 var foo = new proto.jspb.test.Complex([ 143 var bar = new proto.jspb.test.Complex([ [all …]
|
/external/grpc-grpc/src/php/bin/ |
D | generate_proto_php.sh | 19 protoc --proto_path=src/proto/math \ 23 src/proto/math/math.proto 29 src/proto/grpc/testing/empty.proto > $output_file 30 mv $output_file ./src/proto/grpc/testing/empty.proto 32 src/proto/grpc/testing/test.proto > $output_file 33 mv $output_file ./src/proto/grpc/testing/test.proto 39 src/proto/grpc/testing/messages.proto \ 40 src/proto/grpc/testing/empty.proto \ 41 src/proto/grpc/testing/test.proto 45 src/proto/grpc/testing/empty.proto > $output_file [all …]
|
/external/perfetto/protos/perfetto/metrics/android/ |
D | BUILD.gn | 23 "batt_metric.proto", 24 "cpu_metric.proto", 25 "display_metrics.proto", 26 "dma_heap_metric.proto", 27 "fastrpc_metric.proto", 28 "g2d_metric.proto", 29 "gpu_metric.proto", 30 "hwcomposer.proto", 31 "hwui_metric.proto", 32 "ion_metric.proto", [all …]
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 91 return proto; in toProto() 97 return proto.getName(); in getName() 109 return proto.getName(); in getFullName() 117 return proto.getPackage(); in getPackage() 122 return proto.getOptions(); in getOptions() 170 if (Syntax.PROTO3.name.equals(proto.getSyntax())) { in getSyntax() 280 final FileDescriptorProto proto, final FileDescriptor[] dependencies) in buildFrom() argument 282 return buildFrom(proto, dependencies, false); in buildFrom() 297 final FileDescriptorProto proto, in buildFrom() argument 312 new FileDescriptor(proto, dependencies, pool, allowUnknownDependencies); in buildFrom() [all …]
|
/external/perfetto/src/tracing/core/ |
D | packet_stream_validator_unittest.cc | 38 protos::gen::TracePacket proto; in TEST() local 39 proto.mutable_for_testing()->set_str("string field"); in TEST() 40 std::string ser_buf = proto.SerializeAsString(); in TEST() 48 protos::gen::TracePacket proto; in TEST() local 49 proto.mutable_for_testing()->set_str("string field"); in TEST() 50 proto.mutable_ftrace_events()->set_cpu(0); in TEST() 51 auto* ft = proto.mutable_ftrace_events()->add_event(); in TEST() 57 std::string ser_buf = proto.SerializeAsString(); in TEST() 65 protos::gen::TracePacket proto; in TEST() local 66 proto.set_trusted_uid(123); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | resource_handle.cc | 24 ResourceHandle::ResourceHandle(const ResourceHandleProto& proto) { in ResourceHandle() argument 25 FromProto(proto); in ResourceHandle() 30 void ResourceHandle::AsProto(ResourceHandleProto* proto) const { in AsProto() 31 proto->set_device(device()); in AsProto() 32 proto->set_container(container()); in AsProto() 33 proto->set_name(name()); in AsProto() 34 proto->set_hash_code(hash_code()); in AsProto() 35 proto->set_maybe_type_name(maybe_type_name()); in AsProto() 37 auto dtype_and_shape = proto->add_dtypes_and_shapes(); in AsProto() 43 void ResourceHandle::FromProto(const ResourceHandleProto& proto) { in FromProto() argument [all …]
|
/external/golang-protobuf/proto/ |
D | extensions_test.go | 51 if err := proto.SetExtension(msg, pb.E_Ext_More, ext1); err != nil { 54 exts, err := proto.GetExtensions(msg, []*proto.ExtensionDesc{ 73 proto.SetRawExtension(msg, pb.E_Ext_More.Field, []byte{}) 74 _, err := proto.GetExtension(msg, pb.E_Ext_More) 81 msg := &pb.MyMessage{Count: proto.Int32(0)} 82 extdesc1 := &proto.ExtensionDesc{ 89 ext1 := proto.Bool(true) 90 if err := proto.SetExtension(msg, extdesc1, ext1); err != nil { 93 extdesc2 := &proto.ExtensionDesc{ 101 if err := proto.SetExtension(msg, extdesc2, ext2); err != nil { [all …]
|
/external/perfetto/protos/perfetto/trace/track_event/ |
D | BUILD.gn | 19 "chrome_application_state_info.proto", 20 "chrome_compositor_scheduler_state.proto", 21 "chrome_content_settings_event_info.proto", 22 "chrome_frame_reporter.proto", 23 "chrome_histogram_sample.proto", 24 "chrome_keyed_service.proto", 25 "chrome_latency_info.proto", 26 "chrome_legacy_ipc.proto", 27 "chrome_message_pump.proto", 28 "chrome_mojo_event_info.proto", [all …]
|
/external/perfetto/src/traced/probes/ftrace/ |
D | event_info_constants.cc | 43 ProtoSchemaType proto, in SetTranslationStrategy() argument 45 if (ftrace == kFtraceCommonPid32 && proto == ProtoSchemaType::kInt32) { in SetTranslationStrategy() 47 } else if (ftrace == kFtraceCommonPid32 && proto == ProtoSchemaType::kInt64) { in SetTranslationStrategy() 49 } else if (ftrace == kFtraceInode32 && proto == ProtoSchemaType::kUint64) { in SetTranslationStrategy() 51 } else if (ftrace == kFtraceInode64 && proto == ProtoSchemaType::kUint64) { in SetTranslationStrategy() 53 } else if (ftrace == kFtracePid32 && proto == ProtoSchemaType::kInt32) { in SetTranslationStrategy() 55 } else if (ftrace == kFtracePid32 && proto == ProtoSchemaType::kInt64) { in SetTranslationStrategy() 57 } else if (ftrace == kFtraceDevId32 && proto == ProtoSchemaType::kUint64) { in SetTranslationStrategy() 59 } else if (ftrace == kFtraceDevId64 && proto == ProtoSchemaType::kUint64) { in SetTranslationStrategy() 61 } else if (ftrace == kFtraceUint8 && proto == ProtoSchemaType::kUint32) { in SetTranslationStrategy() [all …]
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/ |
D | proto_to_flatbuffer.cc | 30 proto::ExecutionPreference preference) { in ConvertExecutionPreference() 32 case proto::ExecutionPreference::ANY: in ConvertExecutionPreference() 34 case proto::ExecutionPreference::LOW_LATENCY: in ConvertExecutionPreference() 36 case proto::ExecutionPreference::LOW_POWER: in ConvertExecutionPreference() 38 case proto::ExecutionPreference::FORCE_CPU: in ConvertExecutionPreference() 46 Delegate ConvertDelegate(proto::Delegate delegate) { in ConvertDelegate() 48 case proto::Delegate::NONE: in ConvertDelegate() 50 case proto::Delegate::NNAPI: in ConvertDelegate() 52 case proto::Delegate::GPU: in ConvertDelegate() 54 case proto::Delegate::HEXAGON: in ConvertDelegate() [all …]
|
/external/tcpdump/tests/ |
D | isakmp-no-none-np.out | 1 …x0800), length 2228: (tos 0x0, ttl 128, id 28793, offset 0, flags [none], proto UDP (17), length 2… 3 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 4 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 5 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 6 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 7 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 8 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 9 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 10 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 11 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… [all …]
|