Home
last modified time | relevance | path

Searched refs:into_c_str (Results 1 - 2 of 2) sorted by relevance

/third_party/rust/crates/rustix/tests/path/
H A Darg.rs19 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str().unwrap())); in test_arg()
25 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str().unwrap())); in test_arg()
31 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str().unwrap())); in test_arg()
37 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str().unwrap())); in test_arg()
43 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str().unwrap())); in test_arg()
49 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str().unwrap())); in test_arg()
55 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str().unwrap())); in test_arg()
64 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str().unwrap())); in test_arg()
70 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str().unwrap())); in test_arg()
76 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str() in test_arg()
[all...]
/third_party/rust/crates/rustix/src/path/
H A Darg.rs53 /// let path = path.into_c_str()?;
81 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> in to_string_lossy() functions
111 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> in to_string_lossy() functions
149 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> in to_string_lossy() functions
153 self.as_str().into_c_str() in to_string_lossy()
185 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> in to_string_lossy() functions
224 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> in to_string_lossy() functions
264 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> in to_string_lossy() functions
268 self.as_os_str().into_c_str() in to_string_lossy()
301 fn into_c_str<' in to_string_lossy() functions
340 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
383 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
420 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
459 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
493 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
527 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
563 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
606 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
647 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> as_cow_c_str() functions
684 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
724 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
765 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
804 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
842 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
880 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
917 fn into_c_str<'b>(self) -> io::Result<Cow<'b, CStr>> to_string_lossy() functions
[all...]

Completed in 2 milliseconds