Home
last modified time | relevance | path

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

/dragonfly/contrib/byacc/
H A Doutput.c454 for (j = 0; j < PER_STATE * ntokens; ++j) in token_actions()
502 actionrow[p->symbol + ntokens] = p->number; 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()
606 for (j = 0; j < ntokens; ++j) in token_actions()
608 if (actionrow[2 * ntokens + j]) in token_actions()
1237 for (i = 2; i < ntokens; ++i) in output_defines()
1356 for (i = 0; i < ntokens; ++i) in output_debug()
1364 for (i = ntokens; i < nsyms; ++i) in output_debug()
[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.c3551 ntokens = 1; in pack_symbols()
3556 ++ntokens; in pack_symbols()
3558 start_symbol = (Value_t)ntokens; in pack_symbols()
3559 nvars = (Value_t)(nsyms - ntokens); in pack_symbols()
3602 assert(i == ntokens && j == nsyms); in pack_symbols()
3604 for (i = 1; i < ntokens; ++i) in pack_symbols()
3628 for (i = 1; i < ntokens; ++i) in pack_symbols()
3646 for (i = 2; i < ntokens; ++i) in pack_symbols()
3669 for (i = 1; i < ntokens; ++i) in pack_symbols()
H A Ddefs.h354 extern Value_t ntokens;
H A Dmain.c84 Value_t ntokens; variable
/dragonfly/contrib/gcc-4.7/libcpp/
H A Dmacro.c748 unsigned int ntokens = 0; in collect_args() local
764 if ((unsigned char *) &arg->first[ntokens + 2] > buff->limit) in collect_args()
772 && (ntokens + 2 > virt_locs_capacity)) in collect_args()
785 if (ntokens == 0) in collect_args()
852 ntokens, MACRO_ARG_TOKEN_NORMAL, in collect_args()
854 ntokens++; in collect_args()
858 while (ntokens > 0 && arg->first[ntokens - 1]->type == CPP_PADDING) in collect_args()
859 ntokens--; in collect_args()
861 arg->count = ntokens; in collect_args()
863 ntokens, MACRO_ARG_TOKEN_NORMAL, in collect_args()
[all …]
/dragonfly/contrib/gcc-8.0/libcpp/
H A Dmacro.c1020 unsigned int ntokens = 0; in collect_args() local
1036 if ((unsigned char *) &arg->first[ntokens + 2] > buff->limit) in collect_args()
1044 && (ntokens + 2 > virt_locs_capacity)) in collect_args()
1057 if (ntokens == 0) in collect_args()
1124 ntokens, MACRO_ARG_TOKEN_NORMAL, in collect_args()
1126 ntokens++; in collect_args()
1130 while (ntokens > 0 && arg->first[ntokens - 1]->type == CPP_PADDING) in collect_args()
1131 ntokens--; in collect_args()
1133 arg->count = ntokens; in collect_args()
1135 ntokens, MACRO_ARG_TOKEN_NORMAL, in collect_args()
[all …]
/dragonfly/contrib/grep/lib/
H A Ddfa.c1902 copytoks (struct dfa *dfa, idx_t tindex, idx_t ntokens) in copytoks() argument
1905 for (idx_t i = 0; i < ntokens; i++) in copytoks()
1909 for (idx_t i = 0; i < ntokens; i++) in copytoks()
1921 idx_t ntokens = nsubtoks (dfa, dfa->tindex); in closure() local
1922 idx_t tindex = dfa->tindex - ntokens; in closure()
1930 copytoks (dfa, tindex, ntokens); in closure()
1935 copytoks (dfa, tindex, ntokens); in closure()