Home
last modified time | relevance | path

Searched refs:nrules (Results 1 – 13 of 13) sorted by relevance

/mirbsd/src/usr.bin/yacc/
Dreader.c1133 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 …]
Dclosure.c102 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()
Dlr0.c134 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()
Dverbose.c60 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()
Dmkpar.c218 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()
Ddefs.h258 extern int nrules;
Doutput.c186 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()
Dmain.c85 int nrules; variable
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Dinterps.c364 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/
Dzic.c253 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/
Dregcomp.c2709 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()
Dregex_internal.h890 uint_fast32_t nrules = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); in internal_function() local
892 if (nrules != 0) in internal_function()
Dregexec.c3798 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()