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

/vbox/src/libs/xpcom18a4/ipc/ipcd/util/public/
H A DipcMessageWriter.h85 PRBool EnsureCapacity(PRInt32 sizeNeeded) argument
87 return (mBuf && ((mBufPtr + sizeNeeded) <= mBufEnd)) ?
88 PR_TRUE : GrowCapacity(sizeNeeded);
90 PRBool GrowCapacity(PRInt32 sizeNeeded);
/vbox/src/libs/xpcom18a4/ipc/ipcd/util/src/
H A DipcMessageWriter.cpp102 PRBool ipcMessageWriter::GrowCapacity(PRInt32 sizeNeeded) argument
104 if (sizeNeeded < 0)
106 PRInt32 newCapacity = (mBufPtr - mBuf) + sizeNeeded;

Completed in 588 milliseconds