Home
last modified time | relevance | path

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

/system/netd/server/
DMDnsSdListener.cpp519 mPollSize = 10; in Monitor()
592 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in run()
593 mPollRefs = (DNSServiceRef **)calloc(sizeof(DNSServiceRef *), mPollSize); in run()
595 ((int)sizeof(struct pollfd)) * mPollSize); in run()
597 ((int)sizeof(DNSServiceRef *)) * mPollSize); in run()
645 ALOGD("MDnsSdListener::Monitor poll rescanning - size=%d, live=%d", mPollSize, mLiveCount); in rescan()
650 if (mPollSize <= mLiveCount) { in rescan()
651 mPollSize = mLiveCount + 5; in rescan()
654 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in rescan()
655 mPollRefs = (DNSServiceRef **)calloc(sizeof(DNSServiceRef *), mPollSize); in rescan()
[all …]
DMDnsSdListener.h97 int mPollSize; variable