Home
last modified time | relevance | path

Searched refs:salloc (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/cmd/dc/
H A Ddc.c264 q = salloc(2); in commnds()
271 p = salloc(2); in commnds()
303 q = salloc(1); in commnds()
398 p = salloc(1); in commnds()
427 p = salloc(0); in commnds()
483 p = salloc(2); in commnds()
659 p = salloc((c + PTRSZ) * PTRSZ); in commnds()
714 q = salloc(1); /* uninitializd array elt prints as 0 */ in commnds()
750 p = salloc(0); in commnds()
786 p = salloc(0); in dcdiv()
[all …]
H A Ddc.h122 struct blk *salloc(int), *copy(struct blk *, int);
/titanic_41/usr/src/cmd/mailx/
H A Dstralloc.c68 salloc(unsigned size) in salloc() function
147 nptr = salloc(size); in srealloc()
H A Dcmd4.c75 msgvec = (int *) salloc((msgCount + 2) * sizeof *msgvec); in dopipe()
201 msgvec = (int *) salloc((msgCount + 2) * sizeof *msgvec); in loadmsg()
274 msgvec = (int *) salloc((msgCount + 2) * sizeof *msgvec); in field()
H A Dcmd2.c150 msgvec = (int *)salloc((msgCount + 2) * sizeof (*msgvec)); in save1()
225 msgvec = (int *)salloc((msgCount + 2) * sizeof (*msgvec)); in put1()
368 msgvec = (int *)salloc((msgCount + 2) * sizeof (*msgvec)); in swrite()
659 ring = (char **)salloc((count + 1) * sizeof (char *)); in retshow()
770 ring = (char **)salloc((count + 1) * sizeof (char *)); in igshow()
H A Dcmd3.c326 buf = (char *)salloc(strlen(reply2) + strlen(cp) + 2); in resp1()
451 newsubj = (char *)salloc((unsigned)(strlen(subj) + 5)); in reedit()
552 ap = (char **) salloc(s * sizeof *ap); in set()
619 ap = (char **) salloc(s * sizeof *ap); in group()
943 cp = (char *)salloc(s + 2); in Resp1()
H A Dtranslate.c60 cmd = (char *)salloc((unsigned)i); in translate()
H A Dnames.c71 np = (struct name *)salloc(sizeof (*np)); in nalloc()
166 top = (char *)salloc((unsigned)(++s)); in detract()
626 top = (char **)salloc((t + extra) * sizeof (char *)); in unpack()
H A Dsend.c288 buf = (char *)salloc((unsigned)(s+1)); in mail()
440 orig_to = strcpy((char *)salloc(strlen(hp->h_to)+1), hp->h_to); in mail1()
706 str = strcpy((char *)salloc(strlen(str)+1), str); in fmt()
H A Daux.c67 top = (char *)salloc((unsigned)(cp-str + 1)); in savestr()
440 nbufp = (char *)salloc(strlen(name)); in phrase()
H A Dcollect.c1086 msgvec = (int *) salloc((msgCount+1) * sizeof *msgvec); in forward()
1314 hf = (char**)salloc(sizeof(char*) * 2); in Xaddone()
1321 linebuf = (char *)salloc((unsigned)(strlen(news) + 1)); in Xaddone()
H A Doptim.c156 char *r = (char *)salloc(strlen(sys) + strlen(rest) + 2); in tackon()
/titanic_41/usr/src/cmd/mailx/hdr/
H A Ddef.h563 extern void *salloc(unsigned size);