Home
last modified time | relevance | path

Searched refs:codedOutputStream (Results 1 – 2 of 2) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/
DWriteBufferHelper.cs48 private CodedOutputStream codedOutputStream; field
50 public CodedOutputStream CodedOutputStream => codedOutputStream;
58 … public static void Initialize(CodedOutputStream codedOutputStream, out WriteBufferHelper instance) in Initialize()
61 instance.codedOutputStream = codedOutputStream; in Initialize()
73 instance.codedOutputStream = null; in Initialize()
86 instance.codedOutputStream = null; in InitializeNonRefreshable()
108 …if (state.writeBufferHelper.codedOutputStream?.InternalOutputStream == null && state.writeBufferHe… in GetSpaceLeft()
123 if (state.writeBufferHelper.codedOutputStream?.InternalOutputStream != null) in RefreshBuffer()
126 …state.writeBufferHelper.codedOutputStream.InternalOutputStream.Write(state.writeBufferHelper.coded… in RefreshBuffer()
148 if (state.writeBufferHelper.codedOutputStream?.InternalOutputStream != null) in Flush()
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DCodedInputStreamTest.java1202 CodedOutputStream codedOutputStream = CodedOutputStream.newInstance(outputStream); in testMaliciousInputStream() local
1203 codedOutputStream.writeByteArrayNoTag(new byte[] { 0x0, 0x1, 0x2, 0x3, 0x4, 0x5 }); in testMaliciousInputStream()
1204 codedOutputStream.flush(); in testMaliciousInputStream()