Home
last modified time | relevance | path

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

/system/netd/server/
DMDnsSdListener.cpp523 mPollSize = 10; in Monitor()
596 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in run()
597 mPollRefs = (DNSServiceRef **)calloc(sizeof(DNSServiceRef *), mPollSize); in run()
599 ((int)sizeof(struct pollfd)) * mPollSize); in run()
601 ((int)sizeof(DNSServiceRef *)) * mPollSize); in run()
649 ALOGD("MDnsSdListener::Monitor poll rescanning - size=%d, live=%d", mPollSize, mLiveCount); in rescan()
654 if (mPollSize <= mLiveCount) { in rescan()
655 mPollSize = mLiveCount + 5; in rescan()
658 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in rescan()
659 mPollRefs = (DNSServiceRef **)calloc(sizeof(DNSServiceRef *), mPollSize); in rescan()
[all …]
DMDnsSdListener.h97 int mPollSize; variable