Lines Matching refs:presence
75 enum format_cdr_type presence; /* Can the argument list end right before member
225 newelement->presence = oldelement->presence; in copy_element()
293 return (e1->presence == e2->presence in equal_element()
607 list->repeated.element[0].presence = FCT_OPTIONAL; in make_unconstrained_list()
925 list->initial.element[0].presence = FCT_REQUIRED; in shift_list()
949 if (e1->presence == FCT_REQUIRED || e2->presence == FCT_REQUIRED) in make_intersected_element()
950 re->presence = FCT_REQUIRED; in make_intersected_element()
952 re->presence = FCT_OPTIONAL; in make_intersected_element()
1081 if (list->initial.element[i].presence == FCT_REQUIRED) in backtrack_in_initial()
1189 if (re->presence == FCT_REQUIRED) in make_intersected_list()
1218 if (e1->presence == FCT_REQUIRED) in make_intersected_list()
1225 if (e2->presence == FCT_REQUIRED) in make_intersected_list()
1235 if ((c2 > 0 ? e2->presence : list2->repeated.element[0].presence) in make_intersected_list()
1245 if ((c1 > 0 ? e1->presence : list1->repeated.element[0].presence) in make_intersected_list()
1276 bool re_is_required = re->presence == FCT_REQUIRED; in make_intersected_list()
1330 ? list->initial.element[0].presence == FCT_REQUIRED in make_intersection_with_empty_list()
1332 && list->repeated.element[0].presence == FCT_REQUIRED) in make_intersection_with_empty_list()
1382 if (e1->presence == FCT_REQUIRED && e2->presence == FCT_REQUIRED) in make_union_element()
1383 re->presence = FCT_REQUIRED; in make_union_element()
1385 re->presence = FCT_OPTIONAL; in make_union_element()
1519 if (list1->repeated.element[0].presence == FCT_REQUIRED) in make_union_list()
1530 if (list2->repeated.element[0].presence == FCT_REQUIRED) in make_union_list()
1590 if (e1->presence == FCT_REQUIRED) in make_union_list()
1598 re->presence = FCT_OPTIONAL; in make_union_list()
1630 if (e2->presence == FCT_REQUIRED) in make_union_list()
1638 re->presence = FCT_OPTIONAL; in make_union_list()
1758 ? list->initial.element[0].presence == FCT_REQUIRED in make_union_with_empty_list()
1760 && list->repeated.element[0].presence == FCT_REQUIRED) in make_union_with_empty_list()
1765 ASSERT (list->initial.element[0].presence == FCT_REQUIRED); in make_union_with_empty_list()
1766 list->initial.element[0].presence = FCT_OPTIONAL; in make_union_with_empty_list()
1821 if (list->initial.element[s].presence != FCT_REQUIRED) in is_required()
1829 if (list->initial.element[s].presence != FCT_REQUIRED) in is_required()
1842 if (list->repeated.element[s].presence != FCT_REQUIRED) in is_required()
1850 if (list->repeated.element[s].presence != FCT_REQUIRED) in is_required()
1888 list->initial.element[i].presence = FCT_REQUIRED; in add_required_constraint()
1921 ? /* n < list->initial.length */ list->initial.element[s].presence in add_end_constraint()
1922 : /* n >= list->initial.length */ list->repeated.element[0].presence); in add_end_constraint()
1967 newconstraint.presence = FCT_OPTIONAL; in add_type_constraint()
2003 newconstraint.presence = FCT_OPTIONAL; in add_listtype_constraint()
2063 listlist->repeated.element[0].presence = FCT_OPTIONAL; in make_repeated_list_of_lists()
2192 if (list->initial.element[0].presence == FCT_REQUIRED) in make_repeated_list()
2195 ASSERT (list->initial.element[0].presence == FCT_REQUIRED); in make_repeated_list()
2197 list->initial.element[0].presence = FCT_OPTIONAL; in make_repeated_list()
2213 if (list->initial.element[list->initial.count].presence == FCT_REQUIRED) in make_repeated_list()
2255 list->initial.element[si].presence = FCT_OPTIONAL; in make_repeated_list()
3529 switch (element->presence) in print_element()