Home
last modified time | relevance | path

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

1234

/titanic_41/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)))
/titanic_41/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))) {
/titanic_41/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_mem.c47 Malloc( in Malloc() function
68 return (memset(Malloc(s), 0, s)); in Zalloc()
H A Dmed_hash.c39 #define Malloc bkmem_alloc macro
74 if ((*cp = (Cache *) Malloc(sizeof (**cp))) == NULL) { in init_cache()
78 (*cp)->bp = (Bucket *) Malloc(sizeof (*(*cp)->bp) * hsz); in init_cache()
133 (Item **) Malloc(sizeof (*bp->itempp) * cp->bsz); in add_cache()
141 (Item **) Malloc(sizeof (*bp->itempp) * in add_cache()
H A Dmed_db.c136 if ((itemp = (Item *) Malloc(sizeof (*itemp))) == NULL) { in add_key()
141 if ((tmedp = itemp->key = Malloc(len)) == NULL) { in add_key()
149 tmedp->med_caller = Malloc(strlen(medp->med_caller) + 1); in add_key()
158 tmedp->med_setname = Malloc(strlen(medp->med_setname) + 1); in add_key()
169 if ((itemp->data = Malloc(sizeof (int))) == NULL) { in add_key()
300 if ((rec_buf = Malloc(rec_size)) == NULL) in alloc_rec_buf()
/titanic_41/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)
/titanic_41/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_mem.c41 Malloc( in Malloc() function
59 return (memset(Malloc(s), 0, s)); in Zalloc()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_tab.c87 linep->argv = Malloc(argc * sizeof (*linep->argv)); in realloc_argv()
119 tabp->lines = Malloc(nlines * sizeof (*tabp->lines)); in realloc_lines()
159 context = Malloc(len); in parse_tab()
277 tabp->data = Malloc(tabp->total); in meta_tab_parse()
H A Dmeta_init.c102 p = Malloc(strlen(uname) + 2 in meta_cook_syntax()
107 p = Malloc(1 + strlen(argv[0]) + 1 + 1); in meta_cook_syntax()
255 p = Malloc(len + 3); in meta_init_make_device()
467 p = Malloc(1 + strlen(uname) + 1 + 1); in meta_init_name()
H A Dmeta_mem.c84 Malloc( in Malloc() function
121 return (memset(Malloc(s), 0, s)); in Zalloc()
H A Dmeta_smf.c315 p = Malloc(sz); in online()
321 p = Malloc(sz); in online()
/titanic_41/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_41/usr/src/cmd/prstat/
H A Dprutil.h51 extern void *Malloc(size_t);

1234