Home
last modified time | relevance | path

Searched refs:ReadVarint32 (Results 1 – 15 of 15) sorted by relevance

/third_party/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc285 stream_->ReadVarint32(&buffer32); // message length in RenderMap()
325 stream_->ReadVarint32(&length); in RenderPacked()
463 os->stream_->ReadVarint32(&buffer32); in RenderInt32()
477 os->stream_->ReadVarint32(&buffer32); in RenderUInt32()
507 os->stream_->ReadVarint32(&buffer32); // string size. in RenderString()
523 os->stream_->ReadVarint32(&buffer32); in RenderBytes()
617 os->stream_->ReadVarint32(&type_url_size); in RenderAny()
622 os->stream_->ReadVarint32(&value_size); in RenderAny()
699 os->stream_->ReadVarint32(&buffer32); // string size. in RenderFieldMask()
774 stream_->ReadVarint32(&buffer32); // message length in RenderField()
[all …]
/third_party/protobuf/src/google/protobuf/util/
Ddelimited_message_util.cc72 if (!input->ReadVarint32(&size)) { in ParseDelimitedFromCodedStream()
/third_party/protobuf/src/google/protobuf/
Dwire_format_lite.cc139 if (!input->ReadVarint32(&length)) return false; in SkipField()
190 if (!input->ReadVarint32(&length)) return false; in SkipField()
299 if (!input->ReadVarint32(&length)) return false; in ReadPackedEnumPreserveUnknowns()
555 return input->ReadVarint32(&length) && input->ReadString(value, length); in ReadBytesToString()
Dwire_format_lite.h902 if (!input->ReadVarint32(&temp)) return false;
917 return input->ReadVarint32(value);
928 if (!input->ReadVarint32(&temp)) return false;
994 if (!input->ReadVarint32(&temp)) return false;
1808 if (!input->ReadVarint32(&type_id)) return false; in ParseMessageSetItemImpl()
1831 if (!input->ReadVarint32(&length)) return false; in ParseMessageSetItemImpl()
Dwire_format.cc108 if (!input->ReadVarint32(&length)) return false; in SkipField()
176 if (!input->ReadVarint32(&length)) return false; in ReadPackedEnumPreserveUnknowns()
388 if (!input->ReadVarint32(&length)) return false; in SkipMessageSetField()
447 if (!input->ReadVarint32(&length)) return false; in ParseAndMergeField()
Dmap_type_handler.h470 *value = static_cast<E>(ReadVarint32(&ptr));
474 *value = static_cast<bool>(ReadVarint32(&ptr));
Dextension_set_heavy.cc73 if (!input->ReadVarint32(&length)) return false; in SkipMessageSetField()
Dparse_context.h589 inline uint32 ReadVarint32(const char** p) {
Dgenerated_message_table_driven_lite.h793 if (PROTOBUF_PREDICT_FALSE(!input->ReadVarint32(&length))) { in MergePartialFromCodedStreamInlined()
Dwrappers.pb.cc1356 value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); in _InternalParse()
Dextension_set.cc1232 if (!input->ReadVarint32(&size)) return false; in ParseFieldWithExtensionInfo()
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc331 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()
336 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()
638 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()
644 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()
Dcoded_stream_unittest.cc191 TEST_2D(CodedStreamTest, ReadVarint32, kVarintCases, kBlockSizes) { in TEST_2D() argument
199 EXPECT_TRUE(coded_input.ReadVarint32(&value)); in TEST_2D()
441 EXPECT_EQ(kVarintErrorCases_case.can_parse, coded_input.ReadVarint32(&value)); in TEST_2D()
452 EXPECT_EQ(kVarintErrorCases_case.can_parse, coded_input.ReadVarint32(&value)); in TEST_2D()
Dcoded_stream.h244 bool ReadVarint32(uint32* value);
1270 inline bool CodedInputStream::ReadVarint32(uint32* value) { in ReadVarint32() function
Dcoded_stream.cc155 return PushLimit(ReadVarint32(&length) ? length : 0); in ReadLengthAndPushLimit()