Searched refs:cMaxBits (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Runtime/common/asn1/
H A Dasn1-ut-bitstring-decode.cpp40 RTDECL(int) RTAsn1BitString_DecodeAsn1Ex(PRTASN1CURSOR pCursor, uint32_t fFlags, uint32_t cMaxBits, PRTASN1BITSTRING pThis, argument
44 pThis->cMaxBits = cMaxBits;
59 if ( ( cMaxBits == UINT32_MAX
60 || RT_ALIGN(cMaxBits, 8) / 8 + 1 >= pThis->Asn1Core.cb)
105 "%s: Size mismatch: cb=%#x, expected %#x (cMaxBits=%#x)",
106 pszErrorTag, pThis->Asn1Core.cb, RT_ALIGN(cMaxBits, 8) / 8 + 1, cMaxBits);
H A Dasn1-ut-bitstring.cpp336 pThis->cMaxBits = 0;
364 pThis->cMaxBits = pSrc->cMaxBits;
498 if (pThis->cBits > pThis->cMaxBits)
499 return RTErrInfoSetF(pErrInfo, VERR_ASN1_BITSTRING_OUT_OF_BOUNDS, "%s: Exceeding max bits: cBits=%u cMaxBits=%u.",
500 pszErrorTag, pThis->cBits, pThis->cMaxBits);
H A Dasn1-cursor.cpp488 RTDECL(int) RTAsn1CursorGetBitStringEx(PRTASN1CURSOR pCursor, uint32_t fFlags, uint32_t cMaxBits, PRTASN1BITSTRING pBitString, argument
491 return RTAsn1BitString_DecodeAsn1Ex(pCursor, fFlags, cMaxBits, pBitString, pszErrorTag);
H A Dasn1-dump.cpp615 rtAsn1DumpPrintf(pData, "BIT STRING %s-- cb=%u cBits=%#x cMaxBits=%#x",
616 pszDefault, pBitString->Asn1Core.cb, pBitString->cBits, pBitString->cMaxBits);
/vbox/include/iprt/
H A Dasn1-generator-pass.h1030 # define RTASN1TMPL_MEMBER_CONSTR_BITSTRING_MIN_MAX(a_Name, cMinBits, cMaxBits, a_MoreConstraints) \
1031 if (RT_SUCCESS(rc) && ((cMinBits) != 0 || (cMaxBits) != UINT32_MAX)) \
1034 || ((cMaxBits) == UINT32_MAX ? false : pThis->a_Name.cBits + 1U > (cMaxBits) + 1U /* ditto */) ) ) \
1037 pszErrorTag, pThis->a_Name.cBits, cMinBits, cMaxBits); \
1309 # define RTASN1TMPL_MEMBER_CONSTR_BITSTRING_MIN_MAX(a_Name, cMinBits, cMaxBits, a_MoreConstraints)
H A Dasn1.h995 uint32_t cMaxBits; member in struct:RTASN1BITSTRING
1031 RTDECL(int) RTAsn1BitString_DecodeAsn1Ex(PRTASN1CURSOR pCursor, uint32_t fFlags, uint32_t cMaxBits, PRTASN1BITSTRING pThis,
1820 * cMaxBits.
1825 * @param cMaxBits The max length of the bit string in bits. Pass
1830 RTDECL(int) RTAsn1CursorGetBitStringEx(PRTASN1CURSOR pCursor, uint32_t fFlags, uint32_t cMaxBits, PRTASN1BITSTRING pBitString,

Completed in 61 milliseconds