Lines Matching refs:smiRange
965 static int smi_check_a_range(SmiType *smiType, SmiRange *smiRange, in smi_check_a_range() argument
973 if (smiRange->minValue.value.unsigned32 in smi_check_a_range()
974 == smiRange->maxValue.value.unsigned32) { in smi_check_a_range()
975 ok = (elem->asnlen == smiRange->minValue.value.unsigned32); in smi_check_a_range()
977 ok = (elem->asnlen >= smiRange->minValue.value.unsigned32 in smi_check_a_range()
978 && elem->asnlen <= smiRange->maxValue.value.unsigned32); in smi_check_a_range()
983 ok = (elem->data.integer >= smiRange->minValue.value.integer32 in smi_check_a_range()
984 && elem->data.integer <= smiRange->maxValue.value.integer32); in smi_check_a_range()
988 ok = (elem->data.uns >= smiRange->minValue.value.unsigned32 in smi_check_a_range()
989 && elem->data.uns <= smiRange->maxValue.value.unsigned32); in smi_check_a_range()
1017 SmiRange *smiRange; in smi_check_range() local
1020 for (smiRange = smiGetFirstRange(smiType); in smi_check_range()
1021 smiRange; in smi_check_range()
1022 smiRange = smiGetNextRange(smiRange)) { in smi_check_range()
1024 ok = smi_check_a_range(smiType, smiRange, elem); in smi_check_range()