Searched defs:cbTestBuf (Results 1 - 1 of 1) sorted by relevance
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTFileAio.cpp | 55 size_t cbTestBuf, size_t cbTestFile, uint32_t cMaxReqsInFlight) 70 RTTESTI_CHECK_RC_OK_RETV(RTTestGuardedAlloc(g_hTest, cbTestBuf, PAGE_SIZE, true /*fHead*/, &papvBuf[i])); 72 memcpy(papvBuf[i], pvTestBuf, cbTestBuf); 74 memcpy(papvBuf[i], pvTestBuf, cbTestBuf); 76 RT_BZERO(papvBuf[i], cbTestBuf); 104 size_t cbTransfer = cbLeft < cbTestBuf ? cbLeft : cbTestBuf; 146 RTTESTI_CHECK_MSG(cbTransfered == cbTestBuf, ("cbTransfered=%zd\n", cbTransfered)); 147 RTTESTI_CHECK_RC_OK(rc = (memcmp(pvBuf, pvTestBuf, cbTestBuf) == 0 ? VINF_SUCCESS : VERR_BAD_EXE_FORMAT)); 150 memset(pvBuf, 0, cbTestBuf); 54 tstFileAioTestReadWriteBasic(RTFILE File, bool fWrite, void *pvTestBuf, size_t cbTestBuf, size_t cbTestFile, uint32_t cMaxReqsInFlight) argument [all...] |
Completed in 84 milliseconds