Home
last modified time | relevance | path

Searched refs:proto2 (Results 1 – 25 of 158) sorted by relevance

1234567

/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py401 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 …]
Dmessage_set_extensions.proto33 syntax = "proto2";
66 // //net/proto2/python/internal/testdata/message_set_message, but is commented
/external/selinux/libsemanage/src/
Dports_local.c99 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/protobuf/src/google/protobuf/
Dunittest_no_arena_lite.proto31 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.
Dunittest_no_field_presence.proto35 // 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
Dmap_proto2_unittest.proto31 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.
Dunittest_import.proto37 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.
Dunittest_proto3_arena.proto86 // 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.
Dunittest_proto3_arena_lite.proto87 // 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.
Dunittest_proto3_lite.proto86 // 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.
Dunittest_no_arena.proto39 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.
Dunittest_import_proto3.proto39 // 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.
Dunittest_mset.proto38 syntax = "proto2";
66 // //net/proto2/python/internal/testdata/message_set_message, but is commented
/external/selinux/libsepol/src/
Dports.c186 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/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_test_bad_identifiers.proto38 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.
Dcpp_test_large_enum_value.proto31 // Test that proto2 compiler can generate valid code when the enum value
34 syntax = "proto2";
/external/protobuf/benchmarks/
Dbenchmark_messages_proto2.proto1 // Benchmark messages for proto2.
3 syntax = "proto2";
5 package benchmarks.proto2;
/external/protobuf/python/google/protobuf/pyext/
DREADME1 This is the 'v2' C++ implementation for python proto2.
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dmultiple_files_test.proto35 syntax = "proto2";
38 // See: http://go/proto2-generic-services-default
/external/cros/system_api/dbus/biod/
Dconstants.proto5 syntax = "proto2";
Dmessages.proto5 syntax = "proto2";
/external/protobuf/docs/swift/
DDesignDoc.md6 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/libchrome/dbus/
Dtest_proto.proto5 syntax = "proto2";
/external/cros/system_api/dbus/power_manager/
Dswitch_states.proto5 syntax = "proto2";
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_unittest.proto1 syntax = "proto2";

1234567