Home
last modified time | relevance | path

Searched refs:sizeofN (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/bin/ksh/
H A Dexpand.h69 vp__ = (void**) alloc(sizeofN(void*, n), ATEMP); \
78 sizeofN(void*, n*2), ATEMP); \
89 sizeofN(void*, XPsize(x)), ATEMP)
H A Dtable.c55 ntblp = (struct tbl**) alloc(sizeofN(struct tbl *, nsize), tp->areap);
188 p = (struct tbl **)alloc(sizeofN(struct tbl *, tp->size+1), ATEMP);
H A Dsh.h158 #define sizeofN(type, n) (sizeof(type) * (n)) macro
H A Dsyn.c218 iops = (struct ioword **) alloc(sizeofN(struct ioword *, NUFILE+1),
408 sizeofN(struct ioword *, iopn), ATEMP);
H A Dexec.c136 e->savefd = (short *) alloc(sizeofN(short, NUFILE), ATEMP);
138 memset(e->savefd, 0, sizeofN(short, NUFILE));
H A Demacs.c1482 x_tab = (Findex (*)[X_TABSZ]) alloc(sizeofN(*x_tab, X_NTABS), AEDIT); in x_init_emacs()
1492 x_atab = (char *(*)[X_TABSZ]) alloc(sizeofN(*x_atab, X_NTABS), AEDIT); in x_init_emacs()
H A Dc_sh.c655 l->argv = (char **) alloc(sizeofN(char *, l->argc+2), &l->area);