Searched refs:exception_id (Results 1 – 17 of 17) sorted by relevance
| /oneTBB/src/tbb/ |
| H A D | exception.cpp | 79 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 D | allocator.cpp | 187 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 D | concurrent_monitor.h | 173 throw_exception(exception_id::user_abort); in wait()
|
| H A D | governor.cpp | 312 throw_exception(exception_id::unsafe_wait); in finalize()
|
| /oneTBB/test/tbb/ |
| H A D | test_tbb_header.cpp | 135 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.h | 29 enum class exception_id { enum 77 TBB_EXPORT void __TBB_EXPORTED_FUNC throw_exception ( exception_id );
|
| H A D | _segment_table.h | 235 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.h | 359 throw_exception(exception_id::bad_tagged_msg_cast);
|
| H A D | _concurrent_queue_base.h | 346 throw_exception( exception_id::bad_last_alloc); in spin_wait_until_my_turn()
|
| H A D | _concurrent_unordered_base.h | 663 tbb::detail::throw_exception(exception_id::invalid_load_factor); in max_load_factor()
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | concurrent_priority_queue.h | 177 throw_exception(exception_id::bad_alloc); in push() 185 throw_exception(exception_id::bad_alloc); in push()
|
| H A D | concurrent_vector.h | 503 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 D | parallel_for.h | 308 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 D | concurrent_unordered_map.h | 112 throw_exception(exception_id::invalid_key); in at() 121 throw_exception(exception_id::out_of_range); in at()
|
| H A D | concurrent_queue.h | 565 throw_exception(exception_id::user_abort); in internal_push() 610 throw_exception(exception_id::user_abort); in internal_pop()
|
| H A D | concurrent_map.h | 116 throw_exception(exception_id::invalid_key); in at()
|
| H A D | task_group.h | 575 throw_exception(exception_id::missing_wait); in noexcept()
|