Searched refs:ckmalloc (Results 1 - 14 of 14) sorted by relevance

/netbsd-current/bin/sh/
H A Dmemalloc.h51 pointer ckmalloc(size_t);
H A Dmemalloc.c61 ckmalloc(size_t nbytes) function
95 p = ckmalloc(strlen(s) + 1);
139 sp = ckmalloc(sizeof(struct stack_block) - MINSIZE + blocksize);
H A Dinput.c423 sp = ckmalloc(sizeof (struct strpush));
555 parsefile->buf = ckmalloc(BUFSIZ);
607 pf = (struct parsefile *)ckmalloc(sizeof (struct parsefile));
H A Dalias.c78 ap = ckmalloc(sizeof (struct alias));
H A Dvar.c429 d = nameeq = ckmalloc(len);
519 vp = ckmalloc(sizeof (*vp));
855 list = ckmalloc(list_len * sizeof *list);
1102 lvp = ckmalloc(sizeof (struct localvar));
1105 p = ckmalloc(sizeof_optlist);
H A Doutput.c274 dest->buf = ckmalloc(dest->bufsize);
707 o = ckmalloc(sizeof(*o));
H A Dredir.c200 struct renamelist *rl = ckmalloc(sizeof(struct renamelist));
235 sv = ckmalloc(sizeof (struct redirtab));
672 fp = ckmalloc(sizeof (struct shell_fds));
H A Djobs.c1144 jobtab = ckmalloc(4 * sizeof jobtab[0]);
1146 jp = ckmalloc((njobs + 4) * sizeof jobtab[0]);
1177 jp->ps = ckmalloc(nprocs * sizeof (struct procstat));
H A Doptions.c383 ap = newparam = ckmalloc((nparam + 1) * sizeof *ap);
H A Dexec.c329 new = ckmalloc(i + ((char *)ap2 - (char *)argv));
990 cmdp = *pp = ckmalloc(sizeof (struct tblentry) - ARB
H A Dparser.c1311 ss = (VSS *)ckmalloc(sizeof (struct statestack));
1427 sstr = str = ckmalloc(savelen);
H A Dexpand.c1344 ifsp = (struct ifsregion *)ckmalloc(sizeof (struct ifsregion));
1524 expdir = ckmalloc(i < 2048 ? 2048 : i); /* XXX */
H A Deval.c826 (sys_path = ckmalloc(len + 5)) != NULL &&
/netbsd-current/bin/test/
H A Dtest.c197 extern void *ckmalloc(size_t);
212 static void *ckmalloc(size_t);
214 ckmalloc(size_t nbytes) function
705 groups = ckmalloc((maxgroups + 1) * sizeof(gid_t));

Completed in 294 milliseconds