Searched refs:as_path (Results 1 – 8 of 8) sorted by relevance
363 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 …]
453 pub fn as_path(&self) -> &path::Path { in as_path() method454 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() method586 self.inner.as_path() in as_path()611 self.as_path() in as_ref()
101 static SkPath* as_path(sk_path_t* cpath) { in as_path() function236 void sk_path_delete(sk_path_t* cpath) { delete as_path(cpath); } in sk_path_delete()
95 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()
219 fs::symlink(src.as_path(), dst.as_path()).unwrap(); in test_readlink()
608 const SkSVGTextContext::ShapedTextCallback as_path = in onAsPath() local641 SkSVGTextContext tctx(ctx, as_path); in onAsPath()
189 let python_include_paths = python3.include_paths.iter().map(PathBuf::as_path);
842 self.as_path().serialize(serializer) in serialize()