Searched refs:xnmalloc (Results 1 - 15 of 15) sorted by relevance

/external/bison/src/
H A Dderives.c76 rule_list *delts = xnmalloc (nrules, sizeof *delts);
91 derives = xnmalloc (nvars, sizeof *derives);
92 q = xnmalloc (nvars + nrules, sizeof *q);
H A Doutput.c202 int *values = xnmalloc (ntokens, sizeof *values);
222 item_number *rhs = xnmalloc (nritems, sizeof *rhs);
223 unsigned int *prhs = xnmalloc (nrules, sizeof *prhs);
224 unsigned int *rline = xnmalloc (nrules, sizeof *rline);
225 symbol_number *r1 = xnmalloc (nrules, sizeof *r1);
226 unsigned int *r2 = xnmalloc (nrules, sizeof *r2);
227 int *dprec = xnmalloc (nrules, sizeof *dprec);
228 int *merger = xnmalloc (nrules, sizeof *merger);
281 symbol_number *values = xnmalloc (nstates, sizeof *values);
H A Drelation.c103 VERTICES = xnmalloc (size + 1, sizeof *VERTICES);
129 relation new_R = xnmalloc (n, sizeof *new_R);
131 relation end_R = xnmalloc (n, sizeof *end_R);
155 sp = xnmalloc (nedges[i] + 1, sizeof *sp);
H A DLR0.c119 kernel_base = xnmalloc (nsyms, sizeof *kernel_base);
120 kernel_items = xnmalloc (count, sizeof *kernel_items);
130 kernel_size = xnmalloc (nsyms, sizeof *kernel_size);
139 shiftset = xnmalloc (nsyms, sizeof *shiftset);
140 redset = xnmalloc (nrules, sizeof *redset);
142 shift_symbol = xnmalloc (nsyms, sizeof *shift_symbol);
H A Dtables.c401 froms[s] = sp = sp1 = xnmalloc (count, sizeof *sp1);
402 tos[s] = sp2 = xnmalloc (count, sizeof *sp2);
404 nondeterministic_parser ? xnmalloc (count, sizeof *sp3) : NULL;
438 yydefact = xnmalloc (nstates, sizeof *yydefact);
440 actrow = xnmalloc (ntokens, sizeof *actrow);
441 conflrow = xnmalloc (ntokens, sizeof *conflrow);
443 conflict_list = xnmalloc (1 + 2 * nconflict, sizeof *conflict_list);
508 froms[symno] = sp = sp1 = xnmalloc (count, sizeof *sp1);
509 tos[symno] = sp2 = xnmalloc (count, sizeof *sp2);
571 size_t *state_count = xnmalloc (nstate
[all...]
H A Dlalr.c79 temp_map = xnmalloc (nvars + 1, sizeof *temp_map);
161 goto_number **reads = xnmalloc (ngotos, sizeof *reads);
162 goto_number *edge = xnmalloc (ngotos + 1, sizeof *edge);
189 reads[i] = xnmalloc (nedges + 1, sizeof reads[i][0]);
221 goto_number *edge = xnmalloc (ngotos + 1, sizeof *edge);
222 state_number *states1 = xnmalloc (ritem_longest_rhs () + 1, sizeof *states1);
225 includes = xnmalloc (ngotos, sizeof *includes);
276 includes[i] = xnmalloc (nedges + 1, sizeof includes[i][0]);
H A Dnullable.c63 symbol_number *squeue = xnmalloc (nvars, sizeof *squeue);
70 rule_list *relts = xnmalloc (nritems + nvars + 1, sizeof *relts);
H A Dielr.c100 *edgesp = xnmalloc (ngotos, sizeof **edgesp);
101 *edge_countsp = xnmalloc (ngotos, sizeof **edge_countsp);
154 (*edgesp)[i] = xnmalloc (nsources + 1, sizeof *(*edgesp)[i]);
254 goto_number *edge_array = xnmalloc (ngotos, sizeof *edge_array);
304 int *predecessor_counts = xnmalloc (nstates, sizeof *predecessor_counts);
305 state ***result = xnmalloc (nstates, sizeof *result);
316 result[i] = xnmalloc (predecessor_counts[i]+1, sizeof *result[i]);
386 xnmalloc (s->nitems, sizeof item_lookahead_sets[s->number][0]);
491 xnmalloc (nstates, sizeof *item_lookahead_sets);
493 xnmalloc (nstate
[all...]
H A Dreduce.c250 rule *rules_sorted = xnmalloc (nrules, sizeof *rules_sorted);
294 symbol_number *nontermmap = xnmalloc (nvars, sizeof *nontermmap);
310 symbol **symbols_sorted = xnmalloc (nvars, sizeof *symbols_sorted);
H A Dmain.c130 state_number *old_to_new = xnmalloc (nstates, sizeof *old_to_new);
H A Dclosure.c187 itemset = xnmalloc (n, sizeof *itemset);
H A Dsymtab.c795 symbols_sorted = xnmalloc (count, sizeof *symbols_sorted);
862 token_translations = xnmalloc (max_user_token_number + 1,
H A Dconflicts.c390 symbol **errors = xnmalloc (ntokens + 1, sizeof *errors);
H A DAnnotationList.c338 lookaheads = xnmalloc ((*predecessor)->nitems,
/external/bison/lib/
H A Dxalloc.h80 ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t))))
97 XALLOC_INLINE void *xnmalloc (size_t n, size_t s)
100 xnmalloc (size_t n, size_t s) function

Completed in 515 milliseconds