Home
last modified time | relevance | path

Searched refs:ntokens (Results 1 – 12 of 12) sorted by relevance

/freebsd-12-stable/contrib/byacc/
Doutput.c428 actionrow = NEW2(PER_STATE * ntokens, Value_t); in token_actions()
433 for (j = 0; j < PER_STATE * ntokens; ++j) in token_actions()
456 actionrow[csym + 2 * ntokens] = (Value_t)(j + 1); in token_actions()
481 actionrow[p->symbol + ntokens] = p->number; in token_actions()
512 actionrow[csym + 2 * ntokens] = (Value_t)(j + 1); in token_actions()
544 for (j = 0; j < ntokens; ++j) in token_actions()
564 for (j = 0; j < ntokens; ++j) in token_actions()
566 if (actionrow[ntokens + j]) in token_actions()
573 *s++ = (Value_t)(actionrow[ntokens + j] - 2); in token_actions()
585 for (j = 0; j < ntokens; ++j) in token_actions()
[all …]
Dclosure.c73 first_derives = first_base - ntokens * rulesetsize; in set_first_derives()
77 rrow = first_derives + ntokens * rulesetsize; in set_first_derives()
80 vrow = EFF + ((i - ntokens) * varsetsize); in set_first_derives()
Dgraph.c97 tokensetsize = (unsigned)WORDSIZE(ntokens); in graph_LA()
104 for (i = ntokens - 1; i >= 0; i--) in graph_LA()
Dlalr.c56 tokensetsize = WORDSIZE(ntokens); in lalr()
191 goto_map = goto_base - ntokens; in set_goto_map()
192 temp_map = temp_base - ntokens; in set_goto_map()
213 for (i = ntokens; i < nsyms; i++) in set_goto_map()
219 for (i = ntokens; i < nsyms; i++) in set_goto_map()
Dverbose.c39 fprintf(verbose_file, "\n\n%d terminals, %d nonterminals\n", ntokens, in verbose()
50 for (i = 0; i < ntokens; ++i) in verbose()
57 for (i = ntokens; i < nsyms; ++i) in verbose()
Dmkpar.c114 tokensetsize = WORDSIZE(ntokens); in add_reductions()
121 for (j = ntokens - 1; j >= 0; j--) in add_reductions()
Dreader.c3354 ntokens = 1; in pack_symbols()
3359 ++ntokens; in pack_symbols()
3361 start_symbol = (Value_t)ntokens; in pack_symbols()
3362 nvars = (Value_t)(nsyms - ntokens); in pack_symbols()
3405 assert(i == ntokens && j == nsyms); in pack_symbols()
3407 for (i = 1; i < ntokens; ++i) in pack_symbols()
3431 for (i = 1; i < ntokens; ++i) in pack_symbols()
3449 for (i = 2; i < ntokens; ++i) in pack_symbols()
3472 for (i = 1; i < ntokens; ++i) in pack_symbols()
Dmain.c83 Value_t ntokens; variable
Ddefs.h335 extern Value_t ntokens;
/freebsd-12-stable/contrib/gcclibs/libcpp/
Dmacro.c604 unsigned int ntokens = 0; in collect_args() local
612 if ((unsigned char *) &arg->first[ntokens + 2] > buff->limit) in collect_args()
624 if (ntokens == 0) in collect_args()
646 arg->first[ntokens++] = token; in collect_args()
650 while (ntokens > 0 && arg->first[ntokens - 1]->type == CPP_PADDING) in collect_args()
651 ntokens--; in collect_args()
653 arg->count = ntokens; in collect_args()
654 arg->first[ntokens] = &pfile->eof; in collect_args()
660 buff->cur = (unsigned char *) &arg->first[ntokens + 1]; in collect_args()
/freebsd-12-stable/gnu/usr.bin/grep/
Ddfa.c1287 copytoks (int tindex, int ntokens) in copytoks() argument
1291 for (i = 0; i < ntokens; ++i) in copytoks()
1298 int tindex, ntokens, i; in closure() local
1304 ntokens = nsubtoks(dfa->tindex); in closure()
1305 tindex = dfa->tindex - ntokens; in closure()
1312 copytoks(tindex, ntokens); in closure()
1317 copytoks(tindex, ntokens); in closure()
/freebsd-12-stable/contrib/ntp/ntpd/
Dntp_config.c5457 int *ntokens in gettokens_netinfo() argument
5550 *ntokens = ntok + 1; in gettokens_netinfo()