Home
last modified time | relevance | path

Searched refs:one_rel (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_equiv.c81 struct relation *one_rel; in get_shared_relations() local
84 PREPARE_PTR_LIST(one, one_rel); in get_shared_relations()
87 if (!one_rel || !two_rel) in get_shared_relations()
89 if (cmp_relation(one_rel, two_rel) < 0) { in get_shared_relations()
90 NEXT_PTR_LIST(one_rel); in get_shared_relations()
91 } else if (cmp_relation(one_rel, two_rel) == 0) { in get_shared_relations()
92 add_ptr_list(&ret, one_rel); in get_shared_relations()
93 NEXT_PTR_LIST(one_rel); in get_shared_relations()
100 FINISH_PTR_LIST(one_rel); in get_shared_relations()
H A Dsmatch_estate.c212 struct relation *one_rel; in rlists_equiv() local
215 PREPARE_PTR_LIST(one, one_rel); in rlists_equiv()
218 if (!one_rel && !two_rel) in rlists_equiv()
220 if (!one_rel || !two_rel) in rlists_equiv()
222 if (one_rel->sym != two_rel->sym) in rlists_equiv()
224 if (strcmp(one_rel->name, two_rel->name)) in rlists_equiv()
226 NEXT_PTR_LIST(one_rel); in rlists_equiv()
230 FINISH_PTR_LIST(one_rel); in rlists_equiv()