/vbox/src/libs/xpcom18a4/xpcom/io/ |
H A D | nsScriptableInputStream.cpp | 65 nsScriptableInputStream::Read(PRUint32 aCount, char **_retval) { argument 75 count = PR_MIN(count, aCount);
|
H A D | nsByteArrayInputStream.cpp | 70 nsByteArrayInputStream::Read (char* aBuffer, PRUint32 aCount, PRUint32 *aNumRead) argument 78 if (aCount == 0 || _pos == _nbytes) 86 if (aCount > _nbytes - _pos) 93 memcpy (aBuffer, &_buffer[_pos], *aNumRead = aCount); 94 _pos += aCount; 101 nsByteArrayInputStream::ReadSegments(nsWriteSegmentFun writer, void * aClosure, PRUint32 aCount, PRUint32 *aNumRead) argument 109 if (aCount == 0 || _pos == _nbytes) 113 PRUint32 readCount = PR_MIN(aCount, (_nbytes - _pos));
|
H A D | nsMultiplexInputStream.cpp | 77 PRUint32 aCount, PRUint32 *aWriteCount); 98 nsMultiplexInputStream::GetCount(PRUint32 *aCount) argument 100 mStreams.Count(aCount); 186 nsMultiplexInputStream::Read(char * aBuf, PRUint32 aCount, PRUint32 *_retval) argument 194 while (mCurrentStream < len && aCount) { 197 rv = stream->Read(aBuf, aCount, &read); 212 NS_ASSERTION(aCount >= read, "Read more than requested"); 214 aCount -= read; 227 PRUint32 aCount, PRUint32 *_retval) 241 while (mCurrentStream < len && aCount) { 226 ReadSegments(nsWriteSegmentFun aWriter, void *aClosure, PRUint32 aCount, PRUint32 *_retval) argument 276 ReadSegCb(nsIInputStream* aIn, void* aClosure, const char* aFromRawSegment, PRUint32 aToOffset, PRUint32 aCount, PRUint32 *aWriteCount) argument [all...] |
H A D | nsStringStream.cpp | 205 NS_IMETHODIMP nsStringInputStream::Read(char* aBuf, PRUint32 aCount, argument 219 if ((PRInt32)aCount > maxCount) 222 bytesRead = aCount; 228 if (bytesRead < (PRInt32)aCount) 236 PRUint32 aCount, PRUint32 * result) 244 if ((PRInt32)aCount > maxCount) 245 aCount = maxCount; 247 0, aCount, result); 235 ReadSegments(nsWriteSegmentFun writer, void * closure, PRUint32 aCount, PRUint32 * result) argument
|
H A D | nsUnicharInputStream.cpp | 60 PRUint32 aCount, 64 PRUint32 aCount, PRUint32* aReadCount); 91 PRUint32 aCount, 101 if (amount > aCount) { 102 amount = aCount; 113 PRUint32 aCount, PRUint32 *aReadCount) 119 aCount = PR_MIN(mString->Length() - mPos, aCount); 121 while (aCount) { 123 totalBytesWritten, aCount, 90 Read(PRUnichar* aBuf, PRUint32 aCount, PRUint32 *aReadCount) argument 111 ReadSegments(nsWriteUnicharSegmentFun aWriter, void* aClosure, PRUint32 aCount, PRUint32 *aReadCount) argument 245 Read(PRUnichar* aBuf, PRUint32 aCount, PRUint32 *aReadCount) argument 271 ReadSegments(nsWriteUnicharSegmentFun aWriter, void* aClosure, PRUint32 aCount, PRUint32 *aReadCount) argument [all...] |
H A D | nsStorageStream.cpp | 174 nsStorageStream::Write(const char *aBuffer, PRUint32 aCount, PRUint32 *aNumWritten) argument 184 ("nsStorageStream [%x] Write mWriteCursor=%x mSegmentEnd=%x aCount=%d\n", 185 this, mWriteCursor, mSegmentEnd, aCount)); 187 remaining = aCount; 217 *aNumWritten = aCount - remaining; 404 nsStorageInputStream::Read(char* aBuffer, PRUint32 aCount, PRUint32 *aNumRead) argument 409 remainingCapacity = aCount; 431 *aNumRead = aCount - remainingCapacity; 444 nsStorageInputStream::ReadSegments(nsWriteSegmentFun writer, void * closure, PRUint32 aCount, PRUint32 *aNumRead) argument 449 remainingCapacity = aCount; [all...] |
H A D | nsBinaryStream.cpp | 70 nsBinaryOutputStream::Write(const char *aBuf, PRUint32 aCount, PRUint32 *aActualBytes) argument 72 return mOutputStream->Write(aBuf, aCount, aActualBytes); 96 nsBinaryOutputStream::WriteFully(const char *aBuf, PRUint32 aCount) argument 101 rv = mOutputStream->Write(aBuf, aCount, &bytesWritten); 103 if (bytesWritten != aCount) 302 nsBinaryInputStream::Read(char* aBuffer, PRUint32 aCount, PRUint32 *aNumRead) argument 304 return mInputStream->Read(aBuffer, aCount, aNumRead); 325 PRUint32 aCount, 334 aCount, aWriteCount); 449 PRUint32 aCount, 321 ReadSegmentForwardingThunk(nsIInputStream* aStream, void *aClosure, const char* aFromSegment, PRUint32 aToOffset, PRUint32 aCount, PRUint32 *aWriteCount) argument 445 WriteSegmentToCString(nsIInputStream* aStream, void *aClosure, const char* aFromSegment, PRUint32 aToOffset, PRUint32 aCount, PRUint32 *aWriteCount) argument 506 WriteSegmentToString(nsIInputStream* aStream, void *aClosure, const char* aFromSegment, PRUint32 aToOffset, PRUint32 aCount, PRUint32 *aWriteCount) argument [all...] |
H A D | nsFastLoadFile.cpp | 534 nsFastLoadFileReader::Read(char* aBuffer, PRUint32 aCount, PRUint32 *aBytesRead) argument 586 rv = mInputStream->Read(aBuffer, aCount, aBytesRead); 603 PRUint32 aCount, PRUint32 *aResult) 610 nsresult rv = nsBinaryInputStream::ReadSegments(aWriter, aClosure, aCount, 602 ReadSegments(nsWriteSegmentFun aWriter, void* aClosure, PRUint32 aCount, PRUint32 *aResult) argument
|
/vbox/src/VBox/Main/include/ |
H A D | PerformanceImpl.h | 80 STDMETHOD(COMGETTER(Count)) (ULONG *aCount); 150 ULONG aPeriod, ULONG aCount, member in class:PerformanceCollector
|
/vbox/src/libs/xpcom18a4/xpcom/ds/ |
H A D | nsCOMArray.h | 54 nsCOMArray_base(PRInt32 aCount) : mArray(aCount) {} argument 143 nsCOMArray(PRInt32 aCount) : nsCOMArray_base(aCount) {} argument
|
H A D | nsInt64.h | 197 nsTInt64& operator <<=(int aCount) { argument 198 LL_SHL(mValue, mValue, aCount); 205 nsTInt64& operator >>=(int aCount) { argument 206 LL_SHR(mValue, mValue, aCount); 255 operator <<(int aCount) const { 256 return nsTInt64(*this) <<= aCount; 263 operator >>(int aCount) const { 264 return nsTInt64(*this) >>= aCount;
|
H A D | nsSupportsArray.cpp | 465 nsSupportsArray::RemoveElementsAt(PRUint32 aIndex, PRUint32 aCount) argument 467 if (aIndex + aCount <= mCount) { 468 for (PRUint32 i = 0; i < aCount; i++) 470 mCount -= aCount; 473 ::memmove(mArray + aIndex, mArray + aIndex + aCount,
|
H A D | nsVoidArray.cpp | 139 nsVoidArray::SetArray(Impl *newImpl, PRInt32 aSize, PRInt32 aCount, PRBool owner) argument 144 mImpl->mCount = aCount; 297 nsVoidArray::nsVoidArray(PRInt32 aCount) argument 307 SizeTo(aCount); 558 PRBool nsVoidArray::RemoveElementsAt(PRInt32 aIndex, PRInt32 aCount) argument 568 if (aCount + aIndex > oldCount) 569 aCount = oldCount - aIndex; 573 if (aIndex < (oldCount - aCount)) 575 memmove(mImpl->mArray + aIndex, mImpl->mArray + aIndex + aCount, 576 (oldCount - (aIndex + aCount)) * sizeo 724 nsStringArray(PRInt32 aCount) argument 929 nsCStringArray(PRInt32 aCount) argument 1426 RemoveElementsAt(PRInt32 aIndex, PRInt32 aCount) argument [all...] |
/vbox/src/libs/xpcom18a4/xpcom/tests/ |
H A D | TestArray.cpp | 129 void FillArray(nsISupportsArray* aArray, PRInt32 aCount) argument 132 for (index = 0; index < aCount; index++) {
|
/vbox/src/VBox/Frontends/VirtualBox/src/widgets/ |
H A D | UISpecialControls.cpp | 242 UIRoundRectSegmentedButton::UIRoundRectSegmentedButton(QWidget *pParent, int aCount) argument 248 for (int i=0; i < aCount; ++i)
|
/vbox/src/libs/xpcom18a4/java/src/ |
H A D | nsFileStreams.cpp | 311 nsFileInputStream::Read(char* aBuf, PRUint32 aCount, PRUint32* aResult) argument 317 PRInt32 bytesRead = PR_Read(mFD, aBuf, aCount); 340 PRUint32 aCount, PRUint32* aResult) 339 ReadSegments(nsWriteSegmentFun aWriter, void* aClosure, PRUint32 aCount, PRUint32* aResult) argument
|
/vbox/src/libs/xpcom18a4/xpcom/glue/standalone/ |
H A D | nsXPCOMGlue.cpp | 320 NS_StringSetData(nsAString &aStr, const PRUnichar *aBuf, PRUint32 aCount) argument 325 return xpcomFunctions.stringSetData(aStr, aBuf, aCount); 330 const PRUnichar *aBuf, PRUint32 aCount) 334 return xpcomFunctions.stringSetDataRange(aStr, aCutStart, aCutLength, aBuf, aCount); 380 NS_CStringSetData(nsACString &aStr, const char *aBuf, PRUint32 aCount) argument 384 return xpcomFunctions.cstringSetData(aStr, aBuf, aCount); 389 const char *aBuf, PRUint32 aCount) 393 return xpcomFunctions.cstringSetDataRange(aStr, aCutStart, aCutLength, aBuf, aCount); 329 NS_StringSetDataRange(nsAString &aStr, PRUint32 aCutStart, PRUint32 aCutLength, const PRUnichar *aBuf, PRUint32 aCount) argument 388 NS_CStringSetDataRange(nsACString &aStr, PRUint32 aCutStart, PRUint32 aCutLength, const char *aBuf, PRUint32 aCount) argument
|
/vbox/src/VBox/Main/src-server/ |
H A D | PerformanceImpl.cpp | 364 ULONG aCount, variable 382 " count to %u for %s\n", aPeriod, aCount, (*it)->getName())); 383 (*it)->init(aPeriod, aCount); 384 if (aPeriod == 0 || aCount == 0) 875 STDMETHODIMP PerformanceMetric::COMGETTER(Count)(ULONG *aCount) argument 877 *aCount = m.count;
|
H A D | ApplianceImpl.cpp | 1375 HRESULT VirtualSystemDescription::getCount(ULONG *aCount) argument 1377 if (!aCount) 1382 *aCount = (ULONG)m->maDescriptions.size();
|
H A D | HostImpl.cpp | 885 HRESULT Host::getProcessorCount(ULONG *aCount) argument 889 *aCount = RTMpGetPresentCount(); 899 HRESULT Host::getProcessorOnlineCount(ULONG *aCount) argument 903 *aCount = RTMpGetOnlineCount(); 913 HRESULT Host::getProcessorCoreCount(ULONG *aCount) argument 917 *aCount = RTMpGetPresentCoreCount(); 927 HRESULT Host::getProcessorOnlineCoreCount(ULONG *aCount) argument 931 *aCount = RTMpGetOnlineCoreCount();
|
/vbox/src/libs/xpcom18a4/xpcom/obsolete/ |
H A D | nsIFileStream.cpp | 81 NS_IMETHOD Read(char* aBuf, PRUint32 aCount, PRUint32 *aReadCount); 86 NS_IMETHOD Write(const char* aBuf, PRUint32 aCount, PRUint32 *aWriteCount); 361 NS_IMETHODIMP FileImpl::Read(char* aBuf, PRUint32 aCount, PRUint32 *aReadCount) argument 374 PRInt32 bytesRead = PR_Read(mFileDesc, aBuf, aCount); 397 NS_IMETHODIMP FileImpl::Write(const char* aBuf, PRUint32 aCount, PRUint32 *aWriteCount) argument 409 std::cout.write(aBuf, aCount); 410 *aWriteCount = aCount; 428 while (aCount > 0) 448 if (aCount < currentWrite) 449 currentWrite = aCount; [all...] |
/vbox/src/libs/xpcom18a4/xpcom/string/src/ |
H A D | nsStringObsolete.cpp | 90 * @param aCount tells us how many characters to iterate through (which may be different than aLength); -1 means use full length. 94 FindChar1(const char* aDest,PRUint32 aDestLength,PRInt32 anOffset,const PRUnichar aChar,PRInt32 aCount) { argument 99 if(aCount < 0) 100 aCount = (PRInt32)aDestLength; 107 if(0<aCount) { 110 const char* last= left+aCount; 139 * @param aCount tells us how many characters to iterate through (which may be different than aLength); -1 means use full length. 143 FindChar2(const PRUnichar* aDest,PRUint32 aDestLength,PRInt32 anOffset,const PRUnichar aChar,PRInt32 aCount) { argument 148 if(aCount < 0) 149 aCount 188 RFindChar1(const char* aDest,PRUint32 aDestLength,PRInt32 anOffset,const PRUnichar aChar,PRInt32 aCount) argument 234 RFindChar2(const PRUnichar* aDest,PRUint32 aDestLength,PRInt32 anOffset,const PRUnichar aChar,PRInt32 aCount) argument 288 Compare1To1(const char* aStr1,const char* aStr2,PRUint32 aCount,PRBool aIgnoreCase) argument 318 Compare2To2(const PRUnichar* aStr1,const PRUnichar* aStr2,PRUint32 aCount) argument 358 Compare2To1(const PRUnichar* aStr1,const char* aStr2,PRUint32 aCount,PRBool aIgnoreCase) argument 408 Compare1To2(const char* aStr1,const PRUnichar* aStr2,PRUint32 aCount,PRBool aIgnoreCase) argument [all...] |
/vbox/src/VBox/Main/src-client/ |
H A D | MouseImpl.cpp | 882 * @param aCount Number of contacts. 886 HRESULT Mouse::putEventMultiTouch(LONG aCount, 890 LogRel3(("%s: aCount %d(actual %d), aScanTime %u\n", 891 __FUNCTION__, aCount, aContacts.size(), aScanTime)); 895 if ((LONG)aContacts.size() >= aCount) 897 const LONG64 *paContacts = aCount > 0? &aContacts.front(): NULL; 899 rc = i_putEventMultiTouch(aCount, paContacts, aScanTime); 913 * @param aCount Number of contacts. 917 HRESULT Mouse::putEventMultiTouchString(LONG aCount, argument 922 NOREF(aCount); 933 i_putEventMultiTouch(LONG aCount, const LONG64 *paContacts, ULONG aScanTime) argument [all...] |
/vbox/src/VBox/Frontends/VBoxSDL/ |
H A D | Framebuffer.cpp | 582 STDMETHODIMP VBoxSDLFB::GetVisibleRegion(BYTE *aRectangles, ULONG aCount, argument 592 NOREF(aCount); 598 STDMETHODIMP VBoxSDLFB::SetVisibleRegion(BYTE *aRectangles, ULONG aCount) argument 607 NOREF(aCount);
|