Searched defs:vrc (Results 1 - 25 of 95) 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 DSharedFolderImpl.cpp276 int vrc = RTPathAbsEx(NULL, local
280 if (RT_FAILURE(vrc))
283 hostPath.c_str(), vrc);
349 int vrc = RTPathExists(hostPath.c_str()) ? RTPathReal(hostPath.c_str(), local
353 if (RT_SUCCESS(vrc))
363 vrc);
/vbox/src/VBox/Main/src-client/
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 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 DKeyboardImpl.cpp202 int vrc = VINF_SUCCESS; local
205 for (sent = 0; (sent < aScancodes.size()) && RT_SUCCESS(vrc); ++sent)
206 vrc = pUpPort->pfnPutEventScan(pUpPort, (uint8_t)aScancodes[sent]);
219 if (RT_FAILURE(vrc))
222 vrc);
/vbox/src/VBox/Main/src-server/
H A DMatching.cpp103 int vrc = 0; local
105 vrc = RTStrToInt64Ex(aFilter + aStart, &endptr, 0, &val.ll);
107 vrc = RTStrToUInt64Ex(aFilter + aStart, &endptr, 0, &val.ull);
118 if (vrc == VWRN_NUMBER_TOO_BIG ||
H A DClientWatcher.cpp97 int vrc = RTThreadCreate(&mThread, local
104 AssertRC(vrc);
346 int vrc = RTSemEventWait(that->mUpdateReq, 500); local
357 if (RT_SUCCESS(vrc))
365 AssertMsg(vrc == VERR_TIMEOUT || vrc == VERR_INTERRUPTED,
366 ("RTSemEventWait returned %Rrc\n", vrc));
639 int vrc = ::RTProcWait(pid, RTPROCWAIT_FLAGS_NOBLOCK, &status); local
640 if (vrc == VINF_SUCCESS)
670 LogFlowFunc(("pid %d (%x) was NOT reaped, vrc
787 int vrc = ::RTProcWait(pid, RTPROCWAIT_FLAGS_NOBLOCK, &status); local
[all...]
/vbox/src/VBox/Main/src-server/win/
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...]
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...]
/vbox/src/VBox/Frontends/VBoxAutostart/
H A DVBoxAutostartStart.cpp57 int vrc = VINF_SUCCESS; local
66 vrc = RTStrToUInt32Full(pCfgAst->u.KeyValue.aszValue, 10, &uStartupDelay);
67 if (RT_FAILURE(vrc))
75 vrc = RTThreadSleep(uStartupDelay * 1000);
78 if (vrc == VERR_INTERRUPTED)
H A DVBoxAutostartStop.cpp110 int vrc = VINF_SUCCESS; local
/vbox/src/VBox/Additions/common/VBoxGuest/
H A DVBoxGuest-win-pnp.cpp483 int vrc = VbglGRAlloc((VMMDevRequestHeader **)&pReq, sizeof (VMMDevReqMouseStatus), local
485 if (RT_SUCCESS(vrc))
491 vrc = VbglGRPerform(&pReq->header);
492 if (RT_FAILURE(vrc))
494 Log(("VBoxGuest::PowerStateRequest: error communicating new power status to VMMDev. vrc = %Rrc\n", vrc));
514 int vrc = VERR_NOT_IMPLEMENTED; local
520 vrc = VbglGRPerform(&pReq->header);
522 if (RT_FAILURE(vrc))
523 Log(("VBoxGuest::PowerStateRequest: Error communicating new power status to VMMDev. vrc
[all...]
/vbox/src/VBox/Main/glue/
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 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 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/xpcom/
H A Dserver_module.cpp176 int vrc = VINF_SUCCESS; local
313 LogFlowFunc(("rc=%Rhrc (%#08x), vrc=%Rrc\n", rc, rc, vrc));
/vbox/src/VBox/HostDrivers/Support/os2/
H A DSUPLib-os2.cpp91 int vrc; local
95 case ERROR_PATH_NOT_FOUND: vrc = VERR_VM_DRIVER_NOT_INSTALLED; break;
96 default: vrc = VERR_VM_DRIVER_OPEN_ERROR; break;
98 LogRel(("Failed to open \"%s\", rc=%d, vrc=%Rrc\n", DEVICE_NAME, rc, vrc));
99 return vrc;
/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...]
/vbox/src/VBox/Main/testcase/
H A DtstOVF.cpp277 int vrc = RTFileCopy(szSrc, szDst); local
278 if (RT_FAILURE(vrc)) throw MyError(0, Utf8StrFmt("Cannot copy ovf-dummy.vmdk to %s: %Rra\n", pcszDest, vrc).c_str());
/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/Frontends/VBoxManage/
H A DVBoxManage.cpp254 int vrc = VINF_SUCCESS; local
259 vrc = RTStrmOpen(pszFilename, "r", &pStrm);
262 if (RT_SUCCESS(vrc))
264 vrc = RTStrmReadEx(pStrm, szPasswd, sizeof(szPasswd)-1, &cbFile);
265 if (RT_SUCCESS(vrc))
279 rcExit = RTMsgErrorExit(RTEXITCODE_FAILURE, "Cannot read password from file '%s': %Rrc", pszFilename, vrc);
284 rcExit = RTMsgErrorExit(RTEXITCODE_FAILURE, "Cannot open password file '%s' (%Rrc)", pszFilename, vrc);
311 int vrc = RTStrmPrintfV(g_pStdOut, pszPrompt, vaArgs); local
312 if (RT_SUCCESS(vrc))
315 vrc
[all...]
H A DVBoxManageNATNetwork.cpp189 int vrc; local
191 vrc = RTGetOptFetchValue(&GetState,
194 if (RT_FAILURE(vrc))
228 int vrc; local
236 vrc = RTGetOptFetchValue(&GetState,
239 if (RT_FAILURE(vrc))
H A DVBoxManageUSB.cpp311 int vrc = RTStrToUInt32Full(a->argv[i], 0, &u32); local
312 if (RT_FAILURE(vrc))
313 return errorArgument("Failed to convert the --maskedinterfaces value '%s' to a number, vrc=%Rrc", a->argv[i], vrc);

Completed in 98 milliseconds

1234