Lines Matching defs:pThis
40 RTDECL(int) RTAsn1Boolean_DecodeAsn1(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1BOOLEAN pThis, const char *pszErrorTag)
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->Asn1Core.uData.pu8 != 0;
57 if ( *pThis->Asn1Core.uData.pu8 == 0
58 || *pThis->Asn1Core.uData.pu8 == 0xff
64 pszErrorTag, *pThis->Asn1Core.uData.pu8);
68 pszErrorTag, pThis->Asn1Core.cb);
71 RT_ZERO(*pThis);