Home
last modified time | relevance | path

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

/external/bison/src/
Dnullable.c63 symbol_number *squeue = xnmalloc (nvars, sizeof *squeue); in nullable_compute()
67 rule_list **rsets = xcalloc (nvars, sizeof *rsets); in nullable_compute()
70 rule_list *relts = xnmalloc (nritems + nvars + 1, sizeof *relts); in nullable_compute()
72 nullable = xcalloc (nvars, sizeof *nullable); in nullable_compute()
Dreduce.c94 Np = bitset_create (nvars, BITSET_FIXED); in useless_nonterminals()
216 nuseless_nonterminals = nvars - nuseful_nonterminals; in inaccessable_symbols()
293 symbol_number *nontermmap = xnmalloc (nvars, sizeof *nontermmap); in nonterminals_reduce()
309 symbol **symbols_sorted = xnmalloc (nvars, sizeof *symbols_sorted); in nonterminals_reduce()
334 nvars -= nuseless_nonterminals; in nonterminals_reduce()
403 N = bitset_create (nvars, BITSET_FIXED); in reduce_grammar()
436 grammar_file, ntokens, nvars, nrules); in reduce_grammar()
Dderives.c71 rule_list **dset = xcalloc (nvars, sizeof *dset); in derives_compute()
91 derives = xnmalloc (nvars, sizeof *derives); in derives_compute()
92 q = xnmalloc (nvars + nrules, sizeof *q); in derives_compute()
Dclosure.c127 firsts = bitsetv_create (nvars, nvars, BITSET_FIXED); in set_firsts()
163 fderives = bitsetv_create (nvars, nrules, BITSET_FIXED); in set_fderives()
Dlalr.c78 goto_map = xcalloc (nvars + 1, sizeof *goto_map); in set_goto_map()
79 temp_map = xnmalloc (nvars + 1, sizeof *temp_map); in set_goto_map()
465 aver (nsyms == nvars + ntokens); in lalr_update_state_numbers()
485 while (nonterminal <= nvars) in lalr_update_state_numbers()
Dreader.c245 lhs->number = nvars; in grammar_current_rule_begin()
246 ++nvars; in grammar_current_rule_begin()
605 accept->number = nvars++; in reader()
721 aver (nsyms <= SYMBOL_NUMBER_MAXIMUM && nsyms == ntokens + nvars); in check_and_convert_grammar()
Dgram.c43 int nvars = 0; variable
247 ntokens, nvars, nsyms, nrules, nritems); in grammar_dump()
Dgram.h113 extern int nvars;
Dtables.c572 yydefgoto = xnmalloc (nvars, sizeof *yydefgoto); in goto_actions()
819 && sizeof nvars <= sizeof nvectors); in tables_generate()
821 nvectors = state_number_as_int (nstates) + nvars; in tables_generate()
Dsymtab.c337 sym->number = nvars++; in symbol_class_set()
398 sym->number = nvars++; in symbol_check_defined()
748 sym->number = nvars++; in dummy_symbol_get()
Doutput.c154 MUSCLE_INSERT_INT ("nterms_number", nvars); in prepare_symbols()
/external/javassist/src/main/javassist/
DCtBehavior.java700 int nvars = jv.recordParams(getParameterTypes(), in insertBefore() local
702 jv.recordParamNames(ca, nvars); in insertBefore()
774 int nvars = jv.recordParams(getParameterTypes(), in insertAfter() local
776 jv.recordParamNames(ca, nvars); in insertAfter()
/external/chromium_org/v8/src/
Dpreparser.cc442 int nvars = 0; // the number of variables declared in ParseVariableDeclarations() local
445 if (nvars > 0) Consume(Token::COMMA); in ParseVariableDeclarations()
454 nvars++; in ParseVariableDeclarations()
462 if (num_decl != NULL) *num_decl = nvars; in ParseVariableDeclarations()
Dparser.cc1896 int nvars = 0; // the number of variables declared in ParseVariableDeclarations() local
1902 if (nvars > 0) Consume(Token::COMMA); in ParseVariableDeclarations()
1934 nvars++; in ParseVariableDeclarations()
2107 if (nvars == 1 && !is_const) { in ParseVariableDeclarations()
/external/v8/src/
Dpreparser.cc445 int nvars = 0; // the number of variables declared in ParseVariableDeclarations() local
448 if (nvars > 0) Consume(i::Token::COMMA); in ParseVariableDeclarations()
457 nvars++; in ParseVariableDeclarations()
465 if (num_decl != NULL) *num_decl = nvars; in ParseVariableDeclarations()
Dparser.cc2153 int nvars = 0; // the number of variables declared in ParseVariableDeclarations() local
2159 if (nvars > 0) Consume(Token::COMMA); in ParseVariableDeclarations()
2189 nvars++; in ParseVariableDeclarations()
2354 if (nvars == 1 && !is_const) { in ParseVariableDeclarations()
/external/linux-tools-perf/util/
Dprobe-event.c456 int ret, i, nvars; in show_available_vars_at() local
482 nvars = 0; in show_available_vars_at()
488 nvars++; in show_available_vars_at()
493 if (nvars == 0) in show_available_vars_at()
/external/bison/
DChangeLog-1998765 increment nvars if symbol is already a nonterminal.
DChangeLog-201218285 * src/gram.c (nitems, nrules, nsyms, ntokens, nvars, nritems)
19732 `nvars', hence we overflow our arrays.