Searched refs:write_all (Results 1 – 8 of 8) sorted by relevance
34 f.write_all(b"// Generated by build.rs\n\n").unwrap(); in gen_mod_rs()38 f.write_all(format!("pub mod {}; \n", stem.to_str().unwrap()).as_bytes()).unwrap(); in gen_mod_rs()40 f.write_all(format!("pub mod {}_grpc;\n", stem.to_str().unwrap()).as_bytes()).unwrap(); in gen_mod_rs()
79 ssize_t write_all(int fd, void* buf, size_t len) { in write_all() function125 if (write_all(to, buf, max) <= 0) { in not_splice()252 if (write_all(control_fd, &msg, sizeof(msg)) < 0) { in simple_daemon()
70 zip.write_all(&*buffer)?; in pack_report()
283 if file.write_all(&buffer).await.is_err() { in log()307 file.write_all(b"btsnoop\x00\x00\x00\x00\x01\x00\x00\x03\xea") in open_next_file()
160 writer.write_all(&data[..]).await?; in write_with_type()
19 file.write_all(gen.to_string().as_bytes()).unwrap(); in debug_output_to_file()
280 .write_all(TEST_DATA) in test_parcel_file_descriptor()316 .write_all(b"First") in test_parcel_file_descriptor_array()322 .write_all(b"Second") in test_parcel_file_descriptor_array()326 .write_all(b"Third") in test_parcel_file_descriptor_array()