Searched refs:nritems (Results 1 – 10 of 10) sorted by relevance
/external/bison/src/ |
D | reader.c | 172 ++nritems; in grammar_symbol_append() 318 ++nritems; in grammar_midrule_action() 420 ritem = xnmalloc (nritems + 1, sizeof *ritem); in packgram() 471 assert (itemno == nritems); in packgram() 561 nritems += 3; in check_and_convert_grammar()
|
D | gram.c | 36 unsigned int nritems = 0; variable 165 for (i = 0; i < nritems; ++i) in ritem_print() 247 ntokens, nvars, nsyms, nrules, nritems); in grammar_dump()
|
D | output.c | 210 item_number *rhs = xnmalloc (nritems, sizeof *rhs); in prepare_rules() 239 assert (i == nritems); in prepare_rules() 241 muscle_insert_item_number_table ("rhs", rhs, ritem[0], 1, nritems); in prepare_rules()
|
D | gram.h | 119 extern unsigned int nritems;
|
D | nullable.c | 72 rule_list *relts = xnmalloc (nritems + nvars + 1, sizeof *relts); in nullable_compute()
|
D | print_graph.c | 219 new_closure (nritems); in print_graph()
|
D | LR0.c | 340 new_closure (nritems); in generate_states()
|
D | reduce.c | 277 nritems -= length + 1; in reduce_grammar_tables()
|
D | print.c | 563 new_closure (nritems); in print_results()
|
/external/bison/ |
D | ChangeLog | 9531 * src/gram.h, src/gram.c (nritems): Is `unsigned int', not int. 9973 nritems. 10024 * src/gram.c (nitems, nrules, nsyms, ntokens, nvars, nritems) 11071 (reduce_grammar_tables): Likewise, plus update nritems. 11079 * src/LR0.c (generate_states): Use nritems, not nitems, nor using 11102 * src/output.c (output_gram): Rely on nritems, not the 11141 is used instead of > 0 where appropriate, (ii), depend upon nritems 11144 * src/gram.h, src/gram.c (nritems): New. 11146 * src/reader.c (packgram): Assert nritems and nitems are equal.
|