/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...] |
H A D | tmTransaction.h | 85 * args 2,3,4 should be set to TM_NO_ID and aLength 93 * should be set to nsnull and aLength to 0. This format is used when 99 * the message for the client app. aLength should be set to the length 150 * @param aLength is the length of the message. If there is a null 163 PRUint32 aLength);
|
/vbox/src/libs/xpcom18a4/xpcom/string/src/ |
H A D | nsStringComparator.cpp | 56 nsCaseInsensitiveCStringComparator::operator()( const char_type* lhs, const char_type* rhs, PRUint32 aLength ) const 58 PRInt32 result=PRInt32(PL_strncasecmp(lhs, rhs, aLength));
|
H A D | nsTStringComparator.cpp | 70 nsTDefaultStringComparator_CharT::operator()( const char_type* lhs, const char_type* rhs, PRUint32 aLength ) const 72 return nsCharTraits<CharT>::compare(lhs, rhs, aLength);
|
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...] |
/vbox/src/libs/xpcom18a4/xpcom/io/ |
H A D | nsIBinaryInputStream.idl | 80 void readBytes(in PRUint32 aLength, 81 [size_is(aLength), retval] out string aString); 87 void readByteArray(in PRUint32 aLength, 88 [array, size_is(aLength), retval] out PRUint8 aBytes);
|
H A D | nsIBinaryOutputStream.idl | 87 void writeBytes([size_is(aLength)] in string aString, in PRUint32 aLength); 92 void writeByteArray([array, size_is(aLength)] in PRUint8 aBytes, 93 in PRUint32 aLength);
|
H A D | nsIObjectInputStream.idl | 66 [notxpcom] charPtr getBuffer(in PRUint32 aLength, in PRUint32 aAlignMask); 67 [notxpcom] void putBuffer(in charPtr aBuffer, in PRUint32 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 | nsIObjectOutputStream.idl | 90 [notxpcom] charPtr getBuffer(in PRUint32 aLength, in PRUint32 aAlignMask); 91 [notxpcom] void putBuffer(in charPtr aBuffer, in PRUint32 aLength);
|
H A D | nsIStringStream.idl | 137 PRInt32 aLength);
|
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 | nsIStreamBufferAccess.idl | 65 * @param aLength 77 * The aligned pointer to aLength bytes in the buffer, or null if the 78 * buffer has no room for aLength bytes starting at the next address A 81 [notxpcom] charPtr getBuffer(in PRUint32 aLength, in PRUint32 aAlignMask); 92 * @param aLength 96 [notxpcom] void putBuffer(in charPtr aBuffer, in PRUint32 aLength);
|
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/string/public/ |
H A D | nsString.h | 95 NS_LossyConvertUTF16toASCII( const PRUnichar* aString, PRUint32 aLength ) 97 LossyAppendUTF16toASCII(Substring(aString, aString + aLength), *this); 121 NS_ConvertASCIItoUTF16( const char* aCString, PRUint32 aLength ) 123 AppendASCIItoUTF16(Substring(aCString, aCString + aLength), *this); 150 NS_ConvertUTF16toUTF8( const PRUnichar* aString, PRUint32 aLength ) 152 AppendUTF16toUTF8(Substring(aString, aString + aLength), *this); 176 NS_ConvertUTF8toUTF16( const char* aCString, PRUint32 aLength ) 178 AppendUTF8toUTF16(Substring(aCString, aCString + aLength), *this);
|
H A D | nsLiteralString.h | 61 literal_string( const nsAString::char_type* aPtr, PRUint32 aLength ) 63 return nsDependentString(aPtr, aLength); 75 literal_string( const nsACString::char_type* aPtr, PRUint32 aLength ) 77 return nsDependentCString(aPtr, aLength);
|
H A D | nsEmbedString.h | 73 nsEmbedString(const char_type* aData, size_type aLength = PR_UINT32_MAX) 76 NS_StringSetData(*this, aData, aLength); 131 nsEmbedCString(const char_type* aData, size_type aLength = PR_UINT32_MAX) 137 NS_CStringSetData(*this, aData, aLength);
|
H A D | nsStringAPI.h | 692 NS_HIDDEN_(void) Assign(const char_type* aData, size_type aLength = PR_UINT32_MAX) 694 NS_StringSetData(*this, aData, aLength); 774 NS_HIDDEN_(void) Assign(const char_type* aData, size_type aLength = PR_UINT32_MAX) 776 NS_CStringSetData(*this, aData, aLength);
|
H A D | nsTString.h | 401 NS_COM void AssignWithConversion( const incompatible_char_type* aData, PRInt32 aLength=-1 ); 404 NS_COM void AppendWithConversion( const incompatible_char_type* aData, PRInt32 aLength=-1 );
|
H A D | nsReadableUtils.h | 182 * Copies |aLength| 16-bit code units from the start of |aSource| to the 190 * @param aLength the number of 16-bit code units to copy 196 PRUint32 aLength );
|
/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;
|
H A D | nsCRT.h | 265 static PRBool IsAscii(const char* aString, PRUint32 aLength);
|
/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;
|