/vbox/src/VBox/Runtime/r0drv/freebsd/ |
H A D | thread2-r0drv-freebsd.c | 123 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 D | thread2-r0drv-haiku.c | 116 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 D | thread2-r0drv-nt.cpp | 133 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 D | mp-darwin.cpp | 57 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 D | sched-os2.cpp | 234 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 D | path.cpp | 51 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 D | sched-win.cpp | 319 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 D | tstDarwinSched.cpp | 65 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 D | tstDir-3.cpp | 39 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 D | tstOnce.cpp | 89 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 D | xmlmodule.c | 108 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 D | w16stdio.c | 54 int rc; local 56 rc = fputs( buf, stdout ); 57 if ( rc == EOF )
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | mbcs.c | 94 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 D | PyGStub.cpp | 87 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 D | PyIInputStream.cpp | 123 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 D | TestCOMPtrEq.cpp | 83 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 D | PDMAsyncCompletionFileFailsafe.cpp | 61 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 D | TRPMRC.cpp | 79 * @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 D | tstVBInsTstR3.cpp | 102 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 D | VBoxFsDxe.c | 119 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 D | GIMDev.cpp | 87 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 D | DevEEPROM.cpp | 276 int rc; local 279 rc = SSMR3GetU8(pSSM, &uVersion); 280 AssertRCReturn(rc, rc);
|
/vbox/src/VBox/Devices/Network/lwip-new/vbox/ |
H A D | VBoxLwipCore.cpp | 119 int rc = VINF_SUCCESS; local 158 rc = VERR_INTERNAL_ERROR; 160 LogFlowFuncLeaveRC(rc); 161 return rc;
|
/vbox/src/VBox/Devices/Network/slirp/ |
H A D | ip_input.c | 106 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 D | ip_output.c | 74 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...] |