Home
last modified time | relevance | path

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

12345678910>>...28

/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py407 proto2 = unittest_pb2.TestAllTypes()
408 proto2.optional_nested_message.bb = 5
409 proto1.MergeFrom(proto2)
594 proto2 = unittest_pb2.TestRequiredForeign()
595 proto.CopyFrom(proto2)
645 proto2 = unittest_pb2.TestAllTypes()
646 proto2.ParseFromString(proto.SerializeToString())
647 self.assertIsInstance(getattr(proto2, field_name), expected_type)
1451 proto2 = unittest_pb2.TestAllTypes.FromString(string1)
1454 self.assertEqual(proto2, proto1)
[all …]
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/testing/proto2/
Dempty2_extensions.proto15 syntax = "proto2";
17 import "src/proto/grpc/testing/proto2/empty2.proto";
19 package grpc.testing.proto2;
22 extend grpc.testing.proto2.EmptyWithExtensions {
Dempty2.proto16 syntax = "proto2";
18 package grpc.testing.proto2;
/external/grpc-grpc/src/proto/grpc/testing/proto2/
Dempty2_extensions.proto15 syntax = "proto2";
17 import "src/proto/grpc/testing/proto2/empty2.proto";
19 package grpc.testing.proto2;
22 extend grpc.testing.proto2.EmptyWithExtensions {
Dempty2.proto16 syntax = "proto2";
18 package grpc.testing.proto2;
/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/tensorflow/tensorflow/security/fuzzing/
DAreAttrValuesEqual_fuzz.cc41 const tensorflow::AttrValue proto2 = createAttrValue(value_2); in compareValues() local
47 assert(tensorflow::AreAttrValuesEqual(proto, proto2) == in compareValues()
48 tensorflow::FastAreAttrValuesEqual(proto, proto2)); in compareValues()
/external/protobuf/ruby/tests/
Dtest_import_proto2.proto1 syntax = "proto2";
3 package foo_bar.proto2;
Dgenerated_code_proto2.proto1 syntax = "proto2";
3 package a.b.proto2;
/external/perfetto/src/protozero/filtering/
Dfilter_util_unittest.cc37 syntax = "proto2"; in TEST()
62 syntax = "proto2"; in TEST()
94 syntax = "proto2"; in TEST()
147 syntax = "proto2"; in TEST()
/external/protobuf/benchmarks/python/
Dpython_benchmark_messages.cc19 benchmarks::proto2::GoogleMessage1().descriptor(); in initlibbenchmark_messages()
20 benchmarks::proto2::GoogleMessage2().descriptor(); in initlibbenchmark_messages()
/external/protobuf/benchmarks/datasets/google_message2/
Dbenchmark_message2.proto1 // Benchmark messages for proto2.
3 syntax = "proto2";
5 package benchmarks.proto2;
/external/protobuf/src/google/protobuf/
Dunittest_lazy_dependencies_custom_option.proto37 syntax = "proto2";
43 // See: http://go/proto2-generic-services-default
49 // We don't put this in a package within proto2 because we need to make sure
50 // that the generated code doesn't depend on being in the proto2 namespace.
Dunittest_lazy_dependencies_enum.proto37 syntax = "proto2";
40 // See: http://go/proto2-generic-services-default
46 // We don't put this in a package within proto2 because we need to make sure
47 // that the generated code doesn't depend on being in the proto2 namespace.
Dunittest_lazy_dependencies.proto37 syntax = "proto2";
42 // See: http://go/proto2-generic-services-default
48 // We don't put this in a package within proto2 because we need to make sure
49 // that the generated code doesn't depend on being in the proto2 namespace.
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
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.
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.
/external/protobuf/benchmarks/datasets/google_message1/proto2/
Dbenchmark_message1_proto2.proto1 // Benchmark messages for proto2.
3 syntax = "proto2";
5 package benchmarks.proto2;
/external/protobuf/benchmarks/util/
Dgogo_data_scrubber.cc46 message = new benchmarks::proto2::GoogleMessage1; in main()
48 message = new benchmarks::proto2::GoogleMessage2; in main()
Dproto3_data_stripper.cc46 message = new benchmarks::proto2::GoogleMessage1; in main()
48 message = new benchmarks::proto2::GoogleMessage2; in main()
/external/autotest/site_utils/
Dcloud_console.proto1 syntax = "proto2";
20 // Timestamp is not defined in proto2. We need to define it by ourselves.
/external/selinux/libsepol/src/
Dports.c193 int proto2 = c->u.port.protocol; in sepol_port_exists() local
197 if (proto == proto2 && low2 == low && high2 == high) { in sepol_port_exists()
231 int proto2 = c->u.port.protocol; in sepol_port_query() local
235 if (proto == proto2 && low2 == low && high2 == high) { in sepol_port_query()
/external/nanopb-c/tests/options/
Doptions.proto5 syntax = "proto2";
93 // Proto3-style optional field in proto2 file

12345678910>>...28