/vbox/src/VBox/Runtime/common/asn1/ |
H A D | asn1-basics.cpp | 62 RTASN1ALLOCATION Allocation; member in struct:RTASN1MEMCONTENT 184 RTASN1ALLOCATION Allocation; 185 Allocation.cbAllocated = 0; 186 Allocation.cReallocs = 0; 187 Allocation.uReserved0 = 0; 188 Allocation.pAllocator = pAllocator; 193 int rc = pAllocator->pfnAlloc(pAllocator, &Allocation, (void **)&pHdr, cbAlloc); 196 Assert(Allocation.cbAllocated >= cbAlloc); 197 pHdr->Allocation = Allocation; [all...] |
H A D | asn1-ut-objid.cpp | 241 RTAsn1MemInitAllocation(&pThis->Allocation, pAllocator); 252 rc = RTAsn1MemAllocZ(&pThis->Allocation, (void **)&pThis->pauComponents, cComponents * sizeof(uint32_t)); 429 RTAsn1MemInitAllocation(&pThis->Allocation, pAllocator); 443 rc = RTAsn1MemDup(&pThis->Allocation, (void **)&pThis->pauComponents, pSrc->pauComponents, 472 if (pThis->Allocation.cbAllocated) 473 RTAsn1MemFree(&pThis->Allocation, (uint32_t *)pThis->pauComponents); 488 if (pThis->Allocation.cbAllocated) 489 RTAsn1MemFree(&pThis->Allocation, (uint32_t *)pThis->pauComponents);
|
H A D | asn1-ut-string-decode.cpp | 86 RTAsn1CursorInitAllocation(pCursor, &pThis->Allocation); 157 RTAsn1CursorInitAllocation(pCursor, &pThis->Allocation);
|
H A D | asn1-ut-objid-decode.cpp | 279 RTAsn1CursorInitAllocation(pCursor, &pThis->Allocation); 285 rc = RTAsn1MemAllocZ(&pThis->Allocation, (void **)&pThis->pauComponents,
|
H A D | asn1-ut-string.cpp | 1488 rc = RTAsn1MemAllocZ(&pThisNC->Allocation, (void **)&psz, cch + 1); 1519 AssertReturnStmt(RT_SUCCESS(rc), RTAsn1MemFree(&pThisNC->Allocation, psz), VERR_INTERNAL_ERROR_3); 1534 AssertReturnStmt(RTUniCpIsValid(uc), RTAsn1MemFree(&pThisNC->Allocation, psz), VERR_INTERNAL_ERROR_2); 1553 AssertReturnStmt(RTUniCpIsValid(uc), RTAsn1MemFree(&pThisNC->Allocation, psz), VERR_INTERNAL_ERROR_2); 1565 RTAsn1MemFree(&pThisNC->Allocation, psz); 1620 RTAsn1MemInitAllocation(&pThis->Allocation, pAllocator); 1712 RTAsn1MemInitAllocation(&pThis->Allocation, pAllocator); 1727 if (pThis->Allocation.cbAllocated) 1728 RTAsn1MemFree(&pThis->Allocation, (char *)pThis->pszUtf8);
|
/vbox/src/VBox/Runtime/common/crypto/ |
H A D | spc-template.h | 54 RTASN1TMPL_MEMBER_DYN_BEGIN( RTCRSPCSERIALIZEDOBJECTATTRIBUTETYPE, enmType, Allocation); 55 RTASN1TMPL_MEMBER_DYN( u, pPageHashes, RTCRSPCSERIALIZEDPAGEHASHES, RTCrSpcSerializedPageHashes, Allocation, enmType, 57 RTASN1TMPL_MEMBER_DYN( u, pPageHashes, RTCRSPCSERIALIZEDPAGEHASHES, RTCrSpcSerializedPageHashes, Allocation, enmType, 59 RTASN1TMPL_MEMBER_DYN_DEFAULT( u, pCore, RTASN1CORE, RTAsn1Core, Allocation, enmType, RTCRSPCSERIALIZEDOBJECTATTRIBUTETYPE_UNKNOWN); 60 RTASN1TMPL_MEMBER_DYN_END( RTCRSPCSERIALIZEDOBJECTATTRIBUTETYPE, enmType, Allocation); 162 RTASN1TMPL_MEMBER_DYN_BEGIN( RTCRSPCAAOVTYPE, enmType, Allocation); 163 RTASN1TMPL_MEMBER_DYN( uValue, pPeImage, RTCRSPCPEIMAGEDATA, RTCrSpcPeImageData, Allocation, enmType, 165 RTASN1TMPL_MEMBER_DYN_DEFAULT( uValue, pCore, RTASN1CORE, RTAsn1Core, Allocation, enmType, RTCRSPCAAOVTYPE_UNKNOWN); 166 RTASN1TMPL_MEMBER_DYN_END( RTCRSPCAAOVTYPE, enmType, Allocation);
|
H A D | pkcs7-template.h | 52 RTASN1TMPL_MEMBER_DYN_BEGIN(RTCRPKCS7ATTRIBUTETYPE, enmType, Allocation); 53 RTASN1TMPL_MEMBER_DYN( uValues, pOctetStrings, RTASN1SETOFOCTETSTRINGS, RTAsn1SetOfOctetStrings, Allocation, 55 RTASN1TMPL_MEMBER_DYN( uValues, pObjIds, RTASN1SETOFOBJIDS, RTAsn1SetOfObjIds, Allocation, 57 RTASN1TMPL_MEMBER_DYN( uValues, pCounterSignatures, RTCRPKCS7SINGERINFOS, RTCrPkcs7SignerInfos, Allocation, 59 RTASN1TMPL_MEMBER_DYN( uValues, pSigningTime, RTASN1SETOFTIMES, RTAsn1SetOfTimes, Allocation, 61 RTASN1TMPL_MEMBER_DYN( uValues, pContentInfos, RTCRPKCS7SETOFCONTENTINFOS, RTCrPkcs7SetOfContentInfos, Allocation, 63 RTASN1TMPL_MEMBER_DYN_DEFAULT( uValues, pCores, RTASN1SETOFCORES, RTAsn1SetOfCores, Allocation, 65 RTASN1TMPL_MEMBER_DYN_END(RTCRPKCS7ATTRIBUTETYPE, enmType, Allocation);
|
H A D | RTCrStoreCertAddFromFile.cpp | 56 pCertificates->Allocation
|
H A D | x509-file.cpp | 91 pCertificates->Allocation
|
/vbox/include/iprt/crypto/ |
H A D | spc.h | 152 RTASN1ALLOCATION Allocation; member in struct:RTCRSPCSERIALIZEDOBJECTATTRIBUTE 262 /** Allocation of what the pointer below points to. */ 263 RTASN1ALLOCATION Allocation; member in struct:RTCRSPCSTRING 310 /** Allocation of what the pointer below points to. */ 311 RTASN1ALLOCATION Allocation; member in struct:RTCRSPCLINK 412 /** Allocation of the optional data value. */ 413 RTASN1ALLOCATION Allocation; member in struct:RTCRSPCATTRIBUTETYPEANDOPTIONALVALUE
|
H A D | taf.h | 141 /** Allocation for the valid member (to optimize space usage). */ 142 RTASN1ALLOCATION Allocation; member in struct:RTCRTAFTRUSTANCHORCHOICE
|
H A D | pkcs7.h | 105 RTASN1ALLOCATION Allocation; member in struct:RTCRPKCS7ATTRIBUTE 305 RTASN1ALLOCATION Allocation; member in struct:RTCRPKCS7CERT
|
H A D | x509.h | 245 RTASN1ALLOCATION Allocation; member in struct:RTCRX509GENERALNAME
|
/vbox/include/iprt/ |
H A D | asn1-generator-pass.h | 218 RTAsn1MemInitAllocation(&pThis->Allocation, pAllocator); \ 250 RTAsn1MemInitAllocation(&pThis->Allocation, pAllocator); \ 378 RTAsn1CursorInitAllocation(pCursor, &pThis->Allocation); \ 389 rc = RTAsn1MemAllocZ(&pThis->Allocation, (void **)&pThis->a_PtrName, sizeof(*pThis->a_PtrName)); \ 397 rc = RTAsn1MemAllocZ(&pThis->Allocation, (void **)&pThis->a_PtrTnNm, sizeof(*pThis->a_PtrTnNm)); \ 429 RTAsn1CursorInitAllocation(pCursor, &pThis->Allocation); \ 435 rc = RTAsn1MemGrowArray(&pThis->Allocation, \ 584 RTAsn1MemInitAllocation(&pThis->Allocation, pAllocator); \ 622 RTAsn1MemInitAllocation(&pThis->Allocation, pAllocator); \ 630 rc = RTAsn1MemAllocZ(&pThis->Allocation, (voi [all...] |
H A D | asn1.h | 117 * Allocation information. 656 RTASN1ALLOCATION Allocation; \ 712 RTASN1ALLOCATION Allocation; \ 928 RTASN1ALLOCATION Allocation; member in struct:RTASN1OBJID 1003 /** Allocation tracking structure for pEncapsulated. */ 1051 /** Allocation tracking structure for pEncapsulated. */ 1077 /** Allocation tracking for pszUtf8. */ 1078 RTASN1ALLOCATION Allocation; member in struct:RTASN1STRING
|