Lines Matching refs:res
179 let res = path.with_nix_path(|cstr| unsafe {
183 Errno::result(res).map(drop)
201 let res = path.with_nix_path(|cstr| unsafe {
210 Errno::result(res).map(drop)
241 let res = path.with_nix_path(|cstr| unsafe {
245 Errno::result(res)?;
252 let res = path.with_nix_path(|cstr| unsafe {
256 Errno::result(res)?;
263 let res = unsafe { libc::fstat(fd, dst.as_mut_ptr()) };
265 Errno::result(res)?;
278 let res = pathname.with_nix_path(|cstr| unsafe {
287 Errno::result(res)?;
298 let res = unsafe { libc::fchmod(fd, mode.bits() as mode_t) };
300 Errno::result(res).map(drop)
338 let res = path.with_nix_path(|cstr| unsafe {
347 Errno::result(res).map(drop)
366 let res = path.with_nix_path(|cstr| unsafe {
370 Errno::result(res).map(drop)
398 let res = path.with_nix_path(|cstr| unsafe {
402 Errno::result(res).map(drop)
413 let res = unsafe { libc::futimens(fd, ×[0]) };
415 Errno::result(res).map(drop)
456 let res = path.with_nix_path(|cstr| unsafe {
465 Errno::result(res).map(drop)
475 let res = path.with_nix_path(|cstr| unsafe {
479 Errno::result(res).map(drop)