Searched refs:alloc2 (Results 1 - 9 of 9) sorted by relevance
/external/mksh/src/ |
H A D | tree.c | 502 rw = r->vars = alloc2(tw - (const char **)t->vars + 1, 516 r->args = (const char **)(rw = alloc2(tw - t->args + 1, 621 ior = alloc2(ior - iow + 1, sizeof(struct ioword *), ap);
|
H A D | main.c | 1502 ntblp = alloc2(i, sizeof(struct tbl *), tp->areap); 1503 /* multiplication cannot overflow: alloc2 checked that */ 1644 p = alloc2(i, sizeof(struct tbl *), ATEMP);
|
H A D | sh.h | 1334 XPinit_vp = alloc2((n), sizeof(void *), ATEMP); \ 1535 #define alloc2(m, n, ap) aresize2(NULL, (m), (n), (ap)) macro
|
H A D | histrap.c | 596 history = alloc2(histsize, sizeof(char *), APERM);
|
H A D | lex.c | 1804 Lex_state *news = alloc2(STATE_BSIZE, sizeof(Lex_state), ATEMP);
|
H A D | syn.c | 245 iops = alloc2((NUFILE + 1), sizeof(struct ioword *), ATEMP);
|
H A D | exec.c | 152 e->savefd = alloc2(NUFILE, sizeof(short), ATEMP);
|
H A D | edit.c | 419 alloc2(nwords, sizeof(struct path_order_info), ATEMP); 2505 x_tab = alloc2(X_NTABS, sizeof(*x_tab), AEDIT); 2516 x_atab = alloc2(X_NTABS, sizeof(*x_atab), AEDIT);
|
H A D | funcs.c | 2381 l->argv = alloc2(l->argc + 2, sizeof(char *), &l->area);
|
Completed in 156 milliseconds