Home
last modified time | relevance | path

Searched refs:Malloc (Results 1 – 25 of 43) sorted by relevance

12

/titanic_44/usr/src/cmd/lp/lib/filters/
H A Dconv.c230 if (!(dst = (TYPE *)Malloc((nitems + 1) * sizeof(TYPE)))) {
267 if (!(dst = (TEMPLATE *)Malloc((nitems + 1) * sizeof(TEMPLATE)))){
330 ret = Malloc(len + 1);
382 if (!(dst = (char **)Malloc((nitems + 1) * sizeof(char *)))) {
421 if (!(dst = (char **)Malloc((nitems + 1) * sizeof(char *)))) {
483 if (!(ret = q = Malloc(len + 1)))
H A Dputfilter.c109 pf = filters = (_FILTER *)Malloc(
/titanic_44/usr/src/cmd/lp/lib/lp/
H A Dgetlist.c92 if (!(sep = Malloc(len))) {
155 if (!(list = (char **)Malloc((n+2) * sizeof(char *)))) {
221 if (!(q = ret = Malloc(len + 1)))
H A Daddstring.c65 if (!(*dst = Malloc(len))) {
H A Dappendlist.c72 *plist = (char **)Malloc(2 * sizeof(char *));
H A Dsprintlist.c65 if (!(ret = Malloc(len))) {
H A Dduplist.c58 if (!(dst = (char **)Malloc((nitems + 1) * sizeof(char *)))) {
H A Daddlist.c81 *plist = (char **)Malloc(2 * sizeof(char *));
H A Dgetname.c90 logname = Malloc(10 + 1); in getname()
H A Dsop.c69 str = Malloc(size + add_size + 1); in sop_up_rest()
H A Dmakestr.c85 if (!(ret = Malloc(len + 1))) {
H A Dmakepath.c88 if (!(ret = Malloc(len))) {
H A Dtx.c84 zname = Malloc(ZONENAME_MAX + 1); in get_labeled_zonename()
/titanic_44/usr/src/cmd/lp/lib/msgs/
H A Dmwrite.c126 if ((p = (MQUE *)Malloc(sizeof(MQUE))) == NULL in mwrite()
127 || (p->dat = (struct strbuf *)Malloc(sizeof(struct strbuf))) == NULL in mwrite()
128 || (p->dat->buf = (char *)Malloc(size)) == NULL) in mwrite()
H A Dmlisten.c71 Connections = (MESG **) Malloc(ConsSize * MDSIZE); in mlisteninit()
72 PollFdList = (struct pollfd*) Malloc(ConsSize * sizeof(struct pollfd)); in mlisteninit()
320 if ((md = (MESG *)Malloc(MDSIZE)) == NULL) in mlisten()
544 if ((md->on_discon = (PTR_TO_VOID_FUNC_PTR) Malloc (size * sizeof(VOID_FUNC_PTR))) == NULL) in mon_discon()
H A Dmconnect.c120 if ((md = (MESG *)Malloc(MDSIZE)) == NULL)
144 if ((md = (MESG *)Malloc(MDSIZE)) == NULL)
H A Dmgetputm.c87 if ((MBG = (char *)Malloc(needsize)) == NULL)
132 if ((MBP = (char *)Malloc(needsize)) == NULL)
H A Dmcreate.c63 if ((md = (MESG *)Malloc(MDSIZE)) == NULL)
H A Dmdisconnect.c121 if ((msgbuf = (char *)Malloc((unsigned)size)))
/titanic_44/usr/src/cmd/lp/cmd/lpsched/
H A Dfaults.c194 msg = Malloc(strlen(PREFIX) + strlen(p->reason) + 2); in dial_problem()
206 msg = Malloc( in dial_problem()
H A Dmsgs.c225 Message = (char *)Malloc(MSGMAX); in init_messages()
/titanic_44/usr/src/cmd/prstat/
H A Dprutil.h51 extern void *Malloc(size_t);
/titanic_44/usr/src/cmd/lp/lib/access/
H A Dchange.c214 if (!(empty = (char **)Malloc(sizeof(char *)))) { in empty_list()
H A Dloadaccess.c142 list = (char **)Malloc((nalloc + 1) * sizeof(char *)); in _loadaccess()
/titanic_44/usr/src/cmd/lp/lib/printers/
H A Dputprinter.c229 if (!(q = newstty = Malloc(strlen(stty) + 1))) { in putprinter()
274 newstty = Malloc(strlen(stty) + 1 + strlen(speed) + 1); in putprinter()

12