Home
last modified time | relevance | path

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

/system/netd/server/
DMDnsSdListener.cpp527 mPollSize = 10; in Monitor()
584 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in run()
585 mPollRefs = (DNSServiceRef **)calloc(sizeof(DNSServiceRef *), mPollSize); in run()
587 ((int)sizeof(struct pollfd)) * mPollSize); in run()
589 ((int)sizeof(DNSServiceRef *)) * mPollSize); in run()
638 ALOGD("MDnsSdListener::Monitor poll rescanning - size=%d, live=%d", mPollSize, mLiveCount); in rescan()
643 if (mPollSize <= mLiveCount) { in rescan()
644 mPollSize = mLiveCount + 5; in rescan()
647 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in rescan()
648 mPollRefs = (DNSServiceRef **)calloc(sizeof(DNSServiceRef *), mPollSize); in rescan()
[all …]
DMDnsSdListener.h102 int mPollSize; variable