Lines Matching refs:yypcb

147 		longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM);  in dt_stmt_create()
149 assert(yypcb->pcb_stmt == NULL); in dt_stmt_create()
150 yypcb->pcb_stmt = sdp; in dt_stmt_create()
164 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_stmt_action()
279 if (dtrace_stmt_add(yypcb->pcb_hdl, yypcb->pcb_prog, sdp) != 0) in dt_stmt_append()
280 longjmp(yypcb->pcb_jmpbuf, dtrace_errno(yypcb->pcb_hdl)); in dt_stmt_append()
282 if (yypcb->pcb_stmt == sdp) in dt_stmt_append()
283 yypcb->pcb_stmt = NULL; in dt_stmt_append()
295 dtrace_hdl_t *dtp = yypcb->pcb_hdl; in dt_action_difconst()
299 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_action_difconst()
306 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_action_difconst()
418 dt_cg(yypcb, normal); in dt_action_normalize()
420 ap->dtad_difo = dt_as(yypcb); in dt_action_normalize()
483 dt_cg(yypcb, trunc); in dt_action_trunc()
484 ap->dtad_difo = dt_as(yypcb); in dt_action_trunc()
562 dt_printf_create(yypcb->pcb_hdl, format); in dt_action_printa()
639 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_action_printflike()
656 dt_cg(yypcb, anp); in dt_action_printflike()
657 ap->dtad_difo = dt_as(yypcb); in dt_action_printflike()
687 dt_cg(yypcb, dnp->dn_args); in dt_action_trace()
708 dret = yypcb->pcb_dret; in dt_action_trace()
722 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_action_trace()
732 ap->dtad_difo = dt_as(yypcb); in dt_action_trace()
772 dt_cg(yypcb, size); in dt_action_tracemem()
773 ap->dtad_difo = dt_as(yypcb); in dt_action_tracemem()
780 dt_cg(yypcb, addr); in dt_action_tracemem()
781 ap->dtad_difo = dt_as(yypcb); in dt_action_tracemem()
897 dt_cg(yypcb, arg0); in dt_action_setopt()
898 ap->dtad_difo = dt_as(yypcb); in dt_action_setopt()
907 dt_cg(yypcb, arg1); in dt_action_setopt()
908 ap->dtad_difo = dt_as(yypcb); in dt_action_setopt()
924 dt_cg(yypcb, dnp); in dt_action_symmod_args()
925 ap->dtad_difo = dt_as(yypcb); in dt_action_symmod_args()
989 dt_cg(yypcb, dnp->dn_args); in dt_action_chill()
990 ap->dtad_difo = dt_as(yypcb); in dt_action_chill()
999 dt_cg(yypcb, dnp->dn_args); in dt_action_raise()
1000 ap->dtad_difo = dt_as(yypcb); in dt_action_raise()
1009 dt_cg(yypcb, dnp->dn_args); in dt_action_exit()
1010 ap->dtad_difo = dt_as(yypcb); in dt_action_exit()
1020 dt_cg(yypcb, dnp->dn_args); in dt_action_speculate()
1021 ap->dtad_difo = dt_as(yypcb); in dt_action_speculate()
1030 dt_cg(yypcb, dnp->dn_args); in dt_action_commit()
1031 ap->dtad_difo = dt_as(yypcb); in dt_action_commit()
1040 dt_cg(yypcb, dnp->dn_args); in dt_action_discard()
1041 ap->dtad_difo = dt_as(yypcb); in dt_action_discard()
1148 dt_cg(yypcb, dnp->dn_expr); in dt_compile_exp()
1149 ap->dtad_difo = dt_as(yypcb); in dt_compile_exp()
1235 dt_cg(yypcb, anp); in dt_compile_agg()
1236 ap->dtad_difo = dt_as(yypcb); in dt_compile_agg()
1540 dt_cg(yypcb, incr); in dt_compile_agg()
1541 ap->dtad_difo = dt_as(yypcb); in dt_compile_agg()
1557 dt_cg(yypcb, dnp->dn_aggfun->dn_args); in dt_compile_agg()
1558 ap->dtad_difo = dt_as(yypcb); in dt_compile_agg()
1577 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_compile_one_clause()
1579 assert(yypcb->pcb_ecbdesc == NULL); in dt_compile_one_clause()
1580 yypcb->pcb_ecbdesc = edp; in dt_compile_one_clause()
1583 dt_cg(yypcb, cnp->dn_pred); in dt_compile_one_clause()
1584 edp->dted_pred.dtpdd_difo = dt_as(yypcb); in dt_compile_one_clause()
1593 assert(yypcb->pcb_stmt == NULL); in dt_compile_one_clause()
1614 assert(yypcb->pcb_stmt == sdp); in dt_compile_one_clause()
1618 assert(yypcb->pcb_ecbdesc == edp); in dt_compile_one_clause()
1621 yypcb->pcb_ecbdesc = NULL; in dt_compile_one_clause()
1641 dt_cg(yypcb, mnp); in dt_compile_xlator()
1642 dxp->dx_membdif[mnp->dn_membid] = dt_as(yypcb); in dt_compile_xlator()
1671 dt_pid_create_probes(pdp, dtp, yypcb) != 0) { in dt_setcontext()
1672 longjmp(yypcb->pcb_jmpbuf, EDT_COMPILER); in dt_setcontext()
1680 if ((prp = dt_probe_info(dtp, pdp, &yypcb->pcb_pinfo)) == NULL) { in dt_setcontext()
1683 bzero(&yypcb->pcb_pinfo, sizeof (dtrace_probeinfo_t)); in dt_setcontext()
1684 yypcb->pcb_pinfo.dtp_attr = pap->dtpa_provider; in dt_setcontext()
1685 yypcb->pcb_pinfo.dtp_arga = pap->dtpa_args; in dt_setcontext()
1691 if (err == EDT_NOPROBE && !(yypcb->pcb_cflags & DTRACE_C_ZDEFS)) { in dt_setcontext()
1702 pdp->dtpd_id, (void *)prp, dt_attr_str(yypcb->pcb_pinfo.dtp_attr, in dt_setcontext()
1703 attrstr, sizeof (attrstr)), yypcb->pcb_pinfo.dtp_argc); in dt_setcontext()
1720 yypcb->pcb_pdesc = pdp; in dt_setcontext()
1721 yypcb->pcb_probe = prp; in dt_setcontext()
1744 yypcb->pcb_pdesc = NULL; in dt_endcontext()
1745 yypcb->pcb_probe = NULL; in dt_endcontext()
2381 if ((err = setjmp(yypcb->pcb_jmpbuf)) != 0) in dt_compile()
2384 if (yypcb->pcb_sargc != 0 && yypcb->pcb_sflagv == NULL) in dt_compile()
2385 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_compile()
2387 yypcb->pcb_idents = dt_idhash_create("ambiguous", NULL, 0, 0); in dt_compile()
2388 yypcb->pcb_locals = dt_idhash_create("clause local", NULL, in dt_compile()
2391 if (yypcb->pcb_idents == NULL || yypcb->pcb_locals == NULL) in dt_compile()
2392 longjmp(yypcb->pcb_jmpbuf, EDT_NOMEM); in dt_compile()
2400 if (yyparse() != 0 || yypcb->pcb_root == NULL) in dt_compile()
2409 dt_node_printr(yypcb->pcb_root, stderr, 0); in dt_compile()
2411 if (yypcb->pcb_pragmas != NULL) in dt_compile()
2412 (void) dt_idhash_iter(yypcb->pcb_pragmas, dt_idpragma, NULL); in dt_compile()
2414 if (argc > 1 && !(yypcb->pcb_cflags & DTRACE_C_ARGREF) && in dt_compile()
2415 !(yypcb->pcb_sflagv[argc - 1] & DT_IDFLG_REF)) { in dt_compile()
2417 "not referenced)\n", yypcb->pcb_sargv[argc - 1], argc - 1); in dt_compile()
2428 for (dnp = yypcb->pcb_root->dn_list; in dt_compile()
2439 yypcb->pcb_root->dn_list = new_list; in dt_compile()
2450 assert(yypcb->pcb_root->dn_kind == DT_NODE_PROG); in dt_compile()
2452 if ((dnp = yypcb->pcb_root->dn_list) == NULL && in dt_compile()
2453 !(yypcb->pcb_cflags & DTRACE_C_EMPTY)) in dt_compile()
2456 if ((yypcb->pcb_prog = dt_program_create(dtp)) == NULL) in dt_compile()
2457 longjmp(yypcb->pcb_jmpbuf, dtrace_errno(dtp)); in dt_compile()
2476 yypcb->pcb_prog->dp_xrefs = yypcb->pcb_asxrefs; in dt_compile()
2477 yypcb->pcb_prog->dp_xrefslen = yypcb->pcb_asxreflen; in dt_compile()
2478 yypcb->pcb_asxrefs = NULL; in dt_compile()
2479 yypcb->pcb_asxreflen = 0; in dt_compile()
2481 rv = yypcb->pcb_prog; in dt_compile()
2485 (void) dt_node_cook(yypcb->pcb_root, DT_IDFLG_REF); in dt_compile()
2486 dt_cg(yypcb, yypcb->pcb_root); in dt_compile()
2487 rv = dt_as(yypcb); in dt_compile()
2491 ddp = (dt_decl_t *)yypcb->pcb_root; /* root is really a decl */ in dt_compile()
2496 longjmp(yypcb->pcb_jmpbuf, EDT_COMPILER); in dt_compile()
2503 if (context != DT_CTX_DTYPE && yypcb->pcb_root != NULL && in dt_compile()
2505 dt_node_printr(yypcb->pcb_root, stderr, 0); in dt_compile()
2517 if (yypcb->pcb_fileptr && (cflags & DTRACE_C_CPP)) in dt_compile()
2518 (void) fclose(yypcb->pcb_fileptr); /* close dt_preproc() file */ in dt_compile()