Home
last modified time | relevance | path

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

/external/chromium_org/courgette/third_party/
Dbsdiff_apply.cc47 if (!stream->ReadVarint32(&header->slen)) return READ_ERROR; in MBS_ReadHeader()
48 if (!stream->ReadVarint32(&header->scrc32)) return READ_ERROR; in MBS_ReadHeader()
49 if (!stream->ReadVarint32(&header->dlen)) return READ_ERROR; in MBS_ReadHeader()
87 if (!diff_skips->ReadVarint32(&pending_diff_zeros)) in MBS_ApplyPatch()
93 if (!control_stream_copy_counts->ReadVarint32(&copy_count)) in MBS_ApplyPatch()
95 if (!control_stream_extra_counts->ReadVarint32(&extra_count)) in MBS_ApplyPatch()
115 if (!diff_skips->ReadVarint32(&pending_diff_zeros)) in MBS_ApplyPatch()
/external/chromium_org/courgette/
Dstreams_unittest.cc24 bool can_read = source.ReadVarint32(&value); in TEST()
68 bool can_read = in.stream(3)->ReadVarint32(&value); in TEST()
108 bool can_read = in.stream(id)->ReadVarint32(&value); in TEST()
192 EXPECT_TRUE(subset1.stream(3)->ReadVarint32(&datum)); in TEST()
194 EXPECT_TRUE(subset1.stream(5)->ReadVarint32(&datum)); in TEST()
198 EXPECT_TRUE(subset2.stream(2)->ReadVarint32(&datum)); in TEST()
200 EXPECT_TRUE(subset2.stream(6)->ReadVarint32(&datum)); in TEST()
Densemble_apply.cc89 if (!header_stream->ReadVarint32(&magic)) in ReadHeader()
96 if (!header_stream->ReadVarint32(&version)) in ReadHeader()
102 if (!header_stream->ReadVarint32(&source_checksum_)) in ReadHeader()
105 if (!header_stream->ReadVarint32(&target_checksum_)) in ReadHeader()
108 if (!header_stream->ReadVarint32(&final_patch_input_size_prediction_)) in ReadHeader()
130 if (!transformation_parameters->ReadVarint32(&number_of_transformations)) in ReadInitialParameters()
135 if (!transformation_parameters->ReadVarint32(&kind)) in ReadInitialParameters()
Dpatcher_x86_32.h27 if (!parameter_stream->ReadVarint32(&base_offset_)) in Init()
29 if (!parameter_stream->ReadVarint32(&base_length_)) in Init()
Dstreams.cc137 bool SourceStream::ReadVarint32(uint32* output_value) { in ReadVarint32() function in courgette::SourceStream
151 if (!ReadVarint32(&unsigned_value)) in ReadVarint32Signed()
292 if (!control_stream->ReadVarint32(&stream_count)) in ReadSet()
298 if (!control_stream->ReadVarint32(&lengths[i])) in ReadSet()
Dencoded_program.cc59 if (!buffer->ReadVarint32(&count)) in ReadVector()
67 ok = buffer->ReadVarint32(&item); in ReadVector()
94 if (!buffer->ReadVarint32(&count)) in ReadU32Delta()
103 ok = buffer->ReadVarint32(&delta); in ReadU32Delta()
135 if (!buffer->ReadVarint32(&count)) in ReadVectorU8()
369 if (!streams->stream(kStreamMisc)->ReadVarint32(&temp)) in ReadFrom()
Dstreams.h79 bool ReadVarint32(uint32* output_value);
/external/protobuf/src/google/protobuf/
Dwire_format_lite.cc126 if (!input->ReadVarint32(&length)) return false; in SkipField()
193 if (!input->ReadVarint32(&length)) return false; in ReadPackedEnumNoInline()
346 if (!input->ReadVarint32(&length)) return false; in ReadString()
353 if (!input->ReadVarint32(&length)) return false; in ReadBytes()
Dwire_format_lite_inl.h59 if (!input->ReadVarint32(&temp)) return false;
76 return input->ReadVarint32(value);
89 if (!input->ReadVarint32(&temp)) return false;
155 if (!input->ReadVarint32(&temp)) return false;
164 if (!input->ReadVarint32(&temp)) return false;
326 if (!input->ReadVarint32(&length)) return false; in ReadPackedPrimitive()
359 if (!input->ReadVarint32(&length)) return false; in ReadMessage()
388 if (!input->ReadVarint32(&length)) return false; in ReadMessageNoVirtual()
Dwire_format.cc101 if (!input->ReadVarint32(&length)) return false; in SkipField()
449 if (!input->ReadVarint32(&length)) return false; in ParseAndMergeField()
658 if (!input->ReadVarint32(&type_id)) return false; in ParseAndMergeMessageSetItem()
684 if (!input->ReadVarint32(&length)) return false; in ParseAndMergeMessageSetItem()
Dextension_set.cc728 if (!input->ReadVarint32(&size)) return false; in ParseField()
951 if (!input->ReadVarint32(&type_id)) return false; in ParseMessageSetItem()
976 if (!input->ReadVarint32(&length)) return false; in ParseMessageSetItem()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dwire_format_lite_inl.h58 if (!input->ReadVarint32(&temp)) return false;
75 return input->ReadVarint32(value);
88 if (!input->ReadVarint32(&temp)) return false;
154 if (!input->ReadVarint32(&temp)) return false;
163 if (!input->ReadVarint32(&temp)) return false;
325 if (!input->ReadVarint32(&length)) return false; in ReadPackedPrimitive()
358 if (!input->ReadVarint32(&length)) return false; in ReadMessage()
399 if (!input->ReadVarint32(&length)) return false; in ReadMessageNoVirtual()
Dwire_format_lite.cc149 if (!input->ReadVarint32(&length)) return false; in SkipField()
418 if (!input->ReadVarint32(&length)) return false; in ReadPackedEnumNoInline()
573 if (!input->ReadVarint32(&length)) return false; in ReadString()
580 if (!input->ReadVarint32(&length)) return false; in ReadBytes()
Dwire_format.cc146 if (!input->ReadVarint32(&length)) return false; in ParseAndMergeField()
352 if (!input->ReadVarint32(&type_id)) return false; in ParseAndMergeMessageSetItem()
378 if (!input->ReadVarint32(&length)) return false; in ParseAndMergeMessageSetItem()
Dextension_set_heavy.cc577 if (!input->ReadVarint32(&type_id)) return false; in ParseMessageSetItem()
602 if (!input->ReadVarint32(&length)) return false; in ParseMessageSetItem()
Dextension_set.cc894 if (!input->ReadVarint32(&size)) return false; in ParseFieldWithExtensionInfo()
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc321 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()
326 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()
633 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()
639 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()
Dcoded_stream.h229 bool ReadVarint32(uint32* value);
757 inline bool CodedInputStream::ReadVarint32(uint32* value) { in ReadVarint32() function
Dcoded_stream_unittest.cc185 TEST_2D(CodedStreamTest, ReadVarint32, kVarintCases, kBlockSizes) { in TEST_2D() argument
193 EXPECT_TRUE(coded_input.ReadVarint32(&value)); in TEST_2D()
438 EXPECT_EQ(kVarintErrorCases_case.can_parse, coded_input.ReadVarint32(&value)); in TEST_2D()
/external/protobuf/src/google/protobuf/io/
Dcoded_stream.h213 bool ReadVarint32(uint32* value);
714 inline bool CodedInputStream::ReadVarint32(uint32* value) { in ReadVarint32() function
Dcoded_stream_unittest.cc179 TEST_2D(CodedStreamTest, ReadVarint32, kVarintCases, kBlockSizes) { in TEST_2D() argument
187 EXPECT_TRUE(coded_input.ReadVarint32(&value)); in TEST_2D()
405 EXPECT_EQ(kVarintErrorCases_case.can_parse, coded_input.ReadVarint32(&value)); in TEST_2D()
/external/chromium_org/google_apis/gcm/engine/
Dconnection_handler_impl.cc333 if (!coded_input_stream.ReadVarint32(&message_size_)) in OnGotMessageSize()