/ndk/sources/host-tools/sed-4.2.1/lib/ |
xalloc.h | 89 /* extern t *XNMALLOC (size_t n, typename t); */ 90 # define XNMALLOC(n, t) \ 91 ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t)))) 108 void *xnmalloc (size_t n, size_t s) ATTRIBUTE_MALLOC; 119 static_inline void *xnmalloc (size_t n, size_t s) ATTRIBUTE_MALLOC; 121 xnmalloc (size_t n, size_t s) function 235 return XNMALLOC (n, char);
|
/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);
|
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);
|
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);
|
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...] |
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);
|
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);
|
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...] |
main.c | 130 state_number *old_to_new = xnmalloc (nstates, sizeof *old_to_new);
|
closure.c | 187 itemset = xnmalloc (n, sizeof *itemset);
|
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);
|
reader.c | 509 ritem = xnmalloc (nritems + 1, sizeof *ritem); 514 rules = xnmalloc (nrules, sizeof *rules);
|
symtab.c | 795 symbols_sorted = xnmalloc (count, sizeof *symbols_sorted); 862 token_translations = xnmalloc (max_user_token_number + 1,
|
AnnotationList.c | 338 lookaheads = xnmalloc ((*predecessor)->nitems, [all...] |
conflicts.c | 390 symbol **errors = xnmalloc (ntokens + 1, sizeof *errors);
|
/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);
|
fatal-signal.c | 225 XNMALLOC (new_actions_allocated, actions_entry_t);
|
w32spawn.h | 140 new_argv = XNMALLOC (1 + argc + 1, char *);
|
/prebuilts/misc/linux-x86/bison/ |
bison | |