Searched refs:mCapacity (Results 1 - 4 of 4) sorted by relevance

/external/astl/include/
H A Dvector117 size_type capacity() const { return mCapacity; }
225 size_type mCapacity;
243 // Invariant: mLength <= mCapacity <= max_size()
248 :mBegin(NULL), mCapacity(0), mLength(0) { }
265 mLength = mCapacity = num;
271 mLength = mCapacity = 0;
314 mCapacity = new_size;
322 if (mCapacity == mLength)
327 // mLength < mCapacity
397 mCapacity
[all...]
H A Dstring182 size_type capacity() const { return mCapacity; }
316 size_type mCapacity; // size of the buffer.
353 if (new_len > mCapacity) {
/external/astl/src/
H A Dstring.cpp54 // The size of the buffer pointed by mData is mCapacity + 1.
57 // mCapacity is either mLength or the number of bytes reserved using
64 // Allocate n + 1 number of bytes for the string. Update mCapacity.
65 // Ensure that mCapacity + 1 and mLength + 1 is accessible.
80 mCapacity = n;
95 if (n < mLength || n == mCapacity || n + 1 < n) {
116 mCapacity = n;
140 mCapacity = 0;
255 mCapacity = 0;
293 if (total_len > mCapacity)
[all...]
/external/quake/quake/src/WinQuake/
H A Dgl_draw.cpp239 if (size + mLength > mCapacity) {
312 mCapacity = TEXTURE_STORE_SIZE;
318 munmap(mBase, mCapacity);
366 size_t mCapacity; // Total size of the memory mapped file member in class:textureStore

Completed in 46 milliseconds