Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/libcxx/test/support/
H A Dnasty_containers.h68 size_type size() const TEST_NOEXCEPT { return v_.size(); } in size()
71 bool empty() const TEST_NOEXCEPT { return v_.empty(); } in empty()
73 void shrink_to_fit() TEST_NOEXCEPT { v_.shrink_to_fit(); } in shrink_to_fit()
85 value_type* data() TEST_NOEXCEPT { return v_.data(); } in data()
117 void clear() TEST_NOEXCEPT { v_.clear(); } in clear()
201 size_type size() const TEST_NOEXCEPT { return l_.size(); } in size()
203 bool empty() const TEST_NOEXCEPT { return l_.empty(); } in empty()
250 void clear() TEST_NOEXCEPT { l_.clear(); } in clear()
290 nasty_mutex() TEST_NOEXCEPT {} in nasty_mutex()
303 bool try_lock() TEST_NOEXCEPT { return true; } in try_lock()
[all …]
H A 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()
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()
134 explicit A3(int id = 0) TEST_NOEXCEPT : id_(id) {} in id_()
148 A3(const A3& a) TEST_NOEXCEPT : id_(a.id()) {copy_called = true;} in A3()
[all …]
H A Dtest_allocator.h82 TEST_CONSTEXPR test_allocator() TEST_NOEXCEPT = default;
89 TEST_CONSTEXPR explicit test_allocator(int data) TEST_NOEXCEPT : data_(data) {} in test_allocator()
105 TEST_CONSTEXPR_CXX14 test_allocator(const test_allocator& a) TEST_NOEXCEPT in test_allocator()
127 TEST_CONSTEXPR_CXX14 test_allocator(const test_allocator<U>& a) TEST_NOEXCEPT in test_allocator()
135 TEST_CONSTEXPR_CXX20 ~test_allocator() TEST_NOEXCEPT { in ~test_allocator()
227 TEST_CONSTEXPR_CXX20 ~non_default_test_allocator() TEST_NOEXCEPT { in ~non_default_test_allocator()
287 TEST_CONSTEXPR test_allocator() TEST_NOEXCEPT = default;
291 TEST_CONSTEXPR explicit test_allocator(int data) TEST_NOEXCEPT : data_(data) {} in test_allocator()
303 TEST_CONSTEXPR_CXX14 explicit test_allocator(const test_allocator& a) TEST_NOEXCEPT in test_allocator()
308 TEST_CONSTEXPR_CXX14 test_allocator(const test_allocator<U>& a) TEST_NOEXCEPT in test_allocator()
[all …]
H A 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()
H A Dmin_allocator.h28 bare_allocator() TEST_NOEXCEPT {} in bare_allocator()
31 bare_allocator(bare_allocator<U>) TEST_NOEXCEPT {} in bare_allocator()
69 no_default_allocator(no_default_allocator<U>) TEST_NOEXCEPT {} in no_default_allocator()
120 malloc_allocator(malloc_allocator<U>) TEST_NOEXCEPT {} in malloc_allocator()
206 min_pointer() TEST_NOEXCEPT = default;
207 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} in min_pointer()
209 min_pointer(min_pointer<T, ID> p) TEST_NOEXCEPT : ptr_(p.ptr_) {} in min_pointer()
223 min_pointer() TEST_NOEXCEPT = default;
247 min_pointer() TEST_NOEXCEPT = default;
317 min_pointer() TEST_NOEXCEPT = default;
[all …]
H A Datomic_helpers.h19 explicit UserAtomicType(int d = 0) TEST_NOEXCEPT : i(d) {} in i()
53 LargeUserAtomicType(int d = 0) TEST_NOEXCEPT {
58 friend bool operator==(LargeUserAtomicType const& x, LargeUserAtomicType const& y) TEST_NOEXCEPT {
H A Dcontrolled_allocators.h245 CountingAllocator(CountingAllocator<U, ID> const& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator()
250 CountingAllocator(CountingAllocator<U, ID>&& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator()
311 CountingAllocator(CountingAllocator<U, ID> const& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator()
316 CountingAllocator(CountingAllocator<U, ID>&& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator()
362 MinAlignedAllocator(MinAlignedAllocator<U> const& other) TEST_NOEXCEPT : P(other.P) { in MinAlignedAllocator()
367 MinAlignedAllocator(MinAlignedAllocator<U>&& other) TEST_NOEXCEPT : P(other.P) { in MinAlignedAllocator()
465 NullAllocator(NullAllocator<U> const& other) TEST_NOEXCEPT : P(other.P) { in NullAllocator()
470 NullAllocator(NullAllocator<U>&& other) TEST_NOEXCEPT : P(other.P) { in NullAllocator()
H A Dcount_new.h370 void operator delete(void* p) TEST_NOEXCEPT in delete()
382 void operator delete[](void* p) TEST_NOEXCEPT
408 void operator delete(void *p, std::align_val_t av) TEST_NOEXCEPT { in delete()
426 void operator delete[](void *p, std::align_val_t av) TEST_NOEXCEPT {
/llvm-project-15.0.7/libcxx/test/libcxx/selftest/
H A Dtest_macros.pass.cpp17 #ifndef TEST_NOEXCEPT
18 #error TEST_NOEXCEPT must be defined
29 void test_noexcept() TEST_NOEXCEPT in test_noexcept()
/llvm-project-15.0.7/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/
H A 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()
H A Dsized_delete14.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()
H A Dsized_delete_fsizeddeallocation.pass.cpp39 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
45 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete()
51 void operator delete(void* p, std::size_t) TEST_NOEXCEPT in operator delete()
H A Dsized_delete_calls_unsized_delete.pass.cpp25 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
31 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete()
H A Dnew_replace.pass.cpp31 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
H A Dnew_nothrow_replace.pass.cpp33 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
/llvm-project-15.0.7/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/
H A Dsized_delete_array14.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[]()
H A 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[]()
H A Dsized_delete_array_fsizeddeallocation.pass.cpp39 void operator delete[](void* p) TEST_NOEXCEPT in operator delete[]()
45 void operator delete[](void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete[]()
51 void operator delete[](void* p, std::size_t) TEST_NOEXCEPT in operator delete[]()
H A Dsized_delete_array_calls_unsized_delete_array.pass.cpp25 void operator delete[](void* p) TEST_NOEXCEPT in operator delete[]()
31 void operator delete[](void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete[]()
H A Dnew_array_replace.pass.cpp33 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
/llvm-project-15.0.7/libcxx/test/libcxx/language.support/support.dynamic/
H A Dlibcpp_deallocate.sh.cpp95 void operator delete(void* p)TEST_NOEXCEPT { in operator delete()
102 void operator delete(void* p, size_t n)TEST_NOEXCEPT { in operator delete()
111 void operator delete(void* p, std::align_val_t a)TEST_NOEXCEPT { in operator delete()
118 void operator delete(void* p, size_t n, std::align_val_t a)TEST_NOEXCEPT { in operator delete()
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/refwrap/refwrap.const/
H A Dtype_conv_ctor2.pass.cpp30 TEST_CONSTEXPR operator B&() const TEST_NOEXCEPT { return b_; } in operator B&()
33 void implicitly_convert(std::reference_wrapper<B>) TEST_NOEXCEPT;
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/forward/
H A Dforward.pass.cpp23 A source() TEST_NOEXCEPT {return A();} in source()
24 const A csource() TEST_NOEXCEPT {return A();} in csource()
/llvm-project-15.0.7/libcxx/test/libcxx/strings/basic.string/
H A Dsizeof.compile.pass.cpp30 small_iter_allocator() TEST_NOEXCEPT {} in small_iter_allocator()
33 small_iter_allocator(small_iter_allocator<U>) TEST_NOEXCEPT {} in small_iter_allocator()
H A Dalignof.compile.pass.cpp32 small_iter_allocator() TEST_NOEXCEPT {} in small_iter_allocator()
35 small_iter_allocator(small_iter_allocator<U>) TEST_NOEXCEPT {} in small_iter_allocator()

12