Home
last modified time | relevance | path

Searched refs:nstates (Results 1 – 19 of 19) sorted by relevance

/external/llvm/lib/Support/
Dregexec.c107 #define CLEAR(v) memset(v, 0, m->g->nstates)
111 #define ASSIGN(d, s) memmove(d, s, m->g->nstates)
112 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
114 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
118 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
158 if (g->nstates <= (long)(CHAR_BIT*sizeof(states1)) && !(eflags&REG_LARGE)) in llvm_regexec()
Dregex2.h135 sopno nstates; /* = number of sops */ member
Dregcomp.c1402 g->nstates = p->slen; in stripsnug()
Dregengine.inc978 for (i = 0; i < g->nstates; i++)
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Ddfs-visit.h91 StateId nstates = CountStates(fst); in DfsVisit() local
93 while ((StateId)state_color.size() < nstates) in DfsVisit()
100 for (StateId root = start; dfs && root < nstates;) { in DfsVisit()
150 root < nstates && state_color[root] != kDfsWhite; in DfsVisit()
Dexpanded-fst.h87 typename Arc::StateId nstates = 0; in CountStates() local
89 ++nstates; in CountStates()
90 return nstates; in CountStates()
Dvector-fst.h79 StateId nstates = 0; in DeleteStates() local
82 newid[s] = nstates; in DeleteStates()
83 if (s != nstates) in DeleteStates()
84 states_[nstates] = states_[s]; in DeleteStates()
85 ++nstates; in DeleteStates()
90 states_.resize(nstates); in DeleteStates()
140 data->nstates = states_.size(); in InitStateIterator()
Dfst.h234 typename A::StateId nstates; // O.w. total # of states member
260 return data_.base ? data_.base->Done() : s_ >= data_.nstates; in Done()
Dconst-fst.h77 data->nstates = nstates_; in InitStateIterator()
/external/bison/src/
Doutput.c269 symbol_number *values = xnmalloc (nstates, sizeof *values); in prepare_states()
270 for (i = 0; i < nstates; ++i) in prepare_states()
273 0, 1, nstates); in prepare_states()
278 MUSCLE_INSERT_INT ("states_number", nstates); in prepare_states()
453 yydefact[0], 1, nstates); in prepare_actions()
464 base[0], 1, nstates); in prepare_actions()
469 base[nstates], nstates + 1, nvectors); in prepare_actions()
Dtables.c58 return state_number_as_int (nstates) + sym - ntokens; in symbol_number_to_vector_number()
428 yydefact = xnmalloc (nstates, sizeof *yydefact); in token_actions()
442 for (i = 0; i < nstates; ++i) in token_actions()
531 for (s = 0; s < nstates; s++) in default_goto()
537 for (s = 0; s < nstates; s++) in default_goto()
561 size_t *state_count = xnmalloc (nstates, sizeof *state_count); in goto_actions()
626 if (nstates <= i) in matching_state()
808 verify (sizeof nstates <= sizeof nvectors in tables_generate()
811 nvectors = state_number_as_int (nstates) + nvars; in tables_generate()
Dlalr.c88 for (s = 0; s < nstates; ++s) in set_goto_map()
122 for (s = 0; s < nstates; ++s) in set_goto_map()
382 for (i = 0; i < nstates; i++) in initialize_LA()
393 for (i = 0; i < nstates; i++) in initialize_LA()
415 for (i = 0; i < nstates; ++i) in look_ahead_tokens_print()
460 for (s = 0; s < nstates; ++s) in lalr_free()
Dstate.c120 state_number nstates = 0; variable
138 assert (nstates < STATE_NUMBER_MAXIMUM); in state_new()
141 res->number = nstates++; in state_new()
367 for (i = 0; i < nstates; ++i) in states_free()
Dconflicts.c311 conflicts = xcalloc (nstates, sizeof *conflicts); in conflicts_solve()
316 for (i = 0; i < nstates; i++) in conflicts_solve()
418 for (i = 0; i < nstates; i++) in conflicts_output()
448 for (i = 0; i < nstates; i++) in conflicts_total_count()
480 for (i = 0; i < nstates; i++) in conflicts_print()
DLR0.c68 nstates, sym, symbols[sym]->tag); in state_list_append()
303 states = xcalloc (nstates, sizeof *states); in set_states()
Dstate.h219 extern state_number nstates;
Dprint_graph.c220 for (i = 0; i < nstates; i++) in print_graph()
Dprint.c567 for (i = 0; i < nstates; i++) in print_results()
/external/bison/
DChangeLog8310 `nterms_number', `nrules' as `rules_number', `nstates' as
8564 * src/LR0.h, src/LR0.c (nstates, final_state): Move to...
10089 * src/LR0.c (new_state): Display `nstates' as the name of the
10363 * src/L0.c, src/LR0.h (nstates): Be size_t.
11290 * src/LR0.c (set_state_table): state_table holds exactly nstates.
14537 * src/state.h (nstates, final_state, first_state, first_shift)