Searched refs:SegmentedBufferHelper (Results 1 - 9 of 9) sorted by relevance
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | CodedInputStream.cs | 147 SegmentedBufferHelper.Initialize(this, out this.state.segmentedBufferHelper);
in CodedInputStream() 616 return SegmentedBufferHelper.PushLimit(ref state, byteLimit);
in PushLimit() 624 SegmentedBufferHelper.PopLimit(ref state, oldLimit);
in PopLimit() 635 return SegmentedBufferHelper.IsReachedLimit(ref state);
649 return SegmentedBufferHelper.IsAtEnd(ref span, ref state);
|
H A D | ParsingPrimitivesMessages.cs | 122 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length); in ReadMessage() 129 if (!SegmentedBufferHelper.IsReachedLimit(ref ctx.state)) in ReadMessage() 134 SegmentedBufferHelper.PopLimit(ref ctx.state, oldLimit); in ReadMessage()
|
H A D | SegmentedBufferHelper.cs | 46 internal struct SegmentedBufferHelper struct 58 public static void Initialize(CodedInputStream codedInputStream, out SegmentedBufferHelper instance) in Initialize() 71 public static void Initialize(ReadOnlySequence<byte> sequence, out SegmentedBufferHelper instance, out ReadOnlySpan<byte> firstSpan) in Initialize()
|
H A D | ParserInternalState.cs | 83 internal SegmentedBufferHelper segmentedBufferHelper;
|
H A D | ParseContext.cs | 99 SegmentedBufferHelper.Initialize(input, out ctx.state.segmentedBufferHelper, out ctx.buffer); in Initialize()
|
H A D | FieldCodec.cs | 597 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length); 614 SegmentedBufferHelper.PopLimit(ref ctx.state, oldLimit);
|
H A D | ParsingPrimitives.cs | 111 if (SegmentedBufferHelper.IsAtEnd(ref buffer, ref state)) in ParseTag()
|
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/ |
H A D | RepeatedField.cs | 129 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length);
in AddEntriesFrom() 140 while (!SegmentedBufferHelper.IsReachedLimit(ref ctx.state))
in AddEntriesFrom() 151 while (!SegmentedBufferHelper.IsReachedLimit(ref ctx.state))
in AddEntriesFrom() 156 SegmentedBufferHelper.PopLimit(ref ctx.state, oldLimit);
in AddEntriesFrom()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
H A D | CodedInputStreamTest.cs | 168 Assert.IsTrue(SegmentedBufferHelper.IsAtEnd(ref parseCtx.buffer, ref parseCtx.state));
in AssertReadFromParseContext() 408 SegmentedBufferHelper.PushLimit(ref ctx.state, 3);
in ReadBlobGreaterThanCurrentLimit() 440 SegmentedBufferHelper.PushLimit(ref ctx.state, 3);
in ReadStringGreaterThanCurrentLimit()
|
Completed in 10 milliseconds