Home | History | Annotate | Download | only in mDNSShared

Lines Matching refs:malloc

248 	newSource = ( EventSource*) malloc( sizeof *newSource );
409 // returned value is allocated with Malloc, and contains sufficient extra
456 pkt = malloc(allocsize);
457 require_action_quiet( pkt, exit, err = mStatus_NoMemoryErr; LogErr( "RecvPacket", "malloc" ) );
790 cr = malloc(size);
791 if (!cr) { LogErr("CopyCacheRecord", "malloc"); return NULL; }
812 new = malloc(sizeof(RRTableElem *) * newnbuckets);
813 if (!new) { LogErr("RehashTable", "malloc"); return; }
1146 d->table = malloc(sizeof(RRTableElem *) * LEASETABLE_INIT_NBUCKETS);
1147 if (!d->table) { LogErr("InitLeaseTable", "malloc"); return -1; }
1452 tmp = malloc(allocsize);
1453 if (!tmp) { LogErr("UpdateLeaseTable", "malloc"); goto cleanup; }
1483 reply = malloc(sizeof(*reply));
1484 if (!reply) { LogErr("FormatLeaseReply", "malloc"); return NULL; }
1535 reply = malloc(sizeof(*reply));
1623 reply = malloc( sizeof( *reply ) );
1632 LogErr("HandleRequest", "malloc");
1995 args = malloc(sizeof(*args));
1996 if (!args) { LogErr("GenLLQEvents", "malloc"); return; }
2065 a = malloc(sizeof(*a));
2066 if (!a) { LogErr("SetAnswerList", "malloc"); return; }
2090 e = malloc(sizeof(*e));
2091 if (!e) { LogErr("NewLLQ", "malloc"); return NULL; }
2576 context = malloc( sizeof( UDPContext ) );
2577 require_action( context, exit, err = mStatus_NoMemoryErr ; LogErr( "RecvUDPMessage", "malloc" ) );
2815 context = ( TCPContext* ) malloc( sizeof( TCPContext ) );
2816 require_action( context, exit, err = mStatus_NoMemoryErr; LogErr( "AcceptTCPConnection", "malloc" ) );
3013 elem = ( DNameListElem* ) malloc( sizeof( DNameListElem ) );
3033 d = malloc(sizeof(*d));
3034 if (!d) { LogErr("main", "malloc"); exit(1); }