Lines Matching refs:vrc
202 int vrc;
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);
227 if (RT_SUCCESS(vrc) || vrc == VERR_ENV_VAR_NOT_FOUND)
230 if (RT_SUCCESS(vrc))
233 vrc = RTPathAbs(szTmp, aDir, aDirLen);
241 vrc = RTStrCopy(szXdgConfigHome,
244 if (RT_SUCCESS(vrc))
245 vrc = RTPathAppend(szXdgConfigHome,
250 vrc = RTStrCopy(szXdgConfigHome,
256 vrc = composeHomePath(aDir, aDirLen, apcszUserHome[i]);
257 if ( RT_SUCCESS(vrc)
267 if (RT_SUCCESS(vrc))
269 vrc = RTDirCreateFullPath(aDir, 0700);
272 return vrc;
301 int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp));
302 if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
304 vrc = RTSystemQueryOSInfo(RTSYSOSINFO_RELEASE, szTmp, sizeof(szTmp));
305 if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
307 vrc = RTSystemQueryOSInfo(RTSYSOSINFO_VERSION, szTmp, sizeof(szTmp));
308 if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
310 vrc = RTSystemQueryOSInfo(RTSYSOSINFO_SERVICE_PACK, szTmp, sizeof(szTmp));
311 if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
314 vrc = RTSystemQueryDmiString(RTSYSDMISTR_PRODUCT_NAME, szTmp, sizeof(szTmp));
315 if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
317 vrc = RTSystemQueryDmiString(RTSYSDMISTR_PRODUCT_VERSION, szTmp, sizeof(szTmp));
318 if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
322 vrc = RTSystemQueryTotalRam(&cbHostRam);
323 if (RT_SUCCESS(vrc))
324 vrc = RTSystemQueryAvailableRam(&cbHostRamAvail);
325 if (RT_SUCCESS(vrc))
379 int vrc = RTLogCreateEx(&pReleaseLogger, fFlags, pcszGroupSettings,
384 if (RT_SUCCESS(vrc))
395 return vrc;