/external/tensorflow/tensorflow/tools/proto_text/ |
D | gen_proto_text_functions_lib_test.cc | 74 EXPECT_EQ(PrintTextFormat(proto), ProtoDebugString(proto)); \ 75 EXPECT_EQ(PrintShortTextFormat(proto), ProtoShortDebugString(proto)); \ 76 EXPECT_EQ(proto.DebugString(), \ 77 RoundtripParseProtoOrDie(proto, true).DebugString()); \ 78 EXPECT_EQ(proto.DebugString(), \ 79 RoundtripParseProtoOrDie(proto, false).DebugString()); 84 EXPECT_FALSE(ProtoParseFromString(str, &proto)); \ 85 EXPECT_FALSE(protobuf::TextFormat::ParseFromString(str, &proto)) 91 EXPECT_TRUE(ProtoParseFromString(str, &proto)); \ 92 string proto_text_str = ProtoShortDebugString(proto); \ [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 "android_fs.proto", 24 "binder.proto", 25 "block.proto", 26 "cgroup.proto", 27 "clk.proto", [all …]
|
/external/curl/tests/ |
D | serverhelp.pm | 80 my $proto; 86 $proto = $1; 92 $proto = $1; 99 return($proto, $ipvnum, $idnum); 107 my ($proto, $ipver, $idnum) = @_; 109 $proto = uc($proto) if($proto); 110 die "unsupported protocol: '$proto'" unless($proto && 111 …($proto =~ /^(((FTP|HTTP|HTTP\/2|HTTP\/3|IMAP|POP3|GOPHER|SMTP|HTTP-PIPE)S?)|(TFTP|SFTP|SOCKS|SSH|… 123 return "${proto}${idnum}${ipver}"; 131 my ($proto, $ipver, $idnum) = @_; [all …]
|
/external/perfetto/protos/perfetto/metrics/android/ |
D | BUILD.gn | 23 "android_blocking_calls_cuj_metric.proto", 24 "android_frame_timeline_metric.proto", 25 "android_trusty_workqueues.proto", 26 "batt_metric.proto", 27 "binder_metric.proto", 28 "camera_metric.proto", 29 "camera_unagg_metric.proto", 30 "cpu_metric.proto", 31 "display_metrics.proto", 32 "dma_heap_metric.proto", [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | reflection_test.py | 125 proto = message_module.TestAllTypes( 131 self.assertEqual(24, proto.optional_int32) 132 self.assertEqual(54.321, proto.optional_double) 133 self.assertEqual('optional_string', proto.optional_string) 135 self.assertFalse(proto.HasField("optional_float")) 139 proto = message_module.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/cronet/third_party/protobuf/python/google/protobuf/internal/ |
D | reflection_test.py | 125 proto = message_module.TestAllTypes( 131 self.assertEqual(24, proto.optional_int32) 132 self.assertEqual(54.321, proto.optional_double) 133 self.assertEqual('optional_string', proto.optional_string) 135 self.assertFalse(proto.HasField("optional_float")) 139 proto = message_module.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/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/tensorflow/tensorflow/core/protobuf/ |
D | BUILD | 29 "bfc_memory_map.proto", 30 "config.proto", 31 "cluster.proto", 32 "coordination_config.proto", 33 "debug.proto", 34 "device_filters.proto", 35 "device_properties.proto", 36 "graph_debug_info.proto", 37 "queue_runner.proto", 38 "rewriter_config.proto", [all …]
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/ |
D | flatbuffer_to_proto.cc | 23 proto::ExecutionPreference ConvertExecutionPreference( in ConvertExecutionPreference() 27 return proto::ExecutionPreference::ANY; in ConvertExecutionPreference() 29 return proto::ExecutionPreference::LOW_LATENCY; in ConvertExecutionPreference() 31 return proto::ExecutionPreference::LOW_POWER; in ConvertExecutionPreference() 33 return proto::ExecutionPreference::FORCE_CPU; in ConvertExecutionPreference() 37 return proto::ExecutionPreference::ANY; in ConvertExecutionPreference() 40 proto::Delegate ConvertDelegate(Delegate delegate) { in ConvertDelegate() 43 return proto::Delegate::NONE; in ConvertDelegate() 45 return proto::Delegate::NNAPI; in ConvertDelegate() 47 return proto::Delegate::GPU; in ConvertDelegate() [all …]
|
/external/golang-protobuf/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/ |
D | test.pb.go | 23 import proto "google.golang.org/protobuf/internal/protolegacy" packageName 28 var _ = proto.Marshal 34 const _ = proto.ProtoPackageIsVersion1 61 return proto.EnumName(SiblingEnum_name, int32(x)) 64 value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum") 98 return proto.EnumName(Message_ChildEnum_name, int32(x)) 101 value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum") 119 func (m *SiblingMessage) String() string { return proto.CompactTextString(m) } 333 XXX_extensions map[int32]proto.Extension `json:"-"` 338 func (m *Message) String() string { return proto.CompactTextString(m) } [all …]
|
/external/golang-protobuf/internal/testprotos/legacy/proto2_20160225_2fc053c5/ |
D | test.pb.go | 23 import proto "google.golang.org/protobuf/internal/protolegacy" packageName 28 var _ = proto.Marshal 34 const _ = proto.ProtoPackageIsVersion1 61 return proto.EnumName(SiblingEnum_name, int32(x)) 64 value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum") 98 return proto.EnumName(Message_ChildEnum_name, int32(x)) 101 value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum") 119 func (m *SiblingMessage) String() string { return proto.CompactTextString(m) } 333 XXX_extensions map[int32]proto.Extension `json:"-"` 338 func (m *Message) String() string { return proto.CompactTextString(m) } [all …]
|
/external/tcpdump/tests/ |
D | rx-v.out | 1 …1 21:46:16.463334 IP (tos 0x0, ttl 64, id 57925, offset 0, flags [none], proto UDP (17), length 7… 3 …2 21:46:16.483206 IP (tos 0x0, ttl 254, id 52107, offset 0, flags [DF], proto UDP (17), length 17… 5 …3 21:46:16.889677 IP (tos 0x0, ttl 64, id 57926, offset 0, flags [none], proto UDP (17), length 9… 7 …4 21:46:24.151512 IP (tos 0x0, ttl 64, id 57928, offset 0, flags [none], proto UDP (17), length 1… 9 …5 21:46:24.245048 IP (tos 0x0, ttl 254, id 59867, offset 0, flags [DF], proto UDP (17), length 80) 11 …6 21:46:24.255513 IP (tos 0x0, ttl 128, id 42324, offset 0, flags [none], proto UDP (17), length … 13 …7 21:46:24.255528 IP (tos 0x0, ttl 128, id 42324, offset 0, flags [none], proto UDP (17), length … 15 …8 21:46:24.282365 IP (tos 0x0, ttl 254, id 52108, offset 0, flags [DF], proto UDP (17), length 27… 17 …9 21:46:24.283047 IP (tos 0x0, ttl 64, id 57929, offset 0, flags [none], proto UDP (17), length 7… 19 …10 21:46:24.284042 IP (tos 0x0, ttl 254, id 52109, offset 0, flags [DF], proto UDP (17), length 1… [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/golang-protobuf/proto/ |
D | nil_test.go | 31 test: func() { proto.Size(nil) }, 34 test: func() { proto.Size(nilMsg) }, 37 test: func() { proto.Marshal(nil) }, 40 test: func() { proto.Marshal(nilMsg) }, 43 test: func() { proto.Unmarshal(nil, nil) }, 47 test: func() { proto.Unmarshal(nil, nilMsg) }, 51 test: func() { proto.Merge(nil, nil) }, 55 test: func() { proto.Merge(nil, nilMsg) }, 59 test: func() { proto.Merge(nilMsg, nil) }, 63 test: func() { proto.Merge(nilMsg, nilMsg) }, [all …]
|
/external/cronet/third_party/protobuf/js/ |
D | message_test.js | 138 var empty1 = new proto.jspb.test.Empty([]); 139 var empty2 = new proto.jspb.test.Empty([]); 145 var response = new proto.jspb.test.EnumContainer([]); 146 response.setOuterEnum(proto.jspb.test.OuterEnum.FOO); 147 assertEquals(proto.jspb.test.OuterEnum.FOO, response.getOuterEnum()); 151 var data = new proto.jspb.test.DefaultValues([]); 159 var foo = new proto.jspb.test.Complex(data1); 160 var bar = new proto.jspb.test.Complex(data2); 193 var foo = new proto.jspb.test.Complex([ 197 var bar = new proto.jspb.test.Complex([ [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/cronet/third_party/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/cronet/third_party/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/cronet/third_party/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/cronet/third_party/protobuf/js/compatibility_tests/v3.1.0/ |
D | message_test.js | 85 var empty1 = new proto.jspb.test.Empty([]); 86 var empty2 = new proto.jspb.test.Empty([]); 92 var response = new proto.jspb.test.EnumContainer([]); 93 response.setOuterEnum(proto.jspb.test.OuterEnum.FOO); 94 assertEquals(proto.jspb.test.OuterEnum.FOO, response.getOuterEnum()); 98 var data = new proto.jspb.test.DefaultValues([]); 106 var foo = new proto.jspb.test.Complex(data1); 107 var bar = new proto.jspb.test.Complex(data2); 138 var foo = new proto.jspb.test.Complex([ 142 var bar = new proto.jspb.test.Complex([ [all …]
|
/external/cronet/third_party/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/golang-protobuf/internal/testprotos/legacy/proto2_20180125_92554152/ |
D | test.pb.go | 22 import proto "google.golang.org/protobuf/internal/protolegacy" packageName 27 var _ = proto.Marshal 35 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 62 return proto.EnumName(SiblingEnum_name, int32(x)) 65 value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum") 99 return proto.EnumName(Message_ChildEnum_name, int32(x)) 102 value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum") 120 func (m *SiblingMessage) String() string { return proto.CompactTextString(m) } 334 proto.XXX_InternalExtensions `json:"-"` 339 func (m *Message) String() string { return proto.CompactTextString(m) } [all …]
|
/external/golang-protobuf/internal/testprotos/legacy/proto3_20160225_2fc053c5/ |
D | test.pb.go | 23 import proto "google.golang.org/protobuf/internal/protolegacy" packageName 28 var _ = proto.Marshal 34 const _ = proto.ProtoPackageIsVersion1 56 return proto.EnumName(SiblingEnum_name, int32(x)) 80 return proto.EnumName(Message_ChildEnum_name, int32(x)) 91 func (m *SiblingMessage) String() string { return proto.CompactTextString(m) } 200 func (m *Message) String() string { return proto.CompactTextString(m) } 675 …s() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *pro… 702 func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 711 b.EncodeVarint(400<<3 | proto.WireVarint) [all …]
|
/external/golang-protobuf/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/ |
D | test.pb.go | 23 import proto "google.golang.org/protobuf/internal/protolegacy" packageName 28 var _ = proto.Marshal 34 const _ = proto.ProtoPackageIsVersion1 56 return proto.EnumName(SiblingEnum_name, int32(x)) 80 return proto.EnumName(Message_ChildEnum_name, int32(x)) 91 func (m *SiblingMessage) String() string { return proto.CompactTextString(m) } 200 func (m *Message) String() string { return proto.CompactTextString(m) } 675 …s() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *pro… 702 func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 711 b.EncodeVarint(400<<3 | proto.WireVarint) [all …]
|