Lines Matching refs:refname
749 is_anon_refname(const char *refname) in is_anon_refname() argument
751 return ((strcmp(refname, "struct ") == 0 || in is_anon_refname()
752 strcmp(refname, "union ") == 0 || in is_anon_refname()
753 strcmp(refname, "enum ") == 0)); in is_anon_refname()
769 char refname[MAX_NAMELEN] = "unknown_t"; in ctfsrc_type() local
832 if (ctfsrc_refname(id, refname, sizeof (refname)) == NULL) { in ctfsrc_type()
833 printf("typedef %s %s;\n\n", refname, name); in ctfsrc_type()
837 if (!is_anon_refname(refname)) { in ctfsrc_type()
839 ctf_type_reference(g_fp, id), refname, in ctfsrc_type()
840 sizeof (refname), name); in ctfsrc_type()
842 printf("typedef %s;\n\n", refname); in ctfsrc_type()
854 "of %s: %s\n", refname, in ctfsrc_type()
862 refname, ctf_errmsg(ctf_errno(g_fp))); in ctfsrc_type()
866 refname, size); in ctfsrc_type()
871 "of %s: %s\n", refname, in ctfsrc_type()