Lines Matching refs:dstfd
1268 uv_file dstfd; in uv__fs_copyfile() local
1279 dstfd = -1; in uv__fs_copyfile()
1301 dstfd = uv_fs_open(NULL, in uv__fs_copyfile()
1309 if (dstfd < 0) { in uv__fs_copyfile()
1310 err = dstfd; in uv__fs_copyfile()
1318 if (fstat(dstfd, &dst_statsbuf)) { in uv__fs_copyfile()
1330 if (ftruncate(dstfd, 0) != 0) { in uv__fs_copyfile()
1336 if (fchmod(dstfd, src_statsbuf.st_mode) == -1) { in uv__fs_copyfile()
1346 if (!uv__is_cifs_or_smb(dstfd)) in uv__fs_copyfile()
1358 if (ioctl(dstfd, FICLONE, srcfd) == 0) { in uv__fs_copyfile()
1382 uv_fs_sendfile(NULL, &fs_req, dstfd, srcfd, in_offset, bytes_chunk, NULL); in uv__fs_copyfile()
1409 if (dstfd >= 0) { in uv__fs_copyfile()
1410 err = uv__close_nocheckstdio(dstfd); in uv__fs_copyfile()