Lines Matching refs:dstfd
1244 uv_file dstfd; in uv__fs_copyfile() local
1256 dstfd = -1; in uv__fs_copyfile()
1278 dstfd = uv_fs_open(NULL, in uv__fs_copyfile()
1286 if (dstfd < 0) { in uv__fs_copyfile()
1287 err = dstfd; in uv__fs_copyfile()
1295 if (uv__fstat(dstfd, &dst_statsbuf)) { in uv__fs_copyfile()
1307 if (ftruncate(dstfd, 0) != 0) { in uv__fs_copyfile()
1341 if (futimens(dstfd, times) == -1) { in uv__fs_copyfile()
1352 result = fchown(dstfd, src_statsbuf.st_uid, src_statsbuf.st_gid); in uv__fs_copyfile()
1354 if (fchmod(dstfd, src_statsbuf.st_mode) == -1) { in uv__fs_copyfile()
1364 if (!uv__is_cifs_or_smb(dstfd)) in uv__fs_copyfile()
1376 if (ioctl(dstfd, FICLONE, srcfd) == 0) { in uv__fs_copyfile()
1400 uv_fs_sendfile(NULL, &fs_req, dstfd, srcfd, in_offset, bytes_chunk, NULL); in uv__fs_copyfile()
1427 if (dstfd >= 0) { in uv__fs_copyfile()
1428 err = uv__close_nocheckstdio(dstfd); in uv__fs_copyfile()