HomeSort by relevance Sort by last modified time
    Searched refs:xnmalloc (Results 1 - 15 of 15) sorted by null

  /external/bison/src/
derives.c 76 rule_list *delts = xnmalloc (nrules, sizeof *delts);
91 derives = xnmalloc (nvars, sizeof *derives);
92 q = xnmalloc (nvars + nrules, sizeof *q);
output.c 202 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);
relation.c 103 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);
LR0.c 119 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);
tables.c 401 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 (nstates, sizeof *state_count)
    [all...]
lalr.c 79 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]);
nullable.c 63 symbol_number *squeue = xnmalloc (nvars, sizeof *squeue);
70 rule_list *relts = xnmalloc (nritems + nvars + 1, sizeof *relts);
ielr.c 100 *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 (nstates, sizeof *annotation_counts)
    [all...]
reduce.c 250 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);
main.c 130 state_number *old_to_new = xnmalloc (nstates, sizeof *old_to_new);
closure.c 187 itemset = xnmalloc (n, sizeof *itemset);
symtab.c 795 symbols_sorted = xnmalloc (count, sizeof *symbols_sorted);
862 token_translations = xnmalloc (max_user_token_number + 1,
conflicts.c 390 symbol **errors = xnmalloc (ntokens + 1, sizeof *errors);
AnnotationList.c 338 lookaheads = xnmalloc ((*predecessor)->nitems,
    [all...]
  /external/bison/lib/
xalloc.h 78 /* extern t *XNMALLOC (size_t n, typename t); */
79 #define XNMALLOC(n, t) \
80 ((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
217 return XNMALLOC (n, char);

Completed in 1440 milliseconds