Lines Matching refs:content
309 char *content; member
333 val = memcmp(token->content, dir, clen); in directive_compare()
427 tokens[tix].content = malloc(tokens[tix].size + 1); in tokenise()
428 if (!tokens[tix].content) { in tokenise()
432 memcpy(tokens[tix].content, start, tokens[tix].size); in tokenise()
433 tokens[tix].content[tokens[tix].size] = 0; in tokenise()
438 if (islower(tokens[tix].content[0])) { in tokenise()
467 tokens[tix].content = malloc(tokens[tix].size + 1); in tokenise()
468 if (!tokens[tix].content) { in tokenise()
472 memcpy(tokens[tix].content, start, tokens[tix].size); in tokenise()
473 tokens[tix].content[tokens[tix].size] = 0; in tokenise()
482 tokens[tix].content = "::="; in tokenise()
492 tokens[tix].content = "({"; in tokenise()
499 tokens[tix].content = "})"; in tokenise()
510 tokens[tix].content = "{"; in tokenise()
515 tokens[tix].content = "}"; in tokenise()
520 tokens[tix].content = "["; in tokenise()
525 tokens[tix].content = "]"; in tokenise()
530 tokens[tix].content = ","; in tokenise()
551 debug("Token %3u: '%s'\n", n, token_list[n].content); in tokenise()
730 return memcmp((*a)->name->content, (*b)->name->content, in type_index_compare()
743 return memcmp(token->content, type->name->content, in type_finder()
797 debug("- %*.*s\n", type->name->content); in build_type_list()
828 filename, cursor->line, cursor->content); in parse()
896 filename, cursor->line, cursor->content); in parse_type()
904 filename, cursor->line, cursor->content); in parse_type()
909 element->tag |= strtoul(cursor->content, &p, 10); in parse_type()
911 if (p - cursor->content != cursor->size) in parse_type()
919 filename, cursor->line, cursor->content); in parse_type()
1020 filename, cursor->line, cursor->content); in parse_type()
1070 filename, cursor->line, cursor->content); in parse_type()
1088 filename, cursor->line, cursor->content); in parse_type()
1098 action->name = cursor->content; in parse_type()
1129 filename, cursor->line, cursor->content); in parse_type()
1140 filename, cursor->line, cursor->content); in parse_type()
1159 filename, cursor->line, cursor->content); in parse_compound()
1201 filename, cursor->line, cursor->content); in parse_compound()
1218 const char *name = e->name ? e->name->content : "."; in dump_element()
1219 const char *tname = t && t->name ? t->name->content : "."; in dump_element()
1458 render_more(out, "\t// %s\n", e->type_def->name->content); in render_element()
1470 render_more(out, "\t\t// %s", e->name->content); in render_element()
1503 render_more(out, "\t\t// %s", x->name->content); in render_element()
1542 e->type_def->name->content); in render_element()
1568 e->type_def->name->content); in render_element()