/vbox/src/VBox/Runtime/common/crypto/ |
H A D | pkcs7-init.cpp | 41 static int rtCrPkcs7ContentInfo_CloneExtra(PRTCRPKCS7CONTENTINFO pThis) argument 43 pThis->u.pCore = pThis->Content.pEncapsulated;
|
H A D | spc-core.cpp | 41 RTDECL(int) RTCrSpcSerializedPageHashes_UpdateDerivedData(PRTCRSPCSERIALIZEDPAGEHASHES pThis) argument 43 pThis->pData = (PCRTCRSPCPEIMAGEPAGEHASHES)pThis->RawData.Asn1Core.uData.pv; 53 RTCrSpcIndirectDataContent_GetPeImageObjAttrib(PCRTCRSPCINDIRECTDATACONTENT pThis, argument 56 if (pThis->Data.enmType == RTCRSPCAAOVTYPE_PE_IMAGE_DATA) 58 Assert(RTAsn1ObjId_CompareWithString(&pThis->Data.Type, RTCRSPCPEIMAGEDATA_OID) == 0); 60 if ( pThis->Data.uValue.pPeImage 61 && pThis->Data.uValue.pPeImage->T0.File.enmChoice == RTCRSPCLINKCHOICE_MONIKER 62 && RTCrSpcSerializedObject_IsPresent(pThis->Data.uValue.pPeImage->T0.File.u.pMoniker) ) 64 if (pThis [all...] |
H A D | spc-asn1-decoder.cpp | 47 PRTCRSPCSERIALIZEDOBJECT pThis, const char *pszErrorTag) 52 if (RTUuidCompareStr(pThis->Uuid.Asn1Core.uData.pUuid, RTCRSPCSERIALIZEDOBJECT_UUID_STR) == 0) 54 rc = RTAsn1MemAllocZ(&pThis->SerializedData.EncapsulatedAllocation, (void **)&pThis->u.pData, sizeof(*pThis->u.pData)); 57 pThis->SerializedData.pEncapsulated = (PRTASN1CORE)pThis->u.pData; 58 pThis->enmType = RTCRSPCSERIALIZEDOBJECTTYPE_ATTRIBUTES; 60 rc = RTAsn1CursorInitSubFromCore(pCursor, &pThis->SerializedData.Asn1Core, &SubCursor, "SerializedData"); 62 rc = RTCrSpcSerializedObjectAttributes_DecodeAsn1(&SubCursor, 0, pThis 46 rtCrSpcSerializedObject_DecodeMore(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTCRSPCSERIALIZEDOBJECT pThis, const char *pszErrorTag) argument [all...] |
H A D | x509-asn1-decoder.cpp | 44 PRTCRX509EXTENSION pThis, const char *pszErrorTag) 46 pThis->enmValue = RTCRX509EXTENSIONVALUE_UNKNOWN; 52 int rc = RTAsn1CursorInitSubFromCore(pCursor, &pThis->ExtnValue.Asn1Core, &ValueCursor, "ExtnValue"); 57 if (RTAsn1ObjId_CompareWithString(&pThis->ExtnId, RTCRX509_ID_CE_AUTHORITY_KEY_IDENTIFIER_OID) == 0) 61 rc = RTAsn1MemAllocZ(&pThis->ExtnValue.EncapsulatedAllocation, (void **)&pThat, sizeof(*pThat)); 64 pThis->ExtnValue.pEncapsulated = &pThat->SeqCore.Asn1Core; 65 pThis->enmValue = RTCRX509EXTENSIONVALUE_AUTHORITY_KEY_IDENTIFIER; 69 else if (RTAsn1ObjId_CompareWithString(&pThis->ExtnId, RTCRX509_ID_CE_OLD_AUTHORITY_KEY_IDENTIFIER_OID) == 0) 73 rc = RTAsn1MemAllocZ(&pThis->ExtnValue.EncapsulatedAllocation, (void **)&pThat, sizeof(*pThat)); 76 pThis 43 RTCrX509Extension_ExtnValue_DecodeAsn1(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTCRX509EXTENSION pThis, const char *pszErrorTag) argument [all...] |
H A D | x509-init.cpp | 41 static int rtCrX509Extension_ExtnValue_Clone(PRTCRX509EXTENSION pThis, PCRTCRX509EXTENSION pSrc) argument 43 pThis->enmValue = pSrc->enmValue; 48 RTDECL(int) RTCrX509Name_RecodeAsUtf8(PRTCRX509NAME pThis, PCRTASN1ALLOCATORVTABLE pAllocator) argument 50 uint32_t cRdns = pThis->cItems; 51 PRTCRX509RELATIVEDISTINGUISHEDNAME pRdn = &pThis->paItems[0];
|
H A D | x509-sanity.cpp | 41 static int rtCrX509Validity_CheckSanityExtra(PCRTCRX509VALIDITY pThis, uint32_t fFlags, PRTERRINFO pErrInfo, const char *pszErrorTag) argument 43 if (RTAsn1Time_Compare(&pThis->NotBefore, &pThis->NotAfter) > 0) 50 static int rtCrX509Name_CheckSanityExtra(PCRTCRX509NAME pThis, uint32_t fFlags, PRTERRINFO pErrInfo, const char *pszErrorTag) argument 52 if (pThis->cItems == 0) 55 for (uint32_t i = 0; i < pThis->cItems; i++) 57 if (pThis->cItems == 0) 61 for (uint32_t j = 0; j < pThis->paItems[i].cItems; j++) 63 if (pThis->paItems[i].paItems[j].Value.enmType != RTASN1TYPE_STRING) 66 pszErrorTag, i, j, pThis 93 rtCrX509SubjectPublicKeyInfo_CheckSanityExtra(PCRTCRX509SUBJECTPUBLICKEYINFO pThis, uint32_t fFlags, PRTERRINFO pErrInfo, const char *pszErrorTag) argument 103 rtCrX509TbsCertificate_CheckSanityExtra(PCRTCRX509TBSCERTIFICATE pThis, uint32_t fFlags, PRTERRINFO pErrInfo, const char *pszErrorTag) argument 133 rtCrX509Certificate_CheckSanityExtra(PCRTCRX509CERTIFICATE pThis, uint32_t fFlags, PRTERRINFO pErrInfo, const char *pszErrorTag) argument [all...] |
H A D | x509-verify.cpp | 39 RTDECL(int) RTCrX509Certificate_VerifySignature(PCRTCRX509CERTIFICATE pThis, PCRTASN1OBJID pAlgorithm, argument 46 AssertPtrReturn(pThis, VERR_INVALID_POINTER); 47 AssertReturn(RTCrX509Certificate_IsPresent(pThis), VERR_INVALID_PARAMETER); 65 const char *pszCipherOid = RTCrPkixGetCiperOidFromSignatureAlgorithm(&pThis->SignatureAlgorithm.Algorithm); 69 pThis->SignatureAlgorithm.Algorithm.szObjId); 74 pszCipherOid, pThis->SignatureAlgorithm.Algorithm.szObjId, pAlgorithm->szObjId); 80 return RTCrPkixPubKeyVerifySignature(&pThis->SignatureAlgorithm.Algorithm, pParameters, pPublicKey, &pThis->SignatureValue, 81 RTASN1CORE_GET_RAW_ASN1_PTR(&pThis->TbsCertificate.SeqCore.Asn1Core), 82 RTASN1CORE_GET_RAW_ASN1_SIZE(&pThis [all...] |
/vbox/src/VBox/Storage/testcase/ |
H A D | VDScriptChecker.cpp | 28 DECLHIDDEN(int) vdScriptCtxCheck(PVDSCRIPTCTXINT pThis) argument
|
/vbox/src/VBox/Runtime/common/dbg/ |
H A D | dbgmoddeferred.cpp | 49 * @param pThis The instance data. 51 static void rtDbgModDeferredReleaseInstanceData(PRTDBGMODDEFERRED pThis) argument 53 AssertPtr(pThis); 54 uint32_t cRefs = ASMAtomicDecU32(&pThis->cRefs); Assert(cRefs < 8); 57 RTDbgCfgRelease(pThis->hDbgCfg); 58 pThis->hDbgCfg = NIL_RTDBGCFG; 59 RTMemFree(pThis); 83 PRTDBGMODDEFERRED pThis = (PRTDBGMODDEFERRED)(fDbgVt ? pMod->pvDbgPriv : pMod->pvImgPriv); 100 rc = pThis->pfnDeferred(pMod, pThis); [all...] |
/vbox/src/VBox/HostDrivers/VBoxNetFlt/win/drv/ |
H A D | VBoxNetFltM-win.h | 26 DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpDoInitialization(PVBOXNETFLTINS pThis, NDIS_HANDLE hMiniportAdapter, NDIS_HANDLE hWrapperConfigurationContext); 27 DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpDoDeinitialization(PVBOXNETFLTINS pThis); variable 31 DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpInitializeDevideInstance(PVBOXNETFLTINS pThis); variable 32 DECLHIDDEN(bool) vboxNetFltWinMpDeInitializeDeviceInstance(PVBOXNETFLTINS pThis, PNDIS_STATUS pStatus);
|
/vbox/src/VBox/Runtime/common/asn1/ |
H A D | asn1-ut-boolean-decode.cpp | 40 RTDECL(int) RTAsn1Boolean_DecodeAsn1(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1BOOLEAN pThis, const char *pszErrorTag) argument 42 pThis->fValue = 0; 43 int rc = RTAsn1CursorReadHdr(pCursor, &pThis->Asn1Core, pszErrorTag); 46 rc = RTAsn1CursorMatchTagClassFlags(pCursor, &pThis->Asn1Core, ASN1_TAG_BOOLEAN, 50 if (pThis->Asn1Core.cb == 1) 52 RTAsn1CursorSkip(pCursor, pThis->Asn1Core.cb); 53 pThis->Asn1Core.fFlags |= RTASN1CORE_F_PRIMITE_TAG_STRUCT; 54 pThis->Asn1Core.pOps = &g_RTAsn1Boolean_Vtable; 56 pThis->fValue = *pThis [all...] |
H A D | asn1-ut-core-decode.cpp | 37 RTDECL(int) RTAsn1Core_DecodeAsn1(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1CORE pThis, const char *pszErrorTag) argument 39 int rc = RTAsn1CursorReadHdr(pCursor, pThis, pszErrorTag); 42 RTAsn1CursorSkip(pCursor, pThis->cb); 43 pThis->pOps = &g_RTAsn1Core_Vtable; 46 RT_ZERO(*pThis);
|
H A D | asn1-ut-null-decode.cpp | 39 RTDECL(int) RTAsn1Null_DecodeAsn1(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1NULL pThis, const char *pszErrorTag) argument 41 int rc = RTAsn1CursorReadHdr(pCursor, &pThis->Asn1Core, pszErrorTag); 44 rc = RTAsn1CursorMatchTagClassFlags(pCursor, &pThis->Asn1Core, ASN1_TAG_NULL, 48 if (pThis->Asn1Core.cb == 0) 50 pThis->Asn1Core.fFlags |= RTASN1CORE_F_PRIMITE_TAG_STRUCT; 51 pThis->Asn1Core.pOps = &g_RTAsn1Null_Vtable; 56 "%s: Expected NULL object to have zero length: %#x", pszErrorTag, pThis->Asn1Core.cb); 59 RT_ZERO(*pThis);
|
H A D | asn1-ut-octetstring-decode.cpp | 39 RTDECL(int) RTAsn1OctetString_DecodeAsn1(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1OCTETSTRING pThis, argument 42 pThis->pEncapsulated = NULL; 43 RTAsn1CursorInitAllocation(pCursor, &pThis->EncapsulatedAllocation); 45 int rc = RTAsn1CursorReadHdr(pCursor, &pThis->Asn1Core, pszErrorTag); 48 rc = RTAsn1CursorMatchTagClassFlagsString(pCursor, &pThis->Asn1Core, ASN1_TAG_OCTET_STRING, 53 if ( !(pThis->Asn1Core.fClass & ASN1_TAGFLAG_CONSTRUCTED) 56 RTAsn1CursorSkip(pCursor, pThis->Asn1Core.cb); 57 pThis->Asn1Core.pOps = &g_RTAsn1OctetString_Vtable; 58 pThis->Asn1Core.fFlags |= RTASN1CORE_F_PRIMITE_TAG_STRUCT; 66 pszErrorTag, pThis [all...] |
H A D | asn1-ut-bitstring-decode.cpp | 40 RTDECL(int) RTAsn1BitString_DecodeAsn1Ex(PRTASN1CURSOR pCursor, uint32_t fFlags, uint32_t cMaxBits, PRTASN1BITSTRING pThis, argument 43 pThis->cBits = 0; 44 pThis->cMaxBits = cMaxBits; 45 pThis->uBits.pv = NULL; 46 pThis->pEncapsulated = NULL; 47 RTAsn1CursorInitAllocation(pCursor, &pThis->EncapsulatedAllocation); 49 int rc = RTAsn1CursorReadHdr(pCursor, &pThis->Asn1Core, pszErrorTag); 52 rc = RTAsn1CursorMatchTagClassFlagsString(pCursor, &pThis->Asn1Core, ASN1_TAG_BIT_STRING, 57 if (!(pThis->Asn1Core.fClass & ASN1_TAGFLAG_CONSTRUCTED)) 60 || RT_ALIGN(cMaxBits, 8) / 8 + 1 >= pThis 118 RTAsn1BitString_DecodeAsn1(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1BITSTRING pThis, const char *pszErrorTag) argument [all...] |
H A D | asn1-ut-integer-decode.cpp | 39 RTDECL(int) RTAsn1Integer_DecodeAsn1(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1INTEGER pThis, const char *pszErrorTag) argument 41 pThis->uValue.u = 0; 42 int rc = RTAsn1CursorReadHdr(pCursor, &pThis->Asn1Core, pszErrorTag); 45 rc = RTAsn1CursorMatchTagClassFlags(pCursor, &pThis->Asn1Core, ASN1_TAG_INTEGER, 50 uint32_t offLast = pThis->Asn1Core.cb - 1; 51 switch (pThis->Asn1Core.cb) 54 case 8: pThis->uValue.u |= (uint64_t)pThis->Asn1Core.uData.pu8[offLast - 7] << 56; 55 case 7: pThis->uValue.u |= (uint64_t)pThis [all...] |
H A D | asn1-default-allocator.cpp | 57 static DECLCALLBACK(void) rtAsn1DefaultAllocator_Free(PCRTASN1ALLOCATORVTABLE pThis, PRTASN1ALLOCATION pAllocation, void *pv) argument 65 static DECLCALLBACK(int) rtAsn1DefaultAllocator_Alloc(PCRTASN1ALLOCATORVTABLE pThis, PRTASN1ALLOCATION pAllocation, argument 81 static DECLCALLBACK(int) rtAsn1DefaultAllocator_Realloc(PCRTASN1ALLOCATORVTABLE pThis, PRTASN1ALLOCATION pAllocation, argument
|
H A D | asn1-efence-allocator.cpp | 39 static DECLCALLBACK(void) rtAsn1EFenceAllocator_Free(PCRTASN1ALLOCATORVTABLE pThis, PRTASN1ALLOCATION pAllocation, void *pv) argument 47 static DECLCALLBACK(int) rtAsn1EFenceAllocator_Alloc(PCRTASN1ALLOCATORVTABLE pThis, PRTASN1ALLOCATION pAllocation, argument 62 static DECLCALLBACK(int) rtAsn1EFenceAllocator_Realloc(PCRTASN1ALLOCATORVTABLE pThis, PRTASN1ALLOCATION pAllocation, argument
|
H A D | asn1-ut-string-decode.cpp | 41 RTDECL(int) RTAsn1String_DecodeAsn1(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1STRING pThis, const char *pszErrorTag) argument 43 RT_ZERO(*pThis); 46 int rc = RTAsn1CursorReadHdr(pCursor, &pThis->Asn1Core, pszErrorTag); 52 switch (pThis->Asn1Core.uTag) 71 pszErrorTag, pThis->Asn1Core.fClass, pThis->Asn1Core.uTag); 78 if (pThis->Asn1Core.fClass == (ASN1_TAGCLASS_UNIVERSAL | ASN1_TAGFLAG_PRIMITIVE)) 83 RTAsn1CursorSkip(pCursor, pThis->Asn1Core.cb); 84 pThis->Asn1Core.pOps = &g_RTAsn1String_Vtable; 85 pThis 138 rtAsn1XxxString_DecodeAsn1(PRTASN1CURSOR pCursor, uint32_t fFlags, uint8_t uTag, PRTASN1STRING pThis, const char *pszErrorTag, const char *pszWhat) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/SocketDxe/ |
H A D | ComponentName.c | 55 @param [in] pThis A pointer to the EFI_COMPONENT_NAME2_PROTOCOL or 82 IN EFI_COMPONENT_NAME_PROTOCOL * pThis, 91 pThis->SupportedLanguages, 94 (BOOLEAN)(pThis == &mComponentName) 112 @param [in] pThis A pointer to the EFI_COMPONENT_NAME2_PROTOCOL or 160 IN EFI_COMPONENT_NAME_PROTOCOL * pThis, 81 GetDriverName( IN EFI_COMPONENT_NAME_PROTOCOL * pThis, IN CHAR8 * pLanguage, OUT CHAR16 ** ppDriverName ) argument 159 GetControllerName( IN EFI_COMPONENT_NAME_PROTOCOL * pThis, IN EFI_HANDLE ControllerHandle, IN OPTIONAL EFI_HANDLE ChildHandle, IN CHAR8 * pLanguage, OUT CHAR16 ** ppControllerName ) argument
|
H A D | DriverBinding.c | 57 @param [in] pThis Protocol instance pointer. 68 IN EFI_DRIVER_BINDING_PROTOCOL * pThis, 96 pThis->DriverBindingHandle, 108 pThis->DriverBindingHandle, 148 @param [in] pThis Protocol instance pointer. 159 IN EFI_DRIVER_BINDING_PROTOCOL * pThis, 171 Status = EslServiceConnect ( pThis->DriverBindingHandle, 194 @param [in] pThis Protocol instance pointer. 207 IN EFI_DRIVER_BINDING_PROTOCOL * pThis, 220 Status = EslServiceDisconnect ( pThis 67 DriverSupported( IN EFI_DRIVER_BINDING_PROTOCOL * pThis, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL * pRemainingDevicePath ) argument 158 DriverStart( IN EFI_DRIVER_BINDING_PROTOCOL * pThis, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL * pRemainingDevicePath ) argument 206 DriverStop( IN EFI_DRIVER_BINDING_PROTOCOL * pThis, IN EFI_HANDLE Controller, IN UINTN NumberOfChildren, IN EFI_HANDLE * pChildHandleBuffer ) argument [all...] |
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | rand-posix.cpp | 54 static DECLCALLBACK(void) rtRandAdvPosixGetBytes(PRTRANDINT pThis, uint8_t *pb, size_t cb) argument 56 ssize_t cbRead = read(pThis->u.File.hFile, pb, cb); 70 cbRead = read(pThis->u.File.hFile, pb, cb); 79 static DECLCALLBACK(int) rtRandAdvPosixDestroy(PRTRANDINT pThis) argument 81 pThis->u32Magic = ~RTRANDINT_MAGIC; 82 int fd = pThis->u.File.hFile; 83 pThis->u.File.hFile = -1; 84 RTMemFree(pThis); 101 PRTRANDINT pThis = (PRTRANDINT)RTMemAlloc(sizeof(*pThis)); variable [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/EfiSocketLib/ |
H A D | DxeSupport.c | 28 @param [in] pThis Address of the EFI_SERVICE_BINDING_PROTOCOL structure. 43 IN EFI_SERVICE_BINDING_PROTOCOL * pThis, 75 @param [in] pThis Address of the EFI_SERVICE_BINDING_PROTOCOL structure. 89 IN EFI_SERVICE_BINDING_PROTOCOL * pThis, 42 EslDxeCreateChild( IN EFI_SERVICE_BINDING_PROTOCOL * pThis, IN OUT EFI_HANDLE * pChildHandle ) argument 88 EslDxeDestroyChild( IN EFI_SERVICE_BINDING_PROTOCOL * pThis, IN EFI_HANDLE ChildHandle ) argument
|
/vbox/src/VBox/Devices/Samples/ |
H A D | VBoxSampleDevice.cpp | 73 PVBOXSAMPLEDEVICE pThis = PDMINS_2_DATA(pDevIns, PVBOXSAMPLEDEVICE); local 74 pThis->Whatever = 0;
|
/vbox/src/VBox/ExtPacks/BusMouseSample/ |
H A D | VBoxBusMouseMain.cpp | 55 // static DECLCALLBACK(void) vboxSkeletonExtPack_Installed(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox); 59 // static DECLCALLBACK(int) vboxSkeletonExtPack_Uninstall(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox); 64 // static DECLCALLBACK(void) vboxSkeletonExtPack_VirtualBoxReady(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox); 69 // static DECLCALLBACK(void) vboxSkeletonExtPack_Unload(PCVBOXEXTPACKREG pThis); 73 // static DECLCALLBACK(int) vboxSkeletonExtPack_VMCreated(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox, IMachine *pMachine); 79 static DECLCALLBACK(int) vboxBusMouseExtPack_VMConfigureVMM(PCVBOXEXTPACKREG pThis, IConsole *pConsole, PVM pVM) argument 125 // static DECLCALLBACK(int) vboxSkeletonExtPack_VMPowerOn(PCVBOXEXTPACKREG pThis, IConsole *pConsole, PVM pVM); 129 // static DECLCALLBACK(void) vboxSkeletonExtPack_VMPowerOff(PCVBOXEXTPACKREG pThis, IConsole *pConsole, PVM pVM); 133 // static DECLCALLBACK(void) vboxSkeletonExtPack_QueryObject(PCVBOXEXTPACKREG pThis, PCRTUUID pObjectId);
|