Lines Matching refs:range
85 ASN1_SIMPLE(ASIdOrRange, u.range, ASRange)
131 if ((s = i2s_ASN1_INTEGER(NULL, aor->u.range->min)) == NULL)
135 if ((s = i2s_ASN1_INTEGER(NULL, aor->u.range->max)) == NULL)
175 (a->type == ASIdOrRange_range && a->u.range != NULL &&
176 a->u.range->min != NULL && a->u.range->max != NULL));
179 (b->type == ASIdOrRange_range && b->u.range != NULL &&
180 b->u.range->min != NULL && b->u.range->max != NULL));
186 int r = ASN1_INTEGER_cmp(a->u.range->min, b->u.range->min);
187 return r != 0 ? r : ASN1_INTEGER_cmp(a->u.range->max, b->u.range->max);
191 return ASN1_INTEGER_cmp(a->u.id, b->u.range->min);
193 return ASN1_INTEGER_cmp(a->u.range->min, b->u.id);
226 * Add an ID or range to an ASIdentifierChoice.
265 if ((aor->u.range = ASRange_new()) == NULL)
267 ASN1_INTEGER_free(aor->u.range->min);
268 aor->u.range->min = min;
269 ASN1_INTEGER_free(aor->u.range->max);
270 aor->u.range->max = max;
295 *min = aor->u.range->min;
296 *max = aor->u.range->max;
335 * Punt misordered list, overlapping start, or inverted range.
362 * Check for inverted range.
482 a->u.range = r;
485 ASN1_INTEGER_free(a->u.range->max);
486 a->u.range->max = b_max;
494 b->u.range->max = NULL;
505 * Check for final inverted range.
583 * Number, range, or mistake, pick it apart and figure out which.