Home
last modified time | relevance | path

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

123

/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 …]
/external/llvm-project/libcxx/test/support/
Dnasty_containers.h53 iterator begin() TEST_NOEXCEPT { return v_.begin(); } in begin()
54 const_iterator begin() const TEST_NOEXCEPT { return v_.begin(); } in begin()
55 iterator end() TEST_NOEXCEPT { return v_.end(); } in end()
56 const_iterator end() const TEST_NOEXCEPT { return v_.end(); } in end()
58 reverse_iterator rbegin() TEST_NOEXCEPT { return v_.rbegin(); } in rbegin()
59 const_reverse_iterator rbegin() const TEST_NOEXCEPT { return v_.rbegin(); } in rbegin()
60 reverse_iterator rend() TEST_NOEXCEPT { return v_.rend(); } in rend()
61 const_reverse_iterator rend() const TEST_NOEXCEPT { return v_.rend(); } in rend()
63 const_iterator cbegin() const TEST_NOEXCEPT { return v_.cbegin(); } in cbegin()
64 const_iterator cend() const TEST_NOEXCEPT { return v_.cend(); } in cend()
[all …]
Dallocators.h24 explicit A1(int id = 0) TEST_NOEXCEPT : id_(id) {} in id_()
35 A1(const A1& a) TEST_NOEXCEPT : id_(a.id()) {copy_called = true;} in A1()
36 A1(A1&& a) TEST_NOEXCEPT : id_(a.id()) {move_called = true;} in A1()
37 A1& operator=(const A1& a) TEST_NOEXCEPT { id_ = a.id(); copy_called = true; return *this;}
38 A1& operator=(A1&& a) TEST_NOEXCEPT { id_ = a.id(); move_called = true; return *this;}
41 A1(const A1<U>& a) TEST_NOEXCEPT : id_(a.id()) {copy_called = true;} in A1()
43 A1(A1<U>&& a) TEST_NOEXCEPT : id_(a.id()) {move_called = true;} in A1()
83 explicit A2(int id = 0) TEST_NOEXCEPT : id_(id) {} in id_()
98 A2(const A2& a) TEST_NOEXCEPT : id_(a.id()) {copy_called = true;} in A2()
99 A2(A2&& a) TEST_NOEXCEPT : id_(a.id()) {move_called = true;} in A2()
[all …]
Dconstexpr_char_traits.h27 static TEST_CONSTEXPR_CXX14 void assign(char_type& __c1, const char_type& __c2) TEST_NOEXCEPT in assign()
30 static TEST_CONSTEXPR bool eq(char_type __c1, char_type __c2) TEST_NOEXCEPT in eq()
33 static TEST_CONSTEXPR bool lt(char_type __c1, char_type __c2) TEST_NOEXCEPT in lt()
43 static TEST_CONSTEXPR int_type not_eof(int_type __c) TEST_NOEXCEPT in not_eof()
46 static TEST_CONSTEXPR char_type to_char_type(int_type __c) TEST_NOEXCEPT in to_char_type()
49 static TEST_CONSTEXPR int_type to_int_type(char_type __c) TEST_NOEXCEPT in to_int_type()
52 static TEST_CONSTEXPR bool eq_int_type(int_type __c1, int_type __c2) TEST_NOEXCEPT in eq_int_type()
55 static TEST_CONSTEXPR int_type eof() TEST_NOEXCEPT in eof()
Dtest_allocator.h89 test_allocator() TEST_NOEXCEPT : data_(0), id_(0) {++count;} in test_allocator()
90 explicit test_allocator(int i, int id = 0) TEST_NOEXCEPT : data_(i), id_(id) in data_()
92 test_allocator(const test_allocator& a) TEST_NOEXCEPT : data_(a.data_), in test_allocator()
100 test_allocator(test_allocator&& a) TEST_NOEXCEPT : data_(a.data_), in test_allocator()
111 test_allocator(const test_allocator<U>& a) TEST_NOEXCEPT : data_(a.data_), in test_allocator()
116 ~test_allocator() TEST_NOEXCEPT { in ~test_allocator()
140 size_type max_size() const TEST_NOEXCEPT in max_size()
180 explicit non_default_test_allocator(int i) TEST_NOEXCEPT : data_(i) {++count;} in non_default_test_allocator()
181 non_default_test_allocator(const non_default_test_allocator& a) TEST_NOEXCEPT in non_default_test_allocator()
183 …template <class U> non_default_test_allocator(const non_default_test_allocator<U>& a) TEST_NOEXCEPT in non_default_test_allocator()
[all …]
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()
116 malloc_allocator() TEST_NOEXCEPT { assert(!disable_default_constructor); } in malloc_allocator()
119 malloc_allocator(malloc_allocator<U>) TEST_NOEXCEPT {} in malloc_allocator()
205 min_pointer() TEST_NOEXCEPT = default;
206 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} in min_pointer()
208 min_pointer(min_pointer<T, ID> p) TEST_NOEXCEPT : ptr_(p.ptr_) {} in min_pointer()
222 min_pointer() TEST_NOEXCEPT = default;
223 TEST_CONSTEXPR_CXX14 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} in min_pointer()
[all …]
/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/llvm-project/libcxx/test/libcxx/selftest/
Dtest_macros.pass.cpp17 #ifndef TEST_NOEXCEPT
18 #error TEST_NOEXCEPT must be defined
29 void test_noexcept() TEST_NOEXCEPT in test_noexcept()
/external/llvm-project/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/
Dsized_delete_array11.pass.cpp28 void operator delete[](void* p) TEST_NOEXCEPT in operator delete[]()
34 void operator delete[](void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete[]()
40 void operator delete[](void* p, std::size_t) TEST_NOEXCEPT in operator delete[]()
Dsized_delete_array14.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_array_fsizeddeallocation.pass.cpp41 void operator delete[](void* p) TEST_NOEXCEPT in operator delete[]()
47 void operator delete[](void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete[]()
53 void operator delete[](void* p, std::size_t) TEST_NOEXCEPT in operator delete[]()
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/
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_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_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()
/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[]()
/external/llvm-project/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/
Dsized_delete14.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_delete11.pass.cpp28 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
34 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete()
40 void operator delete(void* p, std::size_t) TEST_NOEXCEPT in operator delete()
Dsized_delete_fsizeddeallocation.pass.cpp42 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
48 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete()
54 void operator delete(void* p, std::size_t) TEST_NOEXCEPT in operator delete()

123