Home
last modified time | relevance | path

Searched refs:PushLimit (Results 1 - 20 of 20) sorted by relevance

/third_party/protobuf/src/google/protobuf/io/
H A 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( in TEST_1D()
[all...]
H A Dcoded_stream.cc118 CodedInputStream::Limit CodedInputStream::PushLimit(int byte_limit) { in PushLimit() function in google::protobuf::io::CodedInputStream
139 // PushLimit(). in PopLimit()
150 return std::make_pair(PushLimit(byte_limit), --recursion_budget_); in IncrementRecursionDepthAndPushLimit()
155 return PushLimit(ReadVarint32(&length) ? length : 0); in ReadLengthAndPushLimit()
H A Dcoded_stream.h187 // faster than using an ArrayInputStream. PushLimit(size) is implied by
341 // After the message's length is read, PushLimit() is used to prevent
346 // Opaque type used with PushLimit() and PopLimit(). Do not modify
360 // The value returned by PushLimit() is opaque to the caller, and must
362 Limit PushLimit(int byte_limit);
364 // Pops the last limit pushed by PushLimit(). The input must be the value
365 // returned by that call to PushLimit().
391 // This is unrelated to PushLimit()/PopLimit().
429 // Shorthand for make_pair(PushLimit(byte_limit), --recursion_budget_).
437 // Shorthand for PushLimit(ReadVarint3
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DIssuesTest.cs107 cis.PushLimit(1); // make sure we reach the limit right after reading the tag. in CodedInputStream_LimitReachedRightAfterTag()
H A 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()
H A DCodedOutputStreamTest.cs446 int oldlimit = cin.PushLimit((int)childlen); in TestCodedInputOutputPosition()
/third_party/protobuf/src/google/protobuf/util/
H A Ddelimited_message_util.cc78 io::CodedInputStream::Limit limit = input->PushLimit(size); in ParseDelimitedFromCodedStream()
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DCodedInputStream.cs614 internal int PushLimit(int byteLimit) in PushLimit() method in Google.Protobuf.CodedInputStream
616 return SegmentedBufferHelper.PushLimit(ref state, byteLimit); in PushLimit()
642 /// the stream has reached a limit created using PushLimit.
H A DParsingPrimitivesMessages.cs122 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length); in ReadMessage()
H A DSegmentedBufferHelper.cs113 public static int PushLimit(ref ParserInternalState state, int byteLimit) in PushLimit() method
158 /// the stream has reached a limit created using PushLimit.
H A DFieldCodec.cs597 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length);
/third_party/protobuf/src/google/protobuf/
H A Dparse_context.h127 PROTOBUF_MUST_USE_RESULT int PushLimit(const char* ptr, int limit) { in PushLimit() function in google::protobuf::internal::EpsCopyInputStream
315 // AppendUntilEnd appends data until a limit (either a PushLimit or end of
612 auto old = PushLimit(ptr, size); in ParseMessage()
625 auto old = PushLimit(ptr, size); in ReadPackedVarint()
H A Dgenerated_message_table_driven_lite.h801 io::CodedInputStream::Limit limit = input->PushLimit(length); in MergePartialFromCodedStreamInlined()
H A Dwire_format_lite.cc300 io::CodedInputStream::Limit limit = input->PushLimit(length); in ReadPackedEnumPreserveUnknowns()
H A Dwire_format.cc177 io::CodedInputStream::Limit limit = input->PushLimit(length); in ReadPackedEnumPreserveUnknowns()
448 io::CodedInputStream::Limit limit = input->PushLimit(length); in ParseAndMergeField()
H A Dwire_format_lite.h1144 io::CodedInputStream::Limit limit = input->PushLimit(length); in ReadPackedPrimitive()
H A Dextension_set.cc1233 io::CodedInputStream::Limit limit = input->PushLimit(size); in ParseFieldWithExtensionInfo()
/third_party/protobuf/src/google/protobuf/util/internal/
H A 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/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A DCodedOutputStreamTest.cs352 int oldlimit = cin.PushLimit((int)childlen); in TestCodedInputOutputPosition()
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
H A DRepeatedField.cs129 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length); in AddEntriesFrom()

Completed in 27 milliseconds