Home
last modified time | relevance | path

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

/external/astl/src/
Dstring.cpp95 if (n < mLength || n == mCapacity || n + 1 < n) { in SafeRealloc()
139 mLength = 0; in ConstructEmptyString()
155 mLength = n; in Constructor()
156 mData[mLength] = '\0'; in Constructor()
169 mLength = n; in Constructor()
170 mData[mLength] = '\0'; in Constructor()
183 Constructor(str.mData, str.mLength); in string()
188 if (pos < str.mLength) in string()
190 if (n > (str.mLength - pos)) { in string()
191 n = str.mLength - pos; in string()
[all …]
/external/astl/include/
Dvector103 bool empty() const { return mLength == 0; }
104 size_type size() const { return mLength; }
122 reference back() { return mLength ? *(mBegin + mLength - 1) : front(); }
123 const_reference back() const { return mLength ? *(mBegin + mLength - 1) : front(); }
137 { return index < mLength ? *( mBegin + index) : sDummy; }
140 { return index < mLength ? *( mBegin + index) : sDummy; }
143 iterator end() { return iterator(mBegin + mLength); }
146 const_iterator end() const { return const_iterator(mBegin + mLength); }
226 size_type mLength;
243 // Invariant: mLength <= mCapacity <= max_size()
[all …]
Dlist197 bool empty() const { return mLength == 0; }
200 size_type size() const { return mLength; }
227 mLength = 0;
233 size_type mLength;
253 if (mLength + 1 > mLength) {
257 ++mLength;
286 --mLength;
Dstring113 size_type length() const { return mLength; }
114 size_type size() const { return mLength; }
290 iterator end() {return iterator(mData + mLength);}
291 const_iterator end() const {return const_iterator(mData + mLength);}
317 size_type mLength; // len of the string excl. null-terminator.
348 size_type new_len = mLength + dist;
349 if (new_len <= mLength) {
356 std::copy(first, last, mData + mLength);
357 mLength = new_len;
358 mData[mLength] = '\0';
/external/webkit/WebKit/android/nav/
DFindCanvas.h200 size_t mLength; variable
DFindCanvas.cpp126 , mLength(byteLength) in FindCanvas()
476 GlyphSet set(paint, mLowerText, mUpperText, mLength); in getGlyphs()
/external/quake/quake/src/WinQuake/
Dgl_draw.cpp239 if (size + mLength > mCapacity) { in create()
251 e->pData = mBase + mLength; in create()
258 mLength += size; in create()
311 mLength = 0; in textureStore()
365 size_t mLength; // How much of the mm file we are currently using member in textureStore