Searched refs:rc2 (Results 1 - 25 of 271) sorted by relevance

1234567891011

/vbox/src/VBox/Runtime/testcase/
H A DtstRTNetIPv4.cpp44 int rc2 = RTNetStrToIPv4Addr(String, &Addr); \
45 if ((rcExpected) && !rc2) \
48 __LINE__, String, (rcExpected), rc2); \
50 else if ( (rcExpected) != rc2 \
51 || ( rc2 == VINF_SUCCESS \
56 __LINE__, String, rcExpected, rc2, \
74 int rc2 = RTNetStrToIPv4AddrEx(strAll, &Addr, &pNext); \
75 if ((rcExpected) && !rc2) \
78 __LINE__, String, (rcExpected), rc2); \
80 else if ((rcExpected) != rc2 \
[all...]
H A DtstRTCidr.cpp44 int rc2 = RTCidrStrToIPv4(String, &Network, &NetMask); \
45 if ((rcExpected) && !rc2) \
48 __LINE__, String, (rcExpected), rc2); \
50 else if ( (rcExpected) != rc2 \
51 || ( rc2 == VINF_SUCCESS \
56 __LINE__, String, rcExpected, rc2, (ExpectedNetwork), Network.u, (ExpectedNetMask), NetMask.u); \
H A DtstThread-1.cpp79 int rc2; local
80 int rc = RTThreadWait(ahThreads[i], RT_INDEFINITE_WAIT, &rc2);
86 else if (RT_FAILURE(rc2))
88 RTPrintf("tstThread-1: FAILURE(%d) - %d/%d Thread failed, rc2=%Rrc\n", __LINE__, j, i, rc2);
H A DtstRTProcWait.cpp72 int rc2; local
73 rc = RTThreadWait(Thread, RT_INDEFINITE_WAIT, &rc2);
75 rc = rc2;
H A DtstRTNetIPv6.cpp50 int rc2 = RTNetStrToIPv6Addr(String, &Addr, &pszZone); \
51 if ((rcExpected) && !rc2) \
54 __LINE__, String, (rcExpected), rc2); \
56 else if ( (rcExpected) != rc2 \
57 || ( rc2 == VINF_SUCCESS \
62 __LINE__, String, rcExpected, rc2, \
/vbox/src/VBox/Runtime/generic/
H A DRTTimerCreate-generic.cpp46 int rc2 = RTTimerDestroy(*ppTimer); AssertRC(rc2); local
H A DRTTimerLRCreate-generic.cpp46 int rc2 = RTTimerLRDestroy(*phTimerLR); AssertRC(rc2); local
H A DRTFileMove-generic.cpp85 int rc2 = RTFileDelete(pszDelete); local
86 if (RT_SUCCESS(rc2))
102 int rc2 = RTFileDelete(pszDelete); local
103 if (RT_FAILURE(rc2))
104 Log(("RTFileMove('%s', '%s', %#x): failed to delete '%s', rc2=%Rrc (rc=%Rrc)\n",
105 pszSrc, pszDst, fMove, pszDelete, rc2, rc));
H A DRTDirCreateUniqueNumbered-generic.cpp85 ssize_t rc2 = RTStrFormatU32(pszEnd, cbLeft, i, 10, cchDigits, 0, RTSTR_F_WIDTH | RTSTR_F_ZEROPAD); local
86 if (RT_FAILURE((int) rc2))
89 return (int)rc2;
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServiceControl.cpp232 int rc2 = VbglR3GetSessionId(&idNewSession); local
233 if ( RT_SUCCESS(rc2)
241 rc2 = GstCntlSessionClose(&g_Session);
242 AssertRC(rc2);
246 rc2 = VbglR3GuestCtrlConnect(&g_uControlSvcClientID);
247 if (RT_SUCCESS(rc2))
280 int rc2 = VbglR3GetSessionId(&idNewSession); local
281 if ( RT_SUCCESS(rc2)
289 rc2 = GstCntlSessionClose(&g_Session);
290 AssertRC(rc2);
390 int rc2 = VbglR3GuestCtrlSessionNotify(pHostCtx, local
478 int rc2 = GstCntlSessionThreadDestroyAll(&g_lstControlSessionThreads, local
[all...]
H A DVBoxServiceControlSession.cpp183 int rc2 = VbglR3GuestCtrlMsgReply(pHostCtx, rc); local
184 if (RT_FAILURE(rc2))
186 szDir, rc2);
188 rc = rc2;
287 int rc2 = VbglR3GuestCtrlFileCbOpen(pHostCtx, rc, uHandle); local
288 if (RT_FAILURE(rc2))
290 szFile, rc2);
292 rc = rc2;
324 int rc2 = VbglR3GuestCtrlFileCbClose(pHostCtx, rc); local
325 if (RT_FAILURE(rc2))
378 int rc2 = VbglR3GuestCtrlFileCbRead(pHostCtx, rc, pvDataRead, (uint32_t)cbRead); local
438 int rc2 = VbglR3GuestCtrlFileCbRead(pHostCtx, rc, pvDataRead, (uint32_t)cbRead); local
490 int rc2 = VbglR3GuestCtrlFileCbWrite(pHostCtx, rc, (uint32_t)cbWritten); local
539 int rc2 = VbglR3GuestCtrlFileCbWrite(pHostCtx, rc, (uint32_t)cbWritten); local
609 int rc2 = VbglR3GuestCtrlFileCbSeek(pHostCtx, rc, uOffsetActual); local
651 int rc2 = VbglR3GuestCtrlFileCbTell(pHostCtx, rc, uOffsetActual); local
704 int rc2 = VbglR3GuestCtrlMsgReply(pHostCtx, rc); local
817 int rc2 = VbglR3GuestCtrlProcCbStatus(pHostCtx, 0 /* PID, invalid */, local
1184 int rc2 = RTThreadUserSignal(RTThreadSelf()); local
1389 int rc2 = VbglR3GuestCtrlSessionNotify(&ctx, local
1551 int rc2 = RTCritSectLeave(&pSession->CritSect); local
1600 int rc2 = gstcntlSessionFileDestroy(pFile); local
1619 int rc2 = RTCritSectLeave(&pSession->CritSect); local
1680 int rc2 = RTCritSectLeave(&pSession->CritSect); local
1711 int rc2 = RTCritSectLeave(&pSession->CritSect); local
1763 int rc2 = RTCritSectLeave(&pSession->CritSect); local
1902 int rc2 = VINF_SUCCESS; local
2254 int rc2 = GstCntlSessionThreadDestroy(pSessionThread, uFlags); local
[all...]
H A DVBoxServiceControlProcess.cpp270 int rc2 = gstcntlProcessUnlock(pProcess); local
271 AssertRC(rc2);
376 int rc2 = RTPollSetRemove(pProcess->hPollSet, idPollHnd); local
377 AssertMsg(RT_SUCCESS(rc2) || rc2 == VERR_POLL_HANDLE_ID_NOT_FOUND, ("%Rrc\n", rc2)); local
385 rc2 = RTPipeQueryReadable(*phPipeR, &cbReadable);
386 if ( RT_SUCCESS(rc2)
408 rc2 = RTPipeClose(*phPipeR);
409 AssertRC(rc2);
492 int rc2; local
1606 int rc2 = RTThreadUserSignal(RTThreadSelf()); local
1681 int rc2 = VbglR3GuestCtrlProcCbStatus(&ctx, local
1856 int rc2 = gstcntlProcessPollsetCloseInput(pThis, &pThis->hPipeStdInW); local
1893 int rc2 = VbglR3GuestCtrlProcCbStatusInput(pHostCtx, pThis->uPID, local
2066 int rc2 = gstcntlProcessUnlock(pProcess); local
[all...]
H A DVBoxServiceVMInfo.cpp231 int rc2 = VBoxServicePropCacheUpdateEntry(&g_VMInfoPropCache, g_pszPropCacheValLoggedInUsersList, local
233 if (RT_FAILURE(rc2))
234 VBoxServiceError("Failed to init property cache value \"%s\", rc=%Rrc\n", g_pszPropCacheValLoggedInUsersList, rc2);
236 rc2 = VBoxServicePropCacheUpdateEntry(&g_VMInfoPropCache, g_pszPropCacheValLoggedInUsers,
238 if (RT_FAILURE(rc2))
239 VBoxServiceError("Failed to init property cache value \"%s\", rc=%Rrc\n", g_pszPropCacheValLoggedInUsers, rc2);
241 rc2 = VBoxServicePropCacheUpdateEntry(&g_VMInfoPropCache, g_pszPropCacheValNoLoggedInUsers,
243 if (RT_FAILURE(rc2))
244 VBoxServiceError("Failed to init property cache value \"%s\", rc=%Rrc\n", g_pszPropCacheValNoLoggedInUsers, rc2);
246 rc2
599 int rc2 = RTDBusLoadLib(); local
1434 int rc2 = VBoxServiceReadHostProp(g_uVMInfoGuestPropSvcClientID, g_pszLAActiveClient, true /* Read only */, local
[all...]
/vbox/src/VBox/Runtime/common/dbg/
H A Ddbgcfg.cpp573 int rc2; local
601 rc2 = VINF_SUCCESS;
602 for (unsigned j = i; j < pSplitFn->cComps - 1U && RT_SUCCESS(rc2); j++)
604 rc2 = VERR_FILE_NOT_FOUND;
606 if (RT_SUCCESS(rc2))
612 rc2 = pfnCallback(pThis, pszPath, pvUser1, pvUser2);
613 if (rc2 == VINF_CALLBACK_RETURN || rc2 == VERR_CALLBACK_RETURN)
615 if (rc2 == VINF_CALLBACK_RETURN)
619 return rc2;
923 int rc2 = pfnCallback(pThis, pszPath, pvUser1, pvUser2); local
964 int rc2 = pfnCallback(pThis, pszPath, pvUser1, pvUser2); local
980 int rc2 = VINF_SUCCESS; local
1147 int rc2; local
1291 int rc2 = RTUuidToStr(pUuid, szSubDir, sizeof(szSubDir)); local
1364 int rc2; local
1453 int rc2; local
1653 int rc2; local
[all...]
/vbox/src/VBox/Main/glue/
H A DEventQueue.cpp100 int rc2 = RTCritSectLeave(&mCritSect); local
101 AssertRC(rc2);
105 rc2 = RTCritSectEnter(&mCritSect);
106 AssertRC(rc2);
125 int rc2 = RTCritSectLeave(&mCritSect); local
127 rc = rc2;
158 int rc2 = RTCritSectLeave(&mCritSect); local
159 AssertRC(rc2);
164 rc2 = RTCritSectEnter(&mCritSect);
165 AssertRC(rc2);
226 int rc2 = RTSemEventSignal(mSemEvent); local
238 int rc2 = RTCritSectLeave(&mCritSect); local
[all...]
/vbox/src/VBox/Runtime/common/crypto/
H A DRTCrStoreCertAddFromFile.cpp82 int rc2 = RTCrStoreCertAddEncoded(hStore, RTCRCERTCTX_F_ENC_X509_DER,
86 if (RT_FAILURE(rc2) && RT_SUCCESS(rc))
87 rc = rc2;
102 int rc2 = RTCrStoreCertAddEncoded(hStore, RTCRCERTCTX_F_ENC_X509_DER, pCurSec->pbData, pCurSec->cbData, local
104 if (RT_FAILURE(rc2) && RT_SUCCESS(rc))
105 rc = rc2;
/vbox/src/VBox/Additions/WINNT/VBoxTray/
H A DVBoxIPC.cpp110 int rc2 = hlpShowBalloonTip(ghInstance, ghwndToolWindow, ID_TRAYICON, local
115 ipcMsg.uType, ipcMsg.uShowMS, rc2));
153 int rc2 = RTLocalIpcSessionWrite(pSession->hSession, &ipcRes, sizeof(ipcRes)); local
155 rc = rc2;
246 int rc2 = RTLocalIpcServerCancel(pCtx->hServer); local
247 if (RT_FAILURE(rc2))
248 LogFlowFunc(("Cancelling current listening call failed with rc=%Rrc\n", rc2));
258 int rc2 = vboxIPCSessionStop(pSession); local
259 if (RT_FAILURE(rc2))
262 pSession, rc2));
287 int rc2 = RTCritSectLeave(&pCtx->CritSect); local
298 int rc2 = RTCritSectEnter(&pCtx->CritSect); local
318 int rc2 = RTCritSectDelete(&pCtx->CritSect); local
438 int rc2 = RTLocalIpcSessionClose(hSession); local
495 int rc2 = RTLocalIpcSessionClose(hSession); local
506 int rc2 = RTCritSectLeave(&pCtx->CritSect); local
[all...]
/vbox/src/VBox/Runtime/common/checksum/
H A Dmanifest3.cpp184 int rc2; local
189 rc2 = RTManifestEntrySetAttr(hManifest, pszEntry, "SIZE", szValue, RTMANIFEST_ATTR_SIZE);
190 if (RT_FAILURE(rc2) && RT_SUCCESS(rc))
191 rc = rc2;
196 rc2 = RTMd5ToString(pHashes->abMd5Digest, szValue, sizeof(szValue));
197 if (RT_SUCCESS(rc2))
198 rc2 = RTManifestEntrySetAttr(hManifest, pszEntry, "MD5", szValue, RTMANIFEST_ATTR_MD5);
199 if (RT_FAILURE(rc2) && RT_SUCCESS(rc))
200 rc = rc2;
205 rc2
[all...]
/vbox/src/VBox/Additions/common/VBoxGuestLib/
H A DVBoxGuestR3LibGuestCtrl.cpp217 int rc2 = vbglR3DoIOCtl(VBOXGUEST_IOCTL_HGCM_CALL(sizeof(Msg)), &Msg, sizeof(Msg)); local
222 rc2 = rc3;
224 return rc2;
273 int rc2 = Msg.hdr.result; local
274 if (RT_FAILURE(rc2))
275 rc = rc2;
306 int rc2 = Msg.hdr.result; local
307 if (RT_FAILURE(rc2))
308 rc = rc2;
334 int rc2 local
382 int rc2 = Msg.hdr.result; local
429 int rc2 = Msg.hdr.result; local
477 int rc2 = Msg.hdr.result; local
563 int rc2 = Msg.hdr.result; local
624 int rc2 = Msg.hdr.result; local
679 int rc2 = Msg.hdr.result; local
721 int rc2 = Msg.hdr.result; local
776 int rc2 = Msg.hdr.result; local
812 int rc2 = Msg.hdr.result; local
850 int rc2 = Msg.hdr.result; local
890 int rc2 = Msg.hdr.result; local
933 int rc2 = Msg.hdr.result; local
976 int rc2 = Msg.hdr.result; local
1017 int rc2 = Msg.hdr.result; local
1054 int rc2 = Msg.hdr.result; local
1089 int rc2 = Msg.hdr.result; local
1127 int rc2 = Msg.hdr.result; local
1165 int rc2 = Msg.hdr.result; local
1192 int rc2 = Msg.hdr.result; local
1218 int rc2 = Msg.hdr.result; local
1248 int rc2 = Msg.hdr.result; local
1277 int rc2 = Msg.hdr.result; local
1306 int rc2 = Msg.hdr.result; local
1335 int rc2 = Msg.hdr.result; local
1371 int rc2 = Msg.hdr.result; local
1407 int rc2 = Msg.hdr.result; local
1443 int rc2 = Msg.hdr.result; local
[all...]
/vbox/src/VBox/HostDrivers/Support/testcase/
H A DtstGetPagingMode.cpp86 int rc2 = SUPR3Term(false /*fForced*/); local
87 RTPrintf("SUPR3Term -> rc=%Rrc\n", rc2);
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DTestCOMPtrEq.cpp92 const nsICOMPtrEqTestFoo2* rc2 = 0; local
152 (s == rc2) &&
159 (r == rc2) &&
166 (sc == rc2) &&
173 (rc == rc2) &&
180 (rk == rc2) &&
187 (rkc == rc2) &&
194 (d == rc2) &&
/vbox/src/VBox/Storage/
H A DVD.cpp1775 int rc2 = vdFilterChainApplyRead(pDisk, pTmp->Req.Io.uOffsetXferOrig, local
1777 if (RT_FAILURE(rc2))
1778 rcTmp = rc2;
2373 int rc2; local
2403 rc2 = vdThreadStartRead(pDiskFrom);
2404 AssertRC(rc2);
2450 rc2 = vdThreadFinishRead(pDiskFrom);
2451 AssertRC(rc2);
2456 rc2 = vdThreadStartWrite(pDiskTo);
2457 AssertRC(rc2);
6056 int rc2 = VDFilterRemoveAll(pDisk); local
6232 int rc2; local
6559 int rc2; local
6730 int rc2; local
6847 int rc2; local
7127 int rc2; local
7401 int rc2; local
7613 int rc2; local
8069 int rc2; local
8424 int rc2; local
8535 int rc2; local
8650 int rc2; local
8852 int rc2; local
8962 int rc2; local
9002 int rc2; local
9060 int rc2; local
9124 int rc2; local
9179 int rc2; local
9248 int rc2; local
9318 int rc2; local
9372 int rc2; local
9409 int rc2; local
9452 int rc2; local
9492 int rc2; local
9532 int rc2; local
9575 int rc2; local
9639 int rc2; local
9743 int rc2; local
9807 int rc2; local
9910 int rc2; local
9959 int rc2; local
10011 int rc2; local
10060 int rc2; local
10111 int rc2; local
10171 int rc2; local
10236 int rc2; local
10289 int rc2; local
10338 int rc2; local
10385 int rc2; local
10438 int rc2; local
10486 int rc2; local
10542 int rc2; local
10589 int rc2; local
10639 int rc2; local
10675 int rc2; local
10736 int rc2; local
10809 int rc2; local
10878 int rc2; local
10935 int rc2; local
[all...]
/vbox/src/bldprogs/
H A Dscmsubversion.cpp102 int rc2 = RTPipeRead(*phPipeR, szTmp, sizeof(szTmp), &cbRead); local
103 if (RT_SUCCESS(rc2) && cbRead)
111 rc2 = RTPipeClose(*phPipeR); AssertRC(rc2);
118 rc2 = RTStrRealloc(ppszBuffer, cbNew);
119 if (RT_FAILURE(rc2))
122 rc2 = RTPipeClose(*phPipeR); AssertRC(rc2);
124 return RT_SUCCESS(rc) ? rc2 : rc;
142 else if (rc2 !
200 int rc2; local
[all...]
/vbox/src/VBox/Additions/haiku/VBoxTray/
H A DVBoxDisplay.cpp132 int rc2 = VbglR3GetDisplayChangeRequest(&cx, &cy, &cBits, &iDisplay, NULL, NULL, NULL, NULL, true); local
133 LogFlow(("rc2=%d screen %d size changed (%d, %d, %d)\n", rc2, iDisplay, cx, cy, cBits));
135 if (RT_SUCCESS(rc2))
/vbox/src/VBox/Additions/linux/lightdm-greeter/
H A Dvbox-greeter.cpp753 int rc2 = vbox_read_prop(pCtx->uClientId, local
757 if ( RT_FAILURE(rc2)
758 && rc2 != VERR_NOT_FOUND)
759 vboxGreeterError("cb_check_creds: getting wait abort message failed with rc=%Rrc\n", rc2);
796 int rc2 = vbox_read_prop(pCtx->uClientId, local
800 if ( RT_FAILURE(rc2)
801 && rc2 != VERR_NOT_FOUND)
802 vboxGreeterError("cb_check_creds: getting wait timeout message failed with rc=%Rrc\n", rc2);
1053 int rc2 = vbox_read_prop(uClientId, local
1057 if ( RT_SUCCESS(rc2)
1162 int rc2 = Fl::scheme("plastic"); local
[all...]

Completed in 181 milliseconds

1234567891011