Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_tempbuf.h82 ptrdiff_t _M_len; variable
86 _M_original_len = _M_len; in _M_allocate_buffer()
89 if (_M_len > (ptrdiff_t)(INT_MAX / sizeof(_Tp))) in _M_allocate_buffer()
90 _M_len = INT_MAX / sizeof(_Tp); in _M_allocate_buffer()
92 while (_M_len > 0) { in _M_allocate_buffer()
93 _M_buffer = (_Tp*) malloc(_M_len * sizeof(_Tp)); in _M_allocate_buffer()
96 _M_len /= 2; in _M_allocate_buffer()
102 uninitialized_fill_n(_M_buffer, _M_len, val); in _M_initialize_buffer()
106 ptrdiff_t size() const { return _M_len; } in size()
109 _Tp* end() { return _M_buffer + _M_len; } in end()
[all …]