Home
last modified time | relevance | path

Searched refs:alloc2 (Results 1 – 10 of 10) sorted by relevance

/mirbsd/src/bin/mksh/
Dtree.c546 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()
Dmain.c525 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()
Dsh.h1468 (x).beg = alloc2((x).siz, sizeof(void *), ATEMP); \
1621 #define alloc2(m, n, ap) aresize2(NULL, (m), (n), (ap)) macro
Dsyn.c269 iops = alloc2((NUFILE + 1), sizeof(struct ioword *), ATEMP); in get_command()
Dhistrap.c596 history = alloc2(histsize, sizeof(char *), APERM); in init_histvec()
Dedit.c492 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()
Dlex.c1774 Lex_state *news = alloc2(STATE_BSIZE, sizeof(Lex_state), ATEMP); in push_state_i()
Dexec.c147 e->savefd = alloc2(NUFILE, sizeof(short), ATEMP); in execute()
Dfuncs.c2432 l->argv = alloc2(l->argc + 2, sizeof(char *), &l->area); in c_set()
/mirbsd/src/gnu/usr.bin/binutils/bfd/
Delflink.c2014 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()