Home
last modified time | relevance | path

Searched refs:TEST_NOEXCEPT (Results 1 – 25 of 32) 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.h26 bare_allocator() TEST_NOEXCEPT {} in bare_allocator()
29 bare_allocator(bare_allocator<U>) TEST_NOEXCEPT {} in bare_allocator()
67 no_default_allocator(no_default_allocator<U>) TEST_NOEXCEPT {} in no_default_allocator()
113 malloc_allocator() TEST_NOEXCEPT { assert(!disable_default_constructor); } in malloc_allocator()
116 malloc_allocator(malloc_allocator<U>) TEST_NOEXCEPT {} in malloc_allocator()
150 min_pointer() TEST_NOEXCEPT = default;
151 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} in min_pointer()
153 min_pointer(min_pointer<T, ID> p) TEST_NOEXCEPT : ptr_(p.ptr_) {} in min_pointer()
167 min_pointer() TEST_NOEXCEPT = default;
168 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} in min_pointer()
[all …]
Dtest_allocator.h65 test_allocator() TEST_NOEXCEPT : data_(0), id_(0) {++count;} in test_allocator()
66 explicit test_allocator(int i, int id = 0) TEST_NOEXCEPT : data_(i), id_(id) in data_()
68 test_allocator(const test_allocator& a) TEST_NOEXCEPT in test_allocator()
70 template <class U> test_allocator(const test_allocator<U>& a) TEST_NOEXCEPT in test_allocator()
72 ~test_allocator() TEST_NOEXCEPT { in ~test_allocator()
94 size_type max_size() const TEST_NOEXCEPT in max_size()
134 explicit non_default_test_allocator(int i) TEST_NOEXCEPT : data_(i) {++count;} in non_default_test_allocator()
135 non_default_test_allocator(const non_default_test_allocator& a) TEST_NOEXCEPT in non_default_test_allocator()
137 …template <class U> non_default_test_allocator(const non_default_test_allocator<U>& a) TEST_NOEXCEPT in non_default_test_allocator()
139 ~non_default_test_allocator() TEST_NOEXCEPT {assert(data_ >= 0); --count; data_ = -1;} 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
Dtest_macros.h97 #define TEST_NOEXCEPT noexcept macro
114 #define TEST_NOEXCEPT throw() macro
Dcount_new.hpp246 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
260 void operator delete[](void* p) TEST_NOEXCEPT in operator delete[]()
/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.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.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()
Ddelete_align_val_t_replace.pass.cpp40 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
46 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete()
52 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.cpp32 void operator delete(void* p) 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.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[]()
Ddelete_align_val_t_replace.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::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.cpp33 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
Dnew_array_nothrow_replace.pass.cpp32 void operator delete(void* p) TEST_NOEXCEPT in operator delete()
/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
Datomic_helpers.h21 explicit UserAtomicType(int d = 0) TEST_NOEXCEPT : i(d) {} in i()

12