Lines Matching refs:Value_t

6 static Value_t get_state(int symbol);
19 Value_t nstates;
31 static Value_t *shift_symbol;
33 static Value_t *rules;
35 static Value_t *redset;
36 static Value_t *shiftset;
38 static Value_t **kernel_base;
39 static Value_t **kernel_end;
40 static Value_t *kernel_items;
45 Value_t *itemp; in allocate_itemsets()
46 Value_t *item_end; in allocate_itemsets()
50 Value_t *symbol_count; in allocate_itemsets()
53 symbol_count = NEW2(nsyms, Value_t); in allocate_itemsets()
67 kernel_base = NEW2(nsyms, Value_t *); in allocate_itemsets()
68 kernel_items = NEW2(count, Value_t); in allocate_itemsets()
81 kernel_end = NEW2(nsyms, Value_t *); in allocate_itemsets()
88 shiftset = NEW2(nsyms, Value_t); in allocate_storage()
89 redset = NEW2(nrules + 1, Value_t); in allocate_storage()
97 Value_t symbol; in append_states()
138 itemset = NEW2(nitems, Value_t); in generate_states()
159 static Value_t
163 Value_t *isp1; in get_state()
164 Value_t *iend; in get_state()
187 Value_t *isp2; in get_state()
226 Value_t *start_derives; in initialize_states()
233 p = (core *)MALLOC(sizeof(core) + i * sizeof(Value_t)); in initialize_states()
240 p->nitems = (Value_t)i; in initialize_states()
252 Value_t i; in new_itemsets()
254 Value_t *isp; in new_itemsets()
255 Value_t *ksp; in new_itemsets()
265 Value_t symbol = ritem[j]; in new_itemsets()
276 *ksp++ = (Value_t)(j + 1); in new_itemsets()
289 Value_t *isp1; in new_state()
290 Value_t *isp2; in new_state()
291 Value_t *iend; in new_state()
304 p = (core *)allocate((sizeof(core) + (n - 1) * sizeof(Value_t))); in new_state()
305 p->accessing_symbol = (Value_t)symbol; in new_state()
306 p->number = (Value_t)nstates; in new_state()
307 p->nitems = (Value_t)n; in new_state()
405 Value_t *sp1; in save_shifts()
406 Value_t *sp2; in save_shifts()
407 Value_t *send; in save_shifts()
410 (unsigned)(nshifts - 1) * sizeof(Value_t))); in save_shifts()
413 p->nshifts = (Value_t)nshifts; in save_shifts()
437 Value_t *isp; in save_reductions()
438 Value_t *rp1; in save_reductions()
439 Value_t count; in save_reductions()
449 redset[count++] = (Value_t)-item; in save_reductions()
455 Value_t *rp2; in save_reductions()
456 Value_t *rend; in save_reductions()
460 sizeof(Value_t))); in save_reductions()
488 Value_t i, k; in set_derives()
491 derives = NEW2(nsyms, Value_t *); in set_derives()
492 rules = NEW2(nvars + nrules, Value_t); in set_derives()
520 Value_t *sp; in print_derives()