Home
last modified time | relevance | path

Searched refs:proto2 (Results 1 - 23 of 23) sorted by relevance

/third_party/libphonenumber/javascript/i18n/phonenumbers/
H A Dphonemetadata.pb.js29 goog.require('goog.proto2.Message');
30 goog.require('goog.proto2.Descriptor');
37 * @extends {goog.proto2.Message}
41 goog.proto2.Message.call(this);
43 goog.inherits(i18n.phonenumbers.NumberFormat, goog.proto2.Message);
48 * @private {?goog.proto2.Descriptor}
54 * Overrides {@link goog.proto2.Message#clone} to specify its exact return type.
382 * @extends {goog.proto2.Message}
386 goog.proto2.Message.call(this);
388 goog.inherits(i18n.phonenumbers.PhoneNumberDesc, goog.proto2
[all...]
H A Dphonenumber.pb.js28 goog.require('goog.proto2.Message');
29 goog.require('goog.proto2.Descriptor');
36 * @extends {goog.proto2.Message}
40 goog.proto2.Message.call(this);
42 goog.inherits(i18n.phonenumbers.PhoneNumber, goog.proto2.Message);
47 * @private {?goog.proto2.Descriptor}
53 * Overrides {@link goog.proto2.Message#clone} to specify its exact return type.
494 fieldType: goog.proto2.Message.FieldType.INT32,
500 fieldType: goog.proto2.Message.FieldType.UINT64,
505 fieldType: goog.proto2
[all...]
H A Ddemo.js26 goog.require('goog.proto2.ObjectSerializer');
53 new goog.proto2
54 .ObjectSerializer(goog.proto2.ObjectSerializer.KeyOption.NAME)
H A Dshortnumberinfo.js33 goog.require('goog.proto2.PbLiteSerializer');
521 /** @type {goog.proto2.PbLiteSerializer} */
522 var serializer = new goog.proto2.PbLiteSerializer();
H A Dphonenumberutil.js37 goog.require('goog.proto2.PbLiteSerializer');
3055 /** @type {goog.proto2.PbLiteSerializer} */
3056 var serializer = new goog.proto2.PbLiteSerializer();
/third_party/protobuf/python/google/protobuf/internal/
H A Dreflection_test.py293 proto2 = message_module.TestAllTypes()
294 proto2.optional_nested_message.bb = 5
295 proto1.MergeFrom(proto2)
407 proto2 = message_module.TestAllTypes()
408 proto2.ParseFromString(proto.SerializeToString())
409 self.assertIsInstance(getattr(proto2, field_name), expected_type)
663 proto2 = message_module.TestAllTypes.FromString(string1)
666 self.assertEqual(proto2, proto1)
673 proto2 = message_module.TestAllTypes()
675 proto2
[all...]
/third_party/protobuf/benchmarks/python/
H A Dpython_benchmark_messages.cc4 #include "datasets/google_message1/proto2/benchmark_message1_proto2.pb.h"
19 benchmarks::proto2::GoogleMessage1().descriptor(); in initlibbenchmark_messages()
20 benchmarks::proto2::GoogleMessage2().descriptor(); in initlibbenchmark_messages()
H A Dpy_benchmark.py35 import datasets.google_message1.proto2.benchmark_message1_proto2_pb2 as benchmark_message1_proto2_pb2 namespace
78 elif benchmark_dataset.message_name == "benchmarks.proto2.GoogleMessage1":
80 elif benchmark_dataset.message_name == "benchmarks.proto2.GoogleMessage2":
/third_party/protobuf/benchmarks/util/
H A Dproto3_data_stripper.cc2 #include "datasets/google_message1/proto2/benchmark_message1_proto2.pb.h"
45 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage1") { in main()
46 message = new benchmarks::proto2::GoogleMessage1; in main()
47 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage2") { in main()
48 message = new benchmarks::proto2::GoogleMessage2; in main()
H A Dgogo_data_scrubber.cc2 #include "datasets/google_message1/proto2/benchmark_message1_proto2.pb.h"
45 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage1") { in main()
46 message = new benchmarks::proto2::GoogleMessage1; in main()
47 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage2") { in main()
48 message = new benchmarks::proto2::GoogleMessage2; in main()
/third_party/selinux/libsepol/src/
H A 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()
/third_party/protobuf/ruby/tests/
H A Dbasic_proto2.rb17 add_file "test_proto2.proto", syntax: :proto2 do
30 # Required by CommonTests module to resolve proto2 proto classes used in tests.
245 add_file 'test_file.proto', syntax: :proto2 do
268 assert_equal :proto2, file_descriptor.syntax
273 assert_equal :proto2, file_descriptor.syntax
/third_party/protobuf/benchmarks/cpp/
H A Dcpp_benchmark.cc35 #include "datasets/google_message1/proto2/benchmark_message1_proto2.pb.h"
222 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage1") { in RegisterBenchmarks()
223 RegisterBenchmarksForType<benchmarks::proto2::GoogleMessage1>(dataset); in RegisterBenchmarks()
224 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage2") { in RegisterBenchmarks()
225 RegisterBenchmarksForType<benchmarks::proto2::GoogleMessage2>(dataset); in RegisterBenchmarks()
/third_party/protobuf/js/experimental/runtime/kernel/conformance/
H A Dconformance_testee.js61 'protobuf_test_messages.proto2.TestAllTypesProto2') {
/third_party/protobuf/conformance/
H A Dbinary_json_conformance_suite.cc43 namespace proto2_messages = protobuf_test_messages::proto2;
861 // proto2 should encode as unpacked by default and proto3 should encode as in TestValidDataForType()
1027 string proto2 = in TestValidDataForMapType() local
1030 string proto = cat(proto1, proto2); in TestValidDataForMapType()
1032 test_message->MergeFromString(proto2); in TestValidDataForMapType()
1094 string proto2 = in TestOverwriteMessageValueMap() local
1097 string proto = cat(proto1, proto2); in TestOverwriteMessageValueMap()
1099 test_message->MergeFromString(proto2); in TestOverwriteMessageValueMap()
1217 string proto2 = in TestMergeOneofMessage() local
1220 string proto = cat(proto1, proto2); in TestMergeOneofMessage()
[all...]
H A DConformanceJava.java41 import com.google.protobuf_test_messages.proto2.TestMessagesProto2;
42 import com.google.protobuf_test_messages.proto2.TestMessagesProto2.TestAllTypesProto2;
242 request.getMessageType().equals("protobuf_test_messages.proto2.TestAllTypesProto2"); in doTest()
H A Dtext_format_conformance_suite.cc39 namespace proto2_messages = protobuf_test_messages::proto2;
/third_party/protobuf/src/google/protobuf/compiler/ruby/
H A Druby_generated_code_proto2_pb.rb7 add_file("ruby_generated_code_proto2.proto", :syntax => :proto2) do
/third_party/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-internal.h83 namespace proto2 { class Message; } namespace
855 // true if and only if T is type proto2::Message or a subclass of it.
859 std::is_convertible<const T*, const ::proto2::Message*>::value> {};
/third_party/ffmpeg/libavformat/
H A Dhttp.c461 char hostname1[1024], hostname2[1024], proto1[10], proto2[10]; in ff_http_do_new_request2() local
472 av_url_split(proto2, sizeof(proto2), NULL, 0, in ff_http_do_new_request2()
/third_party/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc63 namespace proto2 { namespace
65 } // namespace proto2
/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h98 namespace proto2 { namespace
/third_party/node/deps/googletest/include/gtest/internal/
H A Dgtest-internal.h97 namespace proto2 { namespace

Completed in 28 milliseconds