Home
last modified time | relevance | path

Searched refs:GetOrInitializeExtension (Results 1 – 19 of 19) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs181 message.GetOrInitializeExtension(RepeatedBoolExtension).AddRange(new[] { true, false }); in CreateFullTestAllExtensions()
182 …message.GetOrInitializeExtension(RepeatedBytesExtension).AddRange(new[] { ByteString.CopyFrom(1, 2… in CreateFullTestAllExtensions()
183 … message.GetOrInitializeExtension(RepeatedDoubleExtension).AddRange(new[] { -12.25, 23.5 }); in CreateFullTestAllExtensions()
184 …message.GetOrInitializeExtension(RepeatedFixed32Extension).AddRange(new[] { UInt32.MaxValue, 23u }… in CreateFullTestAllExtensions()
185 …message.GetOrInitializeExtension(RepeatedFixed64Extension).AddRange(new[] { UInt64.MaxValue, 12345… in CreateFullTestAllExtensions()
186 … message.GetOrInitializeExtension(RepeatedFloatExtension).AddRange(new[] { 100f, 12.25f }); in CreateFullTestAllExtensions()
187 …message.GetOrInitializeExtension(RepeatedForeignEnumExtension).AddRange(new[] { Proto2.ForeignEnum… in CreateFullTestAllExtensions()
188 …message.GetOrInitializeExtension(RepeatedForeignMessageExtension).AddRange(new[] { new Proto2.Fore… in CreateFullTestAllExtensions()
189 …message.GetOrInitializeExtension(RepeatedImportEnumExtension).AddRange(new[] { Proto2.ImportEnum.I… in CreateFullTestAllExtensions()
190 …message.GetOrInitializeExtension(RepeatedImportMessageExtension).AddRange(new[] { new Proto2.Impor… in CreateFullTestAllExtensions()
[all …]
DGeneratedMessageTest.Proto2.cs293 message.GetOrInitializeExtension(TestRequired.Extensions.Multi); in RequiredFieldsInExtensions()
312 message.GetOrInitializeExtension(UnittestExtensions.RepeatedBoolExtension).Add(true); in RequiredFieldsInExtensions()
357 … message.GetOrInitializeExtension(UnittestExtensions.RepeatedGroupExtension).AddRange(new[] in RoundTrip_ExtensionGroups()
DExtensionSetTest.cs123 …var repeatedField = message.GetOrInitializeExtension<TestAllTypes.Types.NestedMessage>(RepeatedNes… in GetRepeated()
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs181 message.GetOrInitializeExtension(RepeatedBoolExtension).AddRange(new[] { true, false }); in CreateFullTestAllExtensions()
182 …message.GetOrInitializeExtension(RepeatedBytesExtension).AddRange(new[] { ByteString.CopyFrom(1, 2… in CreateFullTestAllExtensions()
183 … message.GetOrInitializeExtension(RepeatedDoubleExtension).AddRange(new[] { -12.25, 23.5 }); in CreateFullTestAllExtensions()
184 …message.GetOrInitializeExtension(RepeatedFixed32Extension).AddRange(new[] { UInt32.MaxValue, 23u }… in CreateFullTestAllExtensions()
185 …message.GetOrInitializeExtension(RepeatedFixed64Extension).AddRange(new[] { UInt64.MaxValue, 12345… in CreateFullTestAllExtensions()
186 … message.GetOrInitializeExtension(RepeatedFloatExtension).AddRange(new[] { 100f, 12.25f }); in CreateFullTestAllExtensions()
187 …message.GetOrInitializeExtension(RepeatedForeignEnumExtension).AddRange(new[] { Proto2.ForeignEnum… in CreateFullTestAllExtensions()
188 …message.GetOrInitializeExtension(RepeatedForeignMessageExtension).AddRange(new[] { new Proto2.Fore… in CreateFullTestAllExtensions()
189 …message.GetOrInitializeExtension(RepeatedImportEnumExtension).AddRange(new[] { Proto2.ImportEnum.I… in CreateFullTestAllExtensions()
190 …message.GetOrInitializeExtension(RepeatedImportMessageExtension).AddRange(new[] { new Proto2.Impor… in CreateFullTestAllExtensions()
[all …]
DGeneratedMessageTest.Proto2.cs293 message.GetOrInitializeExtension(TestRequired.Extensions.Multi); in RequiredFieldsInExtensions()
312 message.GetOrInitializeExtension(UnittestExtensions.RepeatedBoolExtension).Add(true); in RequiredFieldsInExtensions()
357 … message.GetOrInitializeExtension(UnittestExtensions.RepeatedGroupExtension).AddRange(new[] in RoundTrip_ExtensionGroups()
/external/protobuf/csharp/src/Google.Protobuf/
DIExtendableMessage.cs57 … RepeatedField<TValue> GetOrInitializeExtension<TValue>(RepeatedExtension<T, TValue> extension); in GetOrInitializeExtension() method
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/
DIExtendableMessage.cs57 … RepeatedField<TValue> GetOrInitializeExtension<TValue>(RepeatedExtension<T, TValue> extension); in GetOrInitializeExtension() method
/external/protobuf/docs/csharp/
Dproto2.md46 RepeatedField<TValue> GetOrInitializeExtension<TValue>(RepeatedExtension<T, TValue> extension);
93 foo.GetOrInitializeExtension(RepeatedFooExt).Add(new Baz());
/external/cronet/third_party/protobuf/docs/csharp/
Dproto2.md46 RepeatedField<TValue> GetOrInitializeExtension<TValue>(RepeatedExtension<T, TValue> extension);
93 foo.GetOrInitializeExtension(RepeatedFooExt).Add(new Baz());
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DReflectionUtil.cs237 … return extensionMessage.GetOrInitializeExtension(extension as RepeatedExtension<T1, T3>); in GetExtension()
DDescriptor.cs2250 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<Extension… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.ExtensionRangeOptions
6370 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<FileOptio… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.FileOptions
6886 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<MessageOp… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.MessageOptions
7553 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<FieldOpti… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.FieldOptions
7811 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<OneofOpti… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.OneofOptions
8153 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<EnumOptio… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.EnumOptions
8439 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<EnumValue… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.EnumValueOptions
8725 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<ServiceOp… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.ServiceOptions
9063 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<MethodOpt… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.MethodOptions
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DReflectionUtil.cs237 … return extensionMessage.GetOrInitializeExtension(extension as RepeatedExtension<T1, T3>); in GetExtension()
DDescriptor.cs2250 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<Extension… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.ExtensionRangeOptions
6370 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<FileOptio… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.FileOptions
6886 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<MessageOp… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.MessageOptions
7553 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<FieldOpti… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.FieldOptions
7811 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<OneofOpti… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.OneofOptions
8153 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<EnumOptio… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.EnumOptions
8439 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<EnumValue… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.EnumValueOptions
8725 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<ServiceOp… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.ServiceOptions
9063 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<MethodOpt… in GetOrInitializeExtension() method in Google.Protobuf.Reflection.MethodOptions
/external/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestSelfreferentialOptions.cs357 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<FooOption… in GetOrInitializeExtension() method in UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions
DUnittest.cs6538 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestAllEx… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestAllExtensions
7639 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestGroup… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestGroupExtension
11033 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestEmpty… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestEmptyMessageWithExtensions
11230 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestMulti… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestMultipleExtensionRanges
15955 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestField… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestFieldOrderings
25646 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestPacke… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestPackedExtensions
25843 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestUnpac… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestUnpackedExtensions
27263 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestParsi… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestParsingMerge
30914 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestHugeF… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestHugeFieldNumbers
31799 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestExten… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestExtensionInsideTable
DTestMessagesProto2.cs5734 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestAllTy… in GetOrInitializeExtension() method in ProtobufTestMessages.Proto2.TestAllTypesProto2
6464 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<MessageSe… in GetOrInitializeExtension() method in ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrect
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestSelfreferentialOptions.cs357 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<FooOption… in GetOrInitializeExtension() method in UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions
DUnittest.cs6538 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestAllEx… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestAllExtensions
7639 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestGroup… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestGroupExtension
11033 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestEmpty… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestEmptyMessageWithExtensions
11230 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestMulti… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestMultipleExtensionRanges
15955 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestField… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestFieldOrderings
25646 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestPacke… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestPackedExtensions
25843 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestUnpac… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestUnpackedExtensions
27263 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestParsi… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestParsingMerge
30914 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestHugeF… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestHugeFieldNumbers
31799 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestExten… in GetOrInitializeExtension() method in Google.Protobuf.TestProtos.Proto2.TestExtensionInsideTable
DTestMessagesProto2.cs5734 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<TestAllTy… in GetOrInitializeExtension() method in ProtobufTestMessages.Proto2.TestAllTypesProto2
6464 …public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<MessageSe… in GetOrInitializeExtension() method in ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrect