Lines Matching refs:dn_op
464 (void) snprintf(buf, len, "operator %s", opstr(dnp->dn_op)); in dt_node_name()
524 dnp->dn_op = 0; in dt_node_xalloc()
1256 dnp->dn_op = DT_TOK_INT; in dt_node_int()
1303 dnp->dn_op = DT_TOK_STRING; in dt_node_string()
1334 dnp->dn_op = DT_TOK_INT; in dt_node_ident()
1343 dnp->dn_op = name[0] == '@' ? DT_TOK_AGG : DT_TOK_IDENT; in dt_node_ident()
1379 dnp->dn_op = DT_TOK_IDENT; in dt_node_type()
1403 dnp->dn_op = DT_TOK_IDENT; in dt_node_vatype()
1898 cp->dn_op = DT_TOK_INT; in dt_node_op1()
1906 dnp->dn_op = (ushort_t)op; in dt_node_op1()
2109 dnp->dn_op = (ushort_t)op; in dt_node_op2()
2125 dnp->dn_op = DT_TOK_QUESTION; in dt_node_op3()
2880 if (dnp->dn_op == DT_TOK_AGG) in dt_cook_ident()
2936 if (dnp->dn_op == DT_TOK_PREINC || dnp->dn_op == DT_TOK_POSTINC || in dt_cook_op1()
2937 dnp->dn_op == DT_TOK_PREDEC || dnp->dn_op == DT_TOK_POSTDEC) in dt_cook_op1()
2963 switch (dnp->dn_op) { in dt_cook_op1()
3022 (cp->dn_kind == DT_NODE_OP2 && cp->dn_op == DT_TOK_ADD && in dt_cook_op1()
3035 "of arithmetic type\n", opstr(dnp->dn_op)); in dt_cook_op1()
3043 "integral type\n", opstr(dnp->dn_op)); in dt_cook_op1()
3051 "of scalar type\n", opstr(dnp->dn_op)); in dt_cook_op1()
3124 "scalar type\n", opstr(dnp->dn_op)); in dt_cook_op1()
3129 "of known size\n", opstr(dnp->dn_op)); in dt_cook_op1()
3134 "lvalue as an operand\n", opstr(dnp->dn_op)); in dt_cook_op1()
3139 "to a writable variable\n", opstr(dnp->dn_op)); in dt_cook_op1()
3146 xyerror(D_UNKNOWN, "invalid unary op %s\n", opstr(dnp->dn_op)); in dt_cook_op1()
3158 int op = dnp->dn_op; in dt_assign_common()
3184 int op = dnp->dn_op; in dt_cook_op2()
3207 if (lp->dn_op == DT_TOK_AGG) { in dt_cook_op2()
3353 rp->dn_op = DT_TOK_INT; in dt_cook_op2()
3496 if (lp->dn_op == DT_TOK_AGG) { in dt_cook_op2()
3998 if (dnp->dn_op == DT_TOK_LBRAC && op == DT_TOK_ADD) { in dt_cook_op2()
4007 dnp->dn_op = DT_TOK_ADD; in dt_cook_op2()
4709 (void) fprintf(fp, "%s(", opstr(dnp->dn_op)); in dt_printd()
4717 if (dnp->dn_op == DT_TOK_LPAR) { in dt_printd()
4722 if (dnp->dn_op == DT_TOK_PTR || dnp->dn_op == DT_TOK_DOT || in dt_printd()
4723 dnp->dn_op == DT_TOK_LBRAC) in dt_printd()
4724 (void) fprintf(fp, "%s", opstr(dnp->dn_op)); in dt_printd()
4726 (void) fprintf(fp, " %s ", opstr(dnp->dn_op)); in dt_printd()
4728 if (dnp->dn_op == DT_TOK_LBRAC) { in dt_printd()
4914 (void) fprintf(fp, "OP1 %s (%s)\n", opstr(dnp->dn_op), buf); in dt_node_printr()
4919 (void) fprintf(fp, "OP2 %s (%s)\n", opstr(dnp->dn_op), buf); in dt_node_printr()
4922 if (dnp->dn_op == DT_TOK_LBRAC) { in dt_node_printr()