Lines Matching refs:yypcb

148 		longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM);  in dt_stmt_create()
150 assert(yypcb->pcb_stmt == NULL); in dt_stmt_create()
151 yypcb->pcb_stmt = sdp; in dt_stmt_create()
165 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_stmt_action()
280 if (dtrace_stmt_add(yypcb->pcb_hdl, yypcb->pcb_prog, sdp) != 0) in dt_stmt_append()
281 longjmp(yypcb->pcb_jmpbuf, dtrace_errno(yypcb->pcb_hdl)); in dt_stmt_append()
283 if (yypcb->pcb_stmt == sdp) in dt_stmt_append()
284 yypcb->pcb_stmt = NULL; in dt_stmt_append()
296 dtrace_hdl_t *dtp = yypcb->pcb_hdl; in dt_action_difconst()
300 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_action_difconst()
307 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_action_difconst()
419 dt_cg(yypcb, normal); in dt_action_normalize()
421 ap->dtad_difo = dt_as(yypcb); in dt_action_normalize()
484 dt_cg(yypcb, trunc); in dt_action_trunc()
485 ap->dtad_difo = dt_as(yypcb); in dt_action_trunc()
563 dt_printf_create(yypcb->pcb_hdl, format); in dt_action_printa()
640 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_action_printflike()
657 dt_cg(yypcb, anp); in dt_action_printflike()
658 ap->dtad_difo = dt_as(yypcb); in dt_action_printflike()
688 dt_cg(yypcb, dnp->dn_args); in dt_action_trace()
709 dret = yypcb->pcb_dret; in dt_action_trace()
724 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_action_trace()
736 ap->dtad_difo = dt_as(yypcb); in dt_action_trace()
776 dt_cg(yypcb, size); in dt_action_tracemem()
777 ap->dtad_difo = dt_as(yypcb); in dt_action_tracemem()
784 dt_cg(yypcb, addr); in dt_action_tracemem()
785 ap->dtad_difo = dt_as(yypcb); in dt_action_tracemem()
901 dt_cg(yypcb, arg0); in dt_action_setopt()
902 ap->dtad_difo = dt_as(yypcb); in dt_action_setopt()
911 dt_cg(yypcb, arg1); in dt_action_setopt()
912 ap->dtad_difo = dt_as(yypcb); in dt_action_setopt()
928 dt_cg(yypcb, dnp); in dt_action_symmod_args()
929 ap->dtad_difo = dt_as(yypcb); in dt_action_symmod_args()
993 dt_cg(yypcb, dnp->dn_args); in dt_action_chill()
994 ap->dtad_difo = dt_as(yypcb); in dt_action_chill()
1003 dt_cg(yypcb, dnp->dn_args); in dt_action_raise()
1004 ap->dtad_difo = dt_as(yypcb); in dt_action_raise()
1013 dt_cg(yypcb, dnp->dn_args); in dt_action_exit()
1014 ap->dtad_difo = dt_as(yypcb); in dt_action_exit()
1024 dt_cg(yypcb, dnp->dn_args); in dt_action_speculate()
1025 ap->dtad_difo = dt_as(yypcb); in dt_action_speculate()
1052 dt_cg(yypcb, addr); in dt_action_printm()
1053 ap->dtad_difo = dt_as(yypcb); in dt_action_printm()
1065 dt_cg(yypcb, dnp->dn_args); in dt_action_commit()
1066 ap->dtad_difo = dt_as(yypcb); in dt_action_commit()
1075 dt_cg(yypcb, dnp->dn_args); in dt_action_discard()
1076 ap->dtad_difo = dt_as(yypcb); in dt_action_discard()
1186 dt_cg(yypcb, dnp->dn_expr); in dt_compile_exp()
1187 ap->dtad_difo = dt_as(yypcb); in dt_compile_exp()
1273 dt_cg(yypcb, anp); in dt_compile_agg()
1274 ap->dtad_difo = dt_as(yypcb); in dt_compile_agg()
1579 dt_cg(yypcb, incr); in dt_compile_agg()
1580 ap->dtad_difo = dt_as(yypcb); in dt_compile_agg()
1596 dt_cg(yypcb, dnp->dn_aggfun->dn_args); in dt_compile_agg()
1597 ap->dtad_difo = dt_as(yypcb); in dt_compile_agg()
1616 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_compile_one_clause()
1618 assert(yypcb->pcb_ecbdesc == NULL); in dt_compile_one_clause()
1619 yypcb->pcb_ecbdesc = edp; in dt_compile_one_clause()
1622 dt_cg(yypcb, cnp->dn_pred); in dt_compile_one_clause()
1623 edp->dted_pred.dtpdd_difo = dt_as(yypcb); in dt_compile_one_clause()
1632 assert(yypcb->pcb_stmt == NULL); in dt_compile_one_clause()
1653 assert(yypcb->pcb_stmt == sdp); in dt_compile_one_clause()
1657 assert(yypcb->pcb_ecbdesc == edp); in dt_compile_one_clause()
1660 yypcb->pcb_ecbdesc = NULL; in dt_compile_one_clause()
1680 dt_cg(yypcb, mnp); in dt_compile_xlator()
1681 dxp->dx_membdif[mnp->dn_membid] = dt_as(yypcb); in dt_compile_xlator()
1714 dt_pid_create_probes(pdp, dtp, yypcb) != 0) { in dt_setcontext()
1715 longjmp(yypcb->pcb_jmpbuf, EDT_COMPILER); in dt_setcontext()
1723 if ((prp = dt_probe_info(dtp, pdp, &yypcb->pcb_pinfo)) == NULL) { in dt_setcontext()
1726 bzero(&yypcb->pcb_pinfo, sizeof (dtrace_probeinfo_t)); in dt_setcontext()
1727 yypcb->pcb_pinfo.dtp_attr = pap->dtpa_provider; in dt_setcontext()
1728 yypcb->pcb_pinfo.dtp_arga = pap->dtpa_args; in dt_setcontext()
1734 if (err == EDT_NOPROBE && !(yypcb->pcb_cflags & DTRACE_C_ZDEFS)) { in dt_setcontext()
1745 pdp->dtpd_id, (void *)prp, dt_attr_str(yypcb->pcb_pinfo.dtp_attr, in dt_setcontext()
1746 attrstr, sizeof (attrstr)), yypcb->pcb_pinfo.dtp_argc); in dt_setcontext()
1763 yypcb->pcb_pdesc = pdp; in dt_setcontext()
1764 yypcb->pcb_probe = prp; in dt_setcontext()
1787 yypcb->pcb_pdesc = NULL; in dt_endcontext()
1788 yypcb->pcb_probe = NULL; in dt_endcontext()
2442 if ((err = setjmp(yypcb->pcb_jmpbuf)) != 0) in dt_compile()
2445 if (yypcb->pcb_sargc != 0 && yypcb->pcb_sflagv == NULL) in dt_compile()
2446 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_compile()
2448 yypcb->pcb_idents = dt_idhash_create("ambiguous", NULL, 0, 0); in dt_compile()
2449 yypcb->pcb_locals = dt_idhash_create("clause local", NULL, in dt_compile()
2452 if (yypcb->pcb_idents == NULL || yypcb->pcb_locals == NULL) in dt_compile()
2453 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_compile()
2461 if (yyparse() != 0 || yypcb->pcb_root == NULL) in dt_compile()
2470 dt_node_printr(yypcb->pcb_root, stderr, 0); in dt_compile()
2472 if (yypcb->pcb_pragmas != NULL) in dt_compile()
2473 (void) dt_idhash_iter(yypcb->pcb_pragmas, dt_idpragma, NULL); in dt_compile()
2475 if (argc > 1 && !(yypcb->pcb_cflags & DTRACE_C_ARGREF) && in dt_compile()
2476 !(yypcb->pcb_sflagv[argc - 1] & DT_IDFLG_REF)) { in dt_compile()
2478 "not referenced)\n", yypcb->pcb_sargv[argc - 1], argc - 1); in dt_compile()
2486 for (dnp = yypcb->pcb_root->dn_list; in dt_compile()
2506 yypcb->pcb_root->dn_list = new_list; in dt_compile()
2517 assert(yypcb->pcb_root->dn_kind == DT_NODE_PROG); in dt_compile()
2519 if ((dnp = yypcb->pcb_root->dn_list) == NULL && in dt_compile()
2520 !(yypcb->pcb_cflags & DTRACE_C_EMPTY)) in dt_compile()
2523 if ((yypcb->pcb_prog = dt_program_create(dtp)) == NULL) in dt_compile()
2524 longjmp(yypcb->pcb_jmpbuf, dtrace_errno(dtp)); in dt_compile()
2543 yypcb->pcb_prog->dp_xrefs = yypcb->pcb_asxrefs; in dt_compile()
2544 yypcb->pcb_prog->dp_xrefslen = yypcb->pcb_asxreflen; in dt_compile()
2545 yypcb->pcb_asxrefs = NULL; in dt_compile()
2546 yypcb->pcb_asxreflen = 0; in dt_compile()
2548 rv = yypcb->pcb_prog; in dt_compile()
2552 (void) dt_node_cook(yypcb->pcb_root, DT_IDFLG_REF); in dt_compile()
2553 dt_cg(yypcb, yypcb->pcb_root); in dt_compile()
2554 rv = dt_as(yypcb); in dt_compile()
2558 ddp = (dt_decl_t *)yypcb->pcb_root; /* root is really a decl */ in dt_compile()
2563 longjmp(yypcb->pcb_jmpbuf, EDT_COMPILER); in dt_compile()
2570 if (context != DT_CTX_DTYPE && yypcb->pcb_root != NULL && in dt_compile()
2572 dt_node_printr(yypcb->pcb_root, stderr, 0); in dt_compile()
2584 if (yypcb->pcb_fileptr && (cflags & DTRACE_C_CPP)) in dt_compile()
2585 (void) fclose(yypcb->pcb_fileptr); /* close dt_preproc() file */ in dt_compile()