Searched refs:mDNSPlatformMemAllocate (Results 1 - 7 of 7) sorted by relevance

/external/mdnsresponder/mDNSShared/
H A Ddnssd_clientshim.c248 x = (mDNS_DirectOP_Register *)mDNSPlatformMemAllocate(sizeof(*x) - sizeof(RDataBody) + size);
405 x = (mDNS_DirectOP_Browse *)mDNSPlatformMemAllocate(sizeof(*x));
492 x = (mDNS_DirectOP_Resolve *)mDNSPlatformMemAllocate(sizeof(*x));
644 x = (mDNS_DirectOP_QueryRecord *)mDNSPlatformMemAllocate(sizeof(*x));
734 x = (mDNS_DirectOP_GetAddrInfo *)mDNSPlatformMemAllocate(sizeof(*x));
H A DPlatformCommon.c134 DomainAuthInfo *info = (DomainAuthInfo*)mDNSPlatformMemAllocate(sizeof(*info));
H A Duds_daemon.c1898 ARListElem *ptr = mDNSPlatformMemAllocate(sizeof(*ptr));
1950 DNameListElem *new = mDNSPlatformMemAllocate(sizeof(DNameListElem));
/external/mdnsresponder/mDNSPosix/
H A DmDNSPosix.c1209 pChgRec = (IfChangeRec*) mDNSPlatformMemAllocate(sizeof *pChgRec);
1387 mDNSexport void * mDNSPlatformMemAllocate(mDNSu32 len) { return(malloc(len)); } function
/external/mdnsresponder/mDNSCore/
H A DuDNS.c18 * Elimate all mDNSPlatformMemAllocate/mDNSPlatformMemFree from this code -- the core code
140 *p = mDNSPlatformMemAllocate(sizeof(**p));
1083 tcpInfo->reply = mDNSPlatformMemAllocate(tcpInfo->replylen);
1240 info = (tcpInfo_t *)mDNSPlatformMemAllocate(sizeof(tcpInfo_t));
1608 ZoneData *zd = (ZoneData*)mDNSPlatformMemAllocate(sizeof(ZoneData));
1609 if (!zd) { LogMsg("ERROR: StartGetZoneData - mDNSPlatformMemAllocate failed"); return mDNSNULL; }
2295 *ptr = mDNSPlatformMemAllocate(sizeof(**ptr));
4683 *p = mDNSPlatformMemAllocate(sizeof(SearchListElem));
4720 ARListElem *arElem = mDNSPlatformMemAllocate(sizeof(ARListElem));
H A DmDNSEmbeddedAPI.h2526 // Note: mDNSPlatformMemAllocate/mDNSPlatformMemFree are only required for handling oversized resource records and unicast DNS.
2528 // are InlineCacheRDSize or less, then you can just make a simple mDNSPlatformMemAllocate() stub that always returns
2557 #define mDNSPlatformMemAllocate(X) mallocL(#X, X) macro
2559 extern void * mDNSPlatformMemAllocate (mDNSu32 len);
H A DmDNS.c195 AuthEntity *storage = mDNSPlatformMemAllocate(sizeof(AuthEntity));
263 if (namelen > InlineCacheGroupNameSize) ag->name = mDNSPlatformMemAllocate(namelen);
4126 r->resrec.rdata = (RData*)mDNSPlatformMemAllocate(sizeofRDataHeader + RDLength);
4146 if (namelen > InlineCacheGroupNameSize) cg->name = mDNSPlatformMemAllocate(namelen);
7316 AuthRecord *ar = mDNSPlatformMemAllocate(sizeof(AuthRecord) - sizeof(RDataBody) + RDLengthMem);
7738 *p = mDNSPlatformMemAllocate(sizeof(**p));

Completed in 1916 milliseconds