Home
last modified time | relevance | path

Searched refs:ckmalloc (Results 1 – 15 of 15) sorted by relevance

/minix3/bin/sh/
H A Dmemalloc.c59 ckmalloc(size_t nbytes) in ckmalloc() function
93 p = ckmalloc(strlen(s) + 1); in savestr()
137 sp = ckmalloc(sizeof(struct stack_block) - MINSIZE + blocksize); in stalloc()
H A Dinput.c350 sp = ckmalloc(sizeof (struct strpush)); in pushstring()
437 parsefile->buf = ckmalloc(BUFSIZ); in setinputfd()
443 parsefile->buf = ckmalloc(BUFSIZ); in setinputfd()
482 pf = (struct parsefile *)ckmalloc(sizeof (struct parsefile)); in pushfile()
H A Dalias.c82 ap = ckmalloc(sizeof (struct alias)); in setalias()
107 ap->val = ckmalloc(len + 2); in setalias()
H A Dvar.c265 d = nameeq = ckmalloc(len); in setvar()
323 vp = ckmalloc(sizeof (*vp)); in setvareq()
538 list = ckmalloc(list_len * sizeof *list); in showvars()
643 lvp = ckmalloc(sizeof (struct localvar)); in mklocal()
646 p = ckmalloc(sizeof_optlist); in mklocal()
H A Dmemalloc.h50 pointer ckmalloc(size_t);
H A Dredir.c122 sv = ckmalloc(sizeof (struct redirtab)); in redirect()
H A Dnodes.c.pat77 funcblock = ckmalloc(funcblocksize + funcstringsize);
H A Dexec.c272 new = ckmalloc(i + ((char *)ap2 - (char *)argv)); in execinterp()
846 cmdp = *pp = ckmalloc(sizeof (struct tblentry) - ARB in cmdlookup()
H A Doptions.c293 ap = newparam = ckmalloc((nparam + 1) * sizeof *ap); in setparam()
H A Djobs.c835 jobtab = ckmalloc(4 * sizeof jobtab[0]); in makejob()
837 jp = ckmalloc((njobs + 4) * sizeof jobtab[0]); in makejob()
865 jp->ps = ckmalloc(nprocs * sizeof (struct procstat)); in makejob()
H A Doutput.c193 dest->buf = ckmalloc(dest->bufsize); in emptyoutbuf()
H A Dexpand.c972 ifsp = (struct ifsregion *)ckmalloc(sizeof (struct ifsregion)); in recordregion()
1135 expdir = ckmalloc(i < 2048 ? 2048 : i); /* XXX */ in expandmeta()
H A Deval.c641 (sys_path = ckmalloc(len + 5)) != NULL && in syspath()
H A Dparser.c1422 str = ckmalloc(savelen); in readtoken1()
/minix3/bin/test/
H A Dtest.c176 extern void *ckmalloc(size_t);
191 static void *ckmalloc(size_t);
193 ckmalloc(size_t nbytes) in ckmalloc() function
521 groups = ckmalloc((maxgroups + 1) * sizeof(gid_t)); in test_access()