Lines Matching refs:type
306 struct type *type; member
682 struct type *type_def;
684 struct token *type; member
705 struct type { struct
715 static struct type *type_list; argument
716 static struct type **type_index;
721 const struct type *const *a = _a, *const *b = _b; in type_index_compare()
733 const struct type *const *ti = _ti; in type_finder()
734 const struct type *type = *ti; in type_finder() local
736 if (token->size != type->name->size) in type_finder()
737 return token->size - type->name->size; in type_finder()
739 return memcmp(token->content, type->name->content, in type_finder()
748 struct type *types; in build_type_list()
792 struct type *type = type_index[n]; in build_type_list()
793 debug("- %*.*s\n", type->name->content); in build_type_list()
807 struct type *type; in parse() local
810 type = type_list; in parse()
812 cursor = type->name; in parse()
819 type->element = parse_type(&cursor, type[1].name, NULL); in parse()
820 type->element->type_def = type; in parse()
822 if (cursor != type[1].name) { in parse()
828 } while (type++, !(type->flags & TYPE_STOP_MARKER)); in parse()
835 static struct element *alloc_elem(struct token *type) in alloc_elem() argument
859 struct type **ref; in parse_type()
951 element->type = cursor; in parse_type()
1019 cursor->type = *ref; in parse_type()
1213 const struct type *t = e->type_def; in dump_element()
1244 dump_element(e->type->type->element, level + 3); in dump_element()
1296 struct type *root; in render()
1525 render_element(out, e->type->type->element, tag); in render_element()