/vbox/src/VBox/VMM/VMMRZ/ |
H A D | VMMRZ.cpp | 89 int rc; local 92 rc = pVCpu->vmm.s.pfnCallRing3CallbackR0(pVCpu, enmOperation, pVCpu->vmm.s.pvCallRing3CallbackUserR0); 93 if (RT_FAILURE(rc)) 94 return rc; 96 rc = vmmR0CallRing3LongJmp(&pVCpu->vmm.s.CallRing3JmpBufR0, VINF_VMM_CALL_HOST); 97 if (RT_FAILURE(rc)) 98 return rc;
|
/vbox/src/VBox/VMM/testcase/ |
H A D | tstGlobalConfig.cpp | 84 int rc = RTStrToUInt64Ex(argv[2], &pszNext, 0, &Req.u64Value); local 85 if (RT_FAILURE(rc) || *pszNext) 87 RTPrintf("syntax error: '%s' didn't convert successfully to a number. (%Rrc,'%s')\n", argv[2], rc, pszNext); 97 int rc = SUPR3Init(&pSession); local 98 if (RT_FAILURE(rc)) 100 RTPrintf("tstGlobalConfig: SUPR3Init -> %Rrc\n", rc); 104 rc = SUPR3LoadVMM("./VMMR0.r0"); 105 if (RT_SUCCESS(rc)) 108 rc = SUPR3CallVMMR0Ex(NIL_RTR0PTR, NIL_VMCPUID, enmOp, 0, &Req.Hdr); 109 if (RT_SUCCESS(rc)) [all...] |
H A D | tstMicroRC.cpp | 162 int rc = VINF_SUCCESS; local 211 rc = tstPFR0(pTst); 219 rc = tstPFR1(pTst); 227 rc = tstPFR2(pTst); 235 rc = tstPFR3(pTst); 255 return rc;
|
H A D | tstSSM-2.cpp | 34 int rc = SSMR3Open(pszFilename, 0, &pSSM); local 36 if (RT_SUCCESS(rc)) 39 rc = RTFileOpen(&hFile, pszOutputFilename, RTFILE_O_DENY_NONE | RTFILE_O_WRITE | RTFILE_O_CREATE); 40 if (RT_SUCCESS(rc)) 43 rc = SSMR3Seek(pSSM, pszUnitname, 0 /* iInstance */, &version); 45 if (RT_SUCCESS(rc)) 50 rc = SSMR3GetU8(pSSM, &u8); 51 if (RT_FAILURE(rc)) 54 rc = RTFileWrite(hFile, &u8, sizeof(u8), &cbWritten); 60 RTPrintf("Cannot find unit '%s' (%Rrc)\n", pszUnitname, rc); [all...] |
H A D | tstVMM-HM.cpp | 50 int rc = CFGMR3InsertInteger(pRoot, "RamSize", 32*1024*1024); local 51 AssertRC(rc); 53 /* rc = CFGMR3InsertInteger(pRoot, "EnableNestedPaging", false); 54 AssertRC(rc); */ 57 rc = CFGMR3InsertNode(pRoot, "HWVirtExt", &pHWVirtExt); 58 AssertRC(rc); 59 rc = CFGMR3InsertInteger(pHWVirtExt, "Enabled", 1); 60 AssertRC(rc); 87 int rc = VMR3Create(1, NULL, NULL, NULL, tstVmmHmConfigConstructor, NULL, &pVM, &pUVM); local 88 if (RT_SUCCESS(rc)) [all...] |
H A D | tstVMMFork.cpp | 70 int rc = VMR3Create(1, NULL, NULL, NULL, NULL, NULL, &pVM, &pUVM); local 71 if (RT_SUCCESS(rc)) 149 rc = VMR3PowerOff(pUVM); 150 if (!RT_SUCCESS(rc)) 152 RTPrintf(TESTCASE ": error: failed to power off vm! rc=%Rrc\n", rc); 155 rc = VMR3Destroy(pUVM); 156 if (!RT_SUCCESS(rc)) 158 RTPrintf(TESTCASE ": error: failed to destroy vm! rc=%Rrc\n", rc); [all...] |
H A D | tstVMStructSize.cpp | 72 int rc = 0; local 111 rc++; \ 262 rc++; 268 rc++; 334 rc++; 430 rc++; 546 if (rc) 547 printf("tstVMStructSize: FAILURE - %d errors\n", rc); 550 return rc;
|
H A D | tstX86-FpuSaveRestore.cpp | 37 int rc = RTTestInitAndCreate("tstX86-FpuSaveRestore", &hTest); local
|
/vbox/src/VBox/ValidationKit/utils/cpu/ |
H A D | xmmsaving.cpp | 114 int rc = RTTestInitAndCreate("xmmsaving", &hTest); local 115 if (rc) 116 return rc;
|
/vbox/src/VBox/ValidationKit/utils/misc/ |
H A D | loadgeneratorR0.cpp | 62 int rc = RTMpOnAll(loadgenR0IpiWorker, NULL, NULL); local 63 if (RT_FAILURE(rc)) 64 return rc;
|
/vbox/src/VBox/ValidationKit/utils/nt/ |
H A D | ntsetfreq.cpp | 52 int rc = RTR3InitExe(argc, &argv, 0); local 53 if (RT_FAILURE(rc)) 54 return RTMsgInitFailure(rc); 74 while ((rc = RTGetOpt(&GetState, &ValueUnion))) 76 switch (rc) 103 return RTGetOptPrintError(rc, &ValueUnion);
|
/vbox/src/VBox/Devices/Audio/ |
H A D | pulse_stubs.c | 259 int rc = VINF_SUCCESS; local 273 rc = RTLdrLoad(VBOX_PULSE_LIB, &hLib); 274 if (RT_FAILURE(rc)) 277 return rc; 281 rc = RTLdrGetSymbol(hLib, SharedFuncs[i].name, (void**)SharedFuncs[i].fn); 282 if (RT_FAILURE(rc)) 283 return rc; 286 return rc;
|
/vbox/src/VBox/Devices/PC/ |
H A D | DevPcArch.cpp | 52 int rc; local 54 rc = PDMDevHlpDBGFStop(pDevIns, RT_SRC_POS, "Port=%#x cb=%d\n", Port, cb); 55 if (rc == VINF_SUCCESS) 56 rc = VERR_IOM_IOPORT_UNUSED; 57 return rc; 66 int rc = VINF_SUCCESS; local 80 rc = PDMDeviceDBGFStop(pDevIns, RT_SRC_POS, "Port=%#x cb=%d u32=%#x\n", Port, cb, u32); 97 rc = PDMDevHlpDBGFStop(pDevIns, RT_SRC_POS, "Port=%#x cb=%d u32=%#x\n", Port, cb, u32); 104 rc = PDMDevHlpDBGFStop(pDevIns, RT_SRC_POS, "Port=%#x cb=%d u32=%#x\n", Port, cb, u32); 105 return rc; 191 int rc; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/core/ |
H A D | runtime.c | 110 * @ret rc Return status code 116 int rc; local 131 rc = -ENOMEM; 153 if ( ( rc = register_image ( &cmdline_image ) ) != 0 ) { 155 "line: %s\n", strerror ( rc ) ); 168 return rc; 174 * @ret rc Return status code 178 int rc; local 197 rc = -ENOMEM; 200 if ( ( rc 246 int rc; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/drivers/net/ |
H A D | undirom.c | 42 * @ret rc Return status code 118 * @ret rc Return status code 126 int rc; local 131 rc = -EINVAL; 140 rc = -ENOMEM; 151 rc = -EINVAL; 157 rc = -EINVAL; 160 if ( ( rc = undirom_parse_pxeromid ( undirom, pxeromid ) ) != 0 ) 175 return rc;
|
/vbox/src/VBox/Devices/PC/ipxe/src/core/ |
H A D | monojob.c | 39 static void monojob_close ( struct interface *intf, int rc ) { 40 monojob_rc = rc; 41 intf_restart ( intf, rc ); 57 * @ret rc Job final status code 62 int rc; local 104 rc = monojob_rc; 109 if ( rc ) { 110 printf ( " %s\n", strerror ( rc ) ); 114 return rc;
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/bus/ |
H A D | isa.c | 59 * @ret rc Return status code 62 int rc; local 67 if ( ( rc = isa->driver->probe ( isa ) ) != 0 ) { 69 return rc; 98 int rc; local 107 rc = -ENOMEM; 143 return rc;
|
/vbox/src/VBox/Main/include/ |
H A D | EventImpl.h | 163 int rc = mEventSource->FireEvent(mEvent, aTimeout, &fDelivered); local 164 AssertRCReturn(rc, FALSE);
|
/vbox/src/VBox/Main/src-server/ |
H A D | HostPower.cpp | 49 HRESULT rc = S_OK; local 75 rc = pControl->PauseWithReason(Reason_HostSuspend); 76 if (FAILED(rc)) 100 rc = mSessionControls[i]->ResumeWithReason(Reason_HostResume); 101 if (FAILED(rc)) 126 rc = mVirtualBox->GetExtraData(Bstr("VBoxInternal2/SavestateOnBatteryLow").raw(), 129 if (SUCCEEDED(rc) && !value.isEmpty()) 146 rc = pMachine->GetExtraData(Bstr("VBoxInternal2/SavestateOnBatteryLow").raw(), 149 if (SUCCEEDED(rc) && !value.isEmpty()) 165 rc 181 AssertMsg(SUCCEEDED(rc), ("SaveState WaitForCompletion failed with %Rhrc (%#08X)\\n", rc, rc)); local [all...] |
/vbox/src/VBox/GuestHost/OpenGL/util/ |
H A D | htable.cpp | 122 int rc = crHTableRealloc(pTbl, iIndex + RT_MAX(10, pTbl->cSize/4)); local 123 if (!RT_SUCCESS(rc)) 125 WARN(("crHTableRealloc failed rc %d", rc)); 145 int rc = crHTableRealloc(pTbl, pTbl->cSize + RT_MAX(10, pTbl->cSize/4)); local 146 if (!RT_SUCCESS(rc)) 148 WARN(("crHTableRealloc failed rc %d", rc));
|
/vbox/src/VBox/HostDrivers/Support/ |
H A D | SUPR0IdcClientStubs.c | 46 int rc; local 52 Req.Hdr.rc = VERR_WRONG_ORDER; 56 rc = supR0IdcNativeCall(pHandle, SUPDRV_IDC_REQ_GET_SYMBOL, &Req.Hdr); 57 if (RT_SUCCESS(rc))
|
/vbox/src/VBox/HostDrivers/Support/testcase/ |
H A D | SUPLoggerCtl.cpp | 155 int rc; local 159 rc = SUPR3LoggerSettings(enmWhich, pszFlags, pszGroups, pszDest); 162 rc = SUPR3LoggerCreate(enmWhich, pszFlags, pszGroups, pszDest); 165 rc = SUPR3LoggerDestroy(enmWhich); 168 rc = VERR_INTERNAL_ERROR; 171 if (RT_SUCCESS(rc)) 174 RTStrmPrintf(g_pStdErr, "SUPLoggerCtl: error: rc=%Rrc\n", rc); 176 return RT_SUCCESS(rc) ? 0 : 1;
|
/vbox/src/VBox/HostDrivers/VBoxUSB/darwin/ |
H A D | USBLib-darwin.cpp | 158 && RT_SUCCESS(Out.rc)) 165 AssertMsgFailed(("kr=%#x Out.rc=%Rrc\n", kr, Out.rc)); 172 int rc = VERR_WRONG_ORDER; local 174 IOByteCount cbOut = sizeof(rc); 180 &rc); 182 size_t cbOut = sizeof(rc); 186 &rc, &cbOut); 188 AssertMsg(kr == kIOReturnSuccess && RT_SUCCESS(rc), ("kr=%#x rc [all...] |
/vbox/src/VBox/HostServices/GuestControl/ |
H A D | gctrl.cpp | 61 int rc = RTGetOptArgvFromString(&ppaArg, &iArgs, pszArgs, NULL); local 62 if (RT_SUCCESS(rc)) 69 rc = RTStrAAppendN(&pszTemp, " ", 1); 71 if (RT_FAILURE(rc)) 75 rc = RTStrAAppendN(&pszTemp, ppaArg[i], strlen(ppaArg[i])); 76 if (RT_FAILURE(rc)) 81 if (RT_SUCCESS(rc)) 90 return rc; 106 int rc = VINF_SUCCESS; local 114 rc [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/nvs/ |
H A D | nvsvpd.c | 42 * @ret rc Return status code 51 int rc; local 58 if ( ( rc = pci_vpd_find ( &nvsvpd->vpd, field, &address, 62 PCI_VPD_FIELD_ARGS ( field ), strerror ( rc ) ); 63 return rc; 76 if ( ( rc = pci_vpd_read ( &nvsvpd->vpd, address, data, len ) ) != 0 ) { 80 address, ( address + len ), strerror ( rc ) ); 81 return rc; 94 * @ret rc Return status code 103 int rc; local 151 int rc; local 174 int rc; local 198 int rc; local 220 int rc; local [all...] |