Lines Matching defs:childp7dcx
55 SecCmsDecoderRef childp7dcx; /* inner CMS decoder context */
211 SecCmsDecoderRef childp7dcx;
264 p7dcx->childp7dcx = NULL;
273 childp7dcx = (SecCmsDecoderRef)PORT_ZAlloc(sizeof(struct SecCmsDecoderStr));
274 if (childp7dcx == NULL)
281 childp7dcx->content.pointer = (void *)PORT_ArenaZAlloc(poolp, size);
282 if (childp7dcx->content.pointer == NULL)
286 cinfo->content.pointer = childp7dcx->content.pointer;
289 childp7dcx->dcx = SEC_ASN1DecoderStart(poolp, childp7dcx->content.pointer, template, NULL);
290 if (childp7dcx->dcx == NULL)
294 SEC_ASN1DecoderSetNotifyProc(childp7dcx->dcx, nss_cms_decoder_notify, childp7dcx);
297 p7dcx->childp7dcx = childp7dcx;
299 childp7dcx->type = childtype; /* our type */
301 childp7dcx->cmsg = p7dcx->cmsg; /* backpointer to root message */
304 childp7dcx->cb = p7dcx->cb;
305 childp7dcx->cb_arg = p7dcx->cb_arg;
309 p7dcx->cb_arg = childp7dcx;
318 if (childp7dcx)
319 PORT_Free(childp7dcx);
320 p7dcx->childp7dcx = NULL;
328 SecCmsDecoderRef childp7dcx;
338 if (p7dcx->childp7dcx != NULL) {
339 childp7dcx = p7dcx->childp7dcx;
340 if (childp7dcx->dcx != NULL) {
341 if (SEC_ASN1DecoderFinish(childp7dcx->dcx) != SECSuccess) {
345 rv = nss_cms_after_end(childp7dcx);
350 PORT_Free(p7dcx->childp7dcx);
351 p7dcx->childp7dcx = NULL;