/third_party/protobuf/src/google/protobuf/io/ |
H A D | coded_stream_unittest.cc | 767 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 D | coded_stream.cc | 118 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 D | coded_stream.h | 187 // 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 D | IssuesTest.cs | 107 cis.PushLimit(1); // make sure we reach the limit right after reading the tag.
in CodedInputStream_LimitReachedRightAfterTag()
|
H A D | CodedInputStreamTest.cs | 402 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 D | CodedOutputStreamTest.cs | 446 int oldlimit = cin.PushLimit((int)childlen);
in TestCodedInputOutputPosition()
|
/third_party/protobuf/src/google/protobuf/util/ |
H A D | delimited_message_util.cc | 78 io::CodedInputStream::Limit limit = input->PushLimit(size); in ParseDelimitedFromCodedStream()
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | CodedInputStream.cs | 614 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 D | ParsingPrimitivesMessages.cs | 122 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length); in ReadMessage()
|
H A D | SegmentedBufferHelper.cs | 113 public static int PushLimit(ref ParserInternalState state, int byteLimit) in PushLimit() method 158 /// the stream has reached a limit created using PushLimit.
|
H A D | FieldCodec.cs | 597 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length);
|
/third_party/protobuf/src/google/protobuf/ |
H A D | parse_context.h | 127 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 D | generated_message_table_driven_lite.h | 801 io::CodedInputStream::Limit limit = input->PushLimit(length); in MergePartialFromCodedStreamInlined()
|
H A D | wire_format_lite.cc | 300 io::CodedInputStream::Limit limit = input->PushLimit(length); in ReadPackedEnumPreserveUnknowns()
|
H A D | wire_format.cc | 177 io::CodedInputStream::Limit limit = input->PushLimit(length); in ReadPackedEnumPreserveUnknowns() 448 io::CodedInputStream::Limit limit = input->PushLimit(length); in ParseAndMergeField()
|
H A D | wire_format_lite.h | 1144 io::CodedInputStream::Limit limit = input->PushLimit(length); in ReadPackedPrimitive()
|
H A D | extension_set.cc | 1233 io::CodedInputStream::Limit limit = input->PushLimit(size); in ParseFieldWithExtensionInfo()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | protostream_objectsource.cc | 286 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 D | CodedOutputStreamTest.cs | 352 int oldlimit = cin.PushLimit((int)childlen);
in TestCodedInputOutputPosition()
|
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/ |
H A D | RepeatedField.cs | 129 int oldLimit = SegmentedBufferHelper.PushLimit(ref ctx.state, length);
in AddEntriesFrom()
|