Home
last modified time | relevance | path

Searched refs:exception_id (Results 1 – 17 of 17) sorted by relevance

/oneTBB/src/tbb/
H A Dexception.cpp79 void throw_exception ( exception_id eid ) { in throw_exception()
81 case exception_id::bad_alloc: DO_THROW(std::bad_alloc, ()); break; in throw_exception()
82 case exception_id::bad_last_alloc: DO_THROW(bad_last_alloc, ()); break; in throw_exception()
83 case exception_id::user_abort: DO_THROW( user_abort, () ); break; in throw_exception()
84 …case exception_id::nonpositive_step: DO_THROW(std::invalid_argument, ("Step must be positive") ); … in throw_exception()
85 …case exception_id::out_of_range: DO_THROW(std::out_of_range, ("Index out of requested size range")… in throw_exception()
87 case exception_id::missing_wait: DO_THROW(missing_wait, ()); break; in throw_exception()
88 …case exception_id::invalid_load_factor: DO_THROW(std::out_of_range, ("Invalid hash load factor"));… in throw_exception()
89 case exception_id::invalid_key: DO_THROW(std::out_of_range, ("invalid key")); break; in throw_exception()
90 …case exception_id::bad_tagged_msg_cast: DO_THROW(std::runtime_error, ("Illegal tagged_msg cast"));… in throw_exception()
[all …]
H A Dallocator.cpp187 throw_exception(exception_id::bad_alloc); in cache_aligned_allocate()
194 throw_exception(exception_id::bad_alloc); in cache_aligned_allocate()
253 throw_exception(exception_id::bad_alloc); in allocate_memory()
H A Dconcurrent_monitor.h173 throw_exception(exception_id::user_abort); in wait()
H A Dgovernor.cpp312 throw_exception(exception_id::unsafe_wait); in finalize()
/oneTBB/test/tbb/
H A Dtest_tbb_header.cpp135 void TestExceptionClassExports ( const E& exc, tbb::detail::exception_id eid ) { in TestExceptionClassExports()
136 CHECK( eid < tbb::detail::exception_id::last_entry ); in TestExceptionClassExports()
158 TestExceptionClassExports( std::bad_alloc(), tbb::detail::exception_id::bad_alloc ); in TestExceptionClassesExports()
159 TestExceptionClassExports( tbb::bad_last_alloc(), tbb::detail::exception_id::bad_last_alloc ); in TestExceptionClassesExports()
160 …TestExceptionClassExports( std::invalid_argument("test"), tbb::detail::exception_id::nonpositive_s… in TestExceptionClassesExports()
161 TestExceptionClassExports( std::out_of_range("test"), tbb::detail::exception_id::out_of_range ); in TestExceptionClassesExports()
162 TestExceptionClassExports( tbb::missing_wait(), tbb::detail::exception_id::missing_wait ); in TestExceptionClassesExports()
163 …TestExceptionClassExports( std::out_of_range("test"), tbb::detail::exception_id::invalid_load_fact… in TestExceptionClassesExports()
165 TestExceptionClassExports( std::out_of_range("test"), tbb::detail::exception_id::invalid_key ); in TestExceptionClassesExports()
166 TestExceptionClassExports( tbb::user_abort(), tbb::detail::exception_id::user_abort ); in TestExceptionClassesExports()
[all …]
/oneTBB/include/oneapi/tbb/detail/
H A D_exception.h29 enum class exception_id { enum
77 TBB_EXPORT void __TBB_EXPORTED_FUNC throw_exception ( exception_id );
H A D_segment_table.h235 throw_exception(exception_id::reservation_length_error); in reserve()
299 throw_exception(exception_id::bad_alloc); in extend_table_if_necessary()
520 throw_exception(exception_id::bad_alloc); in internal_subscript()
H A D_flow_graph_types_impl.h359 throw_exception(exception_id::bad_tagged_msg_cast);
H A D_concurrent_queue_base.h346 throw_exception( exception_id::bad_last_alloc); in spin_wait_until_my_turn()
H A D_concurrent_unordered_base.h663 tbb::detail::throw_exception(exception_id::invalid_load_factor); in max_load_factor()
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_priority_queue.h177 throw_exception(exception_id::bad_alloc); in push()
185 throw_exception(exception_id::bad_alloc); in push()
H A Dconcurrent_vector.h503 tbb::detail::throw_exception(exception_id::reservation_length_error); in reserve()
752 tbb::detail::throw_exception(exception_id::out_of_range); in internal_subscript_with_exceptions()
759 tbb::detail::throw_exception(exception_id::out_of_range); in internal_subscript_with_exceptions()
763 tbb::detail::throw_exception(exception_id::out_of_range); in internal_subscript_with_exceptions()
H A Dparallel_for.h308 throw_exception(exception_id::nonpositive_step); // throws std::invalid_argument in parallel_for_impl()
384 throw_exception(exception_id::nonpositive_step); // throws std::invalid_argument in parallel_for_impl()
H A Dconcurrent_unordered_map.h112 throw_exception(exception_id::invalid_key); in at()
121 throw_exception(exception_id::out_of_range); in at()
H A Dconcurrent_queue.h565 throw_exception(exception_id::user_abort); in internal_push()
610 throw_exception(exception_id::user_abort); in internal_pop()
H A Dconcurrent_map.h116 throw_exception(exception_id::invalid_key); in at()
H A Dtask_group.h575 throw_exception(exception_id::missing_wait); in noexcept()