Home
last modified time | relevance | path

Searched refs:h (Results 1 – 25 of 122) sorted by relevance

12345

/oneTBB/src/tbb/tools_api/
H A Dittnotify_config.h531 if (h != NULL) { \
548 if (h != NULL) { \
567 if (h != NULL) { \
583 if (h != NULL) { \
601 if (h != NULL) { \
616 if (h != NULL) { \
633 if (h != NULL) { \
650 if (h != NULL) { \
671 if (h != NULL) { \
679 h->next = NULL; \
[all …]
H A Dittnotify_static.c378 for (h_tail = NULL, h = _N_(_ittapi_global).domain_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
431 for (h_tail = NULL, h = _N_(_ittapi_global).domain_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
502 for (h_tail = NULL, h = _N_(_ittapi_global).string_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
555 for (h_tail = NULL, h = _N_(_ittapi_global).string_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
595 … for (h_tail = NULL, h = _N_(_ittapi_global).counter_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
651 … for (h_tail = NULL, h = _N_(_ittapi_global).counter_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
691 … for (h_tail = NULL, h = _N_(_ittapi_global).counter_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
746 … for (h_tail = NULL, h = _N_(_ittapi_global).counter_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
786 … for (h_tail = NULL, h = _N_(_ittapi_global).histogram_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
880 … for (h_tail = NULL, h = _N_(_ittapi_global).counter_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
[all …]
/oneTBB/test/conformance/
H A Dconformance_task_group.cpp41 auto h = tg.defer([&]{ in __anon0c2008c70102() variable
51 oneapi::tbb::task_handle h; variable
58 h = tg.defer([&]{ in __anon0c2008c70202()
62 tg.run(std::move(h));
72 oneapi::tbb::task_handle h; variable
79 h = tg.defer([&]{ in __anon0c2008c70302()
94 oneapi::tbb::task_handle h; variable
99 h = tg.defer([]{}); in __anon0c2008c70402()
116 h = tg.defer([]{}); in __anon0c2008c70502()
167 tg.run(std::move(h)); in __anon0c2008c70902()
[all …]
/oneTBB/doc/main/tbb_userguide/
H A Duse_nested_flow_graphs.rst19 graph h;
20 node_t n1( h, [=]( msg_t ) { cout << "n1: " << i << "\n"; } );
21 node_t n2( h, [=]( msg_t ) { cout << "n2: " << i << "\n"; } );
29 h.wait_for_all();
33 graph h;
55 h.wait_for_all();
75 graph h;
100 graph h;
110 h.wait_for_all();
115 h.wait_for_all(); // optional since h is not destroyed
[all …]
H A DMore_on_HashCompare.rst30 size_t h = ...compute hash code for f...
31 return h;
71 size_t h = 0;
73 h = (h*16777179)^*(ignore_case?tolower(*s):*s);
74 return h;
H A Dconcurrent_hash_map.rst21 #include "oneapi/tbb/concurrent_hash_map.h"
22 #include "oneapi/tbb/blocked_range.h"
23 #include "oneapi/tbb/parallel_for.h"
34 size_t h = 0;
36 h = (h*17)^*s;
37 return h;
/oneTBB/src/tbb/
H A Ddynamic_link.h47 #define DLD(s,h) {#s, (pointer_to_handler*)(void*)(&h), (pointer_to_handler)&s} argument
48 #define DLD_NOWEAK(s,h) {#s, (pointer_to_handler*)(void*)(&h), nullptr} argument
50 #define DLD(s,h) {#s, (pointer_to_handler*)(void*)(&h)} argument
51 #define DLD_NOWEAK(s,h) DLD(s,h) argument
H A Dsemaphore.cpp35 shptr->h = CreateEventEx( nullptr, nullptr, 0, EVENT_ALL_ACCESS|SEMAPHORE_ALL_ACCESS ); in init_binsem_using_event()
41 WaitForSingleObjectEx( shptr->h, INFINITE, FALSE ); in acquire_binsem_using_event()
47 SetEvent( shptr->h ); in release_binsem_using_event()
81 CloseHandle( my_sem.h ); in ~binary_semaphore()
H A Drml_thread_monitor.h145 …HANDLE h = (HANDLE)_beginthreadex( nullptr, unsigned(stack_size), thread_routine, arg, STACK_SIZE_… in launch() local
146 if( !h ) { in launch()
150 … MoveThreadIntoProcessorGroup( h, FindProcessorGroupIndex( static_cast<int>(*worker_index) ) ); in launch()
151 ResumeThread( h ); in launch()
153 return h; in launch()
/oneTBB/
H A DBUILD.bazel27 "src/tbb/*.h",
33 "include/tbb/*.h",
34 "include/oneapi/*.h",
35 "include/oneapi/tbb/*.h",
36 "include/oneapi/tbb/detail/*.h",
86 "src/tbbmalloc/*.h",
87 "src/tbb/*.h",
88 "src/tbbmalloc_proxy/*.h",
97 "include/tbb/*.h",
98 "include/oneapi/tbb/detail/*.h",
[all …]
/oneTBB/examples/parallel_for/polygon_overlay/gui/
H A Dpolygon_overlay.rc3 #include "resource.h"
10 #include <windows.h>
30 "resource.h\0"
35 "#include ""windows.h""\r\n"
/oneTBB/examples/common/gui/xcode/tbbExample/
H A DOpenGLView.h17 #import <Foundation/Foundation.h>
21 #import <UIKit/UIKit.h>
39 #import <Foundation/Foundation.h>
40 #import <Cocoa/Cocoa.h>
H A Dmain.m17 #import <Availability.h>
18 #import <Foundation/Foundation.h>
22 #import <UIKit/UIKit.h>
23 #import "tbbAppDelegate.h"
41 #import <Cocoa/Cocoa.h>
H A DtbbAppDelegate.h21 #import <Foundation/Foundation.h>
25 #import <UIKit/UIKit.h>
35 #import <Cocoa/Cocoa.h>
/oneTBB/doc/main/tbb_userguide/Migration_Guide/
H A DTask_Scheduler_Init.rst47 #include <oneapi/tbb/info.h>
48 #include <oneapi/tbb/parallel_for.h>
49 #include <oneapi/tbb/task_arena.h>
78 #include <oneapi/tbb/info.h>
79 #include <oneapi/tbb/parallel_for.h>
80 #include <oneapi/tbb/task_arena.h>
81 #include <oneapi/tbb/global_control.h>
124 #include <oneapi/tbb/parallel_for.h>
125 #include <oneapi/tbb/global_control.h>
149 #include <oneapi/tbb/global_control.h>
[all …]
/oneTBB/examples/graph/fgbzip2/
H A Dblocksort.cpp636 Int32 i, j, h, bigN, hp; in mainSimpleSort() local
649 h = incs[hp]; in mainSimpleSort()
651 i = lo + h; in mainSimpleSort()
660 j = j - h; in mainSimpleSort()
674 j = j - h; in mainSimpleSort()
688 j = j - h; in mainSimpleSort()
1024 Int32 h = 1; in mainSort() local
1026 h = 3 * h + 1; in mainSort()
1027 while (h <= 256); in mainSort()
1029 h = h / 3; in mainSort()
[all …]
/oneTBB/examples/parallel_for/tachyon/gui/
H A Dtachyon.rc3 #include "resource.h"
11 #include "windows.h"
45 "resource.h\0"
51 "#include ""windows.h""\r\n"
/oneTBB/examples/task_arena/fractal/gui/
H A Dfractal.rc3 #include "resource.h"
11 #include "windows.h"
45 "resource.h\0"
51 "#include ""windows.h""\r\n"
/oneTBB/test/tbb/
H A Dtest_tbb_fork.cpp49 bool threadTerminated(HANDLE h) in threadTerminated() argument
51 DWORD ret = WaitForSingleObjectEx(h, 0, FALSE); in threadTerminated()
56 HANDLE h; member
84 HANDLE h = getCurrentThreadHandle(); in operator ()() local
89 acc->second.h = h; in operator ()()
284 ASSERT(threadTerminated(it->second.h), nullptr); in main()
H A Dtest_concurrent_lru_cache.cpp103 preset::handle_type h = preset_object.cache[0]; variable
117 preset::handle_type h = preset_object.cache[0]; variable
144 cache_type::handle h = cache[1]; variable
145 const utils::LifeTrackableObject* obj_addr = &h.value();
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_hash_map.h242 h -= segment_base(s); in get_bucket()
245 return &seg[h]; in get_bucket()
272 if( (h & m_old) != (h & m) ) { // mask changed for this hashcode, rare event in check_rehashing_collision()
709 …cessor( concurrent_hash_map *base, const hashcode_type h, bool writer = false ) { acquire( base, h in __TBB_requires()
712 my_b = base->get_bucket( h ); in __TBB_requires()
1287 bucket_accessor b( this, h & m ); in __TBB_requires()
1348 result->my_hash = h; in __TBB_requires()
1472 h &= m; in __TBB_requires()
1473 bucket *b = this->get_bucket( h ); in __TBB_requires()
1476 b = this->get_bucket( h &= m ); in __TBB_requires()
[all …]
H A Dtask_group.h513 task_group_status internal_run_and_wait(d2::task_handle&& h) { in internal_run_and_wait() argument
514 __TBB_ASSERT(h != nullptr, "Attempt to schedule empty task_handle"); in internal_run_and_wait()
521 execute_and_wait(*acs::release(h), context(), m_wait_ctx, context()); in internal_run_and_wait()
606 void run(d2::task_handle&& h) { in run() argument
607 __TBB_ASSERT(h != nullptr, "Attempt to schedule empty task_handle"); in run()
612 spawn(*acs::release(h), context()); in run()
626 task_group_status run_and_wait(d2::task_handle&& h) { in run_and_wait() argument
627 return internal_run_and_wait(std::move(h)); in run_and_wait()
685 void run(d2::task_handle&& h) { in run() argument
686 __TBB_ASSERT(h != nullptr, "Attempt to schedule empty task_handle"); in run()
[all …]
/oneTBB/test/common/
H A Dtls_limit.h42 handle h = TlsAlloc(); in LimitTLSKeysTo() local
43 if (h==TLS_OUT_OF_INDEXES) in LimitTLSKeysTo()
52 handles[lastUsedIdx] = h; in LimitTLSKeysTo()
/oneTBB/examples/parallel_for/seismic/gui/
H A Dseismic.rc3 #include "resource.h"
11 #include "windows.h"
100 "resource.h\0"
106 "#include ""windows.h""\r\n"
/oneTBB/include/oneapi/tbb/detail/
H A D_flow_graph_types_impl.h340 const WrapperBase * h = punned_cast<const WrapperBase *>(&(other.my_space));
341 h->CopyTo(&my_space);
348 WrapperBase *h = punned_cast<WrapperBase *>(&my_space);
349 h->~WrapperBase();
357 …const Wrapper<U> *h = dynamic_cast<const Wrapper<U>*>(punned_cast<const WrapperBase *>(&my_space));
358 if(!h) {
361 return h->value();
369 WrapperBase *h = punned_cast<WrapperBase *>(&my_space);
370 h->~WrapperBase();

12345