/vbox/src/VBox/VMM/VMMR0/ |
H A D | PGMR0SharedPage.cpp | 52 int rc = VINF_SUCCESS; local 75 rc = PGMGstGetPage(pVCpu, GCPtrPage, &fFlags, &GCPhys); 76 if ( rc == VINF_SUCCESS 90 rc = GMMR0SharedModuleCheckPage(pGVM, pModule, idxRegion, idxPage, &PageDesc); 91 if (RT_FAILURE(rc)) 108 rc = pgmPoolTrackUpdateGCPhys(pVM, PageDesc.GCPhys, pPage, true /* clear the entries */, &fFlush); 109 Assert( rc == VINF_SUCCESS 112 if (rc == VINF_SUCCESS) 142 Assert( rc == VINF_SUCCESS 143 || rc [all...] |
/vbox/src/VBox/NetworkServices/NetLib/ |
H A D | VBoxNetIntIf.cpp | 102 int rc = IntNetRingAllocateFrame(pRingBuf, cbFrame, &pHdr, &pvFrame); local 103 if (RT_SUCCESS(rc)) 110 return rc; 128 int rc = VBoxNetIntIfRingWriteFrame(pBuf, &pBuf->Send, cSegs, paSegs); local 129 if (rc == VERR_BUFFER_OVERFLOW) 132 rc = VBoxNetIntIfRingWriteFrame(pBuf, &pBuf->Send, cSegs, paSegs); 134 if (RT_SUCCESS(rc) && fFlush) 135 rc = VBoxNetIntIfFlush(pSession, hIf); 136 return rc;
|
/vbox/src/VBox/Runtime/common/asn1/ |
H A D | asn1-ut-dyntype.cpp | 58 int rc; local 61 case RTASN1TYPE_CORE: rc = RTAsn1Core_Clone(&pThis->u.Core, &pSrc->u.Core, pAllocator); break; 62 case RTASN1TYPE_NULL: rc = RTAsn1Null_Clone(&pThis->u.Asn1Null, &pSrc->u.Asn1Null, pAllocator); break; 63 case RTASN1TYPE_INTEGER: rc = RTAsn1Integer_Clone(&pThis->u.Integer, &pSrc->u.Integer, pAllocator); break; 64 case RTASN1TYPE_BOOLEAN: rc = RTAsn1Boolean_Clone(&pThis->u.Boolean, &pSrc->u.Boolean, pAllocator); break; 65 case RTASN1TYPE_STRING: rc = RTAsn1String_Clone(&pThis->u.String, &pSrc->u.String, pAllocator); break; 66 case RTASN1TYPE_OCTET_STRING: rc = RTAsn1OctetString_Clone(&pThis->u.OctetString, &pSrc->u.OctetString, pAllocator); break; 67 case RTASN1TYPE_BIT_STRING: rc = RTAsn1BitString_Clone(&pThis->u.BitString, &pSrc->u.BitString, pAllocator); break; 68 case RTASN1TYPE_TIME: rc = RTAsn1Time_Clone(&pThis->u.Time, &pSrc->u.Time, pAllocator); break; 70 case RTASN1TYPE_SEQUENCE_CORE: rc 147 int rc; local [all...] |
H A D | asn1-ut-null.cpp | 82 int rc = RTAsn1Core_CloneNoContent(&pThis->Asn1Core, &pSrc->Asn1Core); local 83 if (RT_FAILURE(rc)) 84 return rc;
|
/vbox/src/VBox/Runtime/common/checksum/ |
H A D | RTSha1Digest.cpp | 51 int rc = VINF_SUCCESS; local 76 rc = pfnProgressCallback((unsigned)(cbReadTotal * rdMulti), pvUser); 77 if (RT_FAILURE(rc)) 84 if (RT_SUCCESS(rc)) 91 rc = RTStrAllocEx(&pszDigest, RTSHA1_DIGEST_LEN + 1); 92 if (RT_SUCCESS(rc)) 94 rc = RTSha1ToString(abHash, pszDigest, RTSHA1_DIGEST_LEN + 1); 95 if (RT_SUCCESS(rc)) 102 return rc; 116 int rc local [all...] |
H A D | RTSha256Digest.cpp | 50 int rc = VINF_SUCCESS; local 75 rc = pfnProgressCallback((unsigned)(cbReadTotal * rdMulti), pvUser); 76 if (RT_FAILURE(rc)) 83 if (RT_SUCCESS(rc)) 90 rc = RTStrAllocEx(&pszDigest, RTSHA256_DIGEST_LEN + 1); 91 if (RT_SUCCESS(rc)) 93 rc = RTSha256ToString(abHash, pszDigest, RTSHA256_DIGEST_LEN + 1); 94 if (RT_SUCCESS(rc)) 101 return rc; 119 int rc local [all...] |
/vbox/src/VBox/Runtime/common/crypto/ |
H A D | pkcs7-asn1-decoder.cpp | 87 int rc = VINF_SUCCESS; local 97 rc = RTAsn1CursorInitSubFromCore(pCursor, &pThis->Content.Asn1Core, &ContentCursor, "Content"); 98 if ( RT_SUCCESS(rc) 101 rc = RTAsn1MemAllocZ(&pThis->Content.EncapsulatedAllocation, (void **)&pThis->Content.pEncapsulated, 103 if (RT_SUCCESS(rc)) 106 rc = RTAsn1OctetString_DecodeAsn1(&ContentCursor, 0, pOctetString, "CmsContent"); 107 if (RT_SUCCESS(rc)) 108 rc = RTAsn1CursorCheckEnd(&ContentCursor); 109 if (RT_SUCCESS(rc)) 110 rc [all...] |
/vbox/src/VBox/Runtime/common/misc/ |
H A D | handletable.cpp | 107 int rc; local 109 rc = RTSpinlockCreate(&pThis->hSpinlock, RTSPINLOCK_FLAGS_INTERRUPT_SAFE, "RTHandleTableCreateEx"); 111 rc = RTSpinlockCreate(&pThis->hSpinlock, RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE, "RTHandleTableCreateEx"); 112 if (RT_FAILURE(rc)) 115 return rc;
|
H A D | handletablectx.cpp | 48 int rc; local 89 rc = VINF_SUCCESS; 96 rc = VERR_NO_MORE_HANDLES; 122 rc = VERR_TRY_AGAIN; 206 rc = VERR_TRY_AGAIN; 208 } while (rc == VERR_TRY_AGAIN); 212 return rc; 244 int rc = pThis->pfnRetain(hHandleTable, pEntry->pvObj, pvCtx, pThis->pvRetainUser); local 245 if (RT_FAILURE(rc)) 287 int rc local [all...] |
H A D | handletablesimple.cpp | 61 int rc; local 85 rc = VINF_SUCCESS; 92 rc = VERR_NO_MORE_HANDLES; 114 rc = VERR_TRY_AGAIN; 192 rc = VERR_TRY_AGAIN; 194 } while (rc == VERR_TRY_AGAIN); 198 return rc; 227 int rc = pThis->pfnRetain(hHandleTable, pEntry->pvObj, NULL, pThis->pvRetainUser); local 228 if (RT_FAILURE(rc)) 267 int rc local [all...] |
/vbox/src/VBox/Additions/solaris/SharedFolders/ |
H A D | vboxfs_mount.c | 87 int rc = -1; local 157 rc = mount(pszSpecial, pszMount, mntFlags | MS_OPTIONSTR, DEVICE_NAME, NULL, 0, g_achOptBuf, sizeof(g_achOptBuf)); 158 if (rc)
|
/vbox/src/VBox/Additions/WINNT/VBoxTray/ |
H A D | VBoxDnDDropSource.cpp | 41 int rc = VbglR3DnDConnect(&mClientID); local 43 LogFlowFunc(("rc=%Rrc\n", rc)); 48 int rc = VbglR3DnDDisconnect(mClientID); local 50 LogFlowFunc(("rc=%Rrc, mRefCount=%RI32\n", rc, mRefCount));
|
/vbox/src/VBox/Additions/common/VBoxGuest/win/ |
H A D | VBoxGuestInst.cpp | 43 printf("OpenSCManager(,,create) failed rc=%d\n", GetLastError()); 71 int rc = -1; local 75 printf("OpenSCManager(,,delete) failed rc=%d\n", GetLastError()); 85 rc = 0; 91 rc = 0; 95 return rc; 126 int rc = 0; local 135 return rc; 168 int rc; local 171 rc [all...] |
/vbox/src/VBox/Additions/common/VBoxGuestLib/ |
H A D | VBoxGuestR3LibClipboard.cpp | 53 int rc = vbglR3DoIOCtl(VBOXGUEST_IOCTL_HGCM_CONNECT, &Info, sizeof(Info)); local 54 if (RT_SUCCESS(rc)) 56 rc = Info.result; 57 if (RT_SUCCESS(rc)) 60 if (rc == VERR_HGCM_SERVICE_NOT_FOUND) 61 rc = VINF_PERMISSION_DENIED; 62 return rc; 78 int rc = vbglR3DoIOCtl(VBOXGUEST_IOCTL_HGCM_DISCONNECT, &Info, sizeof(Info)); local 79 if (RT_SUCCESS(rc)) 80 rc 106 int rc = vbglR3DoIOCtl(VBOXGUEST_IOCTL_HGCM_CALL(sizeof(Msg)), &Msg, sizeof(Msg)); local 156 int rc = vbglR3DoIOCtl(VBOXGUEST_IOCTL_HGCM_CALL(sizeof(Msg)), &Msg, sizeof(Msg)); local 194 int rc = vbglR3DoIOCtl(VBOXGUEST_IOCTL_HGCM_CALL(sizeof(Msg)), &Msg, sizeof(Msg)); local 223 int rc = vbglR3DoIOCtl(VBOXGUEST_IOCTL_HGCM_CALL(sizeof(Msg)), &Msg, sizeof(Msg)); local [all...] |
H A D | VBoxGuestR3LibCredentials.cpp | 53 int rc = vbglR3GRPerform(&Req.header); local 54 if (RT_SUCCESS(rc)) 57 rc = VERR_NOT_FOUND; 59 return rc; 85 int rc = vbglR3GRPerform(&Req.header); local 86 if (RT_SUCCESS(rc)) 88 rc = RTStrDupEx(ppszUser, Req.szUserName); 89 if (RT_SUCCESS(rc)) 91 rc = RTStrDupEx(ppszPassword, Req.szPassword); 92 if (RT_SUCCESS(rc)) 126 int rc = VbglR3CredentialsRetrieve(&pszUser, &pszPassword, &pszDomain); local [all...] |
H A D | VBoxGuestR3LibModule.cpp | 51 int rc; local 80 rc = VERR_BUFFER_OVERFLOW; 84 rc = vbglR3GRPerform(&pReq->header); 88 return rc; 140 int rc = vbglR3GRPerform(&Req.header); local 141 if (RT_SUCCESS(rc)) 158 int rc = vbglR3GRPerform(&Req.header); local 159 if (RT_SUCCESS(rc)) 164 return rc;
|
/vbox/src/VBox/Additions/darwin/VBoxClient/ |
H A D | VBoxClientClipboard.cpp | 92 int rc; local 98 rc = VbglR3ClipboardGetHostMsg(g_u32ClientId, &Msg, &fFormats); 99 if (RT_SUCCESS(rc)) 113 rc = vbclClipboardForwardToHost(g_u32ClientId, g_PasteboardRef, fFormats); 114 AssertMsg(RT_SUCCESS(rc), ("paste to host failed\n")); 120 rc = vbclClipboardForwardToGuest(g_u32ClientId, g_PasteboardRef, fFormats); 121 AssertMsg(RT_SUCCESS(rc), ("paste to guest failed\n")); 168 int rc; local 176 rc = VbglR3ClipboardReportFormats(g_u32ClientId, fFormats); 177 if (RT_FAILURE(rc)) 206 int rc; local 280 int rc; local [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/ |
H A D | VBoxCrHgsmi.cpp | 111 int rc = vboxCrHgsmiPrivateCtlConGetClientID(pHgsmiPrivate, pu32ClientID); local 112 if (!RT_SUCCESS(rc)) 114 WARN(("vboxCrHgsmiPrivateCtlConGetClientID failed with rc (%d)", rc)); 116 return rc; 122 int rc = vboxCrHgsmiPrivateCtlConGetHostCaps(pHgsmiPrivate, pu32HostCaps); local 123 if (!RT_SUCCESS(rc)) 125 WARN(("vboxCrHgsmiPrivateCtlConGetHostCaps failed with rc (%d)", rc)); 127 return rc; 133 int rc = vboxCrHgsmiPrivateCtlConCall(pHgsmiPrivate, pCallInfo, cbCallInfo); local [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/ |
H A D | VBoxMPRegistry.cpp | 57 VP_STATUS rc; local 59 rc = VideoPortGetRegistryParameters(Reg, pName, FALSE, VBoxMPQueryNamedValueCB, pVal); 60 if (rc!=NO_ERROR && pVal) 64 return rc;
|
/vbox/src/VBox/Runtime/common/path/ |
H A D | RTPathSplit.cpp | 64 int rc = RTPathParse(pszPath, (PRTPATHPARSED)pParsedVolatile, cbSplit, fFlags); local 65 if (RT_FAILURE(rc) && rc != VERR_BUFFER_OVERFLOW) 66 return rc; 85 Assert(RT_SUCCESS(rc)); 131 return rc;
|
/vbox/src/VBox/Runtime/common/rand/ |
H A D | rand.cpp | 63 int rc = RTRandAdvCreateSystemFaster(&hRand); local 64 if (RT_FAILURE(rc)) 65 rc = RTRandAdvCreateParkMiller(&hRand); 66 if (RT_SUCCESS(rc)) 76 AssertRC(rc); 79 return rc; 98 int rc = RTRandAdvDestroy(hRand); local 99 AssertRC(rc);
|
/vbox/src/VBox/Runtime/generic/ |
H A D | memsafer-generic.cpp | 169 int rc; variable 181 rc = RTMemSaferAllocZExTag(&pvNew, cbNew, fFlags, pszTag); 182 if (RT_SUCCESS(rc)) 193 rc = RTMemSaferAllocZExTag(ppvNew, cbNew, fFlags, pszTag); 199 rc = VINF_SUCCESS; 201 return rc; 209 int rc = RTMemSaferAllocZExTag(&pvNew, cb, 0 /*fFlags*/, pszTag); variable 210 if (RT_SUCCESS(rc)) 220 int rc = RTMemSaferReallocZExTag(cbOld, pvOld, cbNew, &pvNew, 0 /*fFlags*/, pszTag); variable 221 if (RT_SUCCESS(rc)) [all...] |
H A D | tls-generic.cpp | 54 int rc = RTTlsAllocEx(&iTls, NULL); local 55 return RT_SUCCESS(rc) ? iTls : NIL_RTTLS; 101 int rc = RTTlsGetEx(iTls, &pv); local 102 return RT_SUCCESS(rc) ? pv : NULL;
|
/vbox/src/VBox/Runtime/r0drv/darwin/ |
H A D | alloc-r0drv-darwin.cpp | 77 int rc = RTR0MemObjAllocPage(&hMemObj, cb + sizeof(RTMEMDARWINHDREX), true /*fExecutable*/); local 78 if (RT_FAILURE(rc)) 79 return rc; 84 rc = RTR0MemObjProtect(hMemObj, 0, RTR0MemObjSize(hMemObj), RTMEM_PROT_READ | RTMEM_PROT_WRITE | RTMEM_PROT_EXEC); 85 AssertRC(rc); 117 int rc = RTR0MemObjFree(pExHdr->hMemObj, false /*fFreeMappings*/); local 118 AssertRC(rc);
|
/vbox/src/VBox/Runtime/r0drv/freebsd/ |
H A D | semmutex-r0drv-freebsd.c | 99 int rc; local 106 rc = VINF_SUCCESS; 111 rc = VINF_SUCCESS; 113 rc = VERR_TIMEOUT; 120 rc = VINF_SUCCESS; 124 rc = VERR_TIMEOUT; 130 rc = VINF_SUCCESS; 149 int rc; local 156 rc = VINF_SUCCESS; 158 rc [all...] |