/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | MessageParser.cs | 44 private Func<IMessage> factory; 46 internal MessageParser(Func<IMessage> factory) in MessageParser() 55 internal IMessage CreateTemplate() in CreateTemplate() 65 public IMessage ParseFrom(byte[] data) in ParseFrom() 68 IMessage message = factory(); in ParseFrom() 78 public IMessage ParseFrom(ByteString data) in ParseFrom() 81 IMessage message = factory(); in ParseFrom() 91 public IMessage ParseFrom(Stream input) in ParseFrom() 93 IMessage message = factory(); in ParseFrom() 107 public IMessage ParseDelimitedFrom(Stream input) in ParseDelimitedFrom() [all …]
|
D | MessageExtensions.cs | 47 public static void MergeFrom(this IMessage message, byte[] data) in MergeFrom() 61 public static void MergeFrom(this IMessage message, ByteString data) in MergeFrom() 75 public static void MergeFrom(this IMessage message, Stream input) in MergeFrom() 93 public static void MergeDelimitedFrom(this IMessage message, Stream input) in MergeDelimitedFrom() 107 public static byte[] ToByteArray(this IMessage message) in ToByteArray() 122 public static void WriteTo(this IMessage message, Stream output) in WriteTo() 136 public static void WriteDelimitedTo(this IMessage message, Stream output) in WriteDelimitedTo() 151 public static ByteString ToByteString(this IMessage message) in ToByteString()
|
D | JsonFormatter.cs | 144 public string Format(IMessage message) in Format() 157 public void Format(IMessage message, TextWriter writer) in Format() 189 public static string ToDiagnosticString(IMessage message) in ToDiagnosticString() 195 private void WriteMessage(TextWriter writer, IMessage message) in WriteMessage() 216 … private bool WriteMessageFields(TextWriter writer, IMessage message, bool assumeFirstFieldWritten) in WriteMessageFields() 456 else if (value is IMessage) in WriteValue() 458 Format((IMessage)value, writer); in WriteValue() 488 if (value is IMessage) in WriteWellKnownTypeValue() 490 var message = (IMessage) value; in WriteWellKnownTypeValue() 498 WriteTimestamp(writer, (IMessage)value); in WriteWellKnownTypeValue() [all …]
|
D | IMessage.cs | 42 public interface IMessage interface 78 public interface IMessage<T> : IMessage, IEquatable<T>, IDeepCloneable<T> where T : IMessage<T> interface
|
D | JsonParser.cs | 71 private static readonly Dictionary<string, Action<JsonParser, IMessage, JsonTokenizer>> 72 … WellKnownTypeHandlers = new Dictionary<string, Action<JsonParser, IMessage, JsonTokenizer>> 95 …private static void MergeWrapperField(JsonParser parser, IMessage message, JsonTokenizer tokenizer) in MergeWrapperField() 121 internal void Merge(IMessage message, string json) in Merge() 131 internal void Merge(IMessage message, TextReader jsonReader) in Merge() 149 private void Merge(IMessage message, JsonTokenizer tokenizer) in Merge() 157 Action<JsonParser, IMessage, JsonTokenizer> handler; in Merge() 214 private void MergeField(IMessage message, FieldDescriptor field, JsonTokenizer tokenizer) in MergeField() 246 … private void MergeRepeatedField(IMessage message, FieldDescriptor field, JsonTokenizer tokenizer) in MergeRepeatedField() 271 private void MergeMapField(IMessage message, FieldDescriptor field, JsonTokenizer tokenizer) in MergeMapField() [all …]
|
D | CodedOutputStream.ComputeSize.cs | 139 public static int ComputeGroupSize(IMessage value) in ComputeGroupSize() 148 public static int ComputeMessageSize(IMessage value) in ComputeMessageSize()
|
D | ICustomDiagnosticMessage.cs | 55 public interface ICustomDiagnosticMessage : IMessage
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/ |
D | ReflectionUtil.cs | 59 internal static Func<IMessage, object> CreateFuncIMessageObject(MethodInfo method) in CreateFuncIMessageObject() 61 ParameterExpression parameter = Expression.Parameter(typeof(IMessage), "p"); in CreateFuncIMessageObject() 65 return Expression.Lambda<Func<IMessage, object>>(upcast, parameter).Compile(); in CreateFuncIMessageObject() 72 internal static Func<IMessage, T> CreateFuncIMessageT<T>(MethodInfo method) in CreateFuncIMessageT() 74 ParameterExpression parameter = Expression.Parameter(typeof(IMessage), "p"); in CreateFuncIMessageT() 78 return Expression.Lambda<Func<IMessage, T>>(upcast, parameter).Compile(); in CreateFuncIMessageT() 85 internal static Action<IMessage, object> CreateActionIMessageObject(MethodInfo method) in CreateActionIMessageObject() 87 ParameterExpression targetParameter = Expression.Parameter(typeof(IMessage), "target"); in CreateActionIMessageObject() 92 … return Expression.Lambda<Action<IMessage, object>>(call, targetParameter, argParameter).Compile(); in CreateActionIMessageObject() 99 internal static Action<IMessage> CreateActionIMessage(MethodInfo method) in CreateActionIMessage() [all …]
|
D | FieldAccessorBase.cs | 44 private readonly Func<IMessage, object> getValueDelegate; 55 public object GetValue(IMessage message) in GetValue() 60 public abstract void Clear(IMessage message); in Clear() 61 public abstract void SetValue(IMessage message, object value); in SetValue()
|
D | OneofAccessor.cs | 44 private readonly Func<IMessage, int> caseDelegate; 45 private readonly Action<IMessage> clearDelegate; 72 public void Clear(IMessage message) in Clear() 80 public FieldDescriptor GetCaseFieldDescriptor(IMessage message) in GetCaseFieldDescriptor()
|
D | SingleFieldAccessor.cs | 49 private readonly Action<IMessage, object> setValueDelegate; 50 private readonly Action<IMessage> clearDelegate; 71 public override void Clear(IMessage message) in Clear() 76 public override void SetValue(IMessage message, object value) in SetValue()
|
D | IFieldAccessor.cs | 52 void Clear(IMessage message); in Clear() 59 object GetValue(IMessage message); in GetValue() 69 void SetValue(IMessage message, object value); in SetValue()
|
D | RepeatedFieldAccessor.cs | 48 public override void Clear(IMessage message) in Clear() 54 public override void SetValue(IMessage message, object value) in SetValue()
|
D | MapFieldAccessor.cs | 48 public override void Clear(IMessage message) in Clear() 54 public override void SetValue(IMessage message, object value) in SetValue()
|
D | Descriptor.cs | 177 internal sealed partial class FileDescriptorSet : pb::IMessage<FileDescriptorSet> { 188 pbr::MessageDescriptor pb::IMessage.Descriptor { 289 internal sealed partial class FileDescriptorProto : pb::IMessage<FileDescriptorProto> { 300 pbr::MessageDescriptor pb::IMessage.Descriptor { 704 internal sealed partial class DescriptorProto : pb::IMessage<DescriptorProto> { 715 pbr::MessageDescriptor pb::IMessage.Descriptor { 1021 internal sealed partial class ExtensionRange : pb::IMessage<ExtensionRange> { 1032 pbr::MessageDescriptor pb::IMessage.Descriptor { 1171 internal sealed partial class ReservedRange : pb::IMessage<ReservedRange> { 1182 pbr::MessageDescriptor pb::IMessage.Descriptor { [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.JsonDump/ |
D | Program.cs | 59 if (!typeof(IMessage).GetTypeInfo().IsAssignableFrom(type)) in Main() 64 IMessage message = (IMessage) Activator.CreateInstance(type); in Main()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | AnyPartial.cs | 69 public T Unpack<T>() where T : IMessage, new() field in Google.Protobuf.WellKnownTypes.Any 88 public static Any Pack(IMessage message) => Pack(message, DefaultPrefix); 96 public static Any Pack(IMessage message, string typeUrlPrefix) in Pack()
|
D | Wrappers.cs | 58 public sealed partial class DoubleValue : pb::IMessage<DoubleValue> { 69 pbr::MessageDescriptor pb::IMessage.Descriptor { 183 public sealed partial class FloatValue : pb::IMessage<FloatValue> { 194 pbr::MessageDescriptor pb::IMessage.Descriptor { 308 public sealed partial class Int64Value : pb::IMessage<Int64Value> { 319 pbr::MessageDescriptor pb::IMessage.Descriptor { 433 public sealed partial class UInt64Value : pb::IMessage<UInt64Value> { 444 pbr::MessageDescriptor pb::IMessage.Descriptor { 558 public sealed partial class Int32Value : pb::IMessage<Int32Value> { 569 pbr::MessageDescriptor pb::IMessage.Descriptor { [all …]
|
D | Struct.cs | 78 public sealed partial class Struct : pb::IMessage<Struct> { 89 pbr::MessageDescriptor pb::IMessage.Descriptor { 198 public sealed partial class Value : pb::IMessage<Value> { 209 pbr::MessageDescriptor pb::IMessage.Descriptor { 532 public sealed partial class ListValue : pb::IMessage<ListValue> { 543 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
D | SourceContext.cs | 44 public sealed partial class SourceContext : pb::IMessage<SourceContext> { 55 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
D | FieldMask.cs | 241 public sealed partial class FieldMask : pb::IMessage<FieldMask> { 252 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestIssues.cs | 85 public sealed partial class Issue307 : pb::IMessage<Issue307> { 96 pbr::MessageDescriptor pb::IMessage.Descriptor { 176 public sealed partial class NestedOnce : pb::IMessage<NestedOnce> { 187 pbr::MessageDescriptor pb::IMessage.Descriptor { 267 public sealed partial class NestedTwice : pb::IMessage<NestedTwice> { 278 pbr::MessageDescriptor pb::IMessage.Descriptor { 366 public sealed partial class NegativeEnumMessage : pb::IMessage<NegativeEnumMessage> { 377 pbr::MessageDescriptor pb::IMessage.Descriptor { 525 public sealed partial class DeprecatedChild : pb::IMessage<DeprecatedChild> { 536 pbr::MessageDescriptor pb::IMessage.Descriptor { [all …]
|
D | UnittestProto3.cs | 237 public sealed partial class TestAllTypes : pb::IMessage<TestAllTypes> { 248 pbr::MessageDescriptor pb::IMessage.Descriptor { 1601 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> { 1612 pbr::MessageDescriptor pb::IMessage.Descriptor { 1731 public sealed partial class NestedTestAllTypes : pb::IMessage<NestedTestAllTypes> { 1742 pbr::MessageDescriptor pb::IMessage.Descriptor { 1908 public sealed partial class TestDeprecatedFields : pb::IMessage<TestDeprecatedFields> { 1919 pbr::MessageDescriptor pb::IMessage.Descriptor { 2030 public sealed partial class ForeignMessage : pb::IMessage<ForeignMessage> { 2041 pbr::MessageDescriptor pb::IMessage.Descriptor { [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/AddressBook/ |
D | Addressbook.cs | 48 public sealed partial class Person : pb::IMessage<Person> { 59 pbr::MessageDescriptor pb::IMessage.Descriptor { 252 public sealed partial class PhoneNumber : pb::IMessage<PhoneNumber> { 263 pbr::MessageDescriptor pb::IMessage.Descriptor { 405 public sealed partial class AddressBook : pb::IMessage<AddressBook> { 416 pbr::MessageDescriptor pb::IMessage.Descriptor {
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 152 IMessage message = SampleMessages.CreateFullTestAllTypes(); in SetValue_SingleFields_WrongType() 160 IMessage message = new TestMap(); in SetValue_MapFields() 168 IMessage message = SampleMessages.CreateFullTestAllTypes(); in SetValue_RepeatedFields() 176 IMessage message = SampleMessages.CreateFullTestAllTypes(); in GetValue_IncorrectType()
|