Lines Matching defs:sve
46 unisve_check_addr(const struct unisve_addr *sve)
48 if (sve->tag == UNISVE_ABSENT)
50 if (sve->tag == UNISVE_ANY)
52 if (sve->tag != UNISVE_PRESENT)
55 if (sve->type == UNI_ADDR_INTERNATIONAL) {
56 if (sve->plan != UNI_ADDR_E164)
58 if (sve->len == 0 || sve->len > 15)
61 } else if (sve->type == UNI_ADDR_UNKNOWN) {
62 if (sve->plan != UNI_ADDR_ATME)
64 if (sve->len != 19)
73 unisve_check_selector(const struct unisve_selector *sve)
75 if (sve->tag != UNISVE_PRESENT &&
76 sve->tag != UNISVE_ABSENT &&
77 sve->tag != UNISVE_ANY)
86 unisve_check_blli_id2(const struct unisve_blli_id2 *sve)
88 if (sve->tag != UNISVE_PRESENT &&
89 sve->tag != UNISVE_ABSENT &&
90 sve->tag != UNISVE_ANY)
99 unisve_check_blli_id3(const struct unisve_blli_id3 *sve)
101 if (sve->tag != UNISVE_PRESENT &&
102 sve->tag != UNISVE_ABSENT &&
103 sve->tag != UNISVE_ANY)
109 unisve_check_bhli(const struct unisve_bhli *sve)
111 if (sve->tag == UNISVE_ABSENT)
113 if (sve->tag == UNISVE_ANY)
116 if (sve->tag != UNISVE_PRESENT)
119 if (sve->type != UNI_BHLI_ISO &&
120 sve->type != UNI_BHLI_USER &&
121 sve->type != UNI_BHLI_VENDOR)
124 if (sve->len > sizeof(sve->info))