Home
last modified time | relevance | path

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

/freebsd/contrib/byacc/
H A Doutput.c449 actionrow = NEW2(PER_STATE * ntokens, Value_t); in token_actions()
454 for (j = 0; j < PER_STATE * ntokens; ++j) in token_actions()
477 actionrow[csym + 2 * ntokens] = (Value_t)(j + 1); in token_actions()
502 actionrow[p->symbol + ntokens] = p->number; in token_actions()
533 actionrow[csym + 2 * ntokens] = (Value_t)(j + 1); in token_actions()
565 for (j = 0; j < ntokens; ++j) in token_actions()
585 for (j = 0; j < ntokens; ++j) in token_actions()
587 if (actionrow[ntokens + j]) in token_actions()
594 *s++ = (Value_t)(actionrow[ntokens + j] - 2); in token_actions()
606 for (j = 0; j < ntokens; ++j) in token_actions()
[all …]
H A Dclosure.c75 unsigned *vrow = EFF + ((i - ntokens) * varsetsize); in set_first_derives()
132 dsp = first_derives + (symbol - ntokens) * rulesetsize; in closure()
237 rp = first_derives + (i - ntokens) * WORDSIZE(nrules); in print_first_derives()
H A Dgraph.c96 tokensetsize = (unsigned)WORDSIZE(ntokens); in graph_LA()
104 for (i = ntokens - 1; i >= 0; i--) in graph_LA()
H A Dlalr.c56 tokensetsize = WORDSIZE(ntokens); in lalr()
190 goto_map = goto_base - ntokens; in set_goto_map()
191 temp_map = temp_base - ntokens; in set_goto_map()
212 for (i = ntokens; i < nsyms; i++) in set_goto_map()
218 for (i = ntokens; i < nsyms; i++) in set_goto_map()
H A Dverbose.c40 (long)ntokens, (long)nvars); in verbose()
51 for (i = 0; i < ntokens; ++i) in verbose()
58 for (i = ntokens; i < nsyms; ++i) in verbose()
H A Dmkpar.c114 tokensetsize = WORDSIZE(ntokens); in add_reductions()
122 for (j = ntokens - 1; j >= 0; j--) in add_reductions()
H A Dreader.c3776 ntokens = 1; in pack_symbols()
3781 ++ntokens; in pack_symbols()
3783 start_symbol = (Value_t)ntokens; in pack_symbols()
3784 nvars = (Value_t)(nsyms - ntokens); in pack_symbols()
3827 assert(i == ntokens && j == nsyms); in pack_symbols()
3829 for (i = 1; i < ntokens; ++i) in pack_symbols()
3853 for (i = 1; i < ntokens; ++i) in pack_symbols()
3871 for (i = 2; i < ntokens; ++i) in pack_symbols()
3894 for (i = 1; i < ntokens; ++i) in pack_symbols()
H A Ddefs.h355 extern Value_t ntokens;
H A Dmain.c84 Value_t ntokens; variable
/freebsd/contrib/ntp/ntpd/
H A Dntp_config.c5484 int *ntokens in gettokens_netinfo()
5577 *ntokens = ntok + 1;
5457 gettokens_netinfo(struct netinfo_config_state * config,char ** tokenlist,int * ntokens) gettokens_netinfo() argument