Lines Matching refs:Asn1Core

138         pThis->Asn1Core.cb = 1 + cbEncoded;
142 rc = RTAsn1ContentReallocZ(&pThis->Asn1Core, cbEncoded + 1, pAllocator);
145 pThis->uBits.pu8 = pThis->Asn1Core.uData.pu8 + 1;
149 Ctx.pbBuf = (uint8_t *)pThis->Asn1Core.uData.pu8;
182 if (pThis->Asn1Core.cb != 1 + cbEncoded)
188 if (!pThis->Asn1Core.uData.pv)
192 if (*pThis->Asn1Core.uData.pu8 != 0)
197 Ctx.pbBuf = (uint8_t *)pThis->Asn1Core.uData.pu8;
221 Assert(pThis->cBits == 0 || pThis->Asn1Core.uData.pv);
231 if (pThis->Asn1Core.uData.pv)
233 bool fMustFree = pThis->Asn1Core.cb != 1 + cbEncoded || (pThis->cBits & 7);
237 Ctx.pbBuf = (uint8_t *)pThis->Asn1Core.uData.pu8;
250 RTAsn1ContentFree(&pThis->Asn1Core);
253 pThis->Asn1Core.cb = 1 + cbEncoded;
256 rc = RTAsn1EncodeRecalcHdrSize(&pThis->Asn1Core, fFlags, pErrInfo);
268 AssertReturn(RT_ALIGN(pThis->cBits, 7) / 8 + 1 == pThis->Asn1Core.cb, VERR_INTERNAL_ERROR_3);
273 int rc = RTAsnEncodeWriteHeader(&pThis->Asn1Core, fFlags, pfnWriter, pvUser, pErrInfo);
291 Assert(pThis->Asn1Core.uData.pu8[0] == cUnusedBits);
292 rc = pfnWriter(pThis->Asn1Core.uData.pu8, pThis->Asn1Core.cb, pvUser, pErrInfo);
333 RTAsn1Core_InitEx(&pThis->Asn1Core, ASN1_TAG_BIT_STRING, ASN1_TAGCLASS_UNIVERSAL | ASN1_TAGFLAG_PRIMITIVE,
352 AssertReturn(pSrc->Asn1Core.pOps == &g_RTAsn1BitString_Vtable, VERR_INTERNAL_ERROR_3);
356 rc = RTAsn1Core_CloneContent(&pThis->Asn1Core, &pSrc->Asn1Core, pAllocator);
358 rc = RTAsn1Core_CloneNoContent(&pThis->Asn1Core, &pSrc->Asn1Core);
366 pThis->uBits.pv = pThis->Asn1Core.uData.pu8 ? pThis->Asn1Core.uData.pu8 + 1 : NULL;
392 RTAsn1ContentFree(&pThis->Asn1Core);
407 Assert(pThis->Asn1Core.pOps == &g_RTAsn1BitString_Vtable);
418 RTAsn1ContentFree(&pThis->Asn1Core);
426 Assert(pThis && (!RTAsn1BitString_IsPresent(pThis) || pThis->Asn1Core.pOps == &g_RTAsn1BitString_Vtable));
437 Assert(pLeft && (!RTAsn1BitString_IsPresent(pLeft) || pLeft->Asn1Core.pOps == &g_RTAsn1BitString_Vtable));
438 Assert(pRight && (!RTAsn1BitString_IsPresent(pRight) || pRight->Asn1Core.pOps == &g_RTAsn1BitString_Vtable));
475 iDiff = RTAsn1Core_CompareEx(&pLeft->Asn1Core, &pRight->Asn1Core, true /*fIgnoreTagAndClass*/);
482 iDiff = RTAsn1Core_CompareEx(&pLeft->Asn1Core, &pRight->Asn1Core, true /*fIgnoreTagAndClass*/);