Searched refs:InlineCacheRDSize (Results 1 - 3 of 3) sorted by relevance

/external/mdnsresponder/mDNSShared/
H A Ddnsextd.c789 if (orig->resrec.rdlength > InlineCacheRDSize) size += orig->resrec.rdlength - InlineCacheRDSize;
1451 if (rr->rdlength > InlineCacheRDSize) allocsize += (rr->rdlength - InlineCacheRDSize);
1454 memcpy(&tmp->rr, &lcr.r, sizeof(CacheRecord) + rr->rdlength - InlineCacheRDSize);
/external/mdnsresponder/mDNSCore/
H A DmDNSEmbeddedAPI.h804 // InlineCacheRDSize is 68
816 #define InlineCacheRDSize 68 macro
877 mDNSu16 MaxRDLength; // Storage allocated for data (may be greater than InlineCacheRDSize if additional storage follows this object)
879 mDNSu8 data[InlineCacheRDSize];
1353 mDNSu8 _extradata[MaximumRDSize-InlineCacheRDSize]; // Glue on the necessary number of extra bytes
2528 // are InlineCacheRDSize or less, then you can just make a simple mDNSPlatformMemAllocate() stub that always returns
2529 // NULL. InlineCacheRDSize is a compile-time constant, which is set by default to 68. If you need to handle records
H A DmDNS.c4124 if (RDLength > InlineCacheRDSize) // If RDLength is too big, allocate extra storage
6363 //if (RDLength > InlineCacheRDSize)
6364 // LogInfo("Rdata len %4d > InlineCacheRDSize %d %s", RDLength, InlineCacheRDSize, CRDisplayString(m, &m->rec.r));
6378 if (rr->resrec.rdata == (RData*)&rr->smallrdatastorage && RDLength > InlineCacheRDSize)
6379 LogMsg("rr->resrec.rdata == &rr->rdatastorage but length > InlineCacheRDSize %##s", m->rec.r.resrec.name->c);
6380 else if (rr->resrec.rdata != (RData*)&rr->smallrdatastorage && RDLength <= InlineCacheRDSize)
6381 LogMsg("rr->resrec.rdata != &rr->rdatastorage but length <= InlineCacheRDSize %##s", m->rec.r.resrec.name->c);
6382 if (RDLength > InlineCacheRDSize)
6824 if (m->rec.r.resrec.rdlength > InlineCacheRDSize)
[all...]

Completed in 60 milliseconds