Lines Matching refs:infd
375 per->infd = -1; in pre_transfer()
382 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY); in pre_transfer()
385 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY, in pre_transfer()
389 if(per->infd == -1) in pre_transfer()
391 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY); in pre_transfer()
392 if((per->infd == -1) || fstat(per->infd, &fileinfo)) in pre_transfer()
396 if(per->infd != -1) { in pre_transfer()
397 close(per->infd); in pre_transfer()
398 per->infd = STDIN_FILENO; in pre_transfer()
470 close(per->infd); in post_per_transfer()
2095 per->infd = STDIN_FILENO; in single_transfer()
2270 DEBUGASSERT(per->infd == STDIN_FILENO); in single_transfer()
2274 if(curlx_nonblock((curl_socket_t)per->infd, TRUE) < 0) in single_transfer()
2276 "fcntl failed on fd=%d: %s", per->infd, strerror(errno)); in single_transfer()