/external/protobuf/python/google/protobuf/internal/ |
D | reflection_test.py | 401 proto2 = unittest_pb2.TestAllTypes() 402 proto2.optional_nested_message.bb = 5 403 proto1.MergeFrom(proto2) 588 proto2 = unittest_pb2.TestRequiredForeign() 589 proto.CopyFrom(proto2) 625 proto2 = unittest_pb2.TestAllTypes() 626 proto2.ParseFromString(proto.SerializeToString()) 627 self.assertIsInstance(getattr(proto2, field_name), expected_type) 1291 proto2 = unittest_pb2.TestAllTypes.FromString(string1) 1294 self.assertEqual(proto2, proto1) [all …]
|
D | message_set_extensions.proto | 33 syntax = "proto2"; 66 // //net/proto2/python/internal/testdata/message_set_message, but is commented
|
/external/perf_data_converter/src/quipper/ |
D | perf_stat_parser_test.cc | 76 PerfStatProto proto2; in TEST() local 77 ASSERT_TRUE(ParsePerfStatFileToProto(input.path(), &proto2)); in TEST() 79 ASSERT_EQ(proto2.line_size(), 2); in TEST() 81 const auto& line3 = proto2.line(0); in TEST() 86 const auto& line4 = proto2.line(1); in TEST()
|
D | test_utils.h | 50 T proto1, proto2; in CompareTextProtoFiles() local 52 ASSERT_TRUE(TextFormat::Parse(&arr2, &proto2)); in CompareTextProtoFiles() 54 EXPECT_TRUE(EqualsProto(proto1, proto2)); in CompareTextProtoFiles()
|
/external/selinux/libsemanage/src/ |
D | ports_local.c | 99 int proto2, low2, high2; in hidden_def() local 107 proto2 = semanage_port_get_proto(ports[j]); in hidden_def() 110 proto_str2 = semanage_port_get_proto_str(proto2); in hidden_def() 112 } while (proto != proto2); in hidden_def()
|
/external/tensorflow/tensorflow/core/framework/ |
D | function_test.cc | 1118 FunctionDefLibrary proto2; in TEST() local 1119 *proto2.add_function() = test::function::WXPlusB(); in TEST() 1120 *proto2.add_gradient() = MakeGradDef(wx_name, x2_name); in TEST() 1121 *proto2.add_function() = test::function::XTimesFour(); in TEST() 1122 proto2.mutable_function(1)->mutable_signature()->set_name(x2_name); in TEST() 1123 FunctionLibraryDefinition lib_def2(OpRegistry::Global(), proto2); in TEST() 1154 FunctionDefLibrary proto2; in TEST() local 1155 *proto2.add_function() = test::function::WXPlusB(); in TEST() 1156 *proto2.add_gradient() = MakeGradDef(wx_name, x2_name); in TEST() 1157 *proto2.add_function() = test::function::XTimesTwo(); in TEST() [all …]
|
D | tensor_slice_test.cc | 267 TensorSliceProto proto2; in TEST() local 268 ASSERT_TRUE(proto2.ParseFromArray(pb2, sizeof(pb2) - 1)); in TEST() 269 TensorSlice ts2(proto2); in TEST()
|
/external/protobuf/src/google/protobuf/ |
D | unittest_no_arena_lite.proto | 31 syntax = "proto2"; 35 // We don't put this in a package within proto2 because we need to make sure 36 // that the generated code doesn't depend on being in the proto2 namespace.
|
D | unittest_no_field_presence.proto | 35 // We want to test embedded proto2 messages, so include some proto2 types. 78 // N.B.: proto2-enum-type fields not allowed, because their default values 125 protobuf_unittest.TestRequired proto2 = 1; field
|
D | map_proto2_unittest.proto | 31 syntax = "proto2"; 36 // We don't put this in a package within proto2 because we need to make sure 37 // that the generated code doesn't depend on being in the proto2 namespace.
|
D | unittest_import.proto | 37 syntax = "proto2"; 39 // We don't put this in a package within proto2 because we need to make sure 40 // that the generated code doesn't depend on being in the proto2 namespace.
|
D | unittest_proto3_arena.proto | 86 // Omitted (compared to unittest.proto) because proto2 enums are not allowed 87 // inside proto2 messages. 129 // Omitted (compared to unittest.proto) because proto2 enums are not allowed 130 // inside proto2 messages.
|
D | unittest_proto3_arena_lite.proto | 87 // Omitted (compared to unittest.proto) because proto2 enums are not allowed 88 // inside proto2 messages. 130 // Omitted (compared to unittest.proto) because proto2 enums are not allowed 131 // inside proto2 messages.
|
D | unittest_proto3_lite.proto | 86 // Omitted (compared to unittest.proto) because proto2 enums are not allowed 87 // inside proto2 messages. 129 // Omitted (compared to unittest.proto) because proto2 enums are not allowed 130 // inside proto2 messages.
|
D | unittest_no_arena.proto | 39 syntax = "proto2"; 42 // See: http://go/proto2-generic-services-default 52 // We don't put this in a package within proto2 because we need to make sure 53 // that the generated code doesn't depend on being in the proto2 namespace.
|
/external/selinux/libsepol/src/ |
D | ports.c | 186 int proto2 = c->u.port.protocol; in sepol_port_exists() local 190 if (proto == proto2 && low2 == low && high2 == high) { in sepol_port_exists() 224 int proto2 = c->u.port.protocol; in sepol_port_query() local 228 if (proto == proto2 && low2 == low && high2 == high) { in sepol_port_query()
|
/external/autotest/site_utils/ |
D | cloud_console.proto | 1 syntax = "proto2"; 20 // Timestamp is not defined in proto2. We need to define it by ourselves.
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_test_bad_identifiers.proto | 38 syntax = "proto2"; 41 // See: http://go/proto2-generic-services-default 44 // We don't put this in a package within proto2 because we need to make sure 45 // that the generated code doesn't depend on being in the proto2 namespace.
|
D | cpp_test_large_enum_value.proto | 31 // Test that proto2 compiler can generate valid code when the enum value 34 syntax = "proto2";
|
/external/protobuf/benchmarks/ |
D | benchmark_messages_proto2.proto | 1 // Benchmark messages for proto2. 3 syntax = "proto2"; 5 package benchmarks.proto2;
|
/external/perfetto/protos/perfetto/trace/ |
D | trusted_packet.proto | 17 // Use proto3 syntax as an optimization. The difference is that proto2 stores 46 // uid == 0 and uid not set (the writer uses proto2).
|
/external/protobuf/docs/swift/ |
D | DesignDoc.md | 6 proto2 and proto3 messages in Apple’s Swift programming language. 78 This section describes how the features of the protocol buffer syntaxes (proto2 152 ### Required fields (proto2 only) 154 Required fields in proto2 messages seem like they could be naturally represented 172 In proto2, fields can have a default value specified that may be a value other 196 to check this. These methods will be public in proto2. In proto3, these methods 314 depending on whether the message being generated is a proto2 or proto3 message. 316 ### proto2 enums 318 For proto2, we do not need to be concerned about unknown enum values, so we can 320 proto2: [all …]
|
/external/protobuf/java/core/src/test/proto/com/google/protobuf/ |
D | multiple_files_test.proto | 35 syntax = "proto2"; 38 // See: http://go/proto2-generic-services-default
|
/external/protobuf/python/google/protobuf/pyext/ |
D | README | 1 This is the 'v2' C++ implementation for python proto2.
|
/external/perfetto/protos/perfetto/trace/ftrace/ |
D | ipi_entry.proto | 5 syntax = "proto2";
|