Lines Matching refs:ctfp
464 ctf_file_t *ctfp; in dt_decl_sou() local
469 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; in dt_decl_sou()
471 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp; in dt_decl_sou()
482 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR && in dt_decl_sou()
483 ctf_type_kind(ctfp, type) != CTF_K_FORWARD) in dt_decl_sou()
487 type = ctf_add_struct(ctfp, flag, name); in dt_decl_sou()
489 type = ctf_add_union(ctfp, flag, name); in dt_decl_sou()
491 if (type == CTF_ERR || ctf_update(ctfp) == CTF_ERR) { in dt_decl_sou()
493 n, ctf_errmsg(ctf_errno(ctfp))); in dt_decl_sou()
496 ddp->dd_ctfp = ctfp; in dt_decl_sou()
499 dt_scope_push(ctfp, type); in dt_decl_sou()
661 ctf_file_t *ctfp; in dt_decl_enum() local
666 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; in dt_decl_enum()
668 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp; in dt_decl_enum()
677 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR) { in dt_decl_enum()
678 if (ctf_enum_iter(ctfp, type, dt_decl_hasmembers, NULL)) in dt_decl_enum()
680 } else if ((type = ctf_add_enum(ctfp, flag, name)) == CTF_ERR) { in dt_decl_enum()
682 n, ctf_errmsg(ctf_errno(ctfp))); in dt_decl_enum()
685 ddp->dd_ctfp = ctfp; in dt_decl_enum()
688 dt_scope_push(ctfp, type); in dt_decl_enum()
1082 dt_scope_push(ctf_file_t *ctfp, ctf_id_t type) in dt_scope_push() argument
1093 dsp->ds_ctfp = ctfp; in dt_scope_push()