Home
last modified time | relevance | path

Searched refs:nvars (Results 1 – 14 of 14) sorted by relevance

/external/bison/src/
Dnullable.c65 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()
Dreduce.c96 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()
Dderives.c73 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()
Dclosure.c130 firsts = bitsetv_create (nvars, nvars, BITSET_FIXED); in set_firsts()
166 fderives = bitsetv_create (nvars, nrules, BITSET_FIXED); in set_fderives()
Dreader.c206 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()
Dgram.c44 int nvars = 0; variable
247 ntokens, nvars, nsyms, nrules, nritems); in grammar_dump()
Dsymtab.c204 sym->number = nvars++; in symbol_class_set()
260 sym->number = nvars++; in symbol_check_defined()
538 sym->number = nvars++; in dummy_symbol_get()
Dgram.h115 extern int nvars;
Dtables.c562 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()
Dlalr.c84 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()
Doutput.c145 MUSCLE_INSERT_INT ("nterms_number", nvars); in prepare_symbols()
/external/webkit/V8Binding/v8/src/
Dparser.cc2037 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/
DOChangeLog765 increment nvars if symbol is already a nonterminal.
DChangeLog10024 * src/gram.c (nitems, nrules, nsyms, ntokens, nvars, nritems)
11471 `nvars', hence we overflow our arrays.