Searched defs:segmentSize (Results 1 - 5 of 5) sorted by relevance

/vbox/src/libs/xpcom18a4/xpcom/io/
H A DnsSegmentedBuffer.cpp42 nsSegmentedBuffer::Init(PRUint32 segmentSize, PRUint32 maxSize, argument
47 mSegmentSize = segmentSize;
H A DnsStorageStream.cpp101 nsStorageStream::Init(PRUint32 segmentSize, PRUint32 maxSize, argument
108 mSegmentSize = segmentSize;
109 mSegmentSizeLog2 = PR_FloorLog2(segmentSize);
115 return mSegmentedBuffer->Init(segmentSize, maxSize, segmentAllocator);
548 NS_NewStorageStream(PRUint32 segmentSize, PRUint32 maxSize, nsIStorageStream **result) argument
556 nsresult rv = storageStream->Init(segmentSize, maxSize, nsnull);
H A DnsPipe3.cpp337 PRUint32 segmentSize,
345 if (segmentSize == 0)
346 segmentSize = DEFAULT_SEGMENT_SIZE;
351 PRUint32 maxCount = PRUint32(-1) / segmentSize;
355 nsresult rv = mBuffer.Init(segmentSize, segmentSize * segmentCount, segmentAlloc);
1245 PRUint32 segmentSize,
1262 segmentSize,
335 Init(PRBool nonBlockingIn, PRBool nonBlockingOut, PRUint32 segmentSize, PRUint32 segmentCount, nsIMemory *segmentAlloc) argument
1241 NS_NewPipe2(nsIAsyncInputStream **pipeIn, nsIAsyncOutputStream **pipeOut, PRBool nonBlockingInput, PRBool nonBlockingOutput, PRUint32 segmentSize, PRUint32 segmentCount, nsIMemory *segmentAlloc) argument
/vbox/src/libs/xpcom18a4/xpcom/obsolete/
H A DnsIFileStream.cpp108 nsresult AllocateBuffers(PRUint32 segmentSize, PRUint32 maxSize);
557 nsresult FileImpl::AllocateBuffers(PRUint32 segmentSize, PRUint32 maxBufSize) argument
560 nsresult rv = mOutBuffer.Init(segmentSize, maxBufSize);
/vbox/src/libs/xpcom18a4/nsprpub/lib/msgc/src/
H A Dprmsgc.c139 static PRInt32 segmentSize = SEGMENT_SIZE; variable
469 if (requestedSize > segmentSize) {
1149 PRInt32 bytes, chunkSize, segmentSize, totalFree; local
1158 segmentSize = sp->limit - sp->base;
1161 PR_ASSERT(segmentSize > 0);
1235 if (chunkSize == segmentSize) {
1263 PR_ASSERT(totalFree <= segmentSize);
2933 GrowHeap(PR_MAX(bytes, segmentSize));
2944 if (!GrowHeap(PR_MAX(bytes, segmentSize))) goto lost;
3167 GrowHeap(PR_MAX(bytes, segmentSize));
[all...]

Completed in 85 milliseconds