Lines Matching refs:Asn1Core
55 RTAsn1Core_InitEx(&pThis->Asn1Core, ASN1_TAG_BOOLEAN, ASN1_TAGCLASS_UNIVERSAL | ASN1_TAGFLAG_PRIMITIVE,
58 pThis->Asn1Core.uData.pv = (void *)(fValue ? &g_bTrue : &g_bFalse);
69 RTAsn1ContentFree(&pThis->Asn1Core);
71 pThis->Asn1Core.uData.pv = (void *)(fValue ? &g_bTrue : &g_bFalse);
72 pThis->Asn1Core.cb = 1;
73 pThis->Asn1Core.fFlags &= ~RTASN1CORE_F_DEFAULT;
74 pThis->Asn1Core.fFlags |= RTASN1CORE_F_PRESENT;
103 RTAsn1Core_InitEx(&pThis->Asn1Core, ASN1_TAG_BOOLEAN, ASN1_TAGCLASS_UNIVERSAL | ASN1_TAGFLAG_PRIMITIVE,
106 pThis->Asn1Core.cb = 1;
107 pThis->Asn1Core.uData.pv = (void *)&g_bTrue;
118 AssertReturn(pSrc->Asn1Core.pOps == &g_RTAsn1Boolean_Vtable, VERR_INTERNAL_ERROR_3);
119 AssertReturn(pSrc->Asn1Core.cb <= 1, VERR_INTERNAL_ERROR_4);
122 if ( pSrc->Asn1Core.cb == 1
123 && pSrc->Asn1Core.uData.pu8[0] != 0x00
124 && pSrc->Asn1Core.uData.pu8[0] != 0xff)
127 rc = RTAsn1Core_CloneContent(&pThis->Asn1Core, &pSrc->Asn1Core, pAllocator);
134 rc = RTAsn1Core_CloneNoContent(&pThis->Asn1Core, &pSrc->Asn1Core);
137 pThis->Asn1Core.uData.pv = (void *)(pSrc->fValue ? &g_bTrue : &g_bFalse);
150 Assert(pThis->Asn1Core.pOps == &g_RTAsn1Boolean_Vtable);
151 Assert(pThis->Asn1Core.cb <= 1);
153 RTAsn1ContentFree(&pThis->Asn1Core);
161 Assert(pThis && (!RTAsn1Boolean_IsPresent(pThis) || pThis->Asn1Core.pOps == &g_RTAsn1Boolean_Vtable));
170 Assert(pLeft && (!RTAsn1Boolean_IsPresent(pLeft) || pLeft->Asn1Core.pOps == &g_RTAsn1Boolean_Vtable));
171 Assert(pRight && (!RTAsn1Boolean_IsPresent(pRight) || pRight->Asn1Core.pOps == &g_RTAsn1Boolean_Vtable));