Lines Matching refs:cbEncoded
96 uint32_t cbEncoded;
97 int rc = RTAsn1EncodePrepare(pThis->pEncapsulated, fFlags, &cbEncoded, pErrInfo);
100 pThis->Asn1Core.cb = cbEncoded;
102 rc = RTAsn1ContentReallocZ(&pThis->Asn1Core, cbEncoded, pAllocator);
108 Ctx.cbBuf = cbEncoded;
114 if (Ctx.offBuf == cbEncoded)
117 rc = RTErrInfoSetF(pErrInfo, rc, "Expected %#x bytes, got %#x", cbEncoded, Ctx.offBuf);
121 rc = RTErrInfoSetF(pErrInfo, rc, "Error allocating %#x bytes for storing content\n", cbEncoded);
132 uint32_t cbEncoded;
133 int rc = RTAsn1EncodePrepare(pThis->pEncapsulated, fFlags, &cbEncoded, NULL);
136 if (pThis->Asn1Core.cb != cbEncoded)
140 if (cbEncoded)
148 Ctx.cbBuf = cbEncoded;
174 uint32_t cbEncoded;
175 int rc = RTAsn1EncodePrepare(pThis->pEncapsulated, fFlags, &cbEncoded, pErrInfo);
181 bool fMustFree = pThis->Asn1Core.cb != cbEncoded;
186 Ctx.cbBuf = cbEncoded;
195 pThis->Asn1Core.cb = cbEncoded;