/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | WrappersTest.cs | 74 var bytes = message.ToByteArray(); in NonDefaultSingleValues() 104 var bytes = message.ToByteArray(); in NonNullDefaultIsPreservedThroughSerialization() 143 var bytes = message.ToByteArray(); in RepeatedWrappersSerializeDeserialize() 171 var actualBytes = message.ToByteArray(); in RepeatedWrappersBinaryFormat() 197 var bytes = message.ToByteArray(); in MapWrappersSerializeDeserialize() 291 var bytes = message.ToByteArray(); in AssertOneofRoundTrip() 316 originalMessage.MergeFrom(mergingMessage.ToByteArray()); in Merging() 357 var bytes = new TestWellKnownTypes { Int32Field = 0 }.ToByteArray(); in MergingStreamNoValue()
|
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
D | WorkerServiceGrpc.cs | 32 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 33 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 34 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 35 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 36 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 37 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 38 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G…
|
D | TestGrpc.cs | 37 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 38 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 39 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 40 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 41 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 42 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 43 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 551 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 672 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 673 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… [all …]
|
D | MetricsGrpc.cs | 36 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 37 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 38 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G…
|
D | ReportQpsScenarioServiceGrpc.cs | 32 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 33 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G…
|
D | BenchmarkServiceGrpc.cs | 32 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 33 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G…
|
D | CustomErrorDetailsTest.cs | 123 context.ResponseTrailers.Add(DebugInfoTrailerName, debugInfo.ToByteArray()); in UnaryCall()
|
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuide/ |
D | RouteGuideGrpc.cs | 33 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::R… 34 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::R… 35 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::R… 36 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::R… 37 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::R…
|
/external/grpc-grpc/src/csharp/Grpc.Examples/ |
D | MathGrpc.cs | 30 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::M… 31 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::M… 32 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::M… 33 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::M…
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 131 byte[] bytes = message.ToByteArray(); in RoundTrip_Empty() 166 byte[] bytes = message.ToByteArray(); in RoundTrip_SingleValues() 200 byte[] bytes = message.ToByteArray(); in RoundTrip_RepeatedValues() 232 byte[] bytes = message.ToByteArray(); in RoundTrip_Maps() 245 byte[] bytes = message.ToByteArray(); in MapWithEmptyEntry() 618 var bytes = message.ToByteArray(); in OneofSerialization_NonDefaultValue() 632 var bytes = message.ToByteArray(); in OneofSerialization_DefaultValue() 662 var data = SampleMessages.CreateFullTestAllTypes().ToByteArray(); in IgnoreUnknownFields_AllTypes()
|
D | ByteStringTest.cs | 113 byte[] data = bs.ToByteArray(); in ToByteArrayCopiesContents() 161 Assert.AreEqual(data, bs.ToByteArray()); in FromBase64_WithText()
|
D | CodedInputStreamTest.cs | 234 byte[] rawBytes = message.ToByteArray(); in ReadWholeMessage_VaryingBlockSizes() 323 …ream input = CodedInputStream.CreateWithLimits(new MemoryStream(data64.ToByteArray()), 1000000, 63… in MaliciousRecursion() 332 … MemoryStream ms = new MemoryStream(SampleMessages.CreateFullTestAllTypes().ToByteArray()); in SizeLimit()
|
D | CodedOutputStreamTest.cs | 198 byte[] rawBytes = message.ToByteArray(); in WriteWholeMessage_VaryingBlockSizes()
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | MessageExtensions.cs | 107 public static byte[] ToByteArray(this IMessage message) in ToByteArray() method in Google.Protobuf.MessageExtensions 154 return ByteString.AttachBytes(message.ToByteArray()); in ToByteString()
|
D | ByteString.cs | 120 public byte[] ToByteArray() in ToByteArray() method in Google.Protobuf.ByteString
|
/external/grpc-grpc/src/csharp/Grpc.Reflection/ |
D | ReflectionGrpc.cs | 32 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 33 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G…
|
/external/grpc-grpc/examples/csharp/HelloworldLegacyCsproj/Greeter/ |
D | HelloworldGrpc.cs | 33 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::H… 34 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::H…
|
/external/grpc-grpc/examples/csharp/HelloworldXamarin/HelloworldXamarin/ |
D | HelloworldGrpc.cs | 34 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::H… 35 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::H…
|
/external/grpc-grpc/examples/csharp/Helloworld/Greeter/ |
D | HelloworldGrpc.cs | 33 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::H… 34 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::H…
|
/external/grpc-grpc/src/csharp/Grpc.HealthCheck/ |
D | HealthGrpc.cs | 33 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 34 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G…
|
/external/protobuf/csharp/src/AddressBook/ |
D | SampleUsage.cs | 63 bytes = book.ToByteArray(); in Main()
|
/external/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Program.cs | 75 byte[] outputData = response.ToByteArray(); in RunTest()
|