Searched refs:nvars (Results 1 – 14 of 14) sorted by relevance
/external/bison/src/ |
D | nullable.c | 65 symbol_number *squeue = xnmalloc (nvars, sizeof *squeue); in nullable_compute() 69 rule_list **rsets = xcalloc (nvars, sizeof *rsets); in nullable_compute() 72 rule_list *relts = xnmalloc (nritems + nvars + 1, sizeof *relts); in nullable_compute() 74 nullable = xcalloc (nvars, sizeof *nullable); in nullable_compute()
|
D | reduce.c | 96 Np = bitset_create (nvars, BITSET_FIXED); in useless_nonterminals() 218 nuseless_nonterminals = nvars - nuseful_nonterminals; in inaccessable_symbols() 295 symbol_number *nontermmap = xnmalloc (nvars, sizeof *nontermmap); in nonterminals_reduce() 311 symbol **symbols_sorted = xnmalloc (nvars, sizeof *symbols_sorted); in nonterminals_reduce() 336 nvars -= nuseless_nonterminals; in nonterminals_reduce() 421 N = bitset_create (nvars, BITSET_FIXED); in reduce_grammar() 454 grammar_file, ntokens, nvars, nrules); in reduce_grammar()
|
D | derives.c | 73 rule_list **dset = xcalloc (nvars, sizeof *dset); in derives_compute() 93 derives = xnmalloc (nvars, sizeof *derives); in derives_compute() 94 q = xnmalloc (nvars + nrules, sizeof *q); in derives_compute()
|
D | closure.c | 130 firsts = bitsetv_create (nvars, nvars, BITSET_FIXED); in set_firsts() 166 fderives = bitsetv_create (nvars, nrules, BITSET_FIXED); in set_fderives()
|
D | reader.c | 206 lhs->number = nvars; in grammar_current_rule_begin() 207 ++nvars; in grammar_current_rule_begin() 493 accept->number = nvars++; in reader() 565 assert (nsyms <= SYMBOL_NUMBER_MAXIMUM && nsyms == ntokens + nvars); in check_and_convert_grammar()
|
D | gram.c | 44 int nvars = 0; variable 247 ntokens, nvars, nsyms, nrules, nritems); in grammar_dump()
|
D | symtab.c | 204 sym->number = nvars++; in symbol_class_set() 260 sym->number = nvars++; in symbol_check_defined() 538 sym->number = nvars++; in dummy_symbol_get()
|
D | gram.h | 115 extern int nvars;
|
D | tables.c | 562 yydefgoto = xnmalloc (nvars, sizeof *yydefgoto); in goto_actions() 809 && sizeof nvars <= sizeof nvectors); in tables_generate() 811 nvectors = state_number_as_int (nstates) + nvars; in tables_generate()
|
D | lalr.c | 84 goto_map = xcalloc (nvars + 1, sizeof *goto_map); in set_goto_map() 85 temp_map = xnmalloc (nvars + 1, sizeof *temp_map); in set_goto_map()
|
D | output.c | 145 MUSCLE_INSERT_INT ("nterms_number", nvars); in prepare_symbols()
|
/external/webkit/V8Binding/v8/src/ |
D | parser.cc | 2037 int nvars = 0; // the number of variables declared in ParseVariableDeclarations() local 2040 if (nvars > 0) Consume(Token::COMMA); in ParseVariableDeclarations() 2058 nvars++; in ParseVariableDeclarations() 2171 if (!is_const && nvars == 1) { in ParseVariableDeclarations()
|
/external/bison/ |
D | OChangeLog | 765 increment nvars if symbol is already a nonterminal.
|
D | ChangeLog | 10024 * src/gram.c (nitems, nrules, nsyms, ntokens, nvars, nritems) 11471 `nvars', hence we overflow our arrays.
|