Searched refs:ntokens (Results 1 – 13 of 13) sorted by relevance
| /freebsd-11-stable/contrib/byacc/ |
| HD | output.c | 428 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 …]
|
| HD | closure.c | 73 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()
|
| HD | graph.c | 97 tokensetsize = (unsigned)WORDSIZE(ntokens); in graph_LA() 104 for (i = ntokens - 1; i >= 0; i--) in graph_LA()
|
| HD | lalr.c | 56 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()
|
| HD | verbose.c | 39 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()
|
| HD | mkpar.c | 114 tokensetsize = WORDSIZE(ntokens); in add_reductions() 121 for (j = ntokens - 1; j >= 0; j--) in add_reductions()
|
| HD | reader.c | 3354 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()
|
| HD | defs.h | 334 extern Value_t ntokens;
|
| HD | main.c | 83 Value_t ntokens; variable
|
| /freebsd-11-stable/contrib/gcclibs/libcpp/ |
| HD | macro.c | 604 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-11-stable/contrib/groff/src/preproc/refer/ |
| HD | token.cpp | 35 int ntokens = 0; variable 160 if (++ntokens == TOKEN_TABLE_SIZE) in store_token()
|
| /freebsd-11-stable/gnu/usr.bin/grep/ |
| HD | dfa.c | 1287 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-11-stable/contrib/ntp/ntpd/ |
| HD | ntp_config.c | 5295 int *ntokens in gettokens_netinfo() argument 5388 *ntokens = ntok + 1; in gettokens_netinfo()
|