/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | SampleMessages.cs | 35 using Proto2 = Google.Protobuf.TestProtos.Proto2; typedef 37 using static Google.Protobuf.TestProtos.Proto2.UnittestExtensions; 102 public static Proto2.TestAllTypes CreateFullTestAllTypesProto2() in CreateFullTestAllTypesProto2() 104 return new Proto2.TestAllTypes in CreateFullTestAllTypesProto2() 112 OptionalForeignEnum = Proto2.ForeignEnum.ForeignBar, in CreateFullTestAllTypesProto2() 113 OptionalForeignMessage = new Proto2.ForeignMessage { C = 10 }, in CreateFullTestAllTypesProto2() 114 OptionalImportEnum = Proto2.ImportEnum.ImportBaz, in CreateFullTestAllTypesProto2() 115 OptionalImportMessage = new Proto2.ImportMessage { D = 20 }, in CreateFullTestAllTypesProto2() 118 OptionalNestedEnum = Proto2.TestAllTypes.Types.NestedEnum.Foo, in CreateFullTestAllTypesProto2() 119 OptionalNestedMessage = new Proto2.TestAllTypes.Types.NestedMessage { Bb = 35 }, in CreateFullTestAllTypesProto2() [all …]
|
D | GeneratedMessageTest.Proto2.cs | 1 using Google.Protobuf.TestProtos.Proto2; 2 using Proto2 = Google.Protobuf.TestProtos.Proto2; typedef 5 using static Google.Protobuf.TestProtos.Proto2.UnittestExtensions; 30 Assert.AreEqual(Proto2.TestAllTypes.Types.NestedEnum.Foo, message.OptionalNestedEnum); in DefaultProto2Values() 63 Assert.AreEqual(Proto2.TestAllTypes.OneofFieldOneofCase.None, message.OneofFieldCase); in DefaultProto2Values() 80 Assert.AreEqual(Proto2.TestAllTypes.Types.NestedEnum.Bar, message.DefaultNestedEnum); in DefaultProto2Values() 128 …Assert.AreEqual(Proto2.TestAllTypes.Types.NestedEnum.Foo, message.GetExtension(OptionalNestedEnumE… in DefaultExtensionValues() 177 …Assert.AreEqual(Proto2.TestAllTypes.Types.NestedEnum.Bar, message.GetExtension(DefaultNestedEnumEx… in DefaultExtensionValues() 349 MessageParsingHelpers.AssertRoundtrip(Proto2.TestAllTypes.Parser, message); in RoundTrip_Groups()
|
D | ExtensionSetTest.cs | 1 using Google.Protobuf.TestProtos.Proto2; 4 using static Google.Protobuf.TestProtos.Proto2.UnittestExtensions;
|
D | UnknownFieldSetTest.cs | 36 using Proto2 = Google.Protobuf.TestProtos.Proto2; typedef
|
D | CodedInputStreamTest.cs | 37 using Proto2 = Google.Protobuf.TestProtos.Proto2; typedef 535 int groupFieldNumber = Proto2.TestAllTypes.OptionalGroupFieldNumber; in ReadGroup_WrongEndGroupTag() 541 output.WriteGroup(new Proto2.TestAllTypes.Types.OptionalGroup { A = 12345 }); in ReadGroup_WrongEndGroupTag() 547 …Assert.Throws<InvalidProtocolBufferException>(() => Proto2.TestAllTypes.Parser.ParseFrom(payload)); in ReadGroup_WrongEndGroupTag()
|
/third_party/protobuf/conformance/ |
D | failure_list_js.txt | 2 Recommended.Proto2.ProtobufInput.ValidDataRepeated.BOOL.PackedInput.DefaultOutput.ProtobufOutput 3 Recommended.Proto2.ProtobufInput.ValidDataRepeated.BOOL.PackedInput.UnpackedOutput.ProtobufOutput 4 Recommended.Proto2.ProtobufInput.ValidDataRepeated.BOOL.UnpackedInput.PackedOutput.ProtobufOutput 5 Recommended.Proto2.ProtobufInput.ValidDataRepeated.DOUBLE.PackedInput.DefaultOutput.ProtobufOutput 6 Recommended.Proto2.ProtobufInput.ValidDataRepeated.DOUBLE.PackedInput.UnpackedOutput.ProtobufOutput 7 Recommended.Proto2.ProtobufInput.ValidDataRepeated.DOUBLE.UnpackedInput.PackedOutput.ProtobufOutput 8 Recommended.Proto2.ProtobufInput.ValidDataRepeated.ENUM.PackedInput.DefaultOutput.ProtobufOutput 9 Recommended.Proto2.ProtobufInput.ValidDataRepeated.ENUM.PackedInput.UnpackedOutput.ProtobufOutput 10 Recommended.Proto2.ProtobufInput.ValidDataRepeated.ENUM.UnpackedInput.PackedOutput.ProtobufOutput 11 Recommended.Proto2.ProtobufInput.ValidDataRepeated.FIXED32.PackedInput.DefaultOutput.ProtobufOutput [all …]
|
D | failure_list_php_c.txt | 1 Recommended.Proto2.JsonInput.FieldNameExtension.Validator 2 Required.Proto2.JsonInput.StoresDefaultPrimitive.Validator
|
D | failure_list_php_c_32.txt | 1 Recommended.Proto2.JsonInput.FieldNameExtension.Validator 2 Required.Proto2.JsonInput.StoresDefaultPrimitive.Validator
|
D | failure_list_java.txt | 37 Recommended.Proto2.JsonInput.FieldNameExtension.Validator 47 Required.Proto2.ProtobufInput.PrematureEofInDelimitedDataForKnownNonRepeatedValue.MESSAGE 48 Required.Proto2.ProtobufInput.PrematureEofInDelimitedDataForKnownRepeatedValue.MESSAGE
|
D | failure_list_php.txt | 4 Recommended.Proto2.JsonInput.FieldNameExtension.Validator 9 Required.Proto2.JsonInput.StoresDefaultPrimitive.Validator
|
D | failure_list_csharp.txt | 3 Recommended.Proto2.JsonInput.FieldNameExtension.Validator
|
D | failure_list_cpp.txt | 37 Recommended.Proto2.JsonInput.FieldNameExtension.Validator
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
D | Unittest.cs | 12 namespace Google.Protobuf.TestProtos.Proto2 { 670 …new pbr::FileDescriptor[] { global::Google.Protobuf.TestProtos.Proto2.UnittestImportReflection.Des… in UnittestReflection() 671 …Proto2.ForeignEnum), typeof(global::Google.Protobuf.TestProtos.Proto2.TestEnumWithDupValue), typeo… in UnittestReflection() 672 …Proto2.TestAllTypes), global::Google.Protobuf.TestProtos.Proto2.TestAllTypes.Parser, new[]{ "Optio… in UnittestReflection() 673 …global::Google.Protobuf.TestProtos.Proto2.TestAllTypes.Types.OptionalGroup), global::Google.Protob… in UnittestReflection() 674 …global::Google.Protobuf.TestProtos.Proto2.TestAllTypes.Types.RepeatedGroup), global::Google.Protob… in UnittestReflection() 675 …typeof(global::Google.Protobuf.TestProtos.Proto2.NestedTestAllTypes), global::Google.Protobuf.Test… in UnittestReflection() 676 …ypeof(global::Google.Protobuf.TestProtos.Proto2.TestDeprecatedFields), global::Google.Protobuf.Tes… in UnittestReflection() 677 …peof(global::Google.Protobuf.TestProtos.Proto2.TestDeprecatedMessage), global::Google.Protobuf.Tes… in UnittestReflection() 678 …o(typeof(global::Google.Protobuf.TestProtos.Proto2.ForeignMessage), global::Google.Protobuf.TestPr… in UnittestReflection() [all …]
|
D | TestMessagesProto2.cs | 12 namespace ProtobufTestMessages.Proto2 { 209 …new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ProtobufTestMessages.Proto2.ForeignEnumProto2)… in TestMessagesProto2Reflection() 210 …Proto2.TestAllTypesProto2), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Parser, new[]{ … in TestMessagesProto2Reflection() 211 …fo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.Data), global::ProtobufTest… in TestMessagesProto2Reflection() 212 …eof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrect), global::Proto… in TestMessagesProto2Reflection() 213 …Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1), global::ProtobufTestMessages.Proto2.… in TestMessagesProto2Reflection() 214 …Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension2), global::ProtobufTestMessages.Proto2.… in TestMessagesProto2Reflection() 215 …ypeInfo(typeof(global::ProtobufTestMessages.Proto2.ForeignMessageProto2), global::ProtobufTestMess… in TestMessagesProto2Reflection() 216 …Proto2.UnknownToTestAllTypes), global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Parser, n… in TestMessagesProto2Reflection() 224 …public static readonly pb::Extension<global::ProtobufTestMessages.Proto2.TestAllTypesProto2, int> … [all …]
|
D | UnittestImport.cs | 12 namespace Google.Protobuf.TestProtos.Proto2 { 35 …new pbr::FileDescriptor[] { global::Google.Protobuf.TestProtos.Proto2.UnittestImportPublicReflecti… in UnittestImportReflection() 36 …typeof(global::Google.Protobuf.TestProtos.Proto2.ImportEnum), typeof(global::Google.Protobuf.TestP… in UnittestImportReflection() 37 …o(typeof(global::Google.Protobuf.TestProtos.Proto2.ImportMessage), global::Google.Protobuf.TestPro… in UnittestImportReflection() 75 …get { return global::Google.Protobuf.TestProtos.Proto2.UnittestImportReflection.Descriptor.Message…
|
D | UnittestImportPublic.cs | 12 namespace Google.Protobuf.TestProtos.Proto2 { 33 …ypeof(global::Google.Protobuf.TestProtos.Proto2.PublicImportMessage), global::Google.Protobuf.Test… in UnittestImportPublicReflection() 53 …get { return global::Google.Protobuf.TestProtos.Proto2.UnittestImportPublicReflection.Descriptor.M…
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 34 using Proto2 = Google.Protobuf.TestProtos.Proto2; typedef 40 using static Google.Protobuf.TestProtos.Proto2.UnittestExtensions; 160 var message = new Proto2.TestAllTypes(); in HasValue_Proto2_Primitive() 161 …var accessor = ((IMessage) message).Descriptor.Fields[Proto2.TestAllTypes.OptionalInt64FieldNumber… in HasValue_Proto2_Primitive() 175 var message = new Proto2.TestAllTypes(); in HasValue_Proto2_Message() 176 …var field = ((IMessage) message).Descriptor.Fields[Proto2.TestAllTypes.OptionalForeignMessageField… in HasValue_Proto2_Message() 178 message.OptionalForeignMessage = new Proto2.ForeignMessage(); in HasValue_Proto2_Message() 187 var message = new Proto2.TestAllTypes(); in HasValue_Proto2_Oneof() 188 …var accessor = ((IMessage) message).Descriptor.Fields[Proto2.TestAllTypes.OneofStringFieldNumber].… in HasValue_Proto2_Oneof() 202 var message = new Proto2.TestAllTypes(); in HasValue_Proto2_Repeated() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Program.cs | 53 ProtobufTestMessages.Proto2.TestAllTypesProto2.Descriptor); in Main() 88 ProtobufTestMessages.Proto2.TestMessagesProto2Extensions.ExtensionInt32, in PerformRequest() 89 …ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1.Extensions.Messag… in PerformRequest() 90 …ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension2.Extensions.Messag… in PerformRequest() 109 … message = parser.Parse<ProtobufTestMessages.Proto2.TestAllTypesProto2>(request.JsonPayload); in PerformRequest() 122 message = ProtobufTestMessages.Proto2.TestAllTypesProto2.Parser in PerformRequest()
|
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Api.cs | 214 …ogle.Protobuf.WellKnownTypes.Syntax syntax_ = global::Google.Protobuf.WellKnownTypes.Syntax.Proto2; 258 … if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) hash ^= Syntax.GetHashCode(); in GetHashCode() 290 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in WriteTo() 318 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in IBufferMessage.InternalWriteTo() 343 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in CalculateSize() 372 if (other.Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in MergeFrom() 604 …ogle.Protobuf.WellKnownTypes.Syntax syntax_ = global::Google.Protobuf.WellKnownTypes.Syntax.Proto2; 648 … if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) hash ^= Syntax.GetHashCode(); in GetHashCode() 686 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in WriteTo() 720 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in IBufferMessage.InternalWriteTo() [all …]
|
D | Type.cs | 84 [pbr::OriginalName("SYNTAX_PROTO2")] Proto2 = 0, enumerator 209 …ogle.Protobuf.WellKnownTypes.Syntax syntax_ = global::Google.Protobuf.WellKnownTypes.Syntax.Proto2; 251 … if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) hash ^= Syntax.GetHashCode(); in GetHashCode() 279 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in WriteTo() 303 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in IBufferMessage.InternalWriteTo() 325 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in CalculateSize() 351 if (other.Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in MergeFrom() 1175 …ogle.Protobuf.WellKnownTypes.Syntax syntax_ = global::Google.Protobuf.WellKnownTypes.Syntax.Proto2; 1215 … if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) hash ^= Syntax.GetHashCode(); in GetHashCode() 1242 if (Syntax != global::Google.Protobuf.WellKnownTypes.Syntax.Proto2) { in WriteTo() [all …]
|
/third_party/grpc/third_party/upb/tests/ |
D | conformance_upb_failures.txt | 1 Recommended.Proto2.JsonInput.FieldNameExtension.Validator
|
/third_party/protobuf/ruby/tests/ |
D | test_ruby_package_proto2.proto | 5 option ruby_package = "A::B::Proto2";
|
/third_party/protobuf/src/google/protobuf/ |
D | type.proto | 86 // Field type group. Proto2 syntax only, and deprecated. 112 // For required fields. Proto2 syntax only. 138 // The string value of the default value of this field. Proto2 syntax only.
|
/third_party/protobuf/ |
D | CONTRIBUTORS.txt | 13 Proto2 C++ and Java primary author: 16 Proto2 Python primary authors:
|
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | SingleFieldAccessor.cs | 88 else if (descriptor.File.Syntax == Syntax.Proto2 || descriptor.Proto.Proto3Optional) in SingleFieldAccessor()
|