| /oneTBB/test/common/ |
| H A D | spin_barrier.h | 59 void SpinWaitWhileCondition(const std::atomic<T>& location, C comp) { in SpinWaitWhileCondition() argument 60 SpinWaitWhile([&] { return comp(location.load(std::memory_order_acquire)); }); in SpinWaitWhileCondition() 66 void SpinWaitWhileEq(const std::atomic<T>& location, const U value) { in SpinWaitWhileEq() argument 67 SpinWaitWhileCondition(location, [&value](T t) { return t == value; }); in SpinWaitWhileEq() 73 void SpinWaitUntilEq(const std::atomic<T>& location, const U value) { in SpinWaitUntilEq() argument 74 SpinWaitWhileCondition(location, [&value](T t) { return t != value; }); in SpinWaitUntilEq() 83 void operator()( const std::atomic<T>& location, U value ) const { in operator() 84 SpinWaitWhileEq(location, value); in operator()
|
| H A D | container_move_support.h | 341 … auto is_same_location = []( const typename ContainerType::value_type& v, const void* location ) { in content_location_unchanged() 342 return &v == location; in content_location_unchanged() 350 …to is_not_same_location = []( const typename ContainerType::value_type& v, const void* location ) { in content_location_changed() 351 return &v != location; in content_location_changed()
|
| /oneTBB/src/tbb/ |
| H A D | assert_impl.h | 41 static void assertion_failure_impl(const char* location, int line, const char* expression, const ch… in assertion_failure_impl() argument 44 expression, location, line); in assertion_failure_impl() 50 …if (1 == _CrtDbgReport(_CRT_ASSERT, location, line, "tbb_debug.dll", "%s\r\n%s", expression, comme… in assertion_failure_impl() 65 void __TBB_EXPORTED_FUNC assertion_failure(const char* location, int line, const char* expression, … in assertion_failure() argument 73 …atomic_do_once([&](){ assertion_failure_impl(location, line, expression, comment); }, assertion_st… in assertion_failure()
|
| H A D | queuing_rw_mutex.cpp | 42 … static T* fetch_add( std::atomic<word>& location, word addend, std::memory_order memory_order ) { in fetch_add() argument 43 return reinterpret_cast<T*>(location.fetch_add(addend, memory_order)); in fetch_add() 46 static T* exchange( std::atomic<word>& location, T* value, std::memory_order memory_order ) { in exchange() argument 47 return reinterpret_cast<T*>(location.exchange(reinterpret_cast<word>(value), memory_order)); in exchange() 56 … static void store( std::atomic<word>& location, const T* value, std::memory_order memory_order ) { in store() argument 57 location.store(reinterpret_cast<word>(value), memory_order); in store() 60 static T* load( std::atomic<word>& location, std::memory_order memory_order ) { in load() argument 61 return reinterpret_cast<T*>(location.load(memory_order)); in load() 64 static void spin_wait_while_eq(const std::atomic<word>& location, const T* value) { in spin_wait_while_eq() argument 65 tbb::detail::d0::spin_wait_while_eq(location, reinterpret_cast<word>(value) ); in spin_wait_while_eq()
|
| /oneTBB/src/tbbmalloc/ |
| H A D | Synchronize.h | 78 inline void SpinWaitWhileEq(const std::atomic<intptr_t>& location, const intptr_t value) { in SpinWaitWhileEq() argument 79 tbb::detail::spin_wait_while_eq(location, value); in SpinWaitWhileEq() 84 inline void SpinWaitUntilEq(const std::atomic<intptr_t>& location, const intptr_t value) { in SpinWaitUntilEq() argument 85 tbb::detail::spin_wait_until_eq(location, value); in SpinWaitUntilEq()
|
| H A D | tbbmalloc_internal.h | 162 inline void AtomicUpdate(std::atomic<Arg>& location, Arg newVal, const Compare &cmp) in AtomicUpdate() argument 165 Arg old = location.load(std::memory_order_acquire); in AtomicUpdate() 167 if (location.compare_exchange_strong(old, newVal)) in AtomicUpdate()
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _utils.h | 96 T spin_wait_while(const std::atomic<T>& location, C comp, std::memory_order order) { in spin_wait_while() argument 98 T snapshot = location.load(order); in spin_wait_while() 101 snapshot = location.load(order); in spin_wait_while() 109 T spin_wait_while_eq(const std::atomic<T>& location, const U value, std::memory_order order = std::… 110 return spin_wait_while(location, [&value](T t) { return t == value; }, order); 116 T spin_wait_until_eq(const std::atomic<T>& location, const U value, std::memory_order order = std::… 117 return spin_wait_while(location, [&value](T t) { return t != value; }, order);
|
| H A D | _assert.h | 33 TBB_EXPORT void __TBB_EXPORTED_FUNC assertion_failure(const char* location, int line, const char* e…
|
| H A D | _concurrent_queue_base.h | 106 using item_constructor_type = void (*)(value_type* location, const void* src);
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | concurrent_queue.h | 256 static void copy_construct_item(T* location, const void* src) { in copy_construct_item() argument 258 new (location) value_type(*static_cast<const value_type*>(src)); in copy_construct_item() 262 static void move_construct_item(T* location, const void* src) { in move_construct_item() argument 264 new (location) value_type(std::move(*static_cast<value_type*>(const_cast<void*>(src)))); in move_construct_item() 644 static void copy_construct_item(T* location, const void* src) { in copy_construct_item() argument 646 new (location) value_type(*static_cast<const value_type*>(src)); in copy_construct_item() 649 static void move_construct_item(T* location, const void* src) { in move_construct_item() argument 651 new (location) value_type(std::move(*static_cast<value_type*>(const_cast<void*>(src)))); in move_construct_item()
|
| H A D | enumerable_thread_specific.h | 1027 ets_element<T> location; 1028 my_construct_callback->construct(location.value()); 1029 return *location.value_committed();
|
| /oneTBB/src/tbbmalloc_proxy/ |
| H A D | function_replacement.cpp | 381 UINT_PTR location = memProvider.GetLocation(srcAddr); in InsertTrampoline64() local 382 if (!location) in InsertTrampoline64() 390 UINT_PTR *locPtr = (UINT_PTR *)Addrint2Ptr(location); in InsertTrampoline64() 415 offset = location - srcAddr - SIZE_OF_INDJUMP; in InsertTrampoline64()
|
| /oneTBB/examples/getting_started/sub_string_finder/ |
| H A D | README.md | 4 …tching substring elsewhere in the string. The program also displays the location of a largest matc…
|
| /oneTBB/doc/main/intro/ |
| H A D | limitations.rst | 39 **Solution:** Use the ``-L`` linker option to specify the correct location of oneTBB library.
|
| /oneTBB/examples/common/utility/ |
| H A D | utility.hpp | 258 static void _(std::string const& location) { in parse() 260 location + "'"); in parse()
|
| /oneTBB/cmake/ |
| H A D | config_generation.cmake | 15 # Save current location,
|
| H A D | README.md | 229 …1. Let CMake know where to search for TBBConfig, e.g. specify the location of ``TBBConfig.cmake`` …
|
| /oneTBB/doc/main/tbb_userguide/design_patterns/ |
| H A D | Fenced_Data_Transfer.rst | 24 concurrently act on a memory location, or are using reads and writes
|
| /oneTBB/doc/ |
| H A D | Doxyfile.in | 58 # entered, it will be relative to the location where doxygen was started. If 1337 # The HHC_LOCATION tag can be used to specify the location (absolute path 1429 # The QHG_LOCATION tag can be used to specify the location of Qt's 1549 # When MathJax is enabled you need to specify the location relative to the HTML 1657 # to a relative location where the documentation can be found. The format is: 2129 # file the location of the external documentation should be added. The format of 2130 # a tag file without this location is as follows: 2132 # Adding location for the tag files is done as follows: 2233 # standard location or by setting the DOTFONTPATH environment variable or by
|