Searched refs:write_raw_varint32 (Results 1 – 10 of 10) sorted by relevance
221 self.write_raw_varint32(wire_format::Tag::make(field_number, wire_type).value()) in write_tag()225 pub fn write_raw_varint32(&mut self, value: u32) -> ProtobufResult<()> { in write_raw_varint32() method299 self.write_raw_varint32(value) in write_uint32_no_tag()344 self.write_raw_varint32(if value { 1 } else { 0 }) in write_bool_no_tag()485 self.write_raw_varint32(bytes.len() as u32)?; in write_bytes_no_tag()616 test_write("96 01", |os| os.write_raw_varint32(150)); in test_output_stream_write_raw_varint32()617 test_write("ff ff ff ff 0f", |os| os.write_raw_varint32(0xffffffff)); in test_output_stream_write_raw_varint32()
112 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()727 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()732 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()737 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()742 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()747 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()752 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()1342 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()1347 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()1352 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()[all …]
528 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()533 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()799 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()1126 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()
76 os.write_raw_varint32(size)?; in write_length_delimited_to()
680 os.write_raw_varint32(value.get_cached_size())?; in write_with_cached_size()
879 os.write_raw_varint32(entry_len)?; in write_map_with_cached_sizes()
69 v.write_raw_varint32((i * 7919) % (1 << 14)).expect("write"); in read_varint_12()91 v.write_raw_varint32((i * 7919) % (1 << 7)).expect("write"); in read_varint_1()
286 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()294 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()299 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()776 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()1306 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()1311 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()1316 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()1577 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()1802 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()
325 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()330 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()338 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()343 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()739 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()
549 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()554 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()755 os.write_raw_varint32(v.get_cached_size())?; in write_to_with_cached_sizes()