Lines Matching defs:cBits
100 uint32_t cBits = RT_MIN(pThis->cBits, 64);
101 while (cBits > 0)
114 if (cBits < 8)
116 b &= RT_BIT_32(cBits) - 1;
122 cBits -= 8;
139 pThis->cBits = cbEncoded * 8;
140 AssertReturn(pThis->cBits / 8 == cbEncoded, RTErrInfoSetF(pErrInfo, VERR_TOO_MUCH_DATA, "cbEncoded=%#x", cbEncoded));
174 if (pThis->cBits & 7)
221 Assert(pThis->cBits == 0 || pThis->Asn1Core.uData.pv);
233 bool fMustFree = pThis->Asn1Core.cb != 1 + cbEncoded || (pThis->cBits & 7);
254 pThis->cBits = cbEncoded * 8;
268 AssertReturn(RT_ALIGN(pThis->cBits, 7) / 8 + 1 == pThis->Asn1Core.cb, VERR_INTERNAL_ERROR_3);
281 if ((pThis->cBits & 7) != 0)
282 cUnusedBits = 8 - (pThis->cBits & 7);
289 if (pThis->cBits > 0)
335 /*pThis->cBits = 0;
363 pThis->cBits = pSrc->cBits;
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);