Home
last modified time | relevance | path

Searched refs:WriteVarint32 (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dwire_format_lite.cc216 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
221 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
226 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
231 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
233 output->WriteVarint32(field.length_delimited().size()); in SerializeUnknownFields()
237 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
240 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
293 output->WriteVarint32(WireFormatLite::kMessageSetItemStartTag); in SerializeUnknownMessageSetItems()
296 output->WriteVarint32(WireFormatLite::kMessageSetTypeIdTag); in SerializeUnknownMessageSetItems()
297 output->WriteVarint32(field.number()); in SerializeUnknownMessageSetItems()
[all …]
Dwire_format.cc382 coded_output.WriteVarint32(length); in ParseAndMergeMessageSetItem()
461 output->WriteVarint32(data_size); in SerializeFieldWithCachedSizes()
559 output->WriteVarint32(WireFormatLite::kMessageSetItemStartTag); in SerializeMessageSetItemWithCachedSizes()
562 output->WriteVarint32(WireFormatLite::kMessageSetTypeIdTag); in SerializeMessageSetItemWithCachedSizes()
563 output->WriteVarint32(field->number()); in SerializeMessageSetItemWithCachedSizes()
566 output->WriteVarint32(WireFormatLite::kMessageSetMessageTag); in SerializeMessageSetItemWithCachedSizes()
569 output->WriteVarint32(sub_message.GetCachedSize()); in SerializeMessageSetItemWithCachedSizes()
573 output->WriteVarint32(WireFormatLite::kMessageSetItemEndTag); in SerializeMessageSetItemWithCachedSizes()
Dwire_format_lite_inl.h430 output->WriteVarint32(value); in WriteUInt32NoTag()
438 output->WriteVarint32(ZigZagEncode32(value)); in WriteSInt32NoTag()
470 output->WriteVarint32(value ? 1 : 0); in WriteBoolNoTag()
492 output->WriteVarint32( in WriteMessageNoVirtual()
Dunknown_field_set.cc269 output->WriteVarint32(data.size()); in SerializeLengthDelimitedNoTag()
Dwire_format_unittest.cc497 coded_output.WriteVarint32(message.ByteSize()); in TEST()
727 output.WriteVarint32(WireFormat::MakeTag(field)); in MakeInvalidGroup()
730 output.WriteVarint32(WireFormatLite::MakeTag( in MakeInvalidGroup()
Dextension_set_heavy.cc606 coded_output.WriteVarint32(length); in ParseMessageSetItem()
/external/chromium_org/courgette/
Dstreams_unittest.cc15 EXPECT_TRUE(sink.WriteVarint32(kValue1)); in TEST()
54 EXPECT_TRUE(out.stream(3)->WriteVarint32(kValue1)); in TEST()
93 EXPECT_TRUE(out.stream(id)->WriteVarint32(datum)); in TEST()
158 EXPECT_TRUE(subset1.stream(3)->WriteVarint32(30000)); in TEST()
159 EXPECT_TRUE(subset1.stream(5)->WriteVarint32(50000)); in TEST()
163 EXPECT_TRUE(subset2.stream(2)->WriteVarint32(20000)); in TEST()
164 EXPECT_TRUE(subset2.stream(6)->WriteVarint32(60000)); in TEST()
Dstreams.cc188 CheckBool SinkStream::WriteVarint32(uint32 value) { in WriteVarint32() function in courgette::SinkStream
201 ret = WriteVarint32(~value * 2 + 1); in WriteVarint32Signed()
203 ret = WriteVarint32(value * 2); in WriteVarint32Signed()
211 return WriteVarint32(narrowed_value); in WriteSizeVarint32()
333 bool ret = header->WriteVarint32(kStreamsSerializationFormatVersion); in CopyHeaderTo()
Densemble_create.cc272 if (!tranformation_descriptions->WriteVarint32(kind)) in GenerateEnsemblePatch()
438 if (!final_patch->WriteVarint32(CourgettePatchFile::kMagic) || in GenerateEnsemblePatch()
439 !final_patch->WriteVarint32(CourgettePatchFile::kVersion) || in GenerateEnsemblePatch()
440 !final_patch->WriteVarint32(CalculateCrc(old_region.start(), in GenerateEnsemblePatch()
442 !final_patch->WriteVarint32(CalculateCrc(new_region.start(), in GenerateEnsemblePatch()
Dstreams.h127 CheckBool WriteVarint32(uint32 value) WARN_UNUSED_RESULT;
Dencoded_program.cc84 ok = buffer->WriteVarint32(delta); in WriteU32Delta()
324 if (!streams->stream(kStreamMisc)->WriteVarint32( in WriteTo()
/external/protobuf/src/google/protobuf/
Dwire_format.cc168 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
173 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
178 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
183 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
185 output->WriteVarint32(field.length_delimited().size()); in SerializeUnknownFields()
189 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
192 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), in SerializeUnknownFields()
245 output->WriteVarint32(WireFormatLite::kMessageSetItemStartTag); in SerializeUnknownMessageSetItems()
248 output->WriteVarint32(WireFormatLite::kMessageSetTypeIdTag); in SerializeUnknownMessageSetItems()
249 output->WriteVarint32(field.number()); in SerializeUnknownMessageSetItems()
[all …]
Dwire_format_lite.cc284 output->WriteVarint32(value.size()); in WriteString()
290 output->WriteVarint32(value.size()); in WriteBytes()
308 output->WriteVarint32(size); in WriteMessage()
332 output->WriteVarint32(size); in WriteMessageMaybeToArray()
Dwire_format_lite_inl.h417 output->WriteVarint32(value); in WriteUInt32NoTag()
425 output->WriteVarint32(ZigZagEncode32(value)); in WriteSInt32NoTag()
457 output->WriteVarint32(value ? 1 : 0); in WriteBoolNoTag()
477 output->WriteVarint32(value.MessageType::GetCachedSize()); in WriteMessageNoVirtual()
Dwire_format_unittest.cc679 output.WriteVarint32(WireFormat::MakeTag(field)); in MakeInvalidGroup()
682 output.WriteVarint32(WireFormatLite::MakeTag( in MakeInvalidGroup()
/external/chromium_org/courgette/third_party/
Dbsdiff_create.cc196 ok &= stream->WriteVarint32(header->slen); in WriteHeader()
197 ok &= stream->WriteVarint32(header->scrc32); in WriteHeader()
198 ok &= stream->WriteVarint32(header->dlen); in WriteHeader()
379 if (!diff_skips->WriteVarint32(pending_diff_zeros)) in CreateBinaryPatch()
401 if (!control_stream_copy_counts->WriteVarint32(copy_count) || in CreateBinaryPatch()
402 !control_stream_extra_counts->WriteVarint32(extra_count) || in CreateBinaryPatch()
420 if (!diff_skips->WriteVarint32(pending_diff_zeros)) in CreateBinaryPatch()
/external/chromium_org/chromeos/dbus/
Dfake_cryptohome_client.cc291 attr_output.WriteVarint32(kVarLengthTag1); in InstallAttributesFinalize()
292 attr_output.WriteVarint32(it->first.size()); in InstallAttributesFinalize()
294 attr_output.WriteVarint32(kVarLengthTag2); in InstallAttributesFinalize()
295 attr_output.WriteVarint32(it->second.size()); in InstallAttributesFinalize()
302 result_output.WriteVarint32(kVarLengthTag2); in InstallAttributesFinalize()
303 result_output.WriteVarint32(attr.size()); in InstallAttributesFinalize()
/external/protobuf/src/google/protobuf/io/
Dcoded_stream.h638 void WriteVarint32(uint32 value);
903 WriteVarint32(static_cast<uint32>(value)); in WriteVarint32SignExtended()
952 WriteVarint32(value); in WriteTag()
Dcoded_stream_unittest.cc278 TEST_2D(CodedStreamTest, WriteVarint32, kVarintCases, kBlockSizes) { in TEST_2D() argument
289 coded_output.WriteVarint32(static_cast<uint32>(kVarintCases_case.value)); in TEST_2D()
Dcoded_stream.cc645 void CodedOutputStream::WriteVarint32(uint32 value) { in WriteVarint32() function in google::protobuf::io::CodedOutputStream
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream.h666 void WriteVarint32(uint32 value);
948 WriteVarint32(static_cast<uint32>(value)); in WriteVarint32SignExtended()
995 WriteVarint32(value); in WriteTag()
Dzero_copy_stream_unittest.cc303 coded_output->WriteVarint32(strlen(strA)); in TEST_F()
311 coded_output->WriteVarint32(strlen(strB)); in TEST_F()
610 coded_output->WriteVarint32(outlen); in TEST_F()
621 coded_output->WriteVarint32(outlen); in TEST_F()
Dcoded_stream_unittest.cc311 TEST_2D(CodedStreamTest, WriteVarint32, kVarintCases, kBlockSizes) { in TEST_2D() argument
322 coded_output.WriteVarint32(static_cast<uint32>(kVarintCases_case.value)); in TEST_2D()
Dcoded_stream.cc672 void CodedOutputStream::WriteVarint32(uint32 value) { in WriteVarint32() function in google::protobuf::io::CodedOutputStream
/external/chromium_org/google_apis/gcm/engine/
Dconnection_handler_impl.cc99 coded_output_stream.WriteVarint32(message.ByteSize()); in SendMessage()
120 coded_output_stream.WriteVarint32(login_request.ByteSize()); in Login()

12