Lines Matching refs:sym1

434 	struct symbol *sym1, *sym2;  in expr_join_or()  local
446 sym1 = tmp->left.sym; in expr_join_or()
448 sym1 = e1->left.sym; in expr_join_or()
455 if (sym1 != sym2) in expr_join_or()
457 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_or()
459 if (sym1->type == S_TRISTATE) { in expr_join_or()
464 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_no); in expr_join_or()
470 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_mod); in expr_join_or()
476 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_yes); in expr_join_or()
479 if (sym1->type == S_BOOLEAN && sym1 == sym2) { in expr_join_or()
498 struct symbol *sym1, *sym2; in expr_join_and() local
510 sym1 = tmp->left.sym; in expr_join_and()
512 sym1 = e1->left.sym; in expr_join_and()
519 if (sym1 != sym2) in expr_join_and()
521 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_and()
527 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
532 return expr_alloc_symbol(sym1); in expr_join_and()
537 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
539 if (sym1->type == S_TRISTATE) { in expr_join_and()
544 return sym2 != e2->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
551 return sym2 != e1->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
558 return expr_alloc_comp(E_EQUAL, sym1, &symbol_mod); in expr_join_and()
564 return expr_alloc_comp(E_EQUAL, sym1, &symbol_no); in expr_join_and()
570 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()