Lines Matching defs:rc
40 static void tstVDError(void *pvUser, int rc, RT_SRC_POS_DECL,
44 RTPrintf("tstVD: Error %Rrc at %s:%u (%s): ", rc, RT_SRC_POS_ARGS);
51 int rc;
77 if (RT_FAILURE(rc)) \
79 RTPrintf("%s rc=%Rrc\n", str, rc); \
84 return rc; \
94 rc = VDInterfaceAdd(&VDIfError.Core, "tstVD_Error", VDINTERFACETYPE_ERROR,
96 AssertRC(rc);
98 rc = VDGetFormat(NULL /* pVDIfsDisk */, NULL /* pVDIfsImage */,
102 rc = VDGetFormat(NULL /* pVDIfsDisk */, NULL /* pVDIfsImage */,
106 rc = VDCreate(pVDIfs, VDTYPE_HDD, &pVD1);
109 rc = VDCreate(pVDIfs, VDTYPE_HDD, &pVD2);
112 rc = VDOpen(pVD1, pszVD1, argv[1], VD_OPEN_FLAGS_NORMAL, NULL);
115 rc = VDOpen(pVD2, pszVD2, argv[2], VD_OPEN_FLAGS_NORMAL, NULL);
135 rc = VDRead(pVD1, uOffCurr, pbBuf1, cbRead);
138 rc = VDRead(pVD2, uOffCurr, pbBuf2, cbRead);
174 rc = VDShutdown();
175 if (RT_FAILURE(rc))
177 RTPrintf("tstVDCopy: unloading backends failed! rc=%Rrc\n", rc);