Lines Matching refs:optional
86 optional, /* omit field if it has no contents */
193 PRBool explicit, is_string, may_stream, optional, universal, ignore_stream;
209 optional = (encode_kind & SEC_ASN1_OPTIONAL) ? PR_TRUE : PR_FALSE;
254 * If this is optional, but NULL, then the field does
258 if (optional)
270 PORT_Assert (encode_kind == SEC_ASN1_INLINE && !optional);
283 state->optional = optional;
307 * (tag, optional status, etc.).
399 state->optional = optional;
517 PRBool explicit, optional, universal, may_stream;
528 * optional bit set. The information that the parent is optional
530 * present since that means the optional field is no longer present.
546 optional = (encode_kind & SEC_ASN1_OPTIONAL) ? PR_TRUE : PR_FALSE;
592 if (optional)
600 PORT_Assert (encode_kind == SEC_ASN1_INLINE && !optional);
608 if (len == 0 && optional) {
770 if ((len == 0 && optional) || underlying_kind == SEC_ASN1_ANY)
834 * really optional. So check for that explicitly, too.
836 if (noheader || (contents_length == 0 && state->optional)) {
839 /* we did not find an optional indefinite string, so we don't encode it.