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

/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsValueArray.cpp152 nsValueArrayCount growBy = NSVALUEARRAY_LINEAR_GROWBY; local
159 growBy = PR_BIT(PR_CeilingLog2(count + 1)) - count;
163 reallocRes = (PRUint8*)PR_Malloc((count + growBy) * mBytesPerValue);
166 reallocRes = (PRUint8*)PR_Realloc(mValueArray, (count + growBy) * mBytesPerValue);
170 mCapacity += growBy;

Completed in 247 milliseconds