Searched refs:newCount (Results 1 - 2 of 2) sorted by relevance

/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsSupportsArray.cpp158 PRUint32 newCount = mArraySize + aGrowBy; // Minimum increase local
159 PRUint32 newSize = sizeof(mArray[0]) * newCount;
163 // newCount includes enough space for at least kGrowArrayBy new slots.
169 newCount = newSize / sizeof(mArray[0]);
175 mArray = new nsISupports*[newCount];
180 mArraySize = newCount;
/vbox/src/VBox/Main/src-server/
H A DMachineImpl.cpp1206 size_t newCount = Global::getMaxNetworkAdapters(aChipsetType); local
1208 if (newCount > oldCount)
1210 mNetworkAdapters.resize(newCount);
8933 size_t newCount = Global::getMaxNetworkAdapters(mHWData->mChipsetType);
8935 if (newCount > oldCount)
8937 mNetworkAdapters.resize(newCount);
8944 else if (newCount < oldCount)
8945 mNetworkAdapters.resize(newCount);

Completed in 2997 milliseconds