Home
last modified time | relevance | path

Searched refs:write_u32 (Results 1 – 13 of 13) sorted by relevance

/external/rust/crates/zip/src/
Dwrite.rs621 writer.write_u32::<LittleEndian>(spec::LOCAL_FILE_HEADER_SIGNATURE)?; in write_local_file_header()
638 writer.write_u32::<LittleEndian>(file.crc32)?; in write_local_file_header()
640 writer.write_u32::<LittleEndian>(file.compressed_size as u32)?; in write_local_file_header()
642 writer.write_u32::<LittleEndian>(file.uncompressed_size as u32)?; in write_local_file_header()
662 writer.write_u32::<LittleEndian>(file.crc32)?; in update_local_file_header()
663 writer.write_u32::<LittleEndian>(file.compressed_size as u32)?; in update_local_file_header()
664 writer.write_u32::<LittleEndian>(file.uncompressed_size as u32)?; in update_local_file_header()
670 writer.write_u32::<LittleEndian>(spec::CENTRAL_DIRECTORY_HEADER_SIGNATURE)?; in write_central_directory_header()
690 writer.write_u32::<LittleEndian>(file.crc32)?; in write_central_directory_header()
692 writer.write_u32::<LittleEndian>(file.compressed_size as u32)?; in write_central_directory_header()
[all …]
Dspec.rs83 writer.write_u32::<LittleEndian>(CENTRAL_DIRECTORY_END_SIGNATURE)?; in write()
88 writer.write_u32::<LittleEndian>(self.central_directory_size)?; in write()
89 writer.write_u32::<LittleEndian>(self.central_directory_offset)?; in write()
/external/rust/crates/serde_cbor/src/
Dser.rs163 fn write_u32(&mut self, major: u8, value: u32) -> Result<()> { in write_u32() function
176 self.write_u32(major, value as u32) in write_u64()
252 self.write_u32(1, -(value + 1) as u32) in serialize_i32()
254 self.write_u32(0, value as u32) in serialize_i32()
294 self.write_u32(0, value) in serialize_u32()
/external/rust/crates/regex-automata/src/
Dstate_id.rs80 4 => E::write_u32(slice, id.to_usize() as u32), in write_state_id_bytes()
261 NativeEndian::write_u32(slice, self) in write_bytes()
/external/rust/crates/byteorder/src/
Dlib.rs423 fn write_u32(buf: &mut [u8], n: u32); in write_u32() method
811 Self::write_u32(buf, n as u32) in write_i32()
946 Self::write_u32(buf, n.to_bits()) in write_f32()
2027 fn write_u32(buf: &mut [u8], n: u32) { in write_u32() method
2103 write_slice!(src, dst, u32, 4, Self::write_u32); in write_u32_into()
2235 fn write_u32(buf: &mut [u8], n: u32) { in write_u32() method
2303 write_slice!(src, dst, u32, 4, Self::write_u32); in write_u32_into()
2569 write_u32
3100 too_small!(small_u32, 3, 0, read_u32, write_u32);
3522 write_u32
Dio.rs1259 fn write_u32<T: ByteOrder>(&mut self, n: u32) -> Result<()> { in write_u32() method
1261 T::write_u32(&mut buf, n); in write_u32()
/external/rust/crates/rustc-hash/src/
Dlib.rs122 fn write_u32(&mut self, i: u32) { in write_u32() method
/external/rust/crates/tokio/src/io/util/
Dasync_write_ext.rs463 fn write_u32(&mut self, n: u32) -> WriteU32;
/external/rust/crates/ahash/src/
Dfallback_hash.rs138 fn write_u32(&mut self, i: u32) { in write_u32() method
Daes_hash.rs126 fn write_u32(&mut self, i: u32) { in write_u32() method
/external/rust/crates/byteorder/benches/
Dbench.rs127 bench_num!(u32, MAX, read_u32, write_u32, 4, [1, 2, 3, 4]);
/external/rust/crates/serde_json/src/
Dser.rs148 .write_u32(&mut self.writer, value) in serialize_u32()
1046 .write_u32(&mut self.ser.writer, value) in serialize_u32()
1692 fn write_u32<W>(&mut self, writer: &mut W, value: u32) -> io::Result<()> in write_u32() method
/external/rust/crates/tokio/tests/
Dasync_send_sync.rs353 async_assert_fn!(tokio::io::AsyncWriteExt::write_u32(&mut BoxAsyncWrite, u32): !Unpin);