Lines Matching refs:def
123 findit(definition *def, char *type) in findit() argument
125 return (streq(def->def_name, type)); in findit()
131 definition *def; in fixit() local
133 def = (definition *)FINDVAL(defined, type, findit); in fixit()
134 if (def == NULL || def->def_kind != DEF_TYPEDEF) in fixit()
136 switch (def->def.ty.rel) { in fixit()
138 if (streq(def->def.ty.old_type, "opaque")) in fixit()
140 return (def->def.ty.old_type); in fixit()
143 return (fixit(def->def.ty.old_type, orig)); in fixit()
185 typedefed(definition *def, char *type) in typedefed() argument
187 if (def->def_kind != DEF_TYPEDEF || def->def.ty.old_prefix != NULL) in typedefed()
189 return (streq(def->def_name, type)); in typedefed()
195 definition *def; in isvectordef() local
206 def = (definition *)FINDVAL(defined, type, typedefed); in isvectordef()
207 if (def == NULL) in isvectordef()
209 type = def->def.ty.old_type; in isvectordef()
210 rel = def->def.ty.rel; in isvectordef()