Lines Matching refs:sym
58 state_list_append (symbol_number sym, size_t core_size, item_number *core) in state_list_append() argument
61 state *s = state_new (sym, core_size, core); in state_list_append()
65 nstates, sym, symbols[sym]->tag); in state_list_append()
190 symbol_number sym = item_number_as_symbol_number (ritem[itemset[i]]); in new_itemsets() local
191 if (!kernel_size[sym]) in new_itemsets()
193 shift_symbol[nshifts] = sym; in new_itemsets()
197 kernel_base[sym][kernel_size[sym]] = itemset[i] + 1; in new_itemsets()
198 kernel_size[sym]++; in new_itemsets()
211 get_state (symbol_number sym, size_t core_size, item_number *core) in get_state() argument
217 sym, symbols[sym]->tag); in get_state()
221 s = state_list_append (sym, core_size, core); in get_state()
248 symbol_number sym = shift_symbol[i]; in append_states() local
250 for (j = i; 0 < j && sym < shift_symbol[j - 1]; j--) in append_states()
252 shift_symbol[j] = sym; in append_states()
257 symbol_number sym = shift_symbol[i]; in append_states() local
258 shiftset[i] = get_state (sym, kernel_size[sym], kernel_base[sym]); in append_states()