Searched refs:nrules (Results 1 – 13 of 13) sorted by relevance
| /mirbsd/src/usr.bin/yacc/ |
| D | reader.c | 1133 nrules = 3; in initialize_grammar() 1232 if (nrules >= maxrules) in start_rule() 1234 plhs[nrules] = bp; in start_rule() 1235 rprec[nrules] = UNDEFINED; in start_rule() 1236 rassoc[nrules] = TOKEN; in start_rule() 1245 if (!last_was_action && plhs[nrules]->tag) in end_rule() 1248 if (pitem[i+1] == 0 || pitem[i+1]->tag != plhs[nrules]->tag) in end_rule() 1256 ++nrules; in end_rule() 1270 bp->tag = plhs[nrules]->tag; in insert_empty_rule() 1279 if (++nrules >= maxrules) in insert_empty_rule() [all …]
|
| D | closure.c | 102 rulesetsize = WORDSIZE(nrules); in set_first_derives() 159 rulesetsize = WORDSIZE(nrules); in closure() 217 FREE(first_derives + ntokens * WORDSIZE(nrules)); in finalize_closure() 278 rp = first_derives + i * WORDSIZE(nrules); in print_first_derives() 280 for (j = 0; j <= nrules; k++, j++) in print_first_derives()
|
| D | lr0.c | 134 redset = NEW2(nrules + 1, short); in allocate_storage() 185 ruleset = NEW2(WORDSIZE(nrules), unsigned); in generate_states() 428 for (i = 0; i < nrules; ++i) in show_rrhs() 544 rules = NEW2(nvars + nrules, short); in set_derives() 550 for (i = 0; i < nrules; i++) in set_derives()
|
| D | verbose.c | 60 null_rules = (short *) MALLOC(nrules*sizeof(short)); in verbose() 74 fprintf(verbose_file, "%d grammar rules, %d states\n", nrules - 2, nstates); in verbose() 85 for (i = 3; i < nrules; ++i) in log_unused()
|
| D | mkpar.c | 218 rules_used = (short *) MALLOC(nrules*sizeof(short)); in unused_rules() 221 for (i = 0; i < nrules; ++i) in unused_rules() 234 for (i = 3; i < nrules; ++i) in unused_rules()
|
| D | defs.h | 258 extern int nrules;
|
| D | output.c | 186 for (i = 3; i < nrules; i++) in output_rule_data() 211 for (i = 3; i < nrules; i++) in output_rule_data() 1154 for (i = 2; i < nrules; ++i) in output_debug()
|
| D | main.c | 85 int nrules; variable
|
| /mirbsd/src/gnu/usr.bin/binutils/gdb/ |
| D | interps.c | 364 unsigned int nrules; in interpreter_exec_cmd() local 374 nrules = 0; in interpreter_exec_cmd() 379 nrules++; in interpreter_exec_cmd() 383 if (nrules < 2) in interpreter_exec_cmd() 399 for (i = 1; i < nrules; i++) in interpreter_exec_cmd()
|
| /mirbsd/src/lib/libc/time/ |
| D | zic.c | 253 static int nrules; /* number of rules */ variable 745 if (nrules != 0) { in associate() 746 (void) qsort((void *) rules, (size_t) nrules, in associate() 748 for (i = 0; i < nrules - 1; ++i) { in associate() 759 for (j = i + 2; j < nrules; ++j) { in associate() 779 for (base = 0; base < nrules; base = out) { in associate() 781 for (out = base + 1; out < nrules; ++out) in associate() 979 (int) ((nrules + 1) * sizeof *rules)); 980 rules[nrules++] = r;
|
| /mirbsd/src/gnu/usr.bin/cvs/lib/ |
| D | regcomp.c | 2709 uint32_t nrules; in parse_bracket_exp() local 2758 if (nrules == 0) in parse_bracket_exp() 2773 if (nrules != 0) in parse_bracket_exp() 2845 if (nrules > 0 || dfa->mb_cur_max > 1) in parse_bracket_exp() 2880 if (nrules == 0) in parse_bracket_exp() 2903 if (nrules != 0) in parse_bracket_exp() 2968 nrules = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); in parse_bracket_exp() 2969 if (nrules) in parse_bracket_exp() 3339 uint32_t nrules = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); in build_equiv_class() local 3340 if (nrules != 0) in build_equiv_class()
|
| D | regex_internal.h | 890 uint_fast32_t nrules = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); in internal_function() local 892 if (nrules != 0) in internal_function()
|
| D | regexec.c | 3798 uint32_t nrules; in check_node_accept_bytes() local 3823 nrules = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); in check_node_accept_bytes() 3824 if (nrules != 0) in check_node_accept_bytes() 3950 uint32_t nrules = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); in find_collation_sequence_value() local 3951 if (nrules == 0) in find_collation_sequence_value()
|