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