Lines Matching full:cstr
45 let res = path.with_nix_path(|cstr| { in mknod()
47 libc::mknod(cstr.as_ptr(), kind.bits | perm.bits() as mode_t, dev) in mknod()
81 let res = path.with_nix_path(|cstr| { in stat()
83 libc::stat(cstr.as_ptr(), dst.as_mut_ptr()) in stat()
94 let res = path.with_nix_path(|cstr| { in lstat()
96 libc::lstat(cstr.as_ptr(), dst.as_mut_ptr()) in lstat()
117 let res = pathname.with_nix_path(|cstr| { in fstatat()
118 unsafe { libc::fstatat(dirfd, cstr.as_ptr(), dst.as_mut_ptr(), f.bits() as libc::c_int) } in fstatat()
172 let res = path.with_nix_path(|cstr| unsafe { in fchmodat()
175 cstr.as_ptr(), in fchmodat()
196 let res = path.with_nix_path(|cstr| unsafe { in utimes()
197 libc::utimes(cstr.as_ptr(), ×[0]) in utimes()
221 let res = path.with_nix_path(|cstr| unsafe { in lutimes()
222 libc::lutimes(cstr.as_ptr(), ×[0]) in lutimes()
278 let res = path.with_nix_path(|cstr| unsafe { in utimensat()
281 cstr.as_ptr(), in utimensat()
292 let res = path.with_nix_path(|cstr| { in mkdirat()
293 unsafe { libc::mkdirat(fd, cstr.as_ptr(), mode.bits() as mode_t) } in mkdirat()