/vbox/src/libs/xpcom18a4/ipc/ipcd/extensions/transmngr/common/ |
H A D | tmTransaction.cpp | 64 PRUint32 aLength) { 71 header = (tmHeader*) RTMemAlloc(aLength); 73 header = (tmHeader*) malloc(aLength); 76 mRawMessageLength = aLength; 77 memcpy(header, aMessage, aLength); 84 header = (tmHeader*) RTMemAlloc (sizeof(tmHeader) + aLength); 86 header = (tmHeader*) malloc (sizeof(tmHeader) + aLength); 89 mRawMessageLength = sizeof(tmHeader) + aLength; 94 if (aLength > 0) // add the message if it exists 95 memcpy((header + 1), aMessage, aLength); 59 Init(PRUint32 aOwnerID, PRInt32 aQueueID, PRUint32 aAction, PRInt32 aStatus, const PRUint8 *aMessage, PRUint32 aLength) argument [all...] |
/vbox/src/libs/xpcom18a4/xpcom/ds/ |
H A D | nsArray.cpp | 62 nsArray::GetLength(PRUint32* aLength) argument 64 *aLength = mArray.Count();
|
H A D | nsCRT.cpp | 476 * @param aLength is the number of chars to test. This must be at most 480 PRBool nsCRT::IsAscii(const char* aString, PRUint32 aLength) argument 482 const char* end = aString + aLength;
|
/vbox/src/libs/xpcom18a4/xpcom/io/ |
H A D | nsStringStream.cpp | 196 NS_IMETHODIMP nsStringInputStream::Available(PRUint32 *aLength) argument 198 NS_PRECONDITION(aLength != nsnull, "null ptr"); 199 if (!aLength) 201 *aLength = LengthRemaining(); 417 PRInt32 aLength) 427 nsresult rv = stream->ShareData(aStringToRead, aLength); 415 NS_NewByteInputStream(nsIInputStream** aStreamResult, const char* aStringToRead, PRInt32 aLength) argument
|
H A D | nsStorageStream.cpp | 248 nsStorageStream::GetLength(PRUint32 *aLength) argument 250 NS_ENSURE_ARG(aLength); 251 *aLength = mLogicalLength; 257 nsStorageStream::SetLength(PRUint32 aLength) argument 262 if (aLength > mLogicalLength) 265 PRInt32 newLastSegmentNum = SegNum(aLength); 266 PRInt32 segmentOffset = SegOffset(aLength); 275 mLogicalLength = aLength;
|
H A D | nsBinaryStream.cpp | 230 nsBinaryOutputStream::WriteBytes(const char *aString, PRUint32 aLength) argument 235 rv = Write(aString, aLength, &bytesWritten); 237 if (bytesWritten != aLength) 243 nsBinaryOutputStream::WriteByteArray(PRUint8 *aBytes, PRUint32 aLength) argument 245 return WriteBytes(NS_REINTERPRET_CAST(char *, aBytes), aLength); 279 nsBinaryOutputStream::GetBuffer(PRUint32 aLength, PRUint32 aAlignMask) argument 282 return mBufferAccess->GetBuffer(aLength, aAlignMask); 287 nsBinaryOutputStream::PutBuffer(char* aBuffer, PRUint32 aLength) argument 290 mBufferAccess->PutBuffer(aBuffer, aLength); 605 nsBinaryInputStream::ReadBytes(PRUint32 aLength, cha argument 630 ReadByteArray(PRUint32 aLength, PRUint8* *_rval) argument 650 GetBuffer(PRUint32 aLength, PRUint32 aAlignMask) argument 658 PutBuffer(char* aBuffer, PRUint32 aLength) argument [all...] |
H A D | nsFastLoadFile.cpp | 109 PRUint32 aLength, 117 if (aLength >= 4) { 125 aLength -= 3; 133 aLength -= 2; 138 aLength--; 144 while (aLength > 3) { 162 aLength -= 4; 165 aLength++; 167 while (aLength > 3) { 182 aLength 107 NS_AccumulateFastLoadChecksum(PRUint32 *aChecksum, const PRUint8* aBuffer, PRUint32 aLength, PRBool aLastBuffer) argument [all...] |
/vbox/src/libs/xpcom18a4/xpcom/obsolete/ |
H A D | nsIFileStream.cpp | 80 NS_IMETHOD Available(PRUint32 *aLength); 301 NS_IMETHODIMP FileImpl::Available(PRUint32 *aLength) argument 304 NS_PRECONDITION(aLength != nsnull, "null ptr"); 305 if (!aLength) 309 *aLength = mLength;
|
/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. 139 * @param aCount tells us how many characters to iterate through (which may be different than aLength); -1 means use full length. 183 * @param aCount tells us how many characters to iterate through (which may be different than aLength); -1 means use full length. 230 * @param aCount tells us how many characters to iterate through (which may be different than aLength); -1 means use full length. 424 * @param aLength is the length of the buffer 431 CompressChars1(char* aString,PRUint32 aLength,const char* aSet){ argument 434 char* end = aString + aLength; 439 if(aSet && aString && (0 < aLength)){ 469 * @param aLength is the length of the buffer 476 CompressChars2(PRUnichar* aString,PRUint32 aLength,cons argument 519 StripChars1(char* aString,PRUint32 aLength,const char* aSet) argument 553 StripChars2(PRUnichar* aString,PRUint32 aLength,const char* aSet) argument [all...] |