Home
last modified time | relevance | path

Searched refs:NEW2 (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/byacc/
H A Dlalr.c76 state_table = NEW2(nstates, core *); in set_state_table()
158 LAruleno = NEW2(k, Value_t); in initialize_LA()
159 lookback = NEW2(k, shorts *); in initialize_LA()
225 to_state = NEW2(ngotos, Value_t); in set_goto_map()
289 F = NEW2(nwords, unsigned); in initialize_F()
291 reads = NEW2(ngotos, Value_t *); in initialize_F()
292 edge = NEW2(ngotos + 1, Value_t); in initialize_F()
474 nedges = NEW2(n, Value_t); in transpose()
486 new_R = NEW2(n, Value_t *); in transpose()
487 temp_R = NEW2(n, Value_t *); in transpose()
[all …]
H A Dlr0.c53 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()
90 state_set = NEW2(nitems, core *); in allocate_storage()
138 itemset = NEW2(nitems, Value_t); in generate_states()
139 ruleset = NEW2(WORDSIZE(nrules), unsigned); in generate_states()
491 derives = NEW2(nsyms, Value_t *); in set_derives()
[all …]
H A Doutput.c562 tos[i] = s = NEW2(shiftcount, Value_t); in token_actions()
708 state_count = NEW2(nstates, Value_t); in goto_actions()
743 order = NEW2(nvectors, Value_t); in sort_actions()
921 base = NEW2(nvectors, Value_t); in pack_table()
922 pos = NEW2(nentries, Value_t); in pack_table()
925 table = NEW2(maxtable, Value_t); in pack_table()
926 check = NEW2(maxtable, Value_t); in pack_table()
1147 froms = NEW2(nvectors, Value_t *); in output_actions()
1148 tos = NEW2(nvectors, Value_t *); in output_actions()
1149 tally = NEW2(nvectors, Value_t); in output_actions()
[all …]
H A Dmkpar.c51 parser = NEW2(nstates, action *); in make_parser()
235 SRconflicts = NEW2(nstates, Value_t); in remove_conflicts()
236 RRconflicts = NEW2(nstates, Value_t); in remove_conflicts()
377 defred = NEW2(nstates, Value_t); in defreds()
H A Dclosure.c28 EFF = NEW2(nvars * rowsize, unsigned); in set_EFF()
68 first_derives = NEW2(nvars * rulesetsize, unsigned); in set_first_derives()
H A Ddefs.h184 #define NEW2(n,t) ((t*)allocate(((size_t)(n)*sizeof(t)))) macro