Searched refs:Malloc (Results 1 – 25 of 43) sorted by relevance
12
230 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)))
109 pf = filters = (_FILTER *)Malloc(
92 if (!(sep = Malloc(len))) {155 if (!(list = (char **)Malloc((n+2) * sizeof(char *)))) {221 if (!(q = ret = Malloc(len + 1)))
65 if (!(*dst = Malloc(len))) {
72 *plist = (char **)Malloc(2 * sizeof(char *));
65 if (!(ret = Malloc(len))) {
58 if (!(dst = (char **)Malloc((nitems + 1) * sizeof(char *)))) {
81 *plist = (char **)Malloc(2 * sizeof(char *));
90 logname = Malloc(10 + 1); in getname()
69 str = Malloc(size + add_size + 1); in sop_up_rest()
85 if (!(ret = Malloc(len + 1))) {
88 if (!(ret = Malloc(len))) {
84 zname = Malloc(ZONENAME_MAX + 1); in get_labeled_zonename()
126 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()
71 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()
120 if ((md = (MESG *)Malloc(MDSIZE)) == NULL)144 if ((md = (MESG *)Malloc(MDSIZE)) == NULL)
87 if ((MBG = (char *)Malloc(needsize)) == NULL)132 if ((MBP = (char *)Malloc(needsize)) == NULL)
63 if ((md = (MESG *)Malloc(MDSIZE)) == NULL)
121 if ((msgbuf = (char *)Malloc((unsigned)size)))
194 msg = Malloc(strlen(PREFIX) + strlen(p->reason) + 2); in dial_problem()206 msg = Malloc( in dial_problem()
225 Message = (char *)Malloc(MSGMAX); in init_messages()
51 extern void *Malloc(size_t);
214 if (!(empty = (char **)Malloc(sizeof(char *)))) { in empty_list()
142 list = (char **)Malloc((nalloc + 1) * sizeof(char *)); in _loadaccess()
229 if (!(q = newstty = Malloc(strlen(stty) + 1))) { in putprinter()274 newstty = Malloc(strlen(stty) + 1 + strlen(speed) + 1); in putprinter()