Home
last modified time | relevance | path

Searched refs:bad_alloc (Results 1 – 24 of 24) sorted by relevance

/oneTBB/test/tbbmalloc/
H A Dtest_malloc_new_handler.cpp39 throw std::bad_alloc(); in customNewHandler()
53 } catch (const std::bad_alloc&) { in allocateWithException()
/oneTBB/include/oneapi/tbb/detail/
H A D_exception.h30 bad_alloc = 1, enumerator
51 class TBB_EXPORT bad_last_alloc : public std::bad_alloc {
H A D_segment_table.h299 throw_exception(exception_id::bad_alloc); in extend_table_if_necessary()
520 throw_exception(exception_id::bad_alloc); in internal_subscript()
/oneTBB/src/tbb/
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 Dexception.cpp81 case exception_id::bad_alloc: DO_THROW(std::bad_alloc, ()); break; in throw_exception()
/oneTBB/test/tbb/
H A Dtest_allocators.cpp56 } catch (std::bad_alloc&) {
H A Dtest_concurrent_queue.cpp184 }(), const std::bad_alloc); in __anon525151d10202()
192 }(), const std::bad_alloc); in __anon525151d10302()
H A Dtest_concurrent_hash_map.cpp782 }(), const std::bad_alloc); in __anon3741356d0302()
787 }(), const std::bad_alloc); in __anon3741356d0402()
794 }(), const std::bad_alloc); in __anon3741356d0502()
799 }(), const std::bad_alloc); in __anon3741356d0602()
804 }(), const std::bad_alloc); in __anon3741356d0702()
817 }(), const std::bad_alloc); in __anon3741356d0802()
H A Dtest_tbb_header.cpp158 TestExceptionClassExports( std::bad_alloc(), tbb::detail::exception_id::bad_alloc ); in TestExceptionClassesExports()
H A Dtest_concurrent_vector.cpp621 } catch (std::bad_alloc& ) {
644 }(), const std::bad_alloc); in __anon5f703c9f0702()
650 }(), const std::bad_alloc); in __anon5f703c9f0802()
660 }(), const std::bad_alloc); in __anon5f703c9f0902()
H A Dtest_concurrent_unordered_map.cpp241 }(), const std::bad_alloc); in __anonf1fab3910102()
/oneTBB/include/oneapi/tbb/
H A Dscalable_allocator.h227 throw_exception(std::bad_alloc()); in allocate()
292 throw_exception(std::bad_alloc()); in do_allocate()
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 Dmemory_pool.h112 throw_exception(std::bad_alloc());
/oneTBB/doc/main/reference/scalable_memory_pools/
H A Dfixed_pool_cls.rst60 Throws the ``bad_alloc`` exception if the library fails to construct an instance of the class.
H A Dmemory_pool_cls.rst66 Throws the ``bad_alloc`` exception if runtime fails to construct an instance of the class.
/oneTBB/test/common/
H A Dcustom_allocators.h163 TBB_TEST_THROW(std::bad_alloc()); in allocate()
272 TBB_TEST_THROW(std::bad_alloc{}); in allocate()
409 TBB_TEST_THROW(std::bad_alloc()); in allocate()
H A Dcontainer_move_support.h105 struct FooException : std::bad_alloc {
778 …OW_EXCEPTION(container_type dst(std::move(fixture.source), fixture.dst_allocator), std::bad_alloc); in test_ex_move_ctor_unequal_allocator_memory_failure()
H A Dallocator_test_common.h205 } catch (std::bad_alloc&) { in TestAllocatorExceptions()
/oneTBB/test/conformance/
H A Dconformance_concurrent_vector.cpp447 } catch(std::bad_alloc &e) { in TestExceptions()
566 }(), const std::bad_alloc); in test_ex_assign_operator()
1080 std::bad_alloc in test_ex_move_assignment_memory_failure()
1109 std::bad_alloc in test_ex_move_assignment_element_ctor_exception()
H A Dconformance_concurrent_queue.cpp352 class Bar_exception : public std::bad_alloc {
778 class Foo_exception : public std::bad_alloc {
903 } catch ( std::bad_alloc & ) { in TestExceptionBody()
H A Dconformance_concurrent_hash_map.cpp36 class MyException : public std::bad_alloc {
516 } catch(std::bad_alloc &e) { in TestExceptions()
H A Dconformance_enumerable_thread_specific.cpp122 throw std::bad_alloc(); in Thrower()
/oneTBB/src/tbbmalloc_proxy/
H A Dproxy.cpp100 throw std::bad_alloc(); in InternalOperatorNew()