Searched refs:aLength (Results 1 - 25 of 27) sorted by relevance

12

/vbox/src/libs/xpcom18a4/ipc/ipcd/extensions/transmngr/common/
H A DtmTransaction.cpp64 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 DtmTransaction.h85 * 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 DnsStringComparator.cpp56 nsCaseInsensitiveCStringComparator::operator()( const char_type* lhs, const char_type* rhs, PRUint32 aLength ) const
58 PRInt32 result=PRInt32(PL_strncasecmp(lhs, rhs, aLength));
H A DnsTStringComparator.cpp70 nsTDefaultStringComparator_CharT::operator()( const char_type* lhs, const char_type* rhs, PRUint32 aLength ) const
72 return nsCharTraits<CharT>::compare(lhs, rhs, aLength);
H A DnsStringObsolete.cpp90 * @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 DnsIBinaryInputStream.idl80 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 DnsIBinaryOutputStream.idl87 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 DnsIObjectInputStream.idl66 [notxpcom] charPtr getBuffer(in PRUint32 aLength, in PRUint32 aAlignMask);
67 [notxpcom] void putBuffer(in charPtr aBuffer, in PRUint32 aLength);
H A DnsBinaryStream.cpp230 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 DnsIObjectOutputStream.idl90 [notxpcom] charPtr getBuffer(in PRUint32 aLength, in PRUint32 aAlignMask);
91 [notxpcom] void putBuffer(in charPtr aBuffer, in PRUint32 aLength);
H A DnsIStringStream.idl137 PRInt32 aLength);
H A DnsStringStream.cpp196 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 DnsStorageStream.cpp248 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 DnsIStreamBufferAccess.idl65 * @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 DnsFastLoadFile.cpp109 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 DnsString.h95 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 DnsLiteralString.h61 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 DnsEmbedString.h73 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 DnsStringAPI.h692 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 DnsTString.h401 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 DnsReadableUtils.h182 * 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 DnsArray.cpp62 nsArray::GetLength(PRUint32* aLength) argument
64 *aLength = mArray.Count();
H A DnsCRT.cpp476 * @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 DnsCRT.h265 static PRBool IsAscii(const char* aString, PRUint32 aLength);
/vbox/src/libs/xpcom18a4/xpcom/obsolete/
H A DnsIFileStream.cpp80 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;

Completed in 451 milliseconds

12