/vbox/src/VBox/Runtime/generic/ |
H A D | RTTimerCreate-generic.cpp | 40 int rc = RTTimerCreateEx(ppTimer, uMilliesInterval * RT_NS_1MS_64, 0 /* fFlags */, pfnTimer, pvUser); local 41 if (RT_SUCCESS(rc)) 43 rc = RTTimerStart(*ppTimer, 0 /* u64First */); 44 if (RT_FAILURE(rc)) 50 return rc;
|
H A D | RTTimerLRCreate-generic.cpp | 40 int rc = RTTimerLRCreateEx(phTimerLR, uMilliesInterval * UINT64_C(1000000), 0, pfnTimer, pvUser); local 41 if (RT_SUCCESS(rc)) 43 rc = RTTimerLRStart(*phTimerLR, 0); 44 if (RT_SUCCESS(rc)) 45 return rc; 49 return rc;
|
/vbox/src/VBox/Runtime/r0drv/darwin/ |
H A D | initterm-r0drv-darwin.cpp | 63 int rc = rtThreadPreemptDarwinInit(); local 64 if (RT_SUCCESS(rc)) 70 rc = RTR0DbgKrnlInfoOpen(&hKrnlInfo, 0 /*fFlags*/); 71 if (RT_SUCCESS(rc)) 79 if (RT_FAILURE(rc)) 82 rc = VINF_SUCCESS; 85 if (RT_FAILURE(rc)) 88 return rc;
|
/vbox/src/VBox/Runtime/r0drv/haiku/ |
H A D | the-haiku-kernel.h | 96 DECLINLINE(int) RTErrConvertFromHaikuKernReturn(status_t rc) argument 98 switch (rc) 109 default: return RTErrConvertFromErrno(rc);
|
/vbox/src/VBox/Runtime/r3/ |
H A D | allocex.cpp | 71 int rc; variable 73 rc = rtMemAllocEx16BitReach(cbAligned + sizeof(RTMEMHDRR3), fFlags, &pv); 75 rc = rtMemAllocEx32BitReach(cbAligned + sizeof(RTMEMHDRR3), fFlags, &pv); 76 if (RT_FAILURE(rc)) 77 return rc;
|
/vbox/src/VBox/Runtime/r3/linux/ |
H A D | thread-affinity-linux.cpp | 65 int rc = pthread_setaffinity_np(pthread_self(), sizeof(LnxCpuSet), &LnxCpuSet); local 66 if (!rc) 68 rc = errno; 69 if (rc == ENOENT) 78 int rc = pthread_getaffinity_np(pthread_self(), sizeof(LnxCpuSet), &LnxCpuSet); local 79 if (rc != 0)
|
/vbox/src/VBox/Runtime/r3/os2/ |
H A D | rtProcInitExePath-os2.cpp | 51 int rc = rtPathFromNative(&pszTmp, pszPath, NULL); local 52 AssertMsgRCReturn(rc, ("rc=%Rrc pszLink=\"%s\"\nhex: %.*Rhxs\n", rc, pszPath, cchPath, pszPath), rc); 55 rc = RTStrCopy(pszPath, cchPath, pszTmp); 58 return rc;
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstDir-2.cpp | 44 int rc = RTDirOpenFiltered(&pDir, argv[i], RTDIRFILTER_WINNT, 0); local 45 if (RT_SUCCESS(rc)) 50 rc = RTDirRead(pDir, &DirEntry, NULL); 51 if (RT_FAILURE(rc)) 73 if (rc != VERR_NO_MORE_FILES) 75 RTPrintf("tstDir-2: Enumeration failed! rc=%Rrc\n", rc); 80 rc = RTDirClose(pDir); 81 if (RT_FAILURE(rc)) 83 RTPrintf("tstDir-2: Failed to close dir! rc [all...] |
H A D | tstLdrLoad.cpp | 53 int rc = RTLdrLoad(argv[i], &hLdrMod); local 54 if (RT_SUCCESS(rc)) 57 rc = RTLdrClose(hLdrMod); 58 if (RT_FAILURE(rc)) 60 RTPrintf("tstLdrLoad: rc=%Rrc RTLdrClose()\n", rc); 66 RTPrintf("tstLdrLoad: rc=%Rrc RTLdrOpen('%s')\n", rc, argv[i]);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | testbit.c | 50 PRInt32 rc; variable 108 if ((rc = PR_CeilingLog2(32)) != 5 ) 111 if ((rc = PR_FloorLog2(32)) != 5 )
|
/vbox/src/VBox/VMM/include/ |
H A D | EMHandleRCTmpl.h | 37 * @param rc The return code. 41 int emR3RawHandleRC(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, int rc) argument 43 int emR3HmHandleRC(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, int rc) 46 switch (rc) 59 rc = VINF_SUCCESS; 68 rc = emR3RawPrivileged(pVM, pVCpu); 78 rc = VERR_EM_RAW_PATCH_CONFLICT; 81 rc = emR3RawGuestTrap(pVM, pVCpu); 89 rc = emR3RawPatchTrap(pVM, pVCpu, pCtx, rc); [all...] |
/vbox/src/VBox/Debugger/testcase/ |
H A D | tstVBoxDbg.cpp | 49 int rc = VMR3Create(1, NULL, NULL, NULL, NULL, NULL, &pVM, &pUVM); local 50 if (RT_SUCCESS(rc)) 58 rc = DBGGuiCreateForVM(pUVM, &pGui, &pGuiVT); 59 if (RT_SUCCESS(rc)) 64 rc = pGuiVT->pfnShowCommandLine(pGui); 65 if (RT_FAILURE(rc)) 67 RTPrintf(TESTCASE ": error: pfnShowCommandLine failed! rc=%Rrc\n", rc); 76 if (RT_FAILURE(rc)) 78 RTPrintf(TESTCASE ": error: pfnShowStatistics failed! rc [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/drivers/net/ |
H A D | undi.c | 63 * @ret rc Return status code 68 int rc; local 89 rc = -ENODEV; 94 if ( ( rc = undi_load_pci ( undi, undirom, 109 if ( ( rc = undinet_probe ( undi ) ) != 0 ) 121 return rc;
|
H A D | undionly.c | 58 int rc; local 88 if ( ( rc = undinet_probe ( undi ) ) != 0 ) 95 return rc;
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/hci/commands/ |
H A D | reboot_cmd.c | 46 * @ret rc Return status code 50 int rc; local 53 if ( ( rc = parse_options ( argc, argv, &reboot_cmd, &opts ) ) != 0 ) 54 return rc;
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/image/ |
H A D | elfboot.c | 41 * @ret rc Return status code 46 int rc; local 49 if ( ( rc = elf_load ( image, &entry, &max ) ) != 0 ) { 51 image, strerror ( rc ) ); 52 return rc; 80 * @ret rc Return status code
|
/vbox/src/VBox/Devices/PC/ipxe/src/core/ |
H A D | acpi.c | 66 * @ret rc Return status code 74 int rc; local 77 rc = op ( object, acpi, len ); 80 rc = -EOPNOTSUPP; 84 return rc;
|
H A D | xferbuf.c | 61 * @ret rc Return status code 89 * @ret rc Return status code 95 int rc; local 105 if ( ( rc = xferbuf_ensure_size ( xferbuf, max ) ) != 0 ) 116 return rc;
|
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/ |
H A D | rbg.c | 51 * @ret rc Return status code 59 int rc; local 67 rc = len; 69 "%s\n", strerror ( rc ) ); 74 if ( ( rc = drbg_instantiate ( &rbg.state, &uuid, len ) ) != 0 ) { 76 strerror ( rc ) ); 77 return rc;
|
/vbox/src/VBox/Main/src-all/ |
H A D | HashedPw.cpp | 66 int rc = RTSha512FromString(pszSaltEnd + 1, abHash); local 67 return RT_SUCCESS(rc); 97 int rc = RTSha512ToString(abHash, pszHashedPw, sizeof(szHashedPw) - (pszHashedPw - &szHashedPw[0])); local 98 AssertReleaseRC(rc);
|
/vbox/src/VBox/Main/src-server/solaris/ |
H A D | DynLoadLibSolaris.cpp | 54 int rc = RTLdrLoad(LIB_DLPI, &hLibDlpi); local 55 if (RT_SUCCESS(rc)) 61 rc = RTLdrGetSymbol(hLibDlpi, "dlpi_walk", (void **)&g_pfnLibDlpiWalk); 62 rc |= RTLdrGetSymbol(hLibDlpi, "dlpi_close", (void **)&g_pfnLibDlpiClose); 63 rc |= RTLdrGetSymbol(hLibDlpi, "dlpi_open", (void **)&g_pfnLibDlpiOpen); 64 if (RT_SUCCESS(rc))
|
/vbox/src/VBox/HostDrivers/Support/testcase/ |
H A D | tstContiguous.cpp | 41 int rc; local 45 rc = SUPR3Init(NULL); 46 RTPrintf("tstContiguous: SUPR3Init -> rc=%Rrc\n", rc); 47 rcRet += rc != 0; 48 if (!rc) 64 rc = SUPR3ContFree(pv, 5); 65 rcRet += rc != 0; 66 if (rc) 67 RTPrintf("tstContiguous: SUPR3ContFree failed! rc [all...] |
H A D | tstLow.cpp | 41 int rc; local 47 rc = SUPR3Init(NULL); 48 if (RT_SUCCESS(rc)) 56 rc = SUPR3LowAlloc(RT_ELEMENTS(aPages0), &pvPages0, NULL, aPages0); 57 if (RT_SUCCESS(rc)) 92 RTPrintf("SUPR3LowAlloc(%d,,) failed -> rc=%Rrc\n", RT_ELEMENTS(aPages0), rc); 104 rc = SUPR3LowAlloc(cPages, &pvPages1, NULL, aPages1); 105 if (RT_SUCCESS(rc)) 140 RTPrintf("SUPR3LowAlloc(%d,,) failed -> rc [all...] |
/vbox/src/VBox/HostDrivers/VBoxUSB/darwin/ |
H A D | VBoxUSBInterface.h | 44 int rc; member in struct:VBOXUSBADDFILTEROUT
|
/vbox/src/VBox/HostDrivers/darwin/ |
H A D | VBoxNetSend.h | 55 int rc = VINF_SUCCESS; local 81 rc = RTErrConvertFromErrno(err); 86 rc = RTErrConvertFromErrno(err); 88 return rc;
|