Lines Matching refs:sym1
364 struct symbol *sym1, *sym2; in expr_join_or() local
376 sym1 = tmp->left.sym; in expr_join_or()
378 sym1 = e1->left.sym; in expr_join_or()
385 if (sym1 != sym2) in expr_join_or()
387 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_or()
389 if (sym1->type == S_TRISTATE) { in expr_join_or()
394 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_no); in expr_join_or()
400 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_mod); in expr_join_or()
406 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_yes); in expr_join_or()
409 if (sym1->type == S_BOOLEAN && sym1 == sym2) { in expr_join_or()
428 struct symbol *sym1, *sym2; in expr_join_and() local
440 sym1 = tmp->left.sym; in expr_join_and()
442 sym1 = e1->left.sym; in expr_join_and()
449 if (sym1 != sym2) in expr_join_and()
451 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_and()
457 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
462 return expr_alloc_symbol(sym1); in expr_join_and()
467 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
469 if (sym1->type == S_TRISTATE) { in expr_join_and()
474 return sym2 != e2->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
481 return sym2 != e1->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
488 return expr_alloc_comp(E_EQUAL, sym1, &symbol_mod); in expr_join_and()
494 return expr_alloc_comp(E_EQUAL, sym1, &symbol_no); in expr_join_and()
500 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()