Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/
Dtest_allocator.h96 class non_default_test_allocator
101 template <class U> friend class non_default_test_allocator; variable
112 template <class U> struct rebind {typedef non_default_test_allocator<U> other;};
115 explicit non_default_test_allocator(int i) throw() : data_(i) {++count;} in non_default_test_allocator() function
116 non_default_test_allocator(const non_default_test_allocator& a) throw() in throw()
118 template <class U> non_default_test_allocator(const non_default_test_allocator<U>& a) throw() in non_default_test_allocator() function
120 ~non_default_test_allocator() throw() {assert(data_ >= 0); --count; data_ = -1;} in throw()
149 friend bool operator==(const non_default_test_allocator& x, const non_default_test_allocator& y)
151 friend bool operator!=(const non_default_test_allocator& x, const non_default_test_allocator& y)
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dalloc_function.pass.cpp96 non_default_test_allocator<std::function<int(int)>> al(1); in main()