Home
last modified time | relevance | path

Searched refs:as_path (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/rustix/src/path/
Darg.rs363 PathBuf::as_path(self) in as_str()
371 self.as_path().to_string_lossy() in to_string_lossy()
377 CString::new(PathBuf::as_path(self).as_os_str().as_bytes()) in as_cow_c_str()
387 self.as_path().into_c_str() in into_c_str()
707 self.as_path().to_str().ok_or(io::Errno::INVAL) in as_str()
712 self.as_path().to_string_lossy() in to_string_lossy()
718 CString::new(self.as_path().as_os_str().as_bytes()) in as_cow_c_str()
729 CString::new(self.as_path().as_os_str().as_bytes()) in into_c_str()
740 with_c_str(self.as_path().as_os_str().as_bytes(), f) in into_with_c_str()
748 self.as_path().to_str().ok_or(io::Errno::INVAL) in as_str()
[all …]
/third_party/rust/crates/which-rs/src/
Dlib.rs453 pub fn as_path(&self) -> &path::Path { in as_path() method
454 self.inner.as_path() in as_path()
479 self.as_path() in as_ref()
585 pub fn as_path(&self) -> &path::Path { in as_path() method
586 self.inner.as_path() in as_path()
611 self.as_path() in as_ref()
/third_party/skia/src/c/
Dsk_surface.cpp101 static SkPath* as_path(sk_path_t* cpath) { in as_path() function
236 void sk_path_delete(sk_path_t* cpath) { delete as_path(cpath); } in sk_path_delete()
/third_party/rust/crates/nix/test/
Dtest_unistd.rs95 unlink(path.as_path()).unwrap(); in test_mkstemp()
485 mkdir(inner_tmp_dir.as_path(), Mode::S_IRWXU) in test_getcwd()
488 chdir(inner_tmp_dir.as_path()).expect("assertion failed"); in test_getcwd()
489 assert_eq!(getcwd().unwrap(), inner_tmp_dir.as_path()); in test_getcwd()
Dtest_fcntl.rs219 fs::symlink(src.as_path(), dst.as_path()).unwrap(); in test_readlink()
/third_party/skia/modules/svg/src/
DSkSVGText.cpp608 const SkSVGTextContext::ShapedTextCallback as_path = in onAsPath() local
641 SkSVGTextContext tctx(ctx, as_path); in onAsPath()
/third_party/rust/crates/cxx/book/src/build/
Dcargo.md189 let python_include_paths = python3.include_paths.iter().map(PathBuf::as_path);
/third_party/rust/crates/serde/serde/src/ser/
Dimpls.rs842 self.as_path().serialize(serializer) in serialize()