Searched refs:mSegmentSize (Results 1 - 4 of 4) sorted by relevance
/vbox/src/libs/xpcom18a4/xpcom/io/ |
H A D | nsSegmentedBuffer.h | 48 : mSegmentSize(0), mMaxSize(0), 83 inline PRUint32 GetSegmentSize() { return mSegmentSize; } 85 inline PRUint32 GetSize() { return GetSegmentCount() * mSegmentSize; } 106 PRUint32 mSegmentSize;
|
H A D | nsStorageStream.h | 83 PRUint32 mSegmentSize; // All segments, except possibly the last, are of this size member in class:nsStorageStream 85 PRUint32 mSegmentSizeLog2; // log2(mSegmentSize) 95 PRUint32 SegOffset(PRUint32 aPosition) {return aPosition & (mSegmentSize - 1);}
|
H A D | nsStorageStream.cpp | 73 : mSegmentedBuffer(0), mSegmentSize(0), mWriteInProgress(PR_FALSE), 108 mSegmentSize = segmentSize; 112 if (mSegmentSize != ((PRUint32)1 << mSegmentSizeLog2)) 133 mSegmentedBuffer->ReallocLastSegment(mSegmentSize); 199 mSegmentEnd = mWriteCursor + mSegmentSize; 315 mSegmentEnd = mWriteCursor + mSegmentSize; 335 mSegmentSize(aSegmentSize), mLogicalCursor(0) 360 PRUint32 mSegmentSize; // All segments, except the last, are of this size member in class:nsStorageInputStream 364 PRUint32 SegOffset(PRUint32 aPosition) {return aPosition & (mSegmentSize - 1);} 374 nsStorageInputStream *inputStream = new nsStorageInputStream(this, mSegmentSize); [all...] |
H A D | nsSegmentedBuffer.cpp | 47 mSegmentSize = segmentSize; 103 char* seg = (char*)mSegAllocator->Alloc(mSegmentSize);
|
Completed in 46 milliseconds