Home
last modified time | relevance | path

Searched refs:TEST_NOEXCEPT (Results 1 – 25 of 33) sorted by relevance

12

/external/libcxx/test/support/
Dnasty_containers.hpp54 iterator begin() TEST_NOEXCEPT { return v_.begin(); } in begin()
55 const_iterator begin() const TEST_NOEXCEPT { return v_.begin(); } in begin()
56 iterator end() TEST_NOEXCEPT { return v_.end(); } in end()
57 const_iterator end() const TEST_NOEXCEPT { return v_.end(); } in end()
59 reverse_iterator rbegin() TEST_NOEXCEPT { return v_.rbegin(); } in rbegin()
60 const_reverse_iterator rbegin() const TEST_NOEXCEPT { return v_.rbegin(); } in rbegin()
61 reverse_iterator rend() TEST_NOEXCEPT { return v_.rend(); } in rend()
62 const_reverse_iterator rend() const TEST_NOEXCEPT { return v_.rend(); } in rend()
64 const_iterator cbegin() const TEST_NOEXCEPT { return v_.cbegin(); } in cbegin()
65 const_iterator cend() const TEST_NOEXCEPT { return v_.cend(); } in cend()
[all …]
Dallocators.h25 explicit A1(int id = 0) TEST_NOEXCEPT : id_(id) {} in id_()
36 A1(const A1& a) TEST_NOEXCEPT : id_(a.id()) {copy_called = true;} in A1()
37 A1(A1&& a) TEST_NOEXCEPT : id_(a.id()) {move_called = true;} in A1()
38 A1& operator=(const A1& a) TEST_NOEXCEPT { id_ = a.id(); copy_called = true; return *this;}
39 A1& operator=(A1&& a) TEST_NOEXCEPT { id_ = a.id(); move_called = true; return *this;}
42 A1(const A1<U>& a) TEST_NOEXCEPT : id_(a.id()) {copy_called = true;} in A1()
44 A1(A1<U>&& a) TEST_NOEXCEPT : id_(a.id()) {move_called = true;} in A1()
84 explicit A2(int id = 0) TEST_NOEXCEPT : id_(id) {} in id_()
99 A2(const A2& a) TEST_NOEXCEPT : id_(a.id()) {copy_called = true;} in A2()
100 A2(A2&& a) TEST_NOEXCEPT : id_(a.id()) {move_called = true;} in A2()
[all …]
Dconstexpr_char_traits.hpp28 static TEST_CONSTEXPR_CXX14 void assign(char_type& __c1, const char_type& __c2) TEST_NOEXCEPT in assign()
31 static TEST_CONSTEXPR bool eq(char_type __c1, char_type __c2) TEST_NOEXCEPT in eq()
34 static TEST_CONSTEXPR bool lt(char_type __c1, char_type __c2) TEST_NOEXCEPT in lt()
44 static TEST_CONSTEXPR int_type not_eof(int_type __c) TEST_NOEXCEPT in not_eof()
47 static TEST_CONSTEXPR char_type to_char_type(int_type __c) TEST_NOEXCEPT in to_char_type()
50 static TEST_CONSTEXPR int_type to_int_type(char_type __c) TEST_NOEXCEPT in to_int_type()
53 static TEST_CONSTEXPR bool eq_int_type(int_type __c1, int_type __c2) TEST_NOEXCEPT in eq_int_type()
56 static TEST_CONSTEXPR int_type eof() TEST_NOEXCEPT in eof()
Dmin_allocator.h27 bare_allocator() TEST_NOEXCEPT {} in bare_allocator()
30 bare_allocator(bare_allocator<U>) TEST_NOEXCEPT {} in bare_allocator()
68 no_default_allocator(no_default_allocator<U>) TEST_NOEXCEPT {} in no_default_allocator()
114 malloc_allocator() TEST_NOEXCEPT { assert(!disable_default_constructor); } in malloc_allocator()
117 malloc_allocator(malloc_allocator<U>) TEST_NOEXCEPT {} in malloc_allocator()
204 min_pointer() TEST_NOEXCEPT = default;
205 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} in min_pointer()
207 min_pointer(min_pointer<T, ID> p) TEST_NOEXCEPT : ptr_(p.ptr_) {} in min_pointer()
221 min_pointer() TEST_NOEXCEPT = default;
222 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} in min_pointer()
[all …]
Dtest_allocator.h90 test_allocator() TEST_NOEXCEPT : data_(0), id_(0) {++count;} in test_allocator()
91 explicit test_allocator(int i, int id = 0) TEST_NOEXCEPT : data_(i), id_(id) in data_()
93 test_allocator(const test_allocator& a) TEST_NOEXCEPT : data_(a.data_), in test_allocator()
101 test_allocator(test_allocator&& a) TEST_NOEXCEPT : data_(a.data_), in test_allocator()
112 test_allocator(const test_allocator<U>& a) TEST_NOEXCEPT : data_(a.data_), in test_allocator()
117 ~test_allocator() TEST_NOEXCEPT { in ~test_allocator()
141 size_type max_size() const TEST_NOEXCEPT in max_size()
181 explicit non_default_test_allocator(int i) TEST_NOEXCEPT : data_(i) {++count;} in non_default_test_allocator()
182 non_default_test_allocator(const non_default_test_allocator& a) TEST_NOEXCEPT in non_default_test_allocator()
184 …template <class U> non_default_test_allocator(const non_default_test_allocator<U>& a) TEST_NOEXCEPT in non_default_test_allocator()
[all …]
Dcontrolled_allocators.hpp241 CountingAllocator(CountingAllocator<U, ID> const& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator()
246 CountingAllocator(CountingAllocator<U, ID>&& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator()
307 CountingAllocator(CountingAllocator<U, ID> const& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator()
312 CountingAllocator(CountingAllocator<U, ID>&& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator()
358 MinAlignedAllocator(MinAlignedAllocator<U> const& other) TEST_NOEXCEPT : P(other.P) { in MinAlignedAllocator()
363 MinAlignedAllocator(MinAlignedAllocator<U>&& other) TEST_NOEXCEPT : P(other.P) { in MinAlignedAllocator()
461 NullAllocator(NullAllocator<U> const& other) TEST_NOEXCEPT : P(other.P) { in NullAllocator()
466 NullAllocator(NullAllocator<U>&& other) TEST_NOEXCEPT : P(other.P) { in NullAllocator()
Dtest_iterators.h487 NonThrowingIterator & operator= (const NonThrowingIterator &rhs) TEST_NOEXCEPT
496 reference operator*() const TEST_NOEXCEPT
501 NonThrowingIterator & operator++() TEST_NOEXCEPT
507 NonThrowingIterator operator++(int) TEST_NOEXCEPT
514 NonThrowingIterator & operator--() TEST_NOEXCEPT
520 NonThrowingIterator operator--(int) TEST_NOEXCEPT
527 bool operator== (const NonThrowingIterator &rhs) const TEST_NOEXCEPT
543 bool operator== (const NonThrowingIterator<T>& a, const NonThrowingIterator<T>& b) TEST_NOEXCEPT
547 bool operator!= (const NonThrowingIterator<T>& a, const NonThrowingIterator<T>& b) TEST_NOEXCEPT
Dcount_new.hpp368 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
380 void operator delete[](void* p) TEST_NOEXCEPT in operator delete[]()
406 void operator delete(void *p, std::align_val_t av) TEST_NOEXCEPT { in operator delete()
424 void operator delete[](void *p, std::align_val_t av) TEST_NOEXCEPT { in operator delete[]()
Dtest_macros.h104 #define TEST_NOEXCEPT noexcept macro
122 #define TEST_NOEXCEPT throw() macro
/external/libcxx/test/libcxx/selftest/
Dtest_macros.pass.cpp18 #ifndef TEST_NOEXCEPT
19 #error TEST_NOEXCEPT must be defined
30 void test_noexcept() TEST_NOEXCEPT in test_noexcept()
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/
Dsized_delete_array11.pass.cpp29 void operator delete[](void* p) TEST_NOEXCEPT in operator delete[]()
35 void operator delete[](void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete[]()
41 void operator delete[](void* p, std::size_t) TEST_NOEXCEPT in operator delete[]()
Dsized_delete_array14.pass.cpp34 void operator delete[](void* p) TEST_NOEXCEPT in operator delete[]()
40 void operator delete[](void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete[]()
46 void operator delete[](void* p, std::size_t) TEST_NOEXCEPT in operator delete[]()
Dsized_delete_array_fsizeddeallocation.sh.cpp48 void operator delete[](void* p) TEST_NOEXCEPT in operator delete[]()
54 void operator delete[](void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete[]()
60 void operator delete[](void* p, std::size_t) TEST_NOEXCEPT in operator delete[]()
Ddelete_align_val_t_replace.pass.cpp64 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
70 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete()
76 void operator delete [] (void* p, std::align_val_t) TEST_NOEXCEPT in operator delete[]()
Dsized_delete_array_calls_unsized_delete_array.pass.cpp26 void operator delete[](void* p) TEST_NOEXCEPT in operator delete[]()
32 void operator delete[](void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete[]()
Dnew_array_replace.pass.cpp34 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
Dnew_array_nothrow_replace.pass.cpp33 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/
Dsized_delete14.pass.cpp34 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
40 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete()
46 void operator delete(void* p, std::size_t) TEST_NOEXCEPT in operator delete()
Dsized_delete11.pass.cpp29 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
35 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete()
41 void operator delete(void* p, std::size_t) TEST_NOEXCEPT in operator delete()
Dsized_delete_fsizeddeallocation.sh.cpp47 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
53 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete()
59 void operator delete(void* p, std::size_t) TEST_NOEXCEPT in operator delete()
Ddelete_align_val_t_replace.pass.cpp63 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
69 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete()
75 void operator delete(void* p, std::align_val_t) TEST_NOEXCEPT in operator delete()
Dsized_delete_calls_unsized_delete.pass.cpp26 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
32 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete()
Dnew_replace.pass.cpp32 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
Dnew_nothrow_replace.pass.cpp33 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
/external/libcxx/test/libcxx/language.support/support.dynamic/
Dlibcpp_deallocate.sh.cpp109 void operator delete(void* p)TEST_NOEXCEPT { in operator delete()
116 void operator delete(void* p, size_t n)TEST_NOEXCEPT { in operator delete()
125 void operator delete(void* p, std::align_val_t a)TEST_NOEXCEPT { in operator delete()
132 void operator delete(void* p, size_t n, std::align_val_t a)TEST_NOEXCEPT { in operator delete()

12