Home
last modified time | relevance | path

Searched refs:write_raw_varint32 (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/protobuf/src/
Dcoded_output_stream.rs221 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() method
299 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()
Ddescriptor.rs112 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 …]
Dplugin.rs528 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()
Dmessage.rs76 os.write_raw_varint32(size)?; in write_length_delimited_to()
Dtypes.rs680 os.write_raw_varint32(value.get_cached_size())?; in write_with_cached_size()
Drt.rs879 os.write_raw_varint32(entry_len)?; in write_map_with_cached_sizes()
/external/rust/crates/protobuf/benches/
Dcoded_input_stream.rs69 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()
/external/rust/crates/protobuf/src/well_known_types/
Dtype_pb.rs286 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()
Dapi.rs325 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()
Dstruct_pb.rs549 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()