Lines Matching refs:ctfp
481 ctf_file_t *ctfp; in dt_decl_sou() local
486 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; in dt_decl_sou()
488 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp; in dt_decl_sou()
499 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR && in dt_decl_sou()
500 ctf_type_kind(ctfp, type) != CTF_K_FORWARD) in dt_decl_sou()
504 type = ctf_add_struct(ctfp, flag, name); in dt_decl_sou()
506 type = ctf_add_union(ctfp, flag, name); in dt_decl_sou()
508 if (type == CTF_ERR || ctf_update(ctfp) == CTF_ERR) { in dt_decl_sou()
510 n, ctf_errmsg(ctf_errno(ctfp))); in dt_decl_sou()
513 ddp->dd_ctfp = ctfp; in dt_decl_sou()
516 dt_scope_push(ctfp, type); in dt_decl_sou()
701 ctf_file_t *ctfp; in dt_decl_enum() local
706 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; in dt_decl_enum()
708 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp; in dt_decl_enum()
717 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR) { in dt_decl_enum()
718 if (ctf_enum_iter(ctfp, type, dt_decl_hasmembers, NULL)) in dt_decl_enum()
720 } else if ((type = ctf_add_enum(ctfp, flag, name, 0)) == CTF_ERR) { in dt_decl_enum()
722 n, ctf_errmsg(ctf_errno(ctfp))); in dt_decl_enum()
725 ddp->dd_ctfp = ctfp; in dt_decl_enum()
728 dt_scope_push(ctfp, type); in dt_decl_enum()
1121 dt_scope_push(ctf_file_t *ctfp, ctf_id_t type) in dt_scope_push() argument
1132 dsp->ds_ctfp = ctfp; in dt_scope_push()