/third_party/rust/crates/nix/test/sys/ |
H A D | test_aio.rs | 80 f.write_all(INITIAL).unwrap(); in error() 96 f.write_all(INITIAL).unwrap(); in ok() 144 f.write_all(INITIAL).unwrap(); in cancel() 167 f.write_all(INITIAL).unwrap(); in error() 187 f.write_all(INITIAL).unwrap(); in ok() 214 f.write_all(INITIAL).unwrap(); in on_stack() 273 f.write_all(INITIAL).unwrap(); in ok() 360 f.write_all(INITIAL).unwrap(); in ok() 390 f.write_all(INITIAL).unwrap(); in on_stack() 476 f.write_all(INITIA in ok() [all...] |
H A D | test_termios.rs | 10 /// Helper function analogous to `std::io::Write::write_all`, but for `RawFd`s 11 fn write_all(f: RawFd, buf: &[u8]) { in write_all() functions 81 write_all(pty.master, string.as_bytes()); in test_output_flags() 128 write_all(pty.master, string.as_bytes()); in test_local_flags()
|
H A D | test_uio.rs | 137 file.write_all(&file_content).unwrap(); in test_pread() 199 file.write_all(&to_write).unwrap(); in test_preadv()
|
/third_party/rust/crates/nix/test/ |
H A D | test_sendfile.rs | 22 tmp.write_all(CONTENTS).unwrap(); in test_sendfile_linux() 44 tmp.write_all(CONTENTS).unwrap(); in test_sendfile64_linux() 73 tmp.write_all(body.as_bytes()).unwrap(); in test_sendfile_freebsd() 124 tmp.write_all(body.as_bytes()).unwrap(); in test_sendfile_dragonfly() 173 tmp.write_all(body.as_bytes()).unwrap(); in test_sendfile_darwin()
|
H A D | test_pty.rs | 25 f.write_all(b"whatever").unwrap(); in test_explicit_close() 172 slave.write_all(b"hello").unwrap(); in test_read_ptty_pair() 177 slave.write_all(b"hello").unwrap(); in test_read_ptty_pair() 189 master.write_all(b"adios").unwrap(); in test_write_ptty_pair() 194 master.write_all(b"adios").unwrap(); in test_write_ptty_pair()
|
H A D | test_fcntl.rs | 39 tmp.write_all(CONTENTS).unwrap(); in test_openat() 143 old_f.write_all(b"old").unwrap(); in test_renameat2_exchange() 151 new_f.write_all(b"new").unwrap(); in test_renameat2_exchange() 261 tmp1.write_all(CONTENTS).unwrap(); in test_copy_file_range() 286 tmp.write_all(CONTENTS).unwrap(); in test_splice()
|
H A D | test_unistd.rs | 362 .write_all(format!("{:?}", r).as_bytes()); in common_test() 557 tmp.write_all(CONTENTS).unwrap(); in test_lseek() 575 tmp.write_all(CONTENTS).unwrap(); in test_lseek64() 767 tmp.write_all(CONTENTS).unwrap(); in test_truncate() 784 tmp.write_all(CONTENTS).unwrap(); in test_ftruncate()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_fs.h | 58 boolean write_all; member 95 return (fs->shader->write_all) ? TRUE : FALSE; in r300_fragment_shader_writes_all()
|
/third_party/rust/crates/linux-raw-sys/gen/src/ |
H A D | main.rs | 56 .write_all(src_lib_rs_contents.as_bytes()) in main() 59 .write_all("// The rest of this file is auto-generated!\n".as_bytes()) in main() 76 .write_all(cargo_toml_contents.as_bytes()) in main() 79 .write_all("# The rest of this file is auto-generated!\n".as_bytes()) in main()
|
/third_party/rust/crates/autocfg/src/ |
H A D | lib.rs | 185 stderr().write_all(warning).ok(); in with_dir() 230 try!(stdin.write_all(b"#![no_std]\n").map_err(error::from_io)); in probe() 232 try!(stdin.write_all(code.as_ref()).map_err(error::from_io)); in probe()
|
/third_party/python/Tools/c-analyzer/c_parser/ |
H A D | datafiles.py | 57 _, write_all = _get_format_handlers('decls', fmt) 58 write_all(decls, outfile, backup=backup)
|
/third_party/rust/crates/rust-openssl/openssl-sys/build/ |
H A D | run_bindgen.rs | 145 .write_all(INCLUDES.as_bytes()) in run_boringssl() 167 .write_all(INCLUDES.as_bytes()) in run_boringssl()
|
/third_party/rust/crates/clap/clap_complete/src/ |
H A D | macros.rs | 3 match $buf.write_all($to_w) {
|
/third_party/rust/crates/bindgen/bindgen/ |
H A D | build.rs | 11 dst.write_all(env::var("TARGET").unwrap().as_bytes()) in main()
|
/third_party/rust/crates/cxx/tools/cargo/ |
H A D | build.rs | 71 let _ = io::stderr().write_all(message.as_bytes()); in main()
|
/third_party/rust/crates/clang-sys/ |
H A D | build.rs | 42 .write_all(string.as_bytes()) in copy()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/ |
H A D | build.rs | 61 test_file.write_all(test_string.as_bytes()).unwrap(); in main()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsclone.c | 279 #define write_all(f, p, n) io_all((f), (p), (n), 1) macro 846 if (write_all(&fd_out, &cmd, sizeof(cmd)) == -1) 847 perr_exit("write_all"); 851 && (write_all(&fd_out, buff, csize) == -1)) { 904 if (write_all(&fd_out, buf, sizeof(buf)) == -1) 905 perr_exit("write_all"); 919 if (write_all(&fd_out, buff, sizeof(buff)) == -1) 920 perr_exit("write_all"); 933 || write_all(&fd_out, &image_hdr, sizeof(image_hdr)) 934 || write_all( [all...] |
/third_party/rust/crates/termcolor/src/ |
H A D | lib.rs | 1030 stream.write_all(sep)?; in print() 1031 stream.write_all(b"\n")?; in print() 1035 BufferInner::NoColor(ref b) => stream.write_all(&b.0)?, in print() 1036 BufferInner::Ansi(ref b) => stream.write_all(&b.0)?, in print() 1349 fn write_all(&mut self, buf: &[u8]) -> io::Result<()> { in write_all() functions 1350 self.0.write_all(buf) in write_all() 1407 self.write_all(s.as_bytes()) in write_str() 1468 self.write_all(&fmt[0..i+1]) in write_color() 1587 stream.write_all(&self.buf[last..pos])?; in print() 1595 stream.write_all( in print() [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | tests.rs | 87 ::std::thread::spawn(move || stdin.write_all(source.as_bytes())); in rustfmt() 154 expectation_file.write_all(actual.as_bytes())?; in error_diff_mismatch() 166 actual_result_file.write_all(actual.as_bytes())?; in error_diff_mismatch()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/quickchecking/src/ |
H A D | lib.rs | 63 header_file.write_all(header.to_string().as_bytes())?; in run_predicate_script()
|
/third_party/rust/crates/cxx/gen/cmd/src/ |
H A D | main.rs | 116 Output::Stdout => drop(io::stdout().write_all(content)), in try_main()
|
/third_party/rust/crates/cxx/macro/src/ |
H A D | load.rs | 62 let decode_result = GzDecoder::new(&mut gunzipped).write_all(memmap); in load()
|
/third_party/rust/crates/libc/ci/ios/ |
H A D | deploy_and_run_on_ios_simulator.rs | 32 t!(f.write_all(format!(r#" in package_as_simulator_app()
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/ |
H A D | server.rs | 94 socket.write_all(&[0]).unwrap(); in build()
|