Home
last modified time | relevance | path

Searched refs:noexcept (Results 1 – 25 of 47) sorted by relevance

12

/oneTBB/test/common/
H A Dstate_trackable.h42 State() noexcept : state(Unspecified) {} in State()
48 State( StateValue s ) noexcept : state(Unspecified) { in State()
52 State& operator=( const State& st ) noexcept {
57 State& operator=( StateValue s ) noexcept {
62 operator StateValue() const noexcept { return state; } in StateValue()
64 void assign_new_state( StateValue s ) noexcept;
112 StateTrackable( intptr_t ) noexcept : state(DirectInitialized) {} in StateTrackable()
113 StateTrackable() noexcept : state(DefaultInitialized) {} in StateTrackable()
124 StateTrackable& operator=( const StateTrackable& src ) noexcept {
131 StateTrackable& operator=( StateTrackable&& src ) noexcept {
[all …]
H A Dallocator_stl_test_common.h74 MoveOperationTracker(MoveOperationTracker&& m) noexcept : my_value( m.my_value ) { in MoveOperationTracker()
80 MoveOperationTracker& operator=(MoveOperationTracker&& m) noexcept {
H A Dcustom_allocators.h33 ArenaData( T* buf, std::size_t sz ) noexcept in ArenaData()
58 ArenaAllocator( arena_data_type& data ) noexcept : my_data(&data) {} in ArenaAllocator()
61 ArenaAllocator( const ArenaAllocator<U, POCMA2, CounterType>& other ) noexcept in ArenaAllocator()
88 std::size_t max_size() const noexcept { in max_size()
402 StaticSharedCountingAllocator( const Alloc& src ) noexcept in StaticSharedCountingAllocator()
H A Dgraph_utils.h692 void operator()(int) const noexcept {
705 …void operator()(const std::thread::id& input, gateway_type&) noexcept { increase_and_check(input);…
707 output_tuple_type operator()(const std::thread::id& input) noexcept {
744 void operator()(int) const noexcept {
789 void operator()(const std::thread::id& input, gateway_type&) noexcept(NoExcept) {
792 output_tuple_type operator()(const std::thread::id& input) noexcept(NoExcept) {
/oneTBB/include/oneapi/tbb/detail/
H A D_task_handle.h76 explicit operator bool() const noexcept { return static_cast<bool>(m_handle); }
78 friend bool operator==(task_handle const& th, std::nullptr_t) noexcept;
79 friend bool operator==(std::nullptr_t, task_handle const& th) noexcept;
81 friend bool operator!=(task_handle const& th, std::nullptr_t) noexcept;
82 friend bool operator!=(std::nullptr_t, task_handle const& th) noexcept;
103 inline bool operator==(task_handle const& th, std::nullptr_t) noexcept {
106 inline bool operator==(std::nullptr_t, task_handle const& th) noexcept {
110 inline bool operator!=(task_handle const& th, std::nullptr_t) noexcept {
114 inline bool operator!=(std::nullptr_t, task_handle const& th) noexcept {
H A D_exception.h53 const char* __TBB_EXPORTED_METHOD what() const noexcept(true) override;
59 const char* __TBB_EXPORTED_METHOD what() const noexcept(true) override;
65 const char* __TBB_EXPORTED_METHOD what() const noexcept(true) override;
H A D_waitable_atomic.h52 T load(std::memory_order order) const noexcept { in load()
56 T exchange(T desired) noexcept { in exchange()
H A D_scoped_lock.h32 constexpr unique_scoped_lock() noexcept : m_mutex(nullptr) {} in unique_scoped_lock()
82 constexpr rw_scoped_lock() noexcept {} in rw_scoped_lock()
H A D_concurrent_unordered_base.h387 …void swap( concurrent_unordered_base& other ) noexcept(unordered_segment_table::is_noexcept_swap) { in swap()
395 allocator_type get_allocator() const noexcept { return my_segments.get_allocator(); } in get_allocator()
397 iterator begin() noexcept { return iterator(first_value_node(&my_head)); } in begin()
398 …const_iterator begin() const noexcept { return const_iterator(first_value_node(const_cast<node_ptr… in begin()
401 iterator end() noexcept { return iterator(nullptr); } in end()
402 const_iterator end() const noexcept { return const_iterator(nullptr); } in end()
403 const_iterator cend() const noexcept { return const_iterator(nullptr); } in cend()
405 __TBB_nodiscard bool empty() const noexcept { return size() == 0; } in empty()
406 size_type size() const noexcept { return my_size.load(std::memory_order_relaxed); } in size()
407 size_type max_size() const noexcept { return allocator_traits_type::max_size(get_allocator()); } in max_size()
[all …]
H A D_template_helpers.h191 raii_guard( Func f ) noexcept : my_func(f), is_active(true) {}
193 raii_guard( raii_guard&& g ) noexcept : my_func(std::move(g.my_func)), is_active(g.is_active) {
258 static const bool value = noexcept(swap(std::declval<T&>(), std::declval<T&>()));
264 struct is_nothrow_swappable_impl : std::integral_constant<bool, noexcept(swap(std::declval<T&>(), s…
H A D_utils.h353 noexcept(std::is_nothrow_invocable_v<F, Args...>) in atomic_do_once()
359 noexcept(noexcept(std::forward<F>(f)(std::forward<Args>(args)...))) in atomic_do_once()
H A D_segment_table.h129 noexcept(derived_type::is_noexcept_assignment) in noexcept() function
142 noexcept(derived_type::is_noexcept_swap) in swap()
209 size_type capacity() const noexcept { in capacity()
221 size_type find_last_allocated_segment( segment_table_type table ) const noexcept { in find_last_allocated_segment()
/oneTBB/src/tbb/
H A Dexception.cpp39 const char* bad_last_alloc::what() const noexcept(true) { return "bad allocation in previous or con… in what()
40 const char* user_abort::what() const noexcept(true) { return "User-initiated abort has terminated t… in what()
41 const char* missing_wait::what() const noexcept(true) { return "wait() was not called on the struct… in what()
45 /*[[noreturn]]*/ void do_throw_noexcept(F throw_func) noexcept { in do_throw_noexcept()
49 /*[[noreturn]]*/ void do_throw_noexcept(void (*throw_func)()) noexcept { in do_throw_noexcept()
H A Dtask_dispatcher.cpp186 /* [[noreturn]] */ void __stdcall co_local_wait_for_all(void* addr) noexcept in co_local_wait_for_all()
188 /* [[noreturn]] */ void co_local_wait_for_all(unsigned hi, unsigned lo) noexcept in co_local_wait_for_all()
204 /* [[noreturn]] */ void task_dispatcher::co_local_wait_for_all() noexcept { in co_local_wait_for_all()
H A Dscheduler_common.h320 static tbb_exception_ptr* allocate() noexcept;
324 void destroy() noexcept;
551 /* [[noreturn]] */ void co_local_wait_for_all() noexcept; in alignas()
/oneTBB/include/oneapi/tbb/
H A Dglobal_control.h131 task_scheduler_handle(task_scheduler_handle&& other) noexcept { in task_scheduler_handle()
134 task_scheduler_handle& operator=(task_scheduler_handle&& other) noexcept {
140 explicit operator bool() const noexcept {
158 friend bool finalize(task_scheduler_handle&, const std::nothrow_t&) noexcept;
178 inline bool finalize(task_scheduler_handle& handle, const std::nothrow_t&) noexcept { in finalize()
H A Dtbb_allocator.h56 template<typename U> tbb_allocator(const tbb_allocator<U>&) noexcept {} in tbb_allocator()
84 size_type max_size() const noexcept { in max_size()
111 inline bool operator==(const tbb_allocator<T>&, const tbb_allocator<U>&) noexcept { return true; }
115 inline bool operator!=(const tbb_allocator<T>&, const tbb_allocator<U>&) noexcept { return false; }
H A Dcache_aligned_allocator.h50 template<typename U> cache_aligned_allocator(const cache_aligned_allocator<U>&) noexcept {} in cache_aligned_allocator()
63 std::size_t max_size() const noexcept { in max_size()
100 bool operator==(const cache_aligned_allocator<T>&, const cache_aligned_allocator<U>&) noexcept { re…
104 bool operator!=(const cache_aligned_allocator<T>&, const cache_aligned_allocator<U>&) noexcept { re…
146 bool do_is_equal(const std::pmr::memory_resource& other) const noexcept override { in do_is_equal()
H A Dscalable_allocator.h221 template<typename U> scalable_allocator(const scalable_allocator<U>&) noexcept {} in scalable_allocator()
248 size_type max_size() const noexcept { in max_size()
276 inline bool operator==(const scalable_allocator<T>&, const scalable_allocator<U>&) noexcept { retur…
280 inline bool operator!=(const scalable_allocator<T>&, const scalable_allocator<U>&) noexcept { retur…
303 bool do_is_equal(const std::pmr::memory_resource& other) const noexcept override { in do_is_equal()
314 inline std::pmr::memory_resource* scalable_memory_resource() noexcept { in scalable_memory_resource()
H A Dnull_mutex.h34 constexpr null_mutex() noexcept = default;
47 constexpr scoped_lock() noexcept = default;
H A Dnull_rw_mutex.h34 constexpr null_rw_mutex() noexcept = default;
47 constexpr scoped_lock() noexcept = default;
H A Dspin_mutex.h48 spin_mutex() noexcept : m_flag(false) { in spin_mutex()
H A Dtask_group.h296 task_group_context& actual_context() noexcept { in actual_context()
304 const task_group_context& actual_context() const noexcept { in actual_context()
537 task_group_context& context() noexcept { in context()
562 ~task_group_base() noexcept(false) { in noexcept() function
H A Dconcurrent_vector.h283 explicit concurrent_vector( const allocator_type& alloc ) noexcept in concurrent_vector()
332 concurrent_vector(concurrent_vector&& other) noexcept in concurrent_vector()
353 concurrent_vector& operator=( concurrent_vector&& other ) noexcept(is_noexcept_assignment) { in noexcept() function
483 bool empty() const noexcept { in empty()
487 size_type size() const noexcept { in size()
491 size_type max_size() const noexcept { in max_size()
495 size_type capacity() const noexcept { in capacity()
522 void swap(concurrent_vector& other) noexcept(is_noexcept_swap) { in swap()
/oneTBB/src/tbbmalloc_proxy/
H A Dproxy.cpp317 void operator delete(void* ptr) noexcept { in operator delete()
321 void operator delete[](void* ptr) noexcept { in operator delete[]()
325 void* operator new(size_t sz, const std::nothrow_t&) noexcept { in operator new()
328 void* operator new[](std::size_t sz, const std::nothrow_t&) noexcept { in operator new[]()
331 void operator delete(void* ptr, const std::nothrow_t&) noexcept { in operator delete()
335 void operator delete[](void* ptr, const std::nothrow_t&) noexcept { in operator delete[]()
537 void operator_delete(void* ptr) noexcept { in operator_delete()
544 void operator_delete_arr(void* ptr) noexcept { in operator_delete_arr()
547 void* operator_new_t(size_t sz, const std::nothrow_t&) noexcept { in operator_new_t()
553 void operator_delete_t(void* ptr, const std::nothrow_t&) noexcept { in operator_delete_t()
[all …]

12