/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 | 78 rule_list *delts = xnmalloc (nrules, sizeof *delts); 93 derives = xnmalloc (nvars, sizeof *derives); 94 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 | 85 temp_map = xnmalloc (nvars + 1, sizeof *temp_map); 172 goto_number **reads = xnmalloc (ngotos, sizeof *reads); 173 goto_number *edge = xnmalloc (ngotos + 1, sizeof *edge); 200 reads[i] = xnmalloc (nedges + 1, sizeof reads[i][0]); 232 goto_number *edge = xnmalloc (ngotos + 1, sizeof *edge); 233 state_number *states1 = xnmalloc (ritem_longest_rhs () + 1, sizeof *states1); 236 includes = xnmalloc (ngotos, sizeof *includes); 287 includes[i] = xnmalloc (nedges + 1, sizeof includes[i][0]);
|
nullable.c | 65 symbol_number *squeue = xnmalloc (nvars, sizeof *squeue); 72 rule_list *relts = xnmalloc (nritems + nvars + 1, sizeof *relts);
|
tables.c | 391 froms[s] = sp = sp1 = xnmalloc (count, sizeof *sp1); 392 tos[s] = sp2 = xnmalloc (count, sizeof *sp2); 394 nondeterministic_parser ? xnmalloc (count, sizeof *sp3) : NULL; 428 yydefact = xnmalloc (nstates, sizeof *yydefact); 430 actrow = xnmalloc (ntokens, sizeof *actrow); 431 conflrow = xnmalloc (ntokens, sizeof *conflrow); 433 conflict_list = xnmalloc (1 + 2 * nconflict, sizeof *conflict_list); 498 froms[symno] = sp = sp1 = xnmalloc (count, sizeof *sp1); 499 tos[symno] = sp2 = xnmalloc (count, sizeof *sp2); 561 size_t *state_count = xnmalloc (nstates, sizeof *state_count) [all...] |
LR0.c | 122 kernel_base = xnmalloc (nsyms, sizeof *kernel_base); 123 kernel_items = xnmalloc (count, sizeof *kernel_items); 133 kernel_size = xnmalloc (nsyms, sizeof *kernel_size); 142 shiftset = xnmalloc (nsyms, sizeof *shiftset); 143 redset = xnmalloc (nrules, sizeof *redset); 145 shift_symbol = xnmalloc (nsyms, sizeof *shift_symbol);
|
output.c | 190 int *values = xnmalloc (ntokens, sizeof *values); 210 item_number *rhs = xnmalloc (nritems, sizeof *rhs); 211 unsigned int *prhs = xnmalloc (nrules, sizeof *prhs); 212 unsigned int *rline = xnmalloc (nrules, sizeof *rline); 213 symbol_number *r1 = xnmalloc (nrules, sizeof *r1); 214 unsigned int *r2 = xnmalloc (nrules, sizeof *r2); 215 int *dprec = xnmalloc (nrules, sizeof *dprec); 216 int *merger = xnmalloc (nrules, sizeof *merger); 269 symbol_number *values = xnmalloc (nstates, sizeof *values);
|
closure.c | 190 itemset = xnmalloc (n, sizeof *itemset);
|
reduce.c | 252 rule *rules_sorted = xnmalloc (nrules, sizeof *rules_sorted); 296 symbol_number *nontermmap = xnmalloc (nvars, sizeof *nontermmap); 312 symbol **symbols_sorted = xnmalloc (nvars, sizeof *symbols_sorted);
|
reader.c | 424 ritem = xnmalloc (nritems + 1, sizeof *ritem); 429 rules = xnmalloc (nrules, sizeof *rules);
|
conflicts.c | 310 symbol **errors = xnmalloc (ntokens + 1, sizeof *errors);
|
symtab.c | 622 token_translations = xnmalloc (max_user_token_number + 1,
|
/external/bison/lib/ |
xalloc.h | 49 void *xnmalloc (size_t n, size_t s);
|
xmalloc.c | 55 xnmalloc (size_t n, size_t s) function
|
/external/bison/ |
ChangeLog | [all...] |