Lines Matching defs:dstfd
1146 uv_file dstfd;
1157 dstfd = -1;
1179 dstfd = uv_fs_open(NULL,
1187 if (dstfd < 0) {
1188 err = dstfd;
1196 if (uv__fstat(dstfd, &dst_statsbuf)) {
1201 /* Check if srcfd and dstfd refer to the same file */
1208 if (ftruncate(dstfd, 0) != 0) {
1226 if (fchmod(dstfd, src_statsbuf.st_mode) == -1) {
1236 if (!uv__is_cifs_or_smb(dstfd))
1248 if (ioctl(dstfd, FICLONE, srcfd) == 0) {
1272 uv_fs_sendfile(NULL, &fs_req, dstfd, srcfd, in_offset, bytes_chunk, NULL);
1299 if (dstfd >= 0) {
1300 err = uv__close_nocheckstdio(dstfd);