Searched refs:alloc2 (Results 1 – 10 of 10) sorted by relevance
| /mirbsd/src/bin/mksh/ |
| D | tree.c | 546 rw = r->vars = alloc2(tw - (const char **)t->vars + 1, in tcopy() 560 r->args = (const char **)(rw = alloc2(tw - t->args + 1, in tcopy() 667 ior = alloc2(ior - iow + 1, sizeof(struct ioword *), ap); in iocopy()
|
| D | main.c | 525 l->argv = alloc2(l->argc + 2, sizeof(void *), APERM); in main_init() 1668 ntblp = alloc2(i, sizeof(struct tbl *), tp->areap); in tgrow() 1812 p = alloc2(i, sizeof(struct tbl *), ATEMP); in ktsort()
|
| D | sh.h | 1468 (x).beg = alloc2((x).siz, sizeof(void *), ATEMP); \ 1621 #define alloc2(m, n, ap) aresize2(NULL, (m), (n), (ap)) macro
|
| D | syn.c | 269 iops = alloc2((NUFILE + 1), sizeof(struct ioword *), ATEMP); in get_command()
|
| D | histrap.c | 596 history = alloc2(histsize, sizeof(char *), APERM); in init_histvec()
|
| D | edit.c | 492 alloc2(nwords, sizeof(struct path_order_info), ATEMP); in x_command_glob() 5476 x_tab = alloc2(X_NTABS, sizeof(*x_tab), AEDIT); in x_init() 5487 x_atab = alloc2(X_NTABS, sizeof(*x_atab), AEDIT); in x_init()
|
| D | lex.c | 1774 Lex_state *news = alloc2(STATE_BSIZE, sizeof(Lex_state), ATEMP); in push_state_i()
|
| D | exec.c | 147 e->savefd = alloc2(NUFILE, sizeof(short), ATEMP); in execute()
|
| D | funcs.c | 2432 l->argv = alloc2(l->argc + 2, sizeof(char *), &l->area); in c_set()
|
| /mirbsd/src/gnu/usr.bin/binutils/bfd/ |
| D | elflink.c | 2014 Elf_Internal_Rela *alloc2 = NULL; in _bfd_elf_link_read_relocs() local 2034 internal_relocs = alloc2 = bfd_malloc (size); in _bfd_elf_link_read_relocs() 2079 if (alloc2 != NULL) in _bfd_elf_link_read_relocs() 2080 free (alloc2); in _bfd_elf_link_read_relocs()
|