Lines Matching refs:hFile1
537 RTDECL(int) RTFileCompareByHandles(RTFILE hFile1, RTFILE hFile2)
539 return RTFileCompareByHandlesEx(hFile1, hFile2, 0 /*fFlags*/, NULL, NULL);
558 RTFILE hFile1;
559 int rc = RTFileOpen(&hFile1, pszFile1,
573 rc = RTFileCompareByHandlesEx(hFile1, hFile2, fFlags, pfnProgress, pvUser);
582 int rc2 = RTFileClose(hFile1);
591 RTDECL(int) RTFileCompareByHandlesEx(RTFILE hFile1, RTFILE hFile2, uint32_t fFlags, PFNRTPROGRESS pfnProgress, void *pvUser)
596 AssertReturn(RTFileIsValid(hFile1), VERR_INVALID_HANDLE);
597 AssertReturn(RTFileIsValid(hFile1), VERR_INVALID_HANDLE);
605 int rc = RTFileGetSize(hFile1, &cbFile1);
610 rc = RTFileGetSize(hFile1, &cbFile2);
644 rc = RTFileSeek(hFile1, 0, RTFILE_SEEK_BEGIN, NULL);
664 rc = RTFileRead(hFile1, pbBuf1, cbBlock, NULL);
698 rc = rtFileCompareOSStuff(hFile1, hFile2);