Home
last modified time | relevance | path

Searched refs:write_all (Results 1 - 25 of 36) sorted by relevance

12

/third_party/rust/crates/nix/test/sys/
H A Dtest_aio.rs80 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 Dtest_termios.rs10 /// 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 Dtest_uio.rs137 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 Dtest_sendfile.rs22 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 Dtest_pty.rs25 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 Dtest_fcntl.rs39 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 Dtest_unistd.rs362 .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 Dr300_fs.h58 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 Dmain.rs56 .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 Dlib.rs185 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 Ddatafiles.py57 _, 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 Drun_bindgen.rs145 .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 Dmacros.rs3 match $buf.write_all($to_w) {
/third_party/rust/crates/bindgen/bindgen/
H A Dbuild.rs11 dst.write_all(env::var("TARGET").unwrap().as_bytes()) in main()
/third_party/rust/crates/cxx/tools/cargo/
H A Dbuild.rs71 let _ = io::stderr().write_all(message.as_bytes()); in main()
/third_party/rust/crates/clang-sys/
H A Dbuild.rs42 .write_all(string.as_bytes()) in copy()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/
H A Dbuild.rs61 test_file.write_all(test_string.as_bytes()).unwrap(); in main()
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsclone.c279 #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 Dlib.rs1030 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 Dtests.rs87 ::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 Dlib.rs63 header_file.write_all(header.to_string().as_bytes())?; in run_predicate_script()
/third_party/rust/crates/cxx/gen/cmd/src/
H A Dmain.rs116 Output::Stdout => drop(io::stdout().write_all(content)), in try_main()
/third_party/rust/crates/cxx/macro/src/
H A Dload.rs62 let decode_result = GzDecoder::new(&mut gunzipped).write_all(memmap); in load()
/third_party/rust/crates/libc/ci/ios/
H A Ddeploy_and_run_on_ios_simulator.rs32 t!(f.write_all(format!(r#" in package_as_simulator_app()
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/
H A Dserver.rs94 socket.write_all(&[0]).unwrap(); in build()

Completed in 14 milliseconds

12