Home
last modified time | relevance | path

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

12

/titanic_53/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_53/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 Dgetname.c90 logname = Malloc(10 + 1); in getname()
H A Daddlist.c81 *plist = (char **)Malloc(2 * sizeof(char *));
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_53/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_53/usr/src/boot/lib/libstand/
H A Dzalloc_malloc.c54 Malloc(size_t bytes, const char *file, int line) in Malloc() function
132 if ((res = Malloc(bytes, file, line)) != NULL) { in Calloc()
154 if ((res = Malloc(size, file, line)) != NULL) { in Realloc()
H A Dstand.h411 void *Malloc(size_t, const char *, int);
417 #define malloc(x) Malloc(x, __FILE__, __LINE__)
422 #define malloc(x) Malloc(x, NULL, 0)
/titanic_53/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()
/titanic_53/usr/src/cmd/prstat/
H A Dprutil.h51 extern void *Malloc(size_t);
/titanic_53/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()

12