/vbox/src/VBox/Devices/PC/ipxe/src/net/udp/ |
H A D | syslog.c | 113 int rc; local 127 if ( ( rc = xfer_printf ( &syslogger, "<%d>ipxe: %s", 132 strerror ( rc ) ); 164 * @ret rc Return status code 171 int rc; local 195 if ( ( rc = xfer_open_socket ( &syslogger, SOCK_DGRAM, 199 strerror ( rc ) ); 200 return rc;
|
/vbox/src/VBox/Devices/PC/ipxe/src/tests/ |
H A D | test.c | 105 * @ret rc Return status code 159 int rc; local 162 if ( ( rc = register_image ( &test_image ) ) != 0 ) { 164 strerror ( rc ) );
|
/vbox/src/VBox/Devices/PC/ipxe/src/usr/ |
H A D | lotest.c | 51 * @ret rc Return status code 93 * @ret rc Return status code 103 int rc; local 121 if ( ( rc = ll_protocol->pull ( receiver, iobuf, &ll_dest, 125 strerror ( rc ) ); 127 return rc; 173 * @ret rc Return status code 181 int rc; local 184 if ( ( rc = ifopen ( sender ) ) != 0 ) 185 return rc; [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/util/ |
H A D | iccfix.c | 30 * @ret rc Return status code 87 int rc; local 94 rc = -1; 100 rc = -1; 108 rc = -1; 116 rc = iccfix32 ( elf ); 119 rc = iccfix64 ( elf ); 124 rc = -1; 133 return rc; 138 int rc; local [all...] |
/vbox/src/VBox/Devices/Serial/ |
H A D | DrvRawFile.cpp | 69 int rc = VINF_SUCCESS; local 77 rc = RTFileWrite(pThis->hOutputFile, pvBuf, *pcbWrite, &cbWritten); 80 if (RT_SUCCESS(rc)) 86 LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc)); 87 return rc; 177 int rc = CFGMR3QueryStringAlloc(pCfg, "Location", &pThis->pszLocation); local 178 if (RT_FAILURE(rc)) 179 AssertMsgFailedReturn(("Configuration error: query \"Location\" resulted in %Rrc.\n", rc), rc); 184 rc [all...] |
/vbox/src/VBox/Devices/Storage/ |
H A D | DrvHostFloppy.cpp | 77 int rc; local 81 rc = DeviceIoControl((HANDLE)RTFileToNative(pThis->hFileDevice), IOCTL_DISK_GET_DRIVE_GEOMETRY, 83 if (rc) { 86 rc = VINF_SUCCESS; 93 rc = RTErrConvertFromWin32(dwLastError); 94 Log(("DrvHostFloppy: IOCTL_DISK_GET_DRIVE_GEOMETRY(%s) failed, LastError=%d rc=%Rrc\n", 95 pThis->pszDevice, dwLastError, rc)); 96 return rc; 99 return rc; 111 int rc local 146 int rc = ioctl(RTFileToNative(pThis->hFileDevice), FDPOLLDRVSTAT, &DrvStat); local 189 int rc = DRVHostBaseInitData(pDrvIns, pCfg, PDMBLOCKTYPE_FLOPPY_1_44); local [all...] |
H A D | VBoxSCSI.cpp | 160 int rc = VINF_SUCCESS; local 225 rc = VERR_MORE_DATA; /** @todo Better return value to indicate ready command? */ 246 rc = VERR_MORE_DATA; 267 return rc; 280 int rc = VINF_SUCCESS; local 323 return rc; 378 int rc = PGMPhysSimpleDirtyWriteGCPtr(PDMDevHlpGetVMCPU(pDevIns), GCDst, pVBoxSCSI->pbBuf + pVBoxSCSI->iBuf, cbTransfer); local 379 AssertRC(rc); 403 return rc; 423 int rc local [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/ |
H A D | UIDnDDrag.cpp | 76 int rc = VINF_SUCCESS; local 131 LogFlowFuncLeaveRC(rc); 132 return rc; 146 int rc = VINF_SUCCESS; local 160 rc = ( progress.isOk() 162 ? VINF_SUCCESS : VERR_GENERAL_FAILURE; /** @todo Fudge; do a GetResultCode() to rc translation. */ 164 if (RT_SUCCESS(rc)) 196 rc = VERR_NOT_SUPPORTED; 201 rc = VERR_NO_DATA; 207 rc [all...] |
H A D | UIDnDMIMEData.cpp | 168 int rc = VINF_SUCCESS; local 171 rc = UIDnDDrag::RetrieveData(m_Session, 176 if (RT_SUCCESS(rc)) 187 LogFlowFunc(("Returning rc=%Rrc, m_enmState=%ld\n", 188 rc, m_enmState)); 254 int rc = VINF_SUCCESS; local 286 if (RT_SUCCESS(rc)) 292 rc = VERR_NOT_SUPPORTED; 296 LogFlowFuncLeaveRC(rc); 297 return rc; [all...] |
/vbox/src/VBox/GuestHost/OpenGL/spu_loader/ |
H A D | spuload.c | 56 int rc = RTPathAppPrivateArch (szSharedLibPath, sizeof(szSharedLibPath)); local 57 if (RT_SUCCESS(rc))
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/linux/ |
H A D | linux.c | 42 int rc; local 54 rc = 1; 57 if ((rc = strcmp(driver->name, request->driver)) == 0) 61 if (rc != 0) { 136 int rc; local 145 rc = storef_setting(settings_block, find_setting(setting->name), setting->value); 146 if (rc != 0)
|
H A D | tap.c | 111 int rc; local 116 rc = linux_write(nic->fd, iobuf->data, iobuf->tail - iobuf->data); 117 DBGC2(nic, "tap %p wrote %d bytes\n", nic, rc); 191 int rc; local 203 if ((rc = register_netdev(netdev)) != 0) 214 rc = -EINVAL; 231 return rc;
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/efi/ |
H A D | snpnet.c | 53 * @ret rc Return status code 137 * @ret rc Return status code 243 * @ret rc Return status code 250 int rc; local 271 rc = EFIRC_TO_RC ( efirc ); 278 rc = -EINVAL; 285 if ( ( rc = register_netdev ( netdev ) ) != 0 ) 303 return rc;
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ |
H A D | skeleton.c | 80 * @ret rc Return status code 110 * @ret rc Return status code 148 * @ret rc Return status code 173 * @ret rc Return status code 229 * @ret rc Return status code 234 int rc; local 239 rc = -ENOMEM; 255 if ( ( rc = skeleton_reset ( skel ) ) != 0 ) 260 if ( ( rc = mii_reset ( &skel->mii ) ) != 0 ) { 262 skel, strerror ( rc ) ); [all...] |
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf/ |
H A D | ctf_labels.c | 88 int rc; local 104 if ((rc = func(lname, &linfo, arg)) != 0) 105 return (rc); 143 int rc; local 148 if ((rc = ctf_label_iter(fp, label_info_cb, &cb_arg)) == CTF_ERR) 149 return (rc); 151 if (rc != 1)
|
/vbox/src/VBox/Frontends/VBoxAutostart/ |
H A D | VBoxAutostartStart.cpp | 86 HRESULT rc = g_pVirtualBox->COMGETTER(Machines)(ComSafeArrayAsOutParam(machines)); local 87 if (SUCCEEDED(rc)) 115 if ( SUCCEEDED(rc) 142 if (SUCCEEDED(rc) && !progress.isNull()) 146 if (SUCCEEDED(rc)) 150 if (SUCCEEDED(rc)) 156 if (SUCCEEDED(rc))
|
H A D | VBoxAutostartStop.cpp | 52 HRESULT rc = S_OK; local 60 rc = console->Pause(); 61 if (FAILED(rc)) 64 if (rc == VBOX_E_INVALID_VM_STATE) 70 rc = VBOX_E_INVALID_VM_STATE; 88 if (FAILED(rc)) 95 rc = showProgress(progress); 97 if (FAILED(rc)) 104 return rc; 118 HRESULT rc local [all...] |
H A D | VBoxAutostartUtils.cpp | 188 DECLHIDDEN(RTEXITCODE) autostartSvcLogGetOptError(const char *pszAction, int rc, int argc, char **argv, int iArg, PCRTGETOPTUNION pValue) argument 192 pszAction, rc, rc, iArg < argc ? argv[iArg] : "<null>"); 220 DECLHIDDEN(RTEXITCODE) autostartSvcDisplayGetOptError(const char *pszAction, int rc, int argc, char **argv, int iArg, PCRTGETOPTUNION pValue) 223 pszAction, rc, rc, iArg < argc ? argv[iArg] : "<null>"); 273 HRESULT rc = g_pVirtualBoxClient->COMGETTER(VirtualBox)(g_pVirtualBox.asOutParam()); 274 if (SUCCEEDED(rc)) 276 rc = g_pSession.createInprocObject(CLSID_Session); 277 if (FAILED(rc)) [all...] |
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManageHelp.cpp | 924 * @param rc The RTGetOpt return code. 927 RTEXITCODE errorGetOptEx(USAGECATEGORY fCategory, uint32_t fSubCategory, int rc, union RTGETOPTUNION const *pValueUnion) argument 932 if (rc == 'V') 938 if (rc == 'h') 961 if (rc == VINF_GETOPT_NOT_OPTION) 963 if (rc > 0) 965 if (RT_C_IS_PRINT(rc)) 966 return RTMsgErrorExit(RTEXITCODE_SYNTAX, "Invalid option -%c", rc); 967 return RTMsgErrorExit(RTEXITCODE_SYNTAX, "Invalid option case %i", rc); 969 if (rc 987 errorGetOpt(USAGECATEGORY fCategory, int rc, union RTGETOPTUNION const *pValueUnion) argument [all...] |
H A D | VBoxManageHostonly.cpp | 52 HRESULT rc; local 64 rc = showProgress(progress); 83 HRESULT rc; local 100 rc = showProgress(progress); 128 HRESULT rc; local 220 if (FAILED(rc)) 275 // if(!rc)
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTCType.cpp | 286 int rc = RTTestInitAndCreate("tstRTCType", &hTest); local 287 if (rc) 288 return rc;
|
H A D | tstRTFileAio.cpp | 100 int rc; local 109 rc = RTFileAioReqPrepareWrite(paReqs[i], File, off, papvBuf[i], 112 rc = RTFileAioReqPrepareRead(paReqs[i], File, off, papvBuf[i], 114 RTTESTI_CHECK_RC(rc, VINF_SUCCESS); 121 rc = RTFileAioCtxSubmit(hAioContext, paReqs, cReqs); 122 RTTESTI_CHECK_MSG(rc == VINF_SUCCESS, ("Failed to submit tasks after %d runs. rc=%Rrc\n", cRuns, rc)); 123 if (rc != VINF_SUCCESS) 128 RTTESTI_CHECK_RC(rc [all...] |
H A D | tstRTHttp.cpp | 66 int rc = RTHttpCertDigest(hHttp, pszBuf, cbBuf, local 68 if (RT_SUCCESS(rc)) 73 rc = VERR_INTERNAL_ERROR; 81 rc = VERR_INTERNAL_ERROR; 86 rc = VERR_INTERNAL_ERROR; 94 rc = VERR_INTERNAL_ERROR; 98 if (RT_SUCCESS(rc)) 99 rc = RTStrmWrite(CAFile, pszBuf, cbBuf); 100 if (RT_SUCCESS(rc)) 101 rc 130 int rc = RTHttpCertDigest(hHttp, pszBuf, cbBuf, local 174 checkError(RTHTTP hHttp, int rc, const char *pszFile) argument 217 int rc = RTHttpCreate(&hHttp); local [all...] |
H A D | tstRTList.cpp | 217 int rc = RTTestInitAndCreate("tstRTList", &hTest); local 218 if (rc) 219 return rc;
|
H A D | tstRTMemPool.cpp | 263 int rc = RTThreadCreateF(&pahThreads[i], tst4Thread, (void *)(uintptr_t)i, 0, local 265 RTTESTI_CHECK_RC_OK(rc); 266 if (RT_FAILURE(rc)) 280 int rc = RTThreadWait(pahThreads[i], 2*60*1000, NULL); local 281 RTTESTI_CHECK_RC_OK(rc); 309 int rc = RTTestInitAndCreate("tstRTMemPool", &hTest); local 310 if (rc) 311 return rc; 323 RTTESTI_CHECK_RC(rc = RTMemPoolCreate(&hMemPool, "test 2a"), VINF_SUCCESS); 324 if (RT_SUCCESS(rc)) [all...] |