Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
D__sso_allocator37 typename aligned_storage<sizeof(_Tp) * _Np>::type buf_;
56 return (pointer)&buf_;
62 if (__p == (pointer)&buf_)
70 bool operator==(__sso_allocator& __a) const {return &buf_ == &__a.buf_;}
72 bool operator!=(__sso_allocator& __a) const {return &buf_ != &__a.buf_;}
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/
Dstack_allocator.h19 char buf_[sizeof(T)*N]; variable
32 stack_allocator() : ptr_(buf_) {} in stack_allocator()
41 if (n > N - (ptr_ - buf_) / sizeof(value_type)) {
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dcxa_demangle.cpp4709 alignas(alignment) char buf_[N]; member in __cxxabiv1::__anon1106586f0111::arena
4718 {return buf_ <= p && p <= buf_ + N;} in pointer_in_buffer()
4721 arena() noexcept : ptr_(buf_) {} in arena()
4730 std::size_t used() const {return static_cast<std::size_t>(ptr_ - buf_);} in used()
4731 void reset() {ptr_ = buf_;} in reset()
4739 if (static_cast<std::size_t>(buf_ + N - ptr_) >= n) in allocate()