/vbox/src/libs/xpcom18a4/xpcom/string/src/ |
H A D | nsTSubstring.cpp | 116 mLength = 0; 153 // mLength does not change 165 // mData, mLength, and mFlags are purposefully left dangling 172 cutLen = NS_MIN(cutLen, mLength - cutStart); 174 PRUint32 newLen = mLength - cutLen + fragLen; 192 if (cutStart + cutLen < mLength) 196 size_type fromLen = mLength - from; 209 if (fragLen != cutLen && cutStart + cutLen < mLength) 212 PRUint32 fromLen = mLength - from; 221 mLength [all...] |
H A D | nsTStringObsolete.cpp | 52 Find_ComputeSearchRange(mLength, aString.Length(), aOffset, aCount); 78 RFind_ComputeSearchRange(mLength, aString.Length(), aOffset, aCount); 100 return nsBufferRoutines<CharT>::rfind_char(mData, mLength, aOffset, aChar, aCount); 113 else if (aOffset >= PRInt32(mLength)) 116 PRInt32 result = ::FindCharInSet(mData + aOffset, mLength - aOffset, aSet); 131 if (aOffset < 0 || aOffset > PRInt32(mLength)) 132 aOffset = mLength; 159 CharT* endcp=cp+mLength; 265 if (aStartPos == 0 && aLengthToCopy >= mLength) 270 return aResult.mLength; [all...] |
H A D | nsTDependentSubstring.cpp | 48 mLength = NS_MIN(length, strLength - startPos); 62 mLength = NS_MIN(length, strLength - startPos);
|
H A D | nsTString.cpp | 49 Adopt(str.mData, str.mLength);
|
H A D | nsPrintfCString.cpp | 60 mLength = PR_vsnprintf(mData, physical_capacity, format, ap); 81 mLength = PR_vsnprintf(mData, physical_capacity, format, ap);
|
H A D | nsTPromiseFlatString.cpp | 49 mLength = str.Length();
|
H A D | nsStringObsolete.cpp | 1009 Find_ComputeSearchRange(mLength, aString.Length(), aOffset, aCount); 1027 RFind_ComputeSearchRange(mLength, aString.Length(), aOffset, aCount); 1046 else if (aOffset >= PRInt32(mLength)) 1049 PRInt32 result = ::FindCharInSet(mData + aOffset, mLength - aOffset, aSet); 1065 PRInt32 maxCount = PRInt32(NS_MIN(mLength, strLen)); 1077 (aCount < 0 || strLen < PRUint32(aCount) || mLength < PRUint32(aCount))) 1083 if (mLength != strLen) 1084 result = (mLength < strLen) ? -1 : 1; 1094 PRInt32 maxCount = PRInt32(NS_MIN(mLength, strLen)); 1106 (aCount < 0 || strLen < PRUint32(aCount) || mLength < PRUint3 [all...] |
H A D | nsTAString.cpp | 468 return str->mLength;
|
/vbox/src/libs/xpcom18a4/xpcom/ds/ |
H A D | nsByteBuffer.cpp | 46 : mBuffer(NULL), mSpace(0), mLength(0) 57 mLength = 0; 70 mLength = 0; 92 return mLength; 115 if (0 != mLength) { 116 memcpy(newbuf, mBuffer, mLength); 130 NS_PRECONDITION(aKeep <= mLength, "illegal keep count"); 131 if ((nsnull == aStream) || (PRUint32(aKeep) > PRUint32(mLength))) { 139 memmove(mBuffer, mBuffer + (mLength - aKeep), aKeep); 143 mLength [all...] |
H A D | nsManifestLineReader.h | 53 mLength = 0; 63 mLength = 0; 76 ++mLength; 104 *lastlength = (mCur + mLength) - lastchunk; 110 PRUint32 LineLength() {return mLength;} 115 PRUint32 mLength; member in class:nsManifestLineReader
|
H A D | nsUnicharBuffer.cpp | 45 : mBuffer(NULL), mSpace(0), mLength(0) 72 mLength = 0; 85 mLength = 0; 91 return mLength; 114 if (0 != mLength) { 115 memcpy(newbuf, mBuffer, mLength * sizeof(PRUnichar));
|
H A D | nsByteBuffer.h | 62 PRUint32 mLength; member in class:ByteBufferImpl
|
H A D | nsUnicharBuffer.h | 59 PRUint32 mLength; member in class:UnicharBufferImpl
|
/vbox/src/libs/xpcom18a4/xpcom/string/public/ |
H A D | nsTDependentString.h | 66 NS_ASSERTION(mLength != size_type(-1), "nsTDependentString has bogus length"); 67 NS_ASSERTION(mData[mLength] == 0, "nsTDependentString must wrap only null-terminated strings"); 114 mLength = char_traits::length(data); 122 mLength = length;
|
H A D | nsTSubstring.h | 72 const_char_iterator EndReading() const { return mData + mLength; } 81 iter.mEnd = mData + mLength; 89 iter.mEnd = mData + mLength; 101 return iter = mData + mLength; 110 char_iterator EndWriting() { EnsureMutable(); return mData + mLength; } 120 iter.mEnd = mData + mLength; 129 iter.mEnd = mData + mLength; 143 return iter = mData + mLength; 159 return mLength; 164 return mLength [all...] |
H A D | nsUTF8Utils.h | 217 CalculateUTF8Length() : mLength(0), mErrorEncountered(PR_FALSE) { } 219 size_t Length() const { return mLength; } 231 for ( ; p < end /* && *p */; ++mLength ) 243 // UTF-16 string, so add 1 more to mLength. 250 // mLength will be off by one in this case. 251 ++mLength; 266 mLength = 0; 273 size_t mLength; member in class:CalculateUTF8Length
|
H A D | nsTDependentSubstring.h | 59 mLength = end - start;
|
H A D | nsTAString.h | 460 , mLength(0) 488 size_type mLength; member in class:nsTAString_CharT 497 , mLength(length) 504 * NOTE: mData and mLength are intentionally left uninitialized.
|
H A D | nsTString.h | 127 NS_ASSERTION(i <= mLength, "index exceeds allowable range"); 321 aCount = NS_MIN(mLength, aCount); 322 return Mid(aResult, mLength - aCount, aCount);
|
/vbox/src/VBox/Main/src-server/ |
H A D | Performance.cpp | 626 mLength = length; 627 mUser->init(mLength); 628 mKernel->init(mLength); 629 mIdle->init(mLength); 711 mLength = length; 723 mLength = length; 724 mRx->init(mLength); 725 mTx->init(mLength); 784 mLength = length; 785 mUtil->init(mLength); [all...] |
/vbox/src/libs/xpcom18a4/xpcom/io/ |
H A D | nsStringStream.cpp | 88 , mLength(0) 113 return mLength - mOffset; 135 PRInt32 mLength; member in class:nsStringInputStream 167 mLength = dataLen; 183 mLength = dataLen; 218 PRInt32 maxCount = mLength - mOffset; 239 PRInt32 maxCount = mLength - mOffset;
|
/vbox/src/libs/xpcom18a4/xpcom/obsolete/ |
H A D | nsIFileStream.cpp | 114 PRInt32 mLength; member in class:FileImpl 144 , mLength(-1) 158 , mLength(-1) 295 mLength = PR_Available(mFileDesc); 307 if (mLength < 0) 309 *aLength = mLength;
|
H A D | nsFileSpec.h | 286 PRUint32 Length() const { return mData ? mData->mLength : 0; } 307 PRUint32 mLength; member in struct:nsSimpleCharString::Data
|
H A D | nsFileSpec.cpp | 230 ReallocData(mData->mLength); 234 mData->mLength = strlen(mData->mString); 283 mData->mLength = inLength; 304 mData->mLength = inLength;
|
/vbox/src/VBox/Main/include/ |
H A D | Performance.h | 55 CircularBuffer() : mData(0), mLength(0), mEnd(0), mWrapped(false) {}; 64 ULONG mLength; member in class:pm::CircularBuffer 402 : mPeriod(0), mLength(0), mHAL(hal), mName(name), mObject(object), 423 ULONG getLength() { return mLength; }; 430 ULONG mLength; member in class:pm::BaseMetric
|