/external/rust/crates/byteorder/src/ |
D | io.rs | 1099 self.write_all(&[n]) in write_u8() 1127 self.write_all(&[n as u8]) in write_i8() 1154 self.write_all(&buf) in write_u16() 1181 self.write_all(&buf) in write_i16() 1208 self.write_all(&buf) in write_u24() 1235 self.write_all(&buf) in write_i24() 1262 self.write_all(&buf) in write_u32() 1289 self.write_all(&buf) in write_i32() 1316 self.write_all(&buf) in write_u48() 1343 self.write_all(&buf) in write_i48() [all …]
|
/external/rust/crates/serde_cbor/src/ |
D | write.rs | 26 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error>; in write_all() method 46 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error>; in write_all() method 60 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() function 61 (*self).write_all(buf) in write_all() 87 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() method 88 self.0.write_all(buf) in write_all() 99 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() method 126 self.0.write_all(s.as_bytes()).map_err(|_| fmt::Error) in write_str() 162 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() method
|
D | ser.rs | 131 self.writer.write_all(&buf).map_err(|e| e.into()) in self_describe() 143 self.writer.write_all(&[major << 5 | value]) in write_u8() 146 self.writer.write_all(&buf) in write_u8() 158 self.writer.write_all(&buf).map_err(|e| e.into()) in write_u16() 169 self.writer.write_all(&buf).map_err(|e| e.into()) in write_u32() 180 self.writer.write_all(&buf).map_err(|e| e.into()) in write_u64() 197 .write_all(&[major << 5 | 31]) in serialize_collection() 228 self.writer.write_all(&[value]).map_err(|e| e.into()) in serialize_bool() 315 self.writer.write_all(&[0xf9, 0x7c, 0x00]) in serialize_f32() 317 self.writer.write_all(&[0xf9, 0xfc, 0x00]) in serialize_f32() [all …]
|
/external/rust/crates/flate2/src/deflate/ |
D | mod.rs | 22 w.write_all(to_write).unwrap(); in roundtrip() 35 .write_all(b"foo") in drop_writes() 51 w.write_all(to_write).unwrap(); in total_in() 85 w.write_all(&v).unwrap(); in roundtrip3() 94 w.write_all(&v).unwrap(); in reset_writer() 96 w.write_all(&v).unwrap(); in reset_writer() 100 w.write_all(&v).unwrap(); in reset_writer() 123 w.write_all(&v).unwrap(); in reset_decoder() 140 w.write_all(&data).unwrap(); in reset_decoder() 142 w.write_all(&data).unwrap(); in reset_decoder() [all …]
|
/external/rust/crates/flate2/src/zlib/ |
D | mod.rs | 23 w.write_all(to_write).unwrap(); in roundtrip() 36 .write_all(b"foo") in drop_writes() 52 w.write_all(to_write).unwrap(); in total_in() 83 w.write_all(&v).unwrap(); in roundtrip3() 92 w.write_all(&v).unwrap(); in reset_decoder() 109 w.write_all(&data).unwrap(); in reset_decoder() 111 w.write_all(&data).unwrap(); in reset_decoder() 115 w.write_all(&data).unwrap(); in reset_decoder() 127 match w.write_all(&data[..]) { in bad_input() 155 w.write_all(&v).unwrap(); in qc_writer()
|
/external/rust/crates/tokio-test/tests/ |
D | io.rs | 49 mock.write_all(b"hello ").await.expect("write 1"); in write() 50 mock.write_all(b"world!").await.expect("write 2"); in write() 61 mock.write_all(b"hello ").await.expect("write 1"); in write_error() 63 match mock.write_all(b"whoa").await { in write_error() 71 mock.write_all(b"world!").await.expect("write 2"); in write_error()
|
/external/rust/crates/tokio/tests/ |
D | io_mem_stream.rs | 12 a.write_all(b"ping").await.unwrap(); in ping_pong() 16 b.write_all(b"pong").await.unwrap(); in ping_pong() 26 a.write_all(b"ping").await.unwrap(); in across_tasks() 36 b.write_all(b"pong").await.unwrap(); in across_tasks() 48 a.write_all(b"ping").await.unwrap(); in disconnect()
|
D | fs_file.rs | 16 tempfile.write_all(HELLO).unwrap(); in basic_read() 33 file.write_all(HELLO).await.unwrap(); in basic_write() 46 file.write_all(HELLO).await.unwrap(); in basic_write_and_shutdown() 56 tempfile.write_all(HELLO).unwrap(); in coop()
|
/external/rust/crates/serde_json/src/io/ |
D | core.rs | 31 fn write_all(&mut self, buf: &[u8]) -> Result<()> { in write_all() method 50 fn write_all(&mut self, buf: &[u8]) -> Result<()> { in write_all() method 51 (*self).write_all(buf) in write_all() 68 fn write_all(&mut self, buf: &[u8]) -> Result<()> { in write_all() method
|
/external/rust/crates/nix/test/sys/ |
D | test_aio.rs | 103 f.write_all(INITIAL).unwrap(); in test_fsync() 126 f.write_all(INITIAL).unwrap(); in test_fsync_error() 150 f.write_all(INITIAL).unwrap(); in test_aio_suspend() 196 f.write_all(INITIAL).unwrap(); in test_read() 224 f.write_all(INITIAL).unwrap(); in test_read_error() 242 f.write_all(INITIAL).unwrap(); in test_read_into_mut_slice() 268 f.write_all(INITIAL).unwrap(); in test_read_into_pointer() 319 f.write_all(INITIAL).unwrap(); in test_write() 349 f.write_all(INITIAL).unwrap(); in test_write_bytes() 376 f.write_all(INITIAL).unwrap(); in test_read_bytes_mut_small() [all …]
|
/external/rust/crates/serde_json/src/ |
D | ser.rs | 1607 writer.write_all(b"null") in write_null() 1621 writer.write_all(s) in write_bool() 1632 writer.write_all(s.as_bytes()) in write_i8() 1643 writer.write_all(s.as_bytes()) in write_i16() 1654 writer.write_all(s.as_bytes()) in write_i32() 1665 writer.write_all(s.as_bytes()) in write_i64() 1676 writer.write_all(s.as_bytes()) in write_u8() 1687 writer.write_all(s.as_bytes()) in write_u16() 1698 writer.write_all(s.as_bytes()) in write_u32() 1709 writer.write_all(s.as_bytes()) in write_u64() [all …]
|
/external/rust/crates/gdbstub/src/connection/impls/ |
D | tcpstream.rs | 42 Write::write_all(self, &[byte]) in write() 45 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() method 48 Write::write_all(self, buf) in write_all()
|
D | unixstream.rs | 86 Write::write_all(self, &[byte]) in write() 89 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() method 92 Write::write_all(self, buf) in write_all()
|
D | boxed.rs | 20 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() method 21 (**self).write_all(buf) in write_all()
|
D | mod.rs | 30 fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { in write_all() method 31 (**self).write_all(buf) in write_all()
|
/external/rust/crates/tokio/src/io/util/ |
D | async_write_ext.rs | 4 use crate::io::util::write_all::{write_all, WriteAll}; 269 fn write_all<'a>(&'a mut self, src: &'a [u8]) -> WriteAll<'a, Self> 273 write_all(self, src)
|
/external/rust/crates/quiche/examples/ |
D | qpack-encode.rs | 69 .write_all(&stream_id.to_be_bytes()) in main() 72 .write_all(&(len as u32).to_be_bytes()) in main() 74 std::io::stdout().write_all(&out[..len]).unwrap(); in main()
|
/external/rust/crates/clap/src/app/ |
D | help.rs | 229 self.writer.write_all(b"\n")?; in write_args_unsorted() 267 self.writer.write_all(b"\n")?; in write_args() 629 self.writer.write_all(b"\n\n")?; in write_all_args() 639 self.writer.write_all(b"\n\n")?; in write_all_args() 648 self.writer.write_all(b"\n\n")?; in write_all_args() 680 self.writer.write_all(b"\n")?; in write_subcommands() 723 self.writer.write_all(b"\n\n")?; in write_default_help() 735 self.writer.write_all(b" ")?; in write_default_help() 737 self.writer.write_all(b"\n")?; in write_default_help() 777 self.writer.write_all(b"\n\n")?; in write_default_help() [all …]
|
/external/rust/crates/futures/tests/ |
D | io_buf_writer.rs | 126 block_on(w.write_all(&[0, 1, 2, 3, 4, 5])).unwrap(); in buf_writer_seek() 127 block_on(w.write_all(&[6, 7])).unwrap(); in buf_writer_seek() 131 block_on(w.write_all(&[8, 9])).unwrap(); in buf_writer_seek() 260 run(w.write_all(&[0, 1, 2, 3, 4, 5])).unwrap(); in maybe_pending_buf_writer_seek() 261 run(w.write_all(&[6, 7])).unwrap(); in maybe_pending_buf_writer_seek() 265 run(w.write_all(&[8, 9])).unwrap(); in maybe_pending_buf_writer_seek()
|
/external/mesa3d/src/util/ |
D | disk_cache_os.c | 52 write_all(int fd, const void *buf, size_t count); 74 ssize_t written = write_all(dest, out, ret); in deflate_and_write_to_disk() 122 ssize_t written = write_all(dest, out, have); in deflate_and_write_to_disk() 446 write_all(int fd, const void *buf, size_t count) in write_all() function 724 int ret = write_all(fd, dc_job->cache->driver_keys_blob, in disk_cache_write_item_to_disk() 735 ret = write_all(fd, &dc_job->cache_item_metadata.type, in disk_cache_write_item_to_disk() 743 ret = write_all(fd, &dc_job->cache_item_metadata.num_keys, in disk_cache_write_item_to_disk() 750 ret = write_all(fd, dc_job->cache_item_metadata.keys[0], in disk_cache_write_item_to_disk() 760 ret = write_all(fd, cf_data, cf_data_size); in disk_cache_write_item_to_disk()
|
/external/adhd/sof_sys/generator/src/ |
D | main.rs | 37 .write_all(header) in main() 40 .write_all(bindings.to_string().as_bytes()) in main()
|
/external/rust/crates/bstr/examples/ |
D | graphemes.rs | 19 stdout.write_all(line[..end].trim_end())?; in main() 20 stdout.write_all(b"\n")?; in main()
|
D | graphemes-std.rs | 22 stdout.write_all(line[..end].trim_right().as_bytes())?; in main() 23 stdout.write_all(b"\n")?; in main()
|
/external/rust/crates/flate2/examples/ |
D | zlibdecoder-write.rs | 12 e.write_all(b"Hello World").unwrap(); in main() 22 z.write_all(&bytes[..])?; in decode_reader()
|
D | gzdecoder-write.rs | 11 e.write_all(b"Hello World").unwrap(); in main() 21 decoder.write_all(&bytes[..])?; in decode_writer()
|