Lines Matching refs:kind
44 char * kind; member
125 static struct meta_entry * lookup_meta_entry(struct bstr *kind) in lookup_meta_entry() argument
130 if (!bstrcmp(kind, meta_table[i].kind) && in lookup_meta_entry()
153 switch (TCF_META_TYPE(hdr->kind)) { in dump_value()
160 if (TCF_META_ID(hdr->kind) == TCF_META_ID_VALUE) { in dump_value()
174 entry = lookup_meta_entry_byid(TCF_META_ID(what->kind)); in is_compatible()
180 if (map_type(*p) == TCF_META_TYPE(needed->kind)) in is_compatible()
197 fprintf(fd, "\n%s:\n", meta_table[i].kind); in list_meta_ids()
202 fprintf(fd, " %-16s ", meta_table[i].kind); in list_meta_ids()
238 return !!TCF_META_ID(val->kind); in can_adopt()
244 return (TCF_META_TYPE(dst->kind) << 12) | TCF_META_ID(src->kind); in overwrite_type()
257 obj->kind = TCF_META_TYPE_VAR << 12; in parse_object()
258 obj->kind |= TCF_META_ID_VALUE; in parse_object()
265 obj->kind = TCF_META_TYPE_INT << 12; in parse_object()
266 obj->kind |= TCF_META_ID_VALUE; in parse_object()
278 obj->kind = entry->id | (map_type(entry->mask[0]) << 12); in parse_object()
283 if (TCF_META_TYPE(right->kind) == TCF_META_TYPE(left->kind)) in parse_object()
288 left->kind = overwrite_type(left, right); in parse_object()
293 right->kind = overwrite_type(right, left); in parse_object()
298 left->kind = overwrite_type(left, right); in parse_object()
300 right->kind = overwrite_type(right, left); in parse_object()
464 int id = TCF_META_ID(obj->kind); in print_object()
465 int type = TCF_META_TYPE(obj->kind); in print_object()
476 fprintf(fd, "%s", entry->kind); in print_object()
541 .kind = "meta",