Searched defs:rc (Results 401 - 425 of 1806) sorted by relevance

<<11121314151617181920>>

/vbox/src/VBox/Runtime/r0drv/freebsd/
H A Dthread2-r0drv-freebsd.c123 int rc; local
125 rc = rtThreadMain(pThreadInt, (RTNATIVETHREAD)Self, &pThreadInt->szName[0]);
128 kproc_exit(rc);
130 kthread_exit(rc);
137 int rc; local
141 rc = kproc_create(rtThreadNativeMain, pThreadInt, &pProc, RFHIGHPID, 0, "%s", pThreadInt->szName);
143 rc = kthread_create(rtThreadNativeMain, pThreadInt, &pProc, RFHIGHPID, 0, "%s", pThreadInt->szName);
145 if (!rc)
148 rc = VINF_SUCCESS;
151 rc
[all...]
/vbox/src/VBox/Runtime/r0drv/haiku/
H A Dthread2-r0drv-haiku.c116 int rc = rtThreadMain(pThread, (RTNATIVETHREAD)Self, &pThread->szName[0]); local
118 if (rc < 0)
119 return RTErrConvertFromHaikuKernReturn(rc);
120 return rc;
/vbox/src/VBox/Runtime/r0drv/nt/
H A Dthread2-r0drv-nt.cpp133 NTSTATUS rc = PsCreateSystemThread(&hThread, local
140 if (NT_SUCCESS(rc))
143 rc = ObReferenceObjectByHandle(hThread, THREAD_ALL_ACCESS, NULL /* object type */,
145 if (NT_SUCCESS(rc))
151 AssertMsgFailed(("%#x\n", rc));
153 return RTErrConvertFromNtStatus(rc);
/vbox/src/VBox/Runtime/r3/darwin/
H A Dmp-darwin.cpp57 int rc = sysctlbyname("hw.logicalcpu_max", &cCpus, &cb, NULL, 0); local
58 if (rc != -1 && cCpus >= 1)
73 int rc = sysctlbyname("hw.physicalcpu_max", &cCpus, &cb, NULL, 0); local
74 if (rc != -1 && cCpus >= 1)
89 int rc = sysctlbyname("hw.logicalcpu", &cCpus, &cb, NULL, 0); local
90 if (rc != -1 && cCpus >= 1)
105 int rc = sysctlbyname("hw.physicalcpu", &cCpus, &cb, NULL, 0); local
106 if (rc != -1 && cCpus >= 1)
229 int rc = sysctlbyname("hw.cpufrequency_max", &CpuFrequencyMax, &cb, NULL, 0);
230 if (!rc)
[all...]
/vbox/src/VBox/Runtime/r3/os2/
H A Dsched-os2.cpp234 APIRET rc = DosSetPriority(PRTYS_THREAD, g_pProcessPriority->aTypes[enmType].ulClass, g_pProcessPriority->aTypes[enmType].ulDelta, (ULONG)pThread->Core.Key & 0xffff /*tid*/); local
235 AssertMsg(rc == NO_ERROR, ("%d\n", rc));
236 return RTErrConvertFromOS2(rc);
/vbox/src/VBox/Runtime/r3/
H A Dpath.cpp51 int rc = RTPathExecDir(pszPath, cchPath); local
52 if (RT_SUCCESS(rc))
59 return rc;
115 int rc = RTPathExecDir(pszPath, cchPath);
116 return rc;
161 int rc = RTEnvGetEx(RTENV_DEFAULT, s_apszVars[iVar], pszPath, cchPath, NULL); local
162 if (rc != VERR_ENV_VAR_NOT_FOUND)
163 return rc;
185 int rc = RTPathQueryInfoEx(pszPath, &ObjInfo, RTFSOBJATTRADD_NOTHING, RTPATH_F_FOLLOW_LINK); local
186 if (RT_SUCCESS(rc))
[all...]
/vbox/src/VBox/Runtime/r3/win/
H A Dsched-win.cpp319 int rc = RTErrConvertFromWin32(dwLastError); local
320 AssertMsgFailed(("SetThreadPriority(%p, %d) failed, dwLastError=%d rc=%Rrc\n",
321 rtThreadNativeGetHandle(pThread), g_pProcessPriority->aTypes[enmType].dwThreadPriority, dwLastError, rc));
322 return rc;
/vbox/src/VBox/Runtime/testcase/
H A DtstDarwinSched.cpp65 int rc; local
69 rc = pthread_getschedparam(pthread_self(), &iPolicy, &Param);
70 printf("pthread_getschedparam: rc=%d iPolicy=%d (%#x) sched_priority=%d (%#x) opaque=%d (%#x)\n",
71 rc, iPolicy, iPolicy, Param.sched_priority, Param.sched_priority,
135 int rc; local
150 rc = pthread_setschedparam(pthread_self(), iPolicy, &Param);
151 if (!rc)
156 rc = pthread_setschedparam(pthread_self(), iPolicy, &Param);
157 } while (!rc);
159 rc
[all...]
H A DtstDir-3.cpp39 int rc = RTDirOpenFiltered(&pDir, pszFilter, RTDIRFILTER_WINNT, 0); local
40 if (RT_SUCCESS(rc))
45 rc = RTDirRead(pDir, &DirEntry, NULL);
46 if (RT_FAILURE(rc))
51 if (rc != VERR_NO_MORE_FILES)
53 RTPrintf("tstDir-3: Enumeration '%s' failed! rc=%Rrc\n", pszFilter, rc);
58 rc = RTDirClose(pDir);
59 if (RT_FAILURE(rc))
61 RTPrintf("tstDir-3: Failed to close dir '%s'! rc
80 int rc; local
[all...]
H A DtstOnce.cpp89 int rc = RTSemEventMultiWait(g_hEventMulti, RT_INDEFINITE_WAIT); local
90 if (RT_FAILURE(rc))
91 return rc;
92 rc = RTOnce(&g_Once2, Once2CB, (void *)42);
93 if (RT_SUCCESS(rc))
101 return rc;
115 int rc = RTOnce(&Once1, Once1CB, (void *)1); local
116 if (rc != VINF_SUCCESS)
117 RTPrintf("tstOnce: ERROR - Once1, 1 failed, rc=%Rrc\n", rc);
[all...]
/vbox/src/libs/libxml2-2.6.31/
H A Dxmlmodule.c108 int rc = -1; local
114 return rc;
117 rc = xmlModulePlatformSymbol(module->handle, name, symbol);
119 if (rc == -1) {
125 return rc;
128 return rc;
144 int rc; local
153 rc = xmlModulePlatformClose(module->handle);
155 if (rc != 0) {
163 rc
281 int rc; local
314 int rc; local
360 status_t rc; local
379 status_t rc; local
403 int rc; local
434 int rc; local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dw16stdio.c54 int rc; local
56 rc = fputs( buf, stdout );
57 if ( rc == EOF )
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dmbcs.c94 PRStatus rc; local
109 rc = PR_GetFileInfo( file, &info );
110 if ( PR_FAILURE == rc ) {
122 rc = PR_Close( fd );
123 if ( PR_FAILURE == rc ) {
137 rc = PR_CloseDir( cwd );
138 if ( PR_FAILURE == rc ) {
/vbox/src/libs/xpcom18a4/python/src/
H A DPyGStub.cpp87 nsresult rc = NS_ERROR_FAILURE; local
112 rc = arg_helper.ProcessPythonResult(result);
114 NS_ABORT_IF_FALSE( ((NS_FAILED(rc)!=0)^(PyErr_Occurred()!=0)) == 0, "We must have failure with a Python error, or success without a Python error.");
157 rc = PyInt_AsLong(err_result);
168 rc = PyXPCOM_SetCOMErrorFromPyException();
179 return rc;
H A DPyIInputStream.cpp123 PyObject *rc = NULL; local
125 rc = PyBuffer_New(nread);
126 if (rc != NULL) {
130 if (PyObject_AsWriteBuffer(rc, &ob_buf, (Py_ssize_t *)&buf_len) != 0) {
137 if (PyObject_AsWriteBuffer(rc, &ob_buf, &buf_len) != 0) {
151 return rc;
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DTestCOMPtrEq.cpp83 const nsICOMPtrEqTestFoo* rc = 0; local
102 (s == rc) &&
109 (r == rc) &&
116 (sc == rc) &&
120 (rc == s) &&
121 (rc == r) &&
122 (rc == sc) &&
123 (rc == rc) &&
124 (rc
[all...]
/vbox/src/VBox/VMM/VMMR3/
H A DPDMAsyncCompletionFileFailsafe.cpp61 int rc = VINF_SUCCESS; local
80 rc = RTFileFlush(pEndpoint->hFile);
88 rc = RTFileReadAt(pEndpoint->hFile, pCurr->Off,
101 rc = RTFileWriteAt(pEndpoint->hFile, pCurr->Off,
113 pCurr->pfnCompleted(pCurr, pCurr->pvUser, rc);
129 int rc = VINF_SUCCESS; local
137 rc = pdmacFileAioMgrFailsafeProcessEndpointTaskList(pAioMgr, pEndpoint, pTasks);
139 if (RT_SUCCESS(rc))
144 rc = pdmacFileAioMgrFailsafeProcessEndpointTaskList(pAioMgr, pEndpoint, pTasks);
147 return rc;
156 int rc = VINF_SUCCESS; local
[all...]
/vbox/src/VBox/VMM/VMMRC/
H A DTRPMRC.cpp79 * @param rc The return code for host context.
81 VMMRCDECL(void) TRPMGCHyperReturnToHost(PVM pVM, int rc) argument
85 LogFlow(("TRPMGCHyperReturnToHost: rc=%Rrc\n", rc));
87 VMMGCGuestToHost(pVM, rc);
126 int rc = EMInterpretInstructionEx(pVM, pVCpu, pRegFrame, pvFault, &cb);
127 if (RT_SUCCESS(rc) && cb)
185 int rc = EMInterpretDisasCurrent(pVM, pVCpu, &Dis, NULL); local
186 if (rc == VINF_SUCCESS)
/vbox/src/VBox/VMM/testcase/Instructions/
H A DtstVBInsTstR3.cpp102 int rc = RTMemAllocEx(_4K, 0, RTMEMALLOCEX_FLAGS_16BIT_REACH, &g_pvLow16Mem4K); local
103 if (RT_FAILURE(rc))
105 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Could not allocate low 16-bit memory (%Rrc)\n", rc);
109 rc = RTMemAllocEx(_4K, 0, RTMEMALLOCEX_FLAGS_32BIT_REACH, &g_pvLow32Mem4K);
110 if (RT_FAILURE(rc))
112 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Could not allocate low 32-bit memory (%Rrc)\n", rc);
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/
H A DVBoxFsDxe.c119 EFI_STATUS rc; local
122 rc = EfiLibInstallDriverBindingComponentName2(ImageHandle, SystemTable,
125 ASSERT_EFI_ERROR(rc);
126 return rc;
144 /* EFI_STATUS rc; */
157 /* EFI_STATUS rc; */
170 /* EFI_STATUS rc; */
/vbox/src/VBox/Devices/GIMDev/
H A DGIMDev.cpp87 int rc = PDMDevHlpMMIO2Register(pDevIns, pCur->iRegion, pCur->cbRegion, 0 /* fFlags */, &pCur->pvPageR3, local
89 if (RT_FAILURE(rc))
90 return rc;
96 rc = PDMDevHlpMMIO2MapKernel(pDevIns, pCur->iRegion, 0 /* off */, pCur->cbRegion, pCur->szDescription,
98 AssertLogRelMsgRCReturn(rc, ("PDMDevHlpMapMMIO2IntoR0(%#x,) -> %Rrc\n", pCur->cbRegion, rc), rc);
110 rc = PDMDevHlpMMHyperMapMMIO2(pDevIns, pCur->iRegion, 0 /* off */, pCur->cbRegion, pCur->szDescription,
112 AssertLogRelMsgRCReturn(rc, ("PDMDevHlpMMHyperMapMMIO2(%#x,) -> %Rrc\n", pCur->cbRegion, rc), r
141 int rc = PDMDevHlpMMIO2Deregister(pDevIns, pCur->iRegion); local
[all...]
/vbox/src/VBox/Devices/Network/
H A DDevEEPROM.cpp276 int rc; local
279 rc = SSMR3GetU8(pSSM, &uVersion);
280 AssertRCReturn(rc, rc);
/vbox/src/VBox/Devices/Network/lwip-new/vbox/
H A DVBoxLwipCore.cpp119 int rc = VINF_SUCCESS; local
158 rc = VERR_INTERNAL_ERROR;
160 LogFlowFuncLeaveRC(rc);
161 return rc;
/vbox/src/VBox/Devices/Network/slirp/
H A Dip_input.c106 int rc; local
110 rc = LibAliasIn(pData->proxy_alias, mtod(m, char *), m_length(m, NULL));
112 Log2(("NAT: LibAlias return %d\n", rc));
H A Dip_output.c74 int rc; local
83 rc = slirp_arp_lookup_ether_by_ip(pData, dst, ether);
84 if (RT_SUCCESS(rc))
86 LogFlowFunc(("LEAVE: %Rrc\n", rc));
87 return rc;
90 rc = bootp_cache_lookup_ether_by_ip(pData, dst, ether);
91 if (RT_SUCCESS(rc))
93 LogFlowFunc(("LEAVE: %Rrc\n", rc));
94 return rc;
126 int rc local
[all...]

Completed in 82 milliseconds

<<11121314151617181920>>