Home
last modified time | relevance | path

Searched refs:with_nix_path (Results 1 – 13 of 13) sorted by relevance

/third_party/rust/crates/nix/src/
Dlib.rs191 fn with_nix_path<T, F>(&self, f: F) -> Result<T> in with_nix_path() method
205 fn with_nix_path<T, F>(&self, f: F) -> Result<T> in with_nix_path() method
209 OsStr::new(self).with_nix_path(f) in with_nix_path()
222 fn with_nix_path<T, F>(&self, f: F) -> Result<T> in with_nix_path() method
226 self.as_bytes().with_nix_path(f) in with_nix_path()
239 fn with_nix_path<T, F>(&self, f: F) -> Result<T> in with_nix_path() method
256 fn with_nix_path<T, F>(&self, f: F) -> Result<T> in with_nix_path() method
310 fn with_nix_path<T, F>(&self, f: F) -> Result<T> in with_nix_path() method
314 self.as_os_str().with_nix_path(f) in with_nix_path()
327 fn with_nix_path<T, F>(&self, f: F) -> Result<T> in with_nix_path() method
[all …]
Dunistd.rs481 let res = path.with_nix_path(|cstr| {
530 let res = path.with_nix_path(|cstr| {
569 let res = path.with_nix_path(|cstr| {
591 let res = path.with_nix_path(|cstr| unsafe {
613 path1.with_nix_path(|path1| {
614 path2.with_nix_path(|path2| {
718 let res = path.with_nix_path(|cstr| {
781 let res = path.with_nix_path(|cstr| unsafe {
1199 let res = path.with_nix_path(|cstr| {
1267 oldpath.with_nix_path(|oldcstr| {
[all …]
Dfcntl.rs197 let fd = path.with_nix_path(|cstr| {
213 let fd = path.with_nix_path(|cstr| {
226 let res = old_path.with_nix_path(|old_cstr| {
227 new_path.with_nix_path(|new_cstr| unsafe {
264 let res = old_path.with_nix_path(|old_cstr| {
265 new_path.with_nix_path(|new_cstr| unsafe {
289 path.with_nix_path(|cstr| unsafe {
/third_party/rust/crates/nix/src/sys/
Dstat.rs179 let res = path.with_nix_path(|cstr| unsafe { in mknod()
201 let res = path.with_nix_path(|cstr| unsafe { in mknodat()
241 let res = path.with_nix_path(|cstr| unsafe { in stat()
252 let res = path.with_nix_path(|cstr| unsafe { in lstat()
278 let res = pathname.with_nix_path(|cstr| unsafe { in fstatat()
338 let res = path.with_nix_path(|cstr| unsafe { in fchmodat()
366 let res = path.with_nix_path(|cstr| unsafe { in utimes()
398 let res = path.with_nix_path(|cstr| unsafe { in lutimes()
456 let res = path.with_nix_path(|cstr| unsafe { in utimensat()
475 let res = path.with_nix_path(|cstr| unsafe { in mkdirat()
Dquota.rs249 Some(dev) => dev.with_nix_path(|path| { in quotactl()
266 quota_file.with_nix_path(|path| { in quotactl_on()
Dinotify.rs159 let res = path.with_nix_path(|cstr| unsafe { in add_watch()
Dstatvfs.rs140 let res = path.with_nix_path(|path| { in statvfs()
Dmman.rs573 let ret = name.with_nix_path(|cstr| {
596 name.with_nix_path(|cstr| unsafe { libc::shm_unlink(cstr.as_ptr()) })?; in shm_unlink()
Dstatfs.rs732 let res = path.with_nix_path(|path| { in statfs()
/third_party/rust/crates/nix/src/mount/
Dlinux.rs78 Some(path) => path.with_nix_path(|p_str| f(p_str.as_ptr())), in mount()
84 target.with_nix_path(|t| { in mount()
104 target.with_nix_path(|cstr| unsafe { libc::umount(cstr.as_ptr()) })?; in umount()
110 let res = target.with_nix_path(|cstr| unsafe { in umount2()
Dbsd.rs240 val.with_nix_path(|s| { in push_nix_path()
448 let res = mountpoint.with_nix_path(|cstr| unsafe { in unmount()
/third_party/rust/crates/nix/src/net/
Dif_.rs12 .with_nix_path(|name| unsafe { libc::if_nametoindex(name.as_ptr()) })?; in if_nametoindex()
/third_party/rust/crates/nix/src/sys/socket/
Daddr.rs815 path.with_nix_path(|cstr| unsafe { in new()