Searched defs:rc (Results 426 - 450 of 1806) sorted by relevance

<<11121314151617181920>>

/vbox/src/VBox/Devices/Network/slirp/
H A Dslirp_dns.c159 int rc; local
164 rc = rcp_parse(&st, RESOLV_CONF_FILE);
166 if (rc < 0)
234 int rc = VINF_SUCCESS; local
274 LogFlowFuncLeaveRC(rc);
275 return rc;
282 int rc = VINF_SUCCESS; local
305 LogFlowFuncLeaveRC(rc);
306 return rc;
/vbox/src/VBox/Devices/PC/
H A DDevLPC.cpp212 int rc; local
310 rc = PDMDevHlpPCIRegister (pDevIns, &pThis->dev);
311 if (RT_FAILURE(rc))
312 return rc;
317 rc = PDMDevHlpMMIORegister(pDevIns, RCBA_BASE, 0x4000, pThis,
320 if (RT_FAILURE(rc))
321 return rc;
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/image/
H A Dcom32.c54 * @ret rc Return status code
160 * @ret rc Return status code
205 * @ret rc Return status code
213 int rc, i; local
223 if ( ( rc = prep_segment ( buffer, filesz, memsz ) ) != 0 ) {
225 image, strerror ( rc ) );
226 return rc;
260 * @ret rc Return status code
266 int rc; local
276 if ( ( rc
292 int rc; local
311 int rc; local
[all...]
H A Dcomboot.c130 * @ret rc Return status code
216 * @ret rc Return status code
243 * @ret rc Return status code
249 int rc; local
261 if ( ( rc = prep_segment ( seg_userptr, filesz, memsz ) ) != 0 ) {
263 image, strerror ( rc ) );
264 return rc;
280 * @ret rc Return status code
283 int rc; local
289 if ( ( rc
304 int rc; local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/
H A Dmemtop_umalloc.c61 * @ret rc Return status code
146 int rc; local
150 if ( ( rc = init_eheap() ) != 0 )
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pxe/
H A Dpxe_file.c210 int rc; local
225 if ( ( rc = system ( command_string ) ) != 0 ) {
226 file_exec->Status = PXENV_STATUS ( rc );
H A Dpxe_udp.c52 * @ret rc Return status code
65 int rc = 0; local
69 rc = -ENOBUFS;
100 return rc;
163 int rc; local
173 if ( ( rc = udp_open_promisc ( &pxe_udp.xfer ) ) != 0 ) {
175 strerror ( rc ) );
176 pxenv_udp_open->Status = PXENV_STATUS ( rc );
268 int rc; local
310 if ( ( rc
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/vmware/
H A Dguestinfo.c181 int rc; local
186 rc = guestinfo_channel;
188 strerror ( rc ) );
193 if ( ( rc = register_settings ( &guestinfo_settings, NULL,
196 strerror ( rc ) );
210 * @ret rc Return status code
214 int rc; local
223 rc = -ENOMEM;
229 if ( ( rc = register_settings ( settings, netdev_settings ( netdev ),
232 settings, netdev->name, strerror ( rc ) );
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Ddownloader.c73 * @v rc Reason for termination
75 static void downloader_finished ( struct downloader *downloader, int rc ) {
78 if ( rc == 0 ) {
83 downloader->image->name, strerror ( rc ) );
87 intf_shutdown ( &downloader->xfer, rc );
88 intf_shutdown ( &downloader->job, rc );
96 * @ret rc Return status code
157 * @ret rc Return status code
164 int rc; local
174 if ( ( rc
239 int rc; local
[all...]
H A Dnvo.c57 * @ret rc Return status code
90 * @ret rc Return status code
95 int rc; local
106 if ( ( rc = nvo->resize ( nvo, len ) ) != 0 ) {
108 nvo, len, strerror ( rc ) );
109 return rc;
113 if ( ( rc = nvo_realloc ( nvo, len ) ) != 0 )
114 return rc;
123 * @ret rc Return status code
127 int rc; local
169 int rc; local
213 int rc; local
287 int rc; local
[all...]
H A Dopen.c56 * @ret rc Return status code
64 int rc; local
69 rc = -ENOMEM;
79 rc = -ENOTSUP;
86 if ( ( rc = opener->open ( intf, resolved_uri ) ) != 0 ) {
88 "%s\n", INTF_DBG ( intf ), strerror ( rc ) );
96 return rc;
104 * @ret rc Return status code
112 int rc; local
121 rc
200 int rc; local
[all...]
/vbox/src/VBox/Main/glue/
H A DErrorInfo.cpp48 HRESULT rc = S_OK; local
50 rc = mErrorInfo.queryInterfaceTo(pVirtualBoxErrorInfo.asOutParam());
53 return rc;
103 HRESULT rc = E_FAIL; local
108 rc = ::GetErrorInfo(0, err.asOutParam());
109 if (rc == S_OK && err)
115 rc = err.queryInterfaceTo(info.asOutParam());
116 if (SUCCEEDED(rc) && info)
123 rc = err->GetGUID(mInterfaceID.asOutParam());
124 gotSomething |= SUCCEEDED(rc);
211 HRESULT rc = iface.queryInterfaceTo(serr.asOutParam()); local
236 HRESULT rc = E_FAIL; local
304 HRESULT rc = progress->COMGETTER(ErrorInfo)(info.asOutParam()); local
[all...]
H A Derrorprint.cpp96 void GluePrintRCMessage(HRESULT rc) argument
98 Utf8Str str = Utf8StrFmt("Code %Rhra (extended info not available)\n", rc);
106 HRESULT rc,
132 GluePrintRCMessage(rc);
139 HRESULT rc,
149 rc,
157 HRESULT rc,
166 rc,
104 glueHandleComErrorInternal(com::ErrorInfo &info, const char *pcszContext, HRESULT rc, const char *pcszSourceFile, uint32_t ulLine) argument
137 GlueHandleComError(ComPtr<IUnknown> iface, const char *pcszContext, HRESULT rc, const char *pcszSourceFile, uint32_t ulLine) argument
155 GlueHandleComErrorProgress(ComPtr<IProgress> progress, const char *pcszContext, HRESULT rc, const char *pcszSourceFile, uint32_t ulLine) argument
/vbox/src/VBox/Main/include/
H A DAutoStateDep.h31 * if (FAILED(autoCaller.rc())) return autoCaller.rc();
34 * if (FAILED(stateDep.rc())) return stateDep.rc();
71 * destroyed. Note that will reset #rc() to E_FAIL. */
79 /** Restores the number of callers after by #release(). #rc() will be
90 HRESULT rc() const { return mRC; } function in class:AutoStateDependency
92 /** Shortcut to SUCCEEDED(rc()). */
123 * #rc() method will indicate a failure, and the caller is not allowed to
135 * destroyed. If the machine is not mutable, this instance's #rc() metho
[all...]
/vbox/src/VBox/Main/src-all/
H A DAutoCaller.cpp125 HRESULT rc = E_ACCESSDENIED; local
131 rc = S_OK;
140 rc = S_OK;
179 rc = S_OK;
193 if (FAILED(rc))
196 rc = mObj->setError(rc, "The object functionality is limited");
198 rc = mObj->setError(rc, "The object is not ready");
201 return rc;
[all...]
/vbox/src/VBox/Main/src-client/
H A DDisplaySourceBitmapImpl.cpp62 int rc = initSourceBitmap(uScreenId, pFBInfo); local
64 if (RT_FAILURE(rc))
120 int rc = VINF_SUCCESS; local
160 rc = VERR_NO_MEMORY;
168 if (RT_SUCCESS(rc))
182 return rc;
H A DVirtualBoxClientImpl.cpp45 HRESULT rc = init(); local
47 return rc;
68 HRESULT rc; local
79 rc = mData.m_pVirtualBox.createLocalObject(CLSID_VirtualBox);
80 AssertComRCReturnRC(rc);
82 rc = unconst(mData.m_pEventSource).createObject();
83 AssertComRCReturnRC(rc);
84 rc = mData.m_pEventSource->init();
85 AssertComRCReturnRC(rc);
108 return rc;
167 HRESULT rc = pSession.createInprocObject(CLSID_Session); local
198 HRESULT rc = aMachine->COMGETTER(Accessible)(&fAccessible); local
238 HRESULT rc = S_OK; local
[all...]
/vbox/src/VBox/Main/src-server/generic/
H A DAutostartDb-generic.cpp39 int rc = VINF_SUCCESS; local
46 rc = RTProcQueryUsernameA(RTProcSelf(), &pszUser);
47 if (RT_SUCCESS(rc))
60 rc = RTStrAPrintf(&pszFile, "%s/%s.%s",
62 if (RT_SUCCESS(rc))
64 rc = RTFileOpen(&hAutostartFile, pszFile, fOpen);
65 if (RT_SUCCESS(rc))
74 rc = RTFileGetSize(hAutostartFile, &cbFile);
75 if ( RT_SUCCESS(rc)
86 rc
142 int rc = RTCritSectInit(&this->CritSect); local
184 int rc = VERR_NOT_SUPPORTED; local
205 int rc = VINF_SUCCESS; local
225 int rc = VINF_SUCCESS; local
245 int rc = VINF_SUCCESS; local
[all...]
/vbox/src/VBox/Main/src-server/linux/
H A DHostDnsServiceLinux.cpp96 int rc = socketpair(AF_LOCAL, SOCK_DGRAM, 0, g_DnsMonitorStop); local
97 AssertMsgReturn(rc == 0, ("socketpair: failed (%d: %s)\n", errno, strerror(errno)), E_FAIL);
133 rc = poll(polls, 2, -1);
134 if (rc == -1)
/vbox/src/VBox/Main/src-server/os2/
H A DUSBProxyServiceOs2.cpp50 int rc = DosCreateEventSem(NULL, &mhev, 0, FALSE); local
51 rc = RTErrConvertFromOS2(rc);
52 if (RT_SUCCESS(rc))
54 rc = DosLoadModule(NULL, 0, (PCSZ)"usbcalls", &mhmod);
55 rc = RTErrConvertFromOS2(rc);
56 if (RT_SUCCESS(rc))
58 if ( (rc = DosQueryProcAddr(mhmod, 0, (PCSZ)"UsbQueryNumberDevices", (PPFN)&mpfnUsbQueryNumberDevices)) == NO_ERROR
59 && (rc
180 int rc = DosWaitEventSem(mhev, aMillies); local
187 int rc = DosPostEventSem(mhev); local
201 int rc = mpfnUsbQueryNumberDevices((PULONG)&cDevices); /* Thanks to com/xpcom, PULONG and ULONG * aren't the same. */ local
[all...]
/vbox/src/VBox/Main/src-server/win/
H A DHostPowerWin.cpp38 int rc = RTThreadCreate(&mThread, HostPowerServiceWin::NotificationThread, this, 65536, local
41 if (RT_FAILURE(rc))
43 Log(("HostPowerServiceWin::HostPowerServiceWin: RTThreadCreate failed with %Rrc\n", rc));
71 int rc = VINF_SUCCESS; local
93 rc = VERR_NOT_SUPPORTED;
107 rc = VERR_NOT_SUPPORTED;
181 LONG rc; local
184 rc = CallNtPowerInformation(SystemBatteryState, NULL, 0, (PVOID)&BatteryState,
187 if (rc == 0 /* STATUS_SUCCESS */)
191 if ( rc
[all...]
H A DUSBProxyServiceWindows.cpp63 int rc = USBLibInit(); local
64 if (RT_SUCCESS(rc))
69 rc = start();
70 if (RT_SUCCESS(rc))
82 LogFlowThisFunc(("returns failure!!! (rc=%Rrc)\n", rc));
83 mLastError = rc;
108 int rc = USBLibTerm(); local
109 AssertRC(rc);
167 int rc local
209 int rc = USBLibRunFilters(); local
[all...]
/vbox/src/VBox/Main/testcase/
H A DtstVBoxAPIWin.cpp65 HRESULT rc; local
72 rc = virtualBox->get_Machines(&machinesArray);
73 if (SUCCEEDED(rc))
76 rc = SafeArrayAccessData(machinesArray, (void **) &machines);
77 if (SUCCEEDED(rc))
83 rc = machines[i]->get_Name(&str);
84 if (SUCCEEDED(rc))
103 HRESULT rc; local
109 rc = virtualBox->FindMachine(machineName, &machine);
111 if (FAILED(rc))
147 HRESULT rc; local
260 HRESULT rc; local
[all...]
/vbox/src/VBox/HostDrivers/Support/
H A DSUPR3HardenedIPRT.cpp97 DECLHIDDEN(void) supR3HardenedFatalMsgV(const char *pszWhere, SUPINITOP enmWhat, int rc, const char *pszMsgFmt, va_list va) argument
101 AssertFatalMsgFailed(("%s (rc=%Rrc): %N", pszWhere, rc, pszMsgFmt, &vaCopy));
107 DECLHIDDEN(void) supR3HardenedFatalMsg(const char *pszWhere, SUPINITOP enmWhat, int rc, const char *pszMsgFmt, ...) argument
111 supR3HardenedFatalMsgV(pszWhere, enmWhat, rc, pszMsgFmt, va);
134 DECLHIDDEN(int) supR3HardenedErrorV(int rc, bool fFatal, const char *pszFormat, va_list va) argument
145 return rc;
149 DECLHIDDEN(int) supR3HardenedError(int rc, bool fFatal, const char *pszFormat, ...) argument
153 supR3HardenedErrorV(rc, fFatal, pszFormat, va);
155 return rc;
[all...]
/vbox/src/VBox/HostDrivers/Support/freebsd/
H A DSUPLib-freebsd.cpp84 int rc; local
87 case ENODEV: rc = VERR_VM_DRIVER_LOAD_ERROR; break;
89 case EACCES: rc = VERR_VM_DRIVER_NOT_ACCESSIBLE; break;
90 case ENOENT: rc = VERR_VM_DRIVER_NOT_INSTALLED; break;
91 default: rc = VERR_VM_DRIVER_OPEN_ERROR; break;
93 LogRel(("Failed to open \"%s\", errno=%d, rc=%Rrc\n", fUnrestricted ? DEVICE_NAME_SYS : DEVICE_NAME_USR, errno, rc));
94 return rc;
103 int rc = VERR_INTERNAL_ERROR; local
106 int rc
161 int rc = ioctl(pThis->hDevice, uFunction, idCpu); local
[all...]

Completed in 314 milliseconds

<<11121314151617181920>>