Home
last modified time | relevance | path

Searched refs:as_cow_c_str (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/rustix/tests/path/
H A Darg.rs18 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str().unwrap())); in test_arg()
24 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str().unwrap())); in test_arg()
30 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str().unwrap())); in test_arg()
36 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str().unwrap())); in test_arg()
42 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str().unwrap())); in test_arg()
48 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str().unwrap())); in test_arg()
54 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str().unwrap())); in test_arg()
62 Borrow::borrow(&Arg::as_cow_c_str(&t).unwrap()) in test_arg()
69 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str().unwrap())); in test_arg()
75 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str() in test_arg()
[all...]
/third_party/rust/crates/rustix/src/path/
H A Darg.rs77 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>>; in to_string_lossy() functions
104 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in to_string_lossy() functions
142 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in to_string_lossy() functions
178 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in to_string_lossy() functions
217 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in to_string_lossy() functions
256 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in to_string_lossy() functions
294 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in to_string_lossy() functions
333 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in to_string_lossy() functions
375 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in to_string_lossy() functions
413 fn as_cow_c_str( in to_string_lossy() functions
454 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { to_string_lossy() functions
488 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { to_string_lossy() functions
522 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { to_string_lossy() functions
556 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { to_string_lossy() functions
599 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { to_string_lossy() functions
642 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { as_cow_c_str() functions
677 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { to_string_lossy() functions
716 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { to_string_lossy() functions
757 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { to_string_lossy() functions
797 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { to_string_lossy() functions
835 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { to_string_lossy() functions
873 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { to_string_lossy() functions
912 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { to_string_lossy() functions
[all...]
/third_party/rust/crates/rustix/tests/fs/
H A Dopenat2.rs13 let path = path.as_cow_c_str().unwrap().into_owned(); in openat2_more()

Completed in 2 milliseconds