Home
last modified time | relevance | path

Searched refs:mLength (Results 1 – 5 of 5) sorted by relevance

/external/astl/src/
Dstring.cpp91 if (n < mLength || n == mCapacity || n + 1 < n) { in SafeRealloc()
135 mLength = 0; in ConstructEmptyString()
145 mLength = n; in Constructor()
146 mData[mLength] = '\0'; in Constructor()
159 mLength = n; in Constructor()
160 mData[mLength] = '\0'; in Constructor()
173 if (pos < str.mLength) in string()
177 Constructor(str.mData, pos , str.mLength - pos); in string()
180 else if (n <= (str.mLength - pos)) in string()
239 mLength = 0; in clear()
[all …]
/external/astl/include/
Dvector84 bool empty() const { return mLength == 0; }
85 size_type size() const { return mLength; }
102 reference back() { return mLength ? *(mBegin + mLength - 1) : front(); }
103 const_reference back() const { return mLength ? *(mBegin + mLength - 1) : front(); }
118 iterator end() { return mBegin + mLength; }
121 const_iterator end() const { return mBegin + mLength; }
148 size_type mLength;
164 // Invariant: mLength <= mCapacity <= max_size()
168 :mBegin(NULL), mCapacity(0), mLength(0) { }
178 mLength = mCapacity = num;
[all …]
Dstring95 size_type length() const { return mLength; }
96 size_type size() const { return mLength; }
258 size_type mLength; // len of the string excl. null-terminator.
/external/webkit/WebKit/android/nav/
DFindCanvas.h194 size_t mLength; variable
DFindCanvas.cpp113 , mLength(byteLength) in FindCanvas()
449 GlyphSet set(paint, mLowerText, mUpperText, mLength); in getGlyphs()