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