Lines Matching defs:ctfp
481 ctf_file_t *ctfp;
486 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp;
488 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp;
499 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR &&
500 ctf_type_kind(ctfp, type) != CTF_K_FORWARD)
504 type = ctf_add_struct(ctfp, flag, name);
506 type = ctf_add_union(ctfp, flag, name);
508 if (type == CTF_ERR || ctf_update(ctfp) == CTF_ERR) {
510 n, ctf_errmsg(ctf_errno(ctfp)));
513 ddp->dd_ctfp = ctfp;
516 dt_scope_push(ctfp, type);
678 ctf_file_t *ctfp;
683 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp;
685 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp;
694 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR) {
695 if (ctf_enum_iter(ctfp, type, dt_decl_hasmembers, NULL))
697 } else if ((type = ctf_add_enum(ctfp, flag, name)) == CTF_ERR) {
699 n, ctf_errmsg(ctf_errno(ctfp)));
702 ddp->dd_ctfp = ctfp;
705 dt_scope_push(ctfp, type);
1098 dt_scope_push(ctf_file_t *ctfp, ctf_id_t type)
1109 dsp->ds_ctfp = ctfp;