Home
last modified time | relevance | path

Searched refs:my_value (Results 1 – 23 of 23) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_mutex.h96 long my_value = value[0]; in flog_once() local
101 my_value = value[0] - 1; in flog_once()
103 okay = value_is(my_value + 1); in flog_once()
108 long my_value = value[0]; in flog_once() local
111 my_value = value[0]; in flog_once()
114 okay = value_is(my_value + 1); in flog_once()
123 long my_value = value[0]; in flog_once() local
128 my_value = value[0] - 1; in flog_once()
130 okay = value_is(my_value + 1); in flog_once()
135 long my_value = value[0]; in flog_once() local
[all …]
H A Dtest_join_node_msg_key_matching.cpp30 double my_value; member
36 bool operator==(const message_key& rhs) { return my_value == rhs.my_value; } in operator ==()
H A Dtest_join_node.h87 V my_value;
93 operator int() const { return (int)my_value; }
98 V my_value;
105 operator int() const { return (int)my_value; }
110 V my_value;
125 V my_value;
142 V my_value;
158 V my_value;
281 mv1.my_value = 0.5*i;
288 CHECK_MESSAGE( (mv0.my_value==mv1.my_value), "result not correct");
[all …]
H A Dtest_enumerable_thread_specific.cpp59 int my_value; member in minimalN
63 minimalN() : utils::NoAssign(), my_value(0) { ++construction_counter; is_constructed = true; } in minimalN()
64 …minimalN( const minimalN&m ) : utils::NoAssign(), my_value(m.my_value) { ++construction_counter; i… in minimalN()
66 void set_value( const int i ) { REQUIRE(is_constructed); my_value = i; } in set_value()
67 int value( ) const { REQUIRE(is_constructed); return my_value; } in value()
H A Dtest_broadcast_node.cpp43 int my_value; member in int_convertable_type
47 int_convertable_type( int v ) : my_value(v) {} in int_convertable_type()
48 operator int() const { return my_value; } in operator int()
H A Dtest_concurrent_hash_map.cpp76 const value_type &my_value; member in test_insert_by_key
78 test_insert_by_key( Table &c, const value_type &value ) : my_c(c), my_value(value) {} in test_insert_by_key()
82 CHECK(my_c.insert( a, my_value.first )); in operator ()()
83 CHECK(utils::IsEqual()(a->first, my_value.first)); in operator ()()
84 a->second = my_value.second; in operator ()()
88 CHECK(!my_c.insert( ca, my_value.first )); in operator ()()
89 CHECK(utils::IsEqual()(ca->first, my_value.first)); in operator ()()
90 CHECK(utils::IsEqual()(ca->second, my_value.second)); in operator ()()
/oneTBB/test/conformance/
H A Dconformance_parallel_reduce.cpp40 result_type my_value; member
42 ReduceBody() : my_value() {} in ReduceBody()
43 ReduceBody( ReduceBody &, oneapi::tbb::split ) : my_value() {} in ReduceBody()
49 my_value = op(my_value, i); in operator ()()
55 my_value = op.join(my_value, y.my_value); in join()
71 REQUIRE_MESSAGE( benchmark_body.my_value == measurement_body.my_value, in TestDeterministicReductionFor()
89 REQUIRE_MESSAGE( benchmark_body.my_value == lambda_measurement_result, in TestDeterministicReductionFor()
H A Dconformance_combinable.cpp60 int my_value; member in minimalCombinable
62 minimalCombinable(int val=0) : my_value(val) { ++construction_counter; } in minimalCombinable()
63 … minimalCombinable( const minimalCombinable&m ) : my_value(m.my_value) { ++construction_counter; } in minimalCombinable()
64 …minimalCombinable& operator=(const minimalCombinable& other) { my_value = other.my_value; return *… in operator =()
65 …minimalCombinable& operator+=(const minimalCombinable& other) { my_value += other.my_value; return… in operator +=()
66 operator int() const { return my_value; } in operator int()
68 void set_value( const int i ) { my_value = i; } in set_value()
69 int value( ) const { return my_value; } in value()
H A Dconformance_enumerable_thread_specific.cpp77 int my_value; member in minimalNComparable
81 …minimalNComparable() : utils::NoAssign(), my_value(0) { ++construction_counter; is_constructed = t… in minimalNComparable()
82 …minimalNComparable( const minimalNComparable &m ) : utils::NoAssign(), my_value(m.my_value) { ++co… in minimalNComparable()
84 void set_value( const int i ) { CHECK_FAST(is_constructed); my_value = i; } in set_value()
85 int value( ) const { CHECK_FAST(is_constructed); return my_value; } in value()
87 bool operator==( const minimalNComparable& other ) const { return my_value == other.my_value; } in operator ==()
/oneTBB/test/common/
H A Dallocator_stl_test_common.h68 int my_value; member
70 MoveOperationTracker(int value = 0) : my_value(value) {} in my_value() function
74 MoveOperationTracker(MoveOperationTracker&& m) noexcept : my_value( m.my_value ) { in MoveOperationTracker()
81 my_value = m.my_value;
86 return my_value == value;
90 return my_value == m.my_value;
H A Dcustom_allocators.h444 : my_allocator(allocator), my_value(0) {} in my_allocator()
447 : my_allocator(allocator), my_value(v) {} in my_allocator()
450 : my_allocator(rhs.my_allocator), my_value(rhs.my_value) in AllocatorAwareData()
456 : my_allocator(rhs.my_allocator), my_value(rhs.my_value) in AllocatorAwareData()
462 : my_allocator(allocator), my_value(rhs.my_value) {} in AllocatorAwareData()
465 : my_allocator(allocator), my_value(rhs.my_value) {} in AllocatorAwareData()
468 my_value = other.my_value;
472 int value() const { return my_value; } in value()
478 int my_value; variable
H A Dconcurrent_associative_common.h1009 const value_type& my_value;
1012 : my_c(c), my_value(value) {}
1016 REQUIRE(equal(my_c[my_value.first], my_value.second));
1017 typename Table::key_type temp_key = my_value.first;
1018 REQUIRE(equal(my_c[std::move(temp_key)], my_value.second));
/oneTBB/src/tbb/
H A Dglobal_control.cpp169 return lhs->my_value < rhs->my_value || (lhs->my_value == rhs->my_value && lhs < rhs); in operator ()()
194 if (c->my_list.empty() || c->is_first_arg_preferred(gc.my_value, c->my_active_value)) { in create()
197 c->apply_active(gc.my_value); in create()
218 new_active = (*c->my_list.begin())->my_value; in destroy()
/oneTBB/include/oneapi/tbb/
H A Dglobal_control.h64 my_value(value), my_reserved(), my_param(p) { in global_control()
76 __TBB_ASSERT_RELEASE(my_value>0, "max_allowed_parallelism cannot be 0."); in global_control()
96 std::size_t my_value;
H A Denumerable_thread_specific.h350 mutable Value *my_value;
376 my_container(&const_cast<Container &>(container)), my_index(index), my_value(nullptr) {}
383 …ner( other.my_container ), my_index( other.my_index), my_value( const_cast<Value *>(other.my_value
395 my_value = nullptr;
405 my_value = nullptr;
410 Value* value = my_value;
412 value = my_value = (*my_container)[my_index].value();
426 my_value = nullptr;
432 my_value = nullptr;
440 my_value = nullptr;
[all …]
H A Dconcurrent_lru_cache.h103 op.result().second.my_value = my_value_function(key);
205 value_type my_value;
215 : my_value(value), my_ref_counter(ref_counter),
282 return my_map_record_ptr->second.my_value;
H A Dparallel_reduce.h376 Value my_value; variable
383 , my_value(identity) in lambda_reduce_body()
390 , my_value(other.my_identity_element) in lambda_reduce_body()
393 my_value = tbb::detail::invoke(my_real_body, range, const_cast<const Value&>(my_value)); in operator()
396 my_value = tbb::detail::invoke(my_reduction, const_cast<const Value&>(my_value), in join()
397 const_cast<const Value&>(rhs.my_value)); in join()
400 return my_value; in result()
H A Dconcurrent_hash_map.h646 pointer storage() { return &my_value; } in __TBB_requires()
650 value_type my_value; in __TBB_requires() member
/oneTBB/include/oneapi/tbb/detail/
H A D_concurrent_queue_base.h319 value_type& my_value; variable
321 destroyer( reference value ) : my_value(value) {} in destroyer()
324 ~destroyer() {my_value.~T();} in ~destroyer()
H A D_concurrent_skip_list.h122 return &my_value; in storage()
178 value_type my_value; member
H A D_flow_graph_join_impl.h509 size_t my_value;
920 ev.my_value = 0;
925 if(++(p->my_value) == size_t(N)) {
H A D_concurrent_unordered_base.h174 return reinterpret_cast<value_type*>(&my_value); in storage()
183 aligned_storage_type my_value; variable
/oneTBB/doc/main/tbb_userguide/design_patterns/
H A DReference_Counting.rst70 return my_value;