Home
last modified time | relevance | path

Searched refs:U (Results 1 – 25 of 40) sorted by relevance

12

/oneTBB/include/oneapi/tbb/
H A Dtbb_allocator.h56 template<typename U> tbb_allocator(const tbb_allocator<U>&) noexcept {} in tbb_allocator() argument
80 template<typename U> struct rebind {
81 using other = tbb_allocator<U>;
88 template<typename U, typename... Args>
89 void construct(U *p, Args&&... args) in construct()
90 { ::new (p) U(std::forward<Args>(args)...); } in construct()
104 template<typename U> struct rebind {
105 using other = tbb_allocator<U>;
110 template<typename T, typename U>
111 inline bool operator==(const tbb_allocator<T>&, const tbb_allocator<U>&) noexcept { return true; }
[all …]
H A Dmemory_pool.h82 template<typename U, typename R>
84 template<typename V, typename U, typename R>
96 template<typename U> struct rebind {
102 template<typename U>
126 template<typename U, typename... Args>
127 void construct(U *p, Args&&... args) in construct()
148 template<typename U> struct rebind {
154 template<typename U>
159 template<typename U, typename R>
167 template<typename T, typename U, typename P>
[all …]
H A Dcache_aligned_allocator.h50 template<typename U> cache_aligned_allocator(const cache_aligned_allocator<U>&) noexcept {} in cache_aligned_allocator() argument
74 template<typename U> struct rebind {
75 using other = cache_aligned_allocator<U>;
77 template<typename U, typename... Args>
78 void construct(U *p, Args&&... args) in construct()
79 { ::new (p) U(std::forward<Args>(args)...); } in construct()
93 template<typename U> struct rebind {
94 using other = cache_aligned_allocator<U>;
99 template<typename T, typename U>
100 bool operator==(const cache_aligned_allocator<T>&, const cache_aligned_allocator<U>&) noexcept { re…
[all …]
H A Dscalable_allocator.h221 template<typename U> scalable_allocator(const scalable_allocator<U>&) noexcept {} in scalable_allocator() argument
244 template<typename U> struct rebind {
245 using other = scalable_allocator<U>;
252 template<typename U, typename... Args>
253 void construct(U *p, Args&&... args) in construct()
254 { ::new((void *)p) U(std::forward<Args>(args)...); } in construct()
269 template<typename U> struct rebind {
270 using other = scalable_allocator<U>;
275 template<typename T, typename U>
276 inline bool operator==(const scalable_allocator<T>&, const scalable_allocator<U>&) noexcept { retur…
[all …]
H A Denumerable_thread_specific.h364 template<typename C, typename U>
381 template<typename U>
504 template<typename C, typename U>
530 template<typename U>
539 template<typename U>
713 template<typename U>
715 detail::aligned_space<U> my_space;
718 U* value() { return my_space.begin(); }
722 my_space.begin()->~U();
733 struct is_compatible_ets< T, enumerable_thread_specific<U,A,C> > : std::is_same<T, U> {};
[all …]
H A Dqueuing_mutex.h81 m_going.store(0U, std::memory_order_relaxed); in acquire()
91 spin_wait_while_eq(m_going, 0U); in acquire()
104 m_going.store(0U, std::memory_order_relaxed); in try_acquire()
152 std::atomic<uintptr_t> m_going{0U};
H A Dparallel_pipeline.h104 template<typename T, typename V, typename U>
105 filter<T,U> operator&( const filter<T,V>& left, const filter<V,U>& right ) {
H A Dconcurrent_vector.h186 template <typename Vector, typename T, typename U>
194 template <typename Vector, typename T, typename U>
195 bool operator==( const vector_iterator<Vector, T>& i, const vector_iterator<Vector, U>& j ) {
199 template <typename Vector, typename T, typename U>
204 template <typename Vector, typename T, typename U>
205 bool operator<( const vector_iterator<Vector, T>& i, const vector_iterator<Vector, U>& j ) {
209 template <typename Vector, typename T, typename U>
210 bool operator>( const vector_iterator<Vector, T>& i, const vector_iterator<Vector, U>& j ) {
214 template <typename Vector, typename T, typename U>
219 template <typename Vector, typename T, typename U>
[all …]
H A Dconcurrent_hash_map.h423 template <typename C, typename T, typename U>
424 friend bool operator==( const hash_map_iterator<C,T>& i, const hash_map_iterator<C,U>& j );
426 template <typename C, typename T, typename U>
427 friend bool operator!=( const hash_map_iterator<C,T>& i, const hash_map_iterator<C,U>& j );
429 template <typename C, typename T, typename U>
430 friend ptrdiff_t operator-( const hash_map_iterator<C,T>& i, const hash_map_iterator<C,U>& j );
432 template <typename C, typename U>
486 template <typename Container, typename T, typename U>
491 template <typename Container, typename T, typename U>
550 template <typename U> friend class hash_map_range;
[all …]
/oneTBB/test/common/
H A Dcustom_allocators.h52 template <typename U>
140 template <typename U>
150 template <typename U>
183 template <typename U>
259 template <typename U>
266 template <typename U>
294 template <typename U>
388 template <typename U>
397 template <typename U>
430 template <typename U>
[all …]
H A Dspin_barrier.h65 template <typename T, typename U>
66 void SpinWaitWhileEq(const std::atomic<T>& location, const U value) { in SpinWaitWhileEq()
72 template<typename T, typename U>
73 void SpinWaitUntilEq(const std::atomic<T>& location, const U value) { in SpinWaitUntilEq()
82 template<typename T, typename U>
83 void operator()( const std::atomic<T>& location, U value ) const { in operator()
102 template<typename T, typename U>
103 void operator()( const T&, U) const {} in operator()
H A Drange_based_for_support.h52 template <typename T, typename U>
53 U operator()( const U& lhs, const std::pair<T, U>& rhs ) { in operator()
H A Dstate_trackable.h160 template <typename T, typename U>
161 bool operator()( const std::pair<T, U>& p ) { in operator()
173 template <typename T, typename U>
174 bool operator()( const std::pair<T, U>& p ) { in operator()
/oneTBB/test/tbb/
H A Dtest_parallel_pipeline.cpp90 template<typename U>
96 template<typename U>
102 template<typename U>
108 template<typename U>
114 template<typename U>
118 template<typename U>
148 U* myReturn = new(fetchNextBuffer()) U(); in operator ()()
195 U out; in operator ()()
213 U out; in operator ()()
227 U* my_return = new(fetchNextBuffer()) U(); in operator ()()
[all …]
/oneTBB/doc/main/reference/scalable_memory_pools/
H A Dmemory_pool_allocator_cls.rst50 template<typename U> struct rebind {
51 using other = memory_pool_allocator<U>;
56 template<typename U>
73 template<typename U> struct rebind {
74 using other = memory_pool_allocator<U>;
79 template<typename U>
80 memory_pool_allocator(const memory_pool_allocator<U>& src) throw();
85 template<typename T, typename U>
87 const memory_pool_allocator<U>& b);
88 template<typename T, typename U>
[all …]
/oneTBB/src/tbb/
H A Dintrusive_list.h173 template <class T, class U = dummy_intrusive_list_item, intrusive_list_node U::*NodePtr = &dummy_in…
174 class intrusive_list : public intrusive_list_base<intrusive_list<T, U, NodePtr>, T>;
191 template <class T, class U, intrusive_list_node U::*NodePtr>
192 class memptr_intrusive_list : public intrusive_list_base<memptr_intrusive_list<T, U, NodePtr>, T>
194 friend class intrusive_list_base<memptr_intrusive_list<T, U, NodePtr>, T>;
/oneTBB/include/oneapi/tbb/detail/
H A D_utils.h108 template <typename T, typename U>
109 T spin_wait_while_eq(const std::atomic<T>& location, const U value, std::memory_order order = std::…
115 template<typename T, typename U>
116 T spin_wait_until_eq(const std::atomic<T>& location, const U value, std::memory_order order = std::…
338 template <typename T, typename U> in atomic_do_once()
339 concept relaxed_convertible_to = std::constructible_from<U, T>; in atomic_do_once()
341 template <typename T, typename U> in atomic_do_once()
344 std::same_as<T, U>; in atomic_do_once()
346 std::convertible_to<T, U>; in atomic_do_once()
H A D_flow_graph_types_impl.h91 template<class U> struct alignment_of {
92 typedef struct { char t; U padded; } test_alignment;
93 static const size_t value = sizeof(test_alignment) - sizeof(U);
355 template<typename U>
356 const U& variant_cast_to() const {
357 …const Wrapper<U> *h = dynamic_cast<const Wrapper<U>*>(punned_cast<const WrapperBase *>(&my_space));
363 template<typename U>
364 …bool variant_is_a() const { return dynamic_cast<const Wrapper<U>*>(punned_cast<const WrapperBase *…
H A D_hash_compare.h109 template <typename T, typename U>
110 struct hash<std::pair<T, U>> {
112 std::size_t operator()( const std::pair<T, U>& p ) const {
118 std::hash<U> second_hash;
/oneTBB/examples/parallel_for/tachyon/src/
H A Dtriangle.cpp207 flt U, V, W, lensqr; in stri_normal() local
216 U = DOT(tmp, norm) / lensqr; in stri_normal()
221 W = 1.0 - (U + V); in stri_normal()
223 N->x = W * trn->n0.x + U * trn->n1.x + V * trn->n2.x; in stri_normal()
224 N->y = W * trn->n0.y + U * trn->n1.y + V * trn->n2.y; in stri_normal()
225 N->z = W * trn->n0.z + U * trn->n1.z + V * trn->n2.z; in stri_normal()
/oneTBB/examples/parallel_for/polygon_overlay/gui/
H A Dpolygon_overlay.rc16 // English (U.S.) resources
47 #endif // English (U.S.) resources
/oneTBB/examples/parallel_for/tachyon/gui/
H A Dtachyon.rc18 // English (U.S.) resources
76 #endif // English (U.S.) resources
/oneTBB/examples/task_arena/fractal/gui/
H A Dfractal.rc18 // English (U.S.) resources
76 #endif // English (U.S.) resources
/oneTBB/test/conformance/
H A Dconformance_parallel_pipeline.cpp43 template<typename U>
46 U operator()( oneapi::tbb::flow_control& control ) const { in operator ()()
51 return U(); in operator ()()
55 template<typename T, typename U>
58 U operator()(T) const { in operator ()()
59 U out{}; in operator ()()
/oneTBB/examples/parallel_for/seismic/gui/
H A Dseismic.rc18 // English (U.S.) resources
131 #endif // English (U.S.) resources

12