Home
last modified time | relevance | path

Searched refs:PushLimit (Results 1 – 21 of 21) sorted by relevance

/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream_unittest.cc767 coded_input.PushLimit(sizeof(buffer_)); in TEST_1D()
812 coded_input.PushLimit(sizeof(buffer_)); in TEST_F()
832 coded_input.PushLimit(sizeof(buffer_)); in TEST_F()
849 coded_input.PushLimit(16); in TEST_F()
890 coded_input.PushLimit(sizeof(buffer_)); in TEST_F()
912 coded_input.PushLimit(16); in TEST_F()
1022 CodedInputStream::Limit limit = coded_input.PushLimit(8); in TEST_1D()
1052 CodedInputStream::Limit limit1 = coded_input.PushLimit(8); in TEST_1D()
1054 CodedInputStream::Limit limit2 = coded_input.PushLimit(4); in TEST_1D()
1094 CodedInputStream::Limit limit1 = coded_input.PushLimit(4); in TEST_1D()
[all …]
Dcoded_stream.cc118 CodedInputStream::Limit CodedInputStream::PushLimit(int byte_limit) { in PushLimit() function in google::protobuf::io::CodedInputStream
150 return std::make_pair(PushLimit(byte_limit), --recursion_budget_); in IncrementRecursionDepthAndPushLimit()
155 return PushLimit(ReadVarint32(&length) ? length : 0); in ReadLengthAndPushLimit()
Dcoded_stream.h362 Limit PushLimit(int byte_limit);
/third_party/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs614 internal int PushLimit(int byteLimit) in PushLimit() method in Google.Protobuf.CodedInputStream
616 return SegmentedBufferHelper.PushLimit(ref state, byteLimit); in PushLimit()
DParsingPrimitivesMessages.cs122 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length); in ReadMessage()
DSegmentedBufferHelper.cs113 public static int PushLimit(ref ParserInternalState state, int byteLimit) in PushLimit() method
DFieldCodec.cs597 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length);
/third_party/protobuf/src/google/protobuf/util/
Ddelimited_message_util.cc78 io::CodedInputStream::Limit limit = input->PushLimit(size); in ParseDelimitedFromCodedStream()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DIssuesTest.cs107 cis.PushLimit(1); // make sure we reach the limit right after reading the tag. in CodedInputStream_LimitReachedRightAfterTag()
DCodedInputStreamTest.cs402 input.PushLimit(3); in ReadBlobGreaterThanCurrentLimit()
408 SegmentedBufferHelper.PushLimit(ref ctx.state, 3); in ReadBlobGreaterThanCurrentLimit()
434 input.PushLimit(3); in ReadStringGreaterThanCurrentLimit()
440 SegmentedBufferHelper.PushLimit(ref ctx.state, 3); in ReadStringGreaterThanCurrentLimit()
DCodedOutputStreamTest.cs446 int oldlimit = cin.PushLimit((int)childlen); in TestCodedInputOutputPosition()
/third_party/protobuf/src/google/protobuf/
Dparse_context.h127 PROTOBUF_MUST_USE_RESULT int PushLimit(const char* ptr, int limit) { in PushLimit() function
612 auto old = PushLimit(ptr, size);
625 auto old = PushLimit(ptr, size);
Dwire_format_lite.cc300 io::CodedInputStream::Limit limit = input->PushLimit(length); in ReadPackedEnumPreserveUnknowns()
Dgenerated_message_table_driven_lite.h801 io::CodedInputStream::Limit limit = input->PushLimit(length); in MergePartialFromCodedStreamInlined()
Dwire_format.cc177 io::CodedInputStream::Limit limit = input->PushLimit(length); in ReadPackedEnumPreserveUnknowns()
448 io::CodedInputStream::Limit limit = input->PushLimit(length); in ParseAndMergeField()
Dwire_format_lite.h1144 io::CodedInputStream::Limit limit = input->PushLimit(length); in ReadPackedPrimitive()
Dextension_set.cc1233 io::CodedInputStream::Limit limit = input->PushLimit(size); in ParseFieldWithExtensionInfo()
/third_party/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc286 int old_limit = stream_->PushLimit(buffer32); in RenderMap()
326 int old_limit = stream_->PushLimit(length); in RenderPacked()
775 int old_limit = stream_->PushLimit(buffer32); in RenderField()
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs129 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length); in AddEntriesFrom()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs352 int oldlimit = cin.PushLimit((int)childlen); in TestCodedInputOutputPosition()
/third_party/protobuf/
Dlibprotobuf_lite.map352 "google::protobuf::io::CodedInputStream::PushLimit(int)";