Searched refs:vrc (Results 1 - 25 of 98) sorted by relevance

1234

/vbox/src/VBox/Main/src-all/
H A DDisplayUtils.cpp43 int vrc = SSMR3Open(strStateFilePath.c_str(), 0 /*fFlags*/, &pSSM); local
44 if (RT_SUCCESS(vrc))
47 vrc = SSMR3Seek(pSSM, "DisplayScreenshot", 1100 /*iInstance*/, &uVersion);
48 if (RT_SUCCESS(vrc))
53 vrc = SSMR3GetU32(pSSM, &cBlocks);
54 AssertRCReturn(vrc, vrc);
59 vrc = SSMR3GetU32(pSSM, &cbBlock);
60 AssertRCBreak(vrc);
63 vrc
159 int vrc = SSMR3Open(strStateFilePath.c_str(), 0 /*fFlags*/, &pSSM); local
[all...]
H A DExtPackManagerImpl.cpp270 int vrc = RTFileOpen(&m->hExtPackFile, a_pszFile, local
272 if (RT_FAILURE(vrc))
274 if (vrc == VERR_FILE_NOT_FOUND || vrc == VERR_PATH_NOT_FOUND)
276 return initFailed(tr("RTFileOpen('%s',,) failed with %Rrc"), a_pszFile, vrc);
280 vrc = RTFileQueryInfo(m->hExtPackFile, &ObjInfo, RTFSOBJATTRADD_UNIX);
281 if (RT_FAILURE(vrc))
282 return initFailed(tr("RTFileQueryInfo failed with %Rrc on '%s'"), vrc, a_pszFile);
291 vrc = VBoxExtPackValidateTarball(m->hExtPackFile, NULL /*pszExtPackName*/, a_pszFile, a_pszDigest,
293 if (RT_FAILURE(vrc))
499 int vrc = VBoxExtPackOpenTarFss(m->hExtPackFile, szError, sizeof(szError), &hTarFss, NULL); local
617 int vrc = RTThreadCreate(NULL /*phThread*/, ExtPackManager::i_doInstallThreadProc, pJob, 0, local
815 int vrc = m->pReg->pfnUninstall(m->pReg, a_pVirtualBox); local
932 int vrc = m->pReg->pfnVMConfigureVMM(m->pReg, a_pConsole, a_pVM); local
964 int vrc = m->pReg->pfnVMPowerOn(m->pReg, a_pConsole, a_pVM); local
1108 int vrc = RTPathQueryInfoEx(m->strExtPackPath.c_str(), &ObjInfoExtPack, RTFSOBJATTRADD_UNIX, RTPATH_F_ON_LINK); local
1178 int vrc = RTPathQueryInfoEx(m->strExtPackPath.c_str(), &m->ObjInfoExtPack, RTFSOBJATTRADD_UNIX, RTPATH_F_ON_LINK); local
1181 m->strWhyUnusable.printf(tr("RTPathQueryInfoEx on '%s' failed: %Rrc"), m->strExtPackPath.c_str(), vrc); local
1188 m->strExtPackPath.c_str(), vrc); local
1191 m->strExtPackPath.c_str(), vrc); local
1203 m->strWhyUnusable.printf(tr("%s (rc=%Rrc)"), ErrInfo.Core.pszMsg, vrc); local
1257 m->strMainModPath.c_str(), vrc, ErrInfo.Core.pszMsg); local
1344 int vrc = RTPathJoin(szPath, sizeof(szPath), m->strExtPackPath.c_str(), RTBldCfgTargetDotArch()); local
1517 int vrc = RTPathJoin(pszPath, cbPath, pThis->m->strExtPackPath.c_str(), pszFilename); local
1752 int vrc = RTPathJoin(szPath, sizeof(szPath), m->strExtPackPath.c_str(), szName); local
1863 int vrc = SUPR3HardenedLdrLoadAppPriv("VBoxVMM", &m->hVBoxVMM, RTLDRLOAD_FLAGS_GLOBAL, NULL); local
1879 int vrc = RTDirOpen(&pDir, szBaseDir); local
2052 int vrc = RTThreadCreate(NULL /*phThread*/, ExtPackManager::i_doUninstallThreadProc, pJob, 0, local
2148 int vrc = RTPathAppPrivateArch(szExecName, sizeof(szExecName)); local
2451 int vrc = VBoxExtPackCalcDir(szDir, sizeof(szDir), m->strBaseDir.c_str(), a_pszName); local
2864 int vrc; local
2893 int vrc; local
[all...]
/vbox/src/VBox/Main/src-client/
H A DGuestProcessImpl.cpp183 int vrc = bindToSession(aConsole, aSession, aProcessID /* Object ID */);
184 if (RT_SUCCESS(vrc))
188 vrc = VERR_NO_MEMORY;
193 vrc = VERR_COM_UNEXPECTED;
197 if (RT_SUCCESS(vrc))
218 vrc = baseInit();
219 if (RT_SUCCESS(vrc))
225 vrc = VERR_COM_UNEXPECTED;
228 vrc = VERR_COM_UNEXPECTED;
232 vrc
273 int vrc = i_terminateProcess(30 * 1000, &guestRc); /** @todo Make timeouts configurable. */ local
414 int vrc; local
578 int vrc = i_setProcessStatus(ProcessStatus_Down, VINF_SUCCESS); local
595 int vrc = pSvcCbData->mpaParms[1].getUInt32(&dataCb.uPID); local
669 int vrc = pSvcCbData->mpaParms[1].getUInt32(&dataCb.uPID); local
778 int vrc = pSvcCbData->mpaParms[1].getUInt32(&dataCb.uPID); local
815 int vrc = VINF_SUCCESS; local
862 int vrc; local
999 int vrc; local
1137 int vrc; local
1179 int vrc = pProcess->i_startProcess(30 * 1000 /* 30s timeout */, local
1194 int vrc = VINF_SUCCESS; local
1392 int vrc; local
1464 int vrc = waitForEvent(pEvent, uTimeoutMS, local
1504 int vrc; local
1584 int vrc = waitForEvent(pEvent, uTimeoutMS, local
1668 int vrc; local
1969 int vrc = pSession->i_processCreateExInteral(mStartupInfo, pProcess); local
2000 int vrc; local
2050 int vrc = procTool.Init(pGuestSession, startupInfo, false /* Async */, &guestRc); local
2095 int vrc; local
2127 int vrc; local
[all...]
H A DGuestFileImpl.cpp152 int vrc = bindToSession(pConsole, pSession, uFileID /* Object ID */);
153 if (RT_SUCCESS(vrc))
165 vrc = VERR_COM_UNEXPECTED;
168 if (RT_SUCCESS(vrc))
190 vrc = baseInit();
191 if (RT_SUCCESS(vrc))
197 vrc = VERR_COM_UNEXPECTED;
200 vrc = VERR_COM_UNEXPECTED;
204 vrc = VERR_NO_MEMORY;
208 if (RT_SUCCESS(vrc))
372 int vrc; local
399 int vrc; local
475 int vrc = VINF_SUCCESS; local
656 int vrc = i_setFileStatus(FileStatus_Down, VINF_SUCCESS); local
672 int vrc = VINF_SUCCESS; local
699 int vrc; local
756 int vrc; local
811 int vrc; local
867 int vrc; local
966 int vrc = waitForEvent(pEvent, uTimeoutMS, local
995 int vrc = waitForEvent(pEvent, uTimeoutMS, local
1040 int vrc = waitForEvent(pEvent, uTimeoutMS, local
1083 int vrc = waitForEvent(pEvent, uTimeoutMS, local
1116 int vrc; local
1175 int vrc; local
[all...]
H A DConsoleImplTeleporter.cpp235 int vrc = teleporterTcpReadLine(pState, szMsg, sizeof(szMsg)); local
236 if (RT_FAILURE(vrc))
237 return setError(E_FAIL, tr("Failed reading ACK(%s): %Rrc"), pszWhich, vrc);
249 vrc = RTStrToInt32Full(&szMsg[sizeof("NACK=") - 1], 10, &vrc2);
250 if (vrc == VINF_SUCCESS)
297 int vrc = RTTcpSgWriteL(pState->mhSocket, 2, pszCommand, strlen(pszCommand), "\n", sizeof("\n") - 1); local
298 if (RT_FAILURE(vrc))
299 return setError(E_FAIL, tr("Failed writing command '%s': %Rrc"), pszCommand, vrc);
647 int vrc = RTTcpClientConnect(pState->mstrHostname.c_str(), pState->muPort, &pState->mhSocket); local
648 if (RT_FAILURE(vrc))
988 int vrc = RTThreadCreate(NULL, Console::i_teleporterSrcThreadWrapper, (void *)pState, 0 /*cbStack*/, local
1065 int vrc; local
1258 int vrc = RTTcpSetSendCoalescing(pState->mhSocket, false /*fEnable*/); local
[all...]
H A DClientTokenHolder.cpp77 int vrc = RTSemEventSignal(mSem);
78 AssertRC(vrc == NO_ERROR);
81 vrc = RTThreadUserWait(mThread, RT_INDEFINITE_WAIT);
82 Assert(RT_SUCCESS(vrc) || vrc == VERR_INTERRUPTED);
151 int vrc = RTThreadCreate(&mThread, ClientTokenHolderThread, (void*)data, 0, RTTHREADTYPE_MAIN_WORKER, 0, "IPCHolder"); local
152 AssertRCReturnVoid(vrc);
177 int vrc = RTSemEventCreate(&mSem); local
178 AssertRCReturnVoid(vrc);
186 vrc
303 int vrc = RTThreadUserSignal(Thread); local
322 int vrc = RTThreadUserSignal(Thread); local
[all...]
H A DGuestSessionImpl.cpp614 int vrc; local
622 vrc = registerWaitEvent(mData.mSession.mID, 0 /* Object ID */,
627 vrc = VERR_NO_MEMORY;
630 if (RT_FAILURE(vrc))
631 return vrc;
643 vrc = i_sendCommand(HOST_SESSION_CLOSE, i, paParms);
644 if (RT_SUCCESS(vrc))
645 vrc = i_waitForStatusChange(pEvent, GuestSessionWaitForFlag_Terminate, uTimeoutMS,
650 LogFlowFuncLeaveRC(vrc);
651 return vrc;
660 int vrc = VINF_SUCCESS; local
719 int vrc = i_fsQueryInfoInternal(strPath, objData, pGuestRc); local
779 int vrc = registerWaitEvent(mData.mSession.mID, 0 /* Object ID */, local
815 int vrc = VINF_SUCCESS; local
918 int vrc = pDirectory->init(pConsole, this /* Parent */, local
1214 int vrc = VINF_SUCCESS; local
1345 int vrc = i_fsQueryInfoInternal(strPath, objData, pGuestRc); local
1361 int vrc = i_fileQueryInfoInternal(strPath, objData, pGuestRc); local
1372 int vrc = VINF_SUCCESS; local
1507 int vrc = VINF_SUCCESS; local
1537 int vrc = pSvcCbData->mpaParms[1].getUInt32(&dataCb.uType); local
1625 int vrc; local
1688 int vrc; local
1730 int vrc = pSession->i_startSessionInternal(NULL /* Guest rc, ignored */); local
1748 int vrc = registerWaitEvent(mData.mSession.mID, 0 /* Object ID */, local
2013 int vrc = pVMMDev->hgcmHostCall(HGCMSERVICE_NAME, uFunction, uParms, paParms); local
2020 int vrc = VINF_SUCCESS; local
2078 int vrc = VINF_SUCCESS; local
2268 int vrc; local
2336 int vrc = waitForEvent(pEvent, uTimeoutMS, local
[all...]
H A DGuestDirectoryImpl.cpp79 int vrc = bindToSession(pConsole, pSession, uDirID /* Object ID */);
80 if (RT_SUCCESS(vrc))
88 if (RT_SUCCESS(vrc))
112 vrc = mData.mProcessTool.Init(mSession, procInfo,
116 if (RT_SUCCESS(vrc))
120 return vrc;
125 return vrc;
181 int vrc; local
202 vrc = VERR_NOT_SUPPORTED;
210 vrc
248 int vrc = VINF_SUCCESS; local
[all...]
H A DVirtualBoxClientImpl.cpp90 int vrc = RTSemEventCreate(&mData.m_SemEvWatcher); local
91 AssertRC(vrc);
92 if (RT_SUCCESS(vrc))
94 vrc = RTThreadCreate(&mData.m_ThreadWatcher, SVCWatcherThread,
97 AssertRC(vrc);
229 int vrc; local
232 vrc = RTSemEventWait(sem, cMillies / 2);
235 while (RT_FAILURE(vrc))
284 vrc = RTSemEventWait(sem, cMillies);
H A DMachineDebuggerImpl.cpp212 int vrc = EMR3SetExecutionPolicy(ptrVM.rawUVM(), enmPolicy, fEnforce != FALSE); local
213 if (RT_FAILURE(vrc))
214 hrc = setError(VBOX_E_VM_ERROR, tr("EMR3SetExecutionPolicy failed with %Rrc"), vrc);
335 int vrc = PATMR3AllowPatching(ptrVM.rawUVM(), RT_BOOL(aPATMEnabled)); local
336 if (RT_FAILURE(vrc))
337 return setError(VBOX_E_VM_ERROR, tr("PATMR3AllowPatching returned %Rrc"), vrc);
392 int vrc = CSAMR3SetScanningEnabled(ptrVM.rawUVM(), aCSAMEnabled != FALSE); local
393 if (RT_FAILURE(vrc))
394 return setError(VBOX_E_VM_ERROR, tr("CSAMR3SetScanningEnabled returned %Rrc"), vrc);
446 int vrc local
642 int vrc = DBGFR3OSQueryNameAndVersion(ptrVM.rawUVM(), szName, sizeof(szName), NULL, 0); local
673 int vrc = DBGFR3OSQueryNameAndVersion(ptrVM.rawUVM(), NULL, 0, szVersion, sizeof(szVersion)); local
756 int vrc = TMR3SetWarpDrive(ptrVM.rawUVM(), aVirtualTimeRate); local
809 int vrc = DBGFR3CoreWrite(ptrVM.rawUVM(), aFilename.c_str(), false /*fReplaceFile*/); local
953 int vrc = DBGFR3Info(ptrVM.rawUVM(), aName.c_str(), aArgs.c_str(), &Hlp.Core); local
991 int vrc = DBGFR3InjectNMI(ptrVM.rawUVM(), 0); local
1008 int vrc = DBGFR3LogModifyFlags(ptrVM.rawUVM(), aSettings.c_str()); local
1025 int vrc = DBGFR3LogModifyGroups(ptrVM.rawUVM(), aSettings.c_str()); local
1042 int vrc = DBGFR3LogModifyDestinations(ptrVM.rawUVM(), aSettings.c_str()); local
1088 int vrc = DBGFR3OSDetect(ptrVM.rawUVM(), szName, sizeof(szName)); local
1143 int vrc = DBGFR3RegNmQuery(ptrVM.rawUVM(), aCpuId, aName.c_str(), &Value, &enmType); local
1186 int vrc = DBGFR3RegNmQueryAllCount(ptrVM.rawUVM(), &cRegs); local
1295 int vrc = STAMR3Snapshot(ptrVM.rawUVM(), aPattern.c_str(), &pszSnapshot, NULL, local
[all...]
/vbox/src/VBox/Main/glue/
H A Dcom.cpp202 int vrc; local
204 vrc = RTStrCopy(aDir, aDirLen, pcszBase);
210 vrc = RTPathUserHome(aDir, aDirLen);
211 if (RT_SUCCESS(vrc))
212 vrc = RTPathAppend(aDir, aDirLen, pcszBase);
214 return vrc;
226 int vrc = RTEnvGetEx(RTENV_DEFAULT, "VBOX_USER_HOME", szTmp, sizeof(szTmp), NULL); local
227 if (RT_SUCCESS(vrc) || vrc == VERR_ENV_VAR_NOT_FOUND)
230 if (RT_SUCCESS(vrc))
301 int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp)); local
379 int vrc = RTLogCreateEx(&pReleaseLogger, fFlags, pcszGroupSettings, local
[all...]
H A Dinitterm.cpp135 int vrc = RTStrUtf8ToCurrentCP(&mCompRegLocation, aCompRegLocation); local
136 if (RT_SUCCESS(vrc))
137 vrc = RTStrUtf8ToCurrentCP(&mXPTIDatLocation, aXPTIDatLocation);
138 if (RT_SUCCESS(vrc) && aComponentDirLocation)
139 vrc = RTStrUtf8ToCurrentCP(&mComponentDirLocation, aComponentDirLocation);
140 if (RT_SUCCESS(vrc) && aCurrProcDirLocation)
141 vrc = RTStrUtf8ToCurrentCP(&mCurrProcDirLocation, aCurrProcDirLocation);
143 return RT_SUCCESS(vrc) ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
334 int vrc = GetVBoxUserHomeDirectory(szCompReg, sizeof(szCompReg)); local
335 if (vrc
[all...]
H A Dstring.cpp52 int vrc = ::RTStrCalcUtf16LenEx(a_pszSrc, a_cchMax, &cwc); local
53 if (RT_FAILURE(vrc))
56 AssertLogRelMsgFailed(("%Rrc %.*Rhxs\n", vrc, RTStrNLen(a_pszSrc, a_cchMax), a_pszSrc));
65 vrc = ::RTStrToUtf16Ex(a_pszSrc, a_cchMax, &pwsz, cwc + 1, NULL);
66 if (RT_FAILURE(vrc))
69 AssertRC(vrc);
190 int vrc = RTUtf16ToUtf8Ex((PCRTUTF16)a_pbstr, local
195 if (RT_SUCCESS(vrc))
199 if ( vrc != VERR_NO_STR_MEMORY
200 && vrc !
232 int vrc = RTUtf16ToUtf8Ex((PCRTUTF16)a_pbstr, local
[all...]
H A DAutoLock.cpp93 int vrc; local
96 vrc = RTLockValidatorClassCreate(&hClass,
100 AssertRC(vrc);
109 vrc = RTLockValidatorClassAddPriorClass(hClass,
111 AssertRC(vrc);
170 int vrc = RTCritSectRwInitEx(&m->CritSect, 0 /*fFlags*/, g_mapLockValidationClasses[lockClass], RTLOCKVAL_SUB_CLASS_ANY, NULL); local
172 int vrc = RTCritSectRwInitEx(&m->CritSect, 0 /*fFlags*/, NIL_RTLOCKVALCLASS, RTLOCKVAL_SUB_CLASS_ANY, NULL); local
176 int vrc = RTSemRWCreateEx(&m->sem, 0 /*fFlags*/, g_mapLockValidationClasses[lockClass], RTLOCKVAL_SUB_CLASS_ANY, NULL); local
178 int vrc = RTSemRWCreateEx(&m->sem, 0 /*fFlags*/, NIL_RTLOCKVALCLASS, RTLOCKVAL_SUB_CLASS_ANY, NULL); local
181 AssertRC(vrc);
207 int vrc = RTCritSectRwEnterExclDebug(&m->CritSect, (uintptr_t)ASMReturnAddress(), RT_SRC_POS_ARGS); local
224 int vrc = RTCritSectRwLeaveExcl(&m->CritSect); local
236 int vrc = RTCritSectRwEnterSharedDebug(&m->CritSect, (uintptr_t)ASMReturnAddress(), RT_SRC_POS_ARGS); local
253 int vrc = RTCritSectRwLeaveShared(&m->CritSect); local
304 int vrc = RTCritSectInitEx(&m->sem, 0/*fFlags*/, g_mapLockValidationClasses[lockClass], RTLOCKVAL_SUB_CLASS_ANY, NULL); local
306 int vrc = RTCritSectInitEx(&m->sem, 0/*fFlags*/, NIL_RTLOCKVALCLASS, RTLOCKVAL_SUB_CLASS_ANY, NULL); local
[all...]
/vbox/src/VBox/Main/src-server/win/
H A DNetIf-win.cpp279 int vrc = VINF_SUCCESS; local
289 vrc = aClient->write(d->msgCode);
290 if (RT_FAILURE(vrc)) break;
291 // vrc = aClient->write(Utf8Str(d->name));
292 // if (RT_FAILURE(vrc)) break;
300 vrc = aClient->read(reply);
301 if (RT_FAILURE(vrc)) break;
310 vrc = aClient->read(name);
311 if (RT_FAILURE(vrc)) break;
312 vrc
652 int vrc = VINF_SUCCESS; local
[all...]
H A Dsvcmain.cpp222 int vrc = RTGetOptInit(&GetOptState, argc, argv, &s_aOptions[0], RT_ELEMENTS(s_aOptions), 1, 0 /*fFlags*/); local
223 AssertRC(vrc);
226 while ((vrc = RTGetOpt(&GetOptState, &ValueUnion)))
228 switch (vrc)
304 RTGetOptPrintError(vrc, &ValueUnion);
316 vrc = com::GetVBoxUserHomeDirectory(szLogFile, sizeof(szLogFile));
317 if (RT_SUCCESS(vrc))
318 vrc = RTPathAppend(szLogFile, sizeof(szLogFile), "VBoxSVC.log");
323 vrc = VERR_NO_MEMORY;
325 if (RT_FAILURE(vrc))
[all...]
H A Dsvchlp.cpp182 int vrc = write (len); local
183 if (RT_SUCCESS(vrc))
186 vrc = write (aVal.c_str(), len);
189 return vrc;
220 int vrc = read (len); local
221 if (RT_FAILURE(vrc))
222 return vrc;
235 vrc = read (aVal.mutableRaw(), len);
237 return vrc;
243 int vrc local
257 int vrc = VINF_SUCCESS; local
[all...]
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageGuestCtrl.cpp541 int vrc = EXITCODEEXEC_SUCCESS; local
545 vrc = EXITCODEEXEC_SUCCESS;
548 vrc = EXITCODEEXEC_SUCCESS;
551 vrc = EXITCODEEXEC_SUCCESS;
554 vrc = EXITCODEEXEC_SUCCESS;
557 vrc = !uExitCode ? EXITCODEEXEC_SUCCESS : EXITCODEEXEC_CODE;
560 vrc = EXITCODEEXEC_TERM_SIGNAL;
563 vrc = EXITCODEEXEC_TERM_ABEND;
566 vrc = EXITCODEEXEC_TIMEOUT;
569 vrc
698 int vrc = VINF_SUCCESS; local
718 AssertMsgStmt(SUCCEEDED(rc), ("Could not lookup progress information\\n"), vrc = VERR_COM_UNEXPECTED); local
1059 int vrc = VINF_SUCCESS; local
1181 int vrc = VINF_SUCCESS; local
1542 int vrc = VINF_SUCCESS; local
1611 int vrc; local
1719 int vrc = ctrlCopyDirExists(pContext, pContext->fHostToGuest, pszDir, &fDirExists); local
1775 int vrc = VINF_SUCCESS; local
1842 int vrc = VINF_SUCCESS; local
1916 int vrc = VINF_SUCCESS; local
1979 int vrc = RTStrCopy(szCurDir, sizeof(szCurDir), pszSource); local
2148 int vrc = RTStrCopy(szCurDir, sizeof(szCurDir), pszSource); local
2446 int vrc = VINF_SUCCESS; local
2900 int vrc = VINF_SUCCESS; local
3262 int vrc = VINF_SUCCESS; local
3516 int vrc = VINF_SUCCESS; local
[all...]
H A DVBoxInternalManage.cpp1086 int vrc = RTFileOpen(&hRawFile, rawdisk.c_str(), RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_WRITE); local
1087 if (RT_FAILURE(vrc))
1089 RTMsgError("Cannot open the raw disk: %Rrc", vrc);
1090 return vrc;
1094 vrc = partRead(hRawFile, &partitions);
1118 return vrc;
1211 int vrc = RTFileOpen(&hRawFile, rawdisk.c_str(), RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_WRITE); local
1212 if (RT_FAILURE(vrc))
1214 RTMsgError("Cannot open the raw disk '%s': %Rrc", rawdisk.c_str(), vrc);
1244 vrc
1857 int vrc = VDInterfaceAdd(&vdInterfaceError.Core, "VBoxManage_IError", VDINTERFACETYPE_ERROR, local
1938 int vrc = VDInterfaceAdd(&vdInterfaceError.Core, "VBoxManage_IError", VDINTERFACETYPE_ERROR, local
2057 int vrc; local
2186 int vrc; local
[all...]
/vbox/src/VBox/HostServices/SharedOpenGL/OpenGLTest/
H A DOpenGLTestApp.cpp134 int vrc = RTLogCreateEx(&loggerRelease, fFlags, "all", local
138 if (RT_SUCCESS(vrc))
153 vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
154 if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
156 vrc = RTSystemQueryOSInfo(RTSYSOSINFO_RELEASE, szTmp, sizeof(szTmp));
157 if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
159 vrc = RTSystemQueryOSInfo(RTSYSOSINFO_VERSION, szTmp, sizeof(szTmp));
160 if (RT_SUCCESS(vrc) || vr
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/net/
H A DUIUpdateManager.cpp257 int vrc; local
265 vrc = RTPathAppPrivateNoArch(szAppPrivPath, sizeof(szAppPrivPath)); AssertRC(vrc);
266 if (RT_SUCCESS(vrc))
273 vrc = VERR_TRY_AGAIN; /* (take the fallback path) */
275 if (RT_FAILURE(vrc))
282 vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
283 if ((RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW) && szTmp[0] != '\0')
286 vrc
[all...]
/vbox/src/VBox/Main/src-server/
H A DVFSExplorerImpl.cpp183 int vrc = RTThreadCreate(NULL, VFSExplorer::TaskVFSExplorer::taskThread, this, local
187 if (RT_FAILURE(vrc))
188 return VFSExplorer::setErrorStatic(E_FAIL, Utf8StrFmt("Could not create taskThreadVFS (%Rrc)\n", vrc));
190 return vrc;
300 int vrc = RTDirOpen(&pDir, m->strPath.c_str()); local
301 if (RT_FAILURE(vrc))
302 throw setError(VBOX_E_FILE_ERROR, tr ("Can't open directory '%s' (%Rrc)"), pszPath, vrc);
307 while (RT_SUCCESS(vrc))
309 vrc = RTDirReadEx(pDir, &entry, NULL, RTFSOBJATTRADD_NOTHING, RTPATH_F_ON_LINK);
310 if (RT_SUCCESS(vrc))
373 int vrc = RTPathJoin(szPath, sizeof(szPath), m->strPath.c_str(), (*it).c_str()); local
415 int vrc = RTS3Create(&hS3, m->strUsername.c_str(), m->strPassword.c_str(), local
496 int vrc = RTS3Create(&hS3, m->strUsername.c_str(), m->strPassword.c_str(), local
[all...]
/vbox/src/VBox/Installer/win/Stub/
H A DVBoxStub.cpp815 int vrc = RTR3InitExe(argc, &argv, 0); local
816 if (RT_FAILURE(vrc))
821 return RTMsgInitFailure(vrc);
893 vrc = RTStrCat(szMSIArgs, sizeof(szMSIArgs), " ");
894 if (RT_SUCCESS(vrc))
895 vrc = RTStrCat(szMSIArgs, sizeof(szMSIArgs),
897 if (RT_FAILURE(vrc))
919 vrc = RTStrCopy(szExtractPath, sizeof(szExtractPath), ValueUnion.psz);
920 if (RT_FAILURE(vrc))
926 vrc
[all...]
/vbox/src/VBox/Frontends/VBoxBalloonCtrl/
H A DVBoxModBallooning.cpp125 int vrc = RTSystemQueryAvailableRam(&cbHostRamAvail); local
126 if (RT_SUCCESS(vrc))
163 int vrc = cfgGetValueULong(g_pVirtualBox, rptrMachine, local
165 if (RT_FAILURE(vrc))
232 int vrc = VINF_SUCCESS; local
237 AssertPtrBreakStmt(pMachine, vrc=VERR_INVALID_PARAMETER);
270 vrc = VERR_COM_IPRT_ERROR; /* @todo Find better rc! */
274 return vrc;
293 int vrc = getMetric(pMachine, L"Guest/RAM/Usage/Free", &lMemFree); local
294 if (RT_SUCCESS(vrc))
[all...]
/vbox/src/VBox/HostDrivers/VBoxUSB/darwin/testcase/
H A DtstOpenUSBDev.cpp87 int vrc = VINF_SUCCESS; local
120 vrc = RTErrConvertFromDarwinIO(irc);
121 RTPrintf("%s: Failed to re-enumerate the device, irc=%#x (vrc=%Rrc).\n", argv0, irc, vrc);
129 vrc = VERR_SHARING_VIOLATION;
134 vrc = VERR_OPEN_FAILED;
135 RTPrintf("%s: Failed to open the device, irc=%#x (vrc=%Rrc).\n", argv0, irc, vrc);
140 vrc = VERR_OPEN_FAILED;
141 RTPrintf("%s: Failed to create plugin interface for the device, hrc=%#x (vrc
[all...]

Completed in 1373 milliseconds

1234