Lines Matching refs:sym1
405 struct symbol *sym1, *sym2; in expr_join_or() local
417 sym1 = tmp->left.sym; in expr_join_or()
419 sym1 = e1->left.sym; in expr_join_or()
426 if (sym1 != sym2) in expr_join_or()
428 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_or()
430 if (sym1->type == S_TRISTATE) { in expr_join_or()
435 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_no); in expr_join_or()
441 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_mod); in expr_join_or()
447 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_yes); in expr_join_or()
450 if (sym1->type == S_BOOLEAN && sym1 == sym2) { in expr_join_or()
469 struct symbol *sym1, *sym2; in expr_join_and() local
481 sym1 = tmp->left.sym; in expr_join_and()
483 sym1 = e1->left.sym; in expr_join_and()
490 if (sym1 != sym2) in expr_join_and()
492 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_and()
498 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
503 return expr_alloc_symbol(sym1); in expr_join_and()
508 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
510 if (sym1->type == S_TRISTATE) { in expr_join_and()
515 return sym2 != e2->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
522 return sym2 != e1->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
529 return expr_alloc_comp(E_EQUAL, sym1, &symbol_mod); in expr_join_and()
535 return expr_alloc_comp(E_EQUAL, sym1, &symbol_no); in expr_join_and()
541 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()