Home | History | Annotate | Download | only in src

Lines Matching defs:attr1

1631 	const char *attr1;
1658 case CEXPR_USER: attr1 = "u1"; attr2 = "u2"; break;
1659 case CEXPR_USER | CEXPR_TARGET: attr1 = "u2"; attr2 = ""; break;
1660 case CEXPR_USER | CEXPR_XTARGET: attr1 = "u3"; attr2 = ""; break;
1661 case CEXPR_ROLE: attr1 = "r1"; attr2 = "r2"; break;
1662 case CEXPR_ROLE | CEXPR_TARGET: attr1 = "r2"; attr2 = ""; break;
1663 case CEXPR_ROLE | CEXPR_XTARGET: attr1 = "r3"; attr2 = ""; break;
1664 case CEXPR_TYPE: attr1 = "t1"; attr2 = ""; break;
1665 case CEXPR_TYPE | CEXPR_TARGET: attr1 = "t2"; attr2 = ""; break;
1666 case CEXPR_TYPE | CEXPR_XTARGET: attr1 = "t3"; attr2 = ""; break;
1667 case CEXPR_L1L2: attr1 = "l1"; attr2 = "l2"; break;
1668 case CEXPR_L1H2: attr1 = "l1"; attr2 = "h2"; break;
1669 case CEXPR_H1L2: attr1 = "h1"; attr2 = "l2"; break;
1670 case CEXPR_H1H2: attr1 = "h1"; attr2 = "h2"; break;
1671 case CEXPR_L1H1: attr1 = "l1"; attr2 = "h1"; break;
1672 case CEXPR_L2H2: attr1 = "l2"; attr2 = "h2"; break;
1681 len = strlen(op) + strlen(attr1) + strlen(attr2) + 2 + 2 + 1;
1688 rlen = snprintf(new_val, len, "(%s %s %s)", op, attr1, attr2);
1718 len = strlen(op) + strlen(attr1) + strlen(names) + 2 + 2 + 1;
1725 rlen = snprintf(new_val, len, "(%s %s %s)", op, attr1, names);