Lines Matching refs:FromHandle
427 static std::error_code rename_internal(HANDLE FromHandle, const Twine &To,
443 if (!SetFileInformationByHandle(FromHandle, FileRenameInfo, &RenameInfo,
454 static std::error_code rename_handle(HANDLE FromHandle, const Twine &To) {
463 auto EC = rename_internal(FromHandle, To, true);
470 if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom))
550 HANDLE FromHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FromFD));
551 return rename_handle(FromHandle, To);
560 ScopedFileHandle FromHandle;
565 FromHandle =
569 if (FromHandle)
577 if (!FromHandle)
580 return rename_handle(FromHandle, To);