Home
last modified time | relevance | path

Searched refs:mPollSize (Results 1 – 2 of 2) sorted by relevance

/system/netd/
DMDnsSdListener.cpp545 mPollSize = 10; in run()
547 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in run()
548 mPollRefs = (DNSServiceRef **)calloc(sizeof(DNSServiceRef *), mPollSize); in run()
596 ALOGD("MDnsSdListener::Monitor poll rescanning - size=%d, live=%d", mPollSize, mLiveCount); in rescan()
602 if (mPollSize <= mLiveCount) { in rescan()
603 mPollSize = mLiveCount + 5; in rescan()
606 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in rescan()
607 mPollRefs = (DNSServiceRef **)calloc(sizeof(DNSServiceRef *), mPollSize); in rescan()
609 memset(mPollFds, sizeof(struct pollfd) * mPollSize, 0); in rescan()
610 memset(mPollRefs, sizeof(DNSServiceRef *) * mPollSize, 0); in rescan()
DMDnsSdListener.h97 int mPollSize; variable