Home
last modified time | relevance | path

Searched refs:operator (Results 1 – 25 of 129) sorted by relevance

123456

/oneTBB/test/common/
H A Diterator.h63 T& operator* () const {
68 InputIterator& operator++ () {
76 InputIterator operator++( int ) {
125 T& operator* () const { return *my_ptr; }
127 ForwardIterator operator++(int) {
151 T& operator* () const { return *my_ptr; }
153 RandomIterator operator++(int) {
159 RandomIterator operator--(int) {
209 const T& operator* () const { return *my_ptr; }
211 ConstRandomIterator operator++(int) {
[all …]
H A Dconcepts_common.h46 struct CopyAssignable { CopyAssignable& operator=( const CopyAssignable& ) = default; }; member
47 struct NonCopyAssignable { NonCopyAssignable& operator=( const NonCopyAssignable& ) = delete; }; member
59 … BlockedRangeValue& operator=( const BlockedRangeValue& ) requires EnableCopyAssignment = default; member
139 void operator()( Range& ) const requires (EnableFunctionCallOperator == State::correct) {} in operator() function
155 void operator()( Index ) const requires (EnableFunctionCallOperator == State::correct) {} in operator() function
156 void operator()( Index ) requires (EnableFunctionCallOperator == State::incorrect_constness) {} in operator() function
171 ParallelForIndex& operator=( const ParallelForIndex& ) requires EnableCopyAssign = default; member
214 void operator()( const T& ) const requires (EnableFunctionCallOperator == State::correct) {} in operator() function
243 ParallelSortValue& operator=(ParallelSortValue&&) requires MoveAssignableV = default; member
256 const T& operator* () const { return data; }
[all …]
H A Dtest_comparisons.h109 friend bool operator==( const TwoWayComparable& lhs, const TwoWayComparable& rhs ) {
114 friend bool operator!=( const TwoWayComparable& lhs, const TwoWayComparable& rhs ) {
119 friend bool operator<( const TwoWayComparable& lhs, const TwoWayComparable& rhs ) {
124 friend bool operator>( const TwoWayComparable& lhs, const TwoWayComparable& rhs ) {
129 friend bool operator<=( const TwoWayComparable& lhs, const TwoWayComparable& rhs ) {
134 friend bool operator>=( const TwoWayComparable& lhs, const TwoWayComparable& rhs ) {
194 friend auto operator<=>( const ThreeWayComparable& lhs, const ThreeWayComparable& rhs ) {
199 friend bool operator==( const ThreeWayComparable&, const ThreeWayComparable& ) = default;
237 friend bool operator<( const LessComparableOnly& lhs, const LessComparableOnly& rhs ) {
240 friend bool operator==( const LessComparableOnly& lhs, const LessComparableOnly& rhs ) {
[all …]
H A Dstate_trackable.h52 State& operator=( const State& st ) noexcept {
57 State& operator=( StateValue s ) noexcept {
62 operator StateValue() const noexcept { return state; } in StateValue()
124 StateTrackable& operator=( const StateTrackable& src ) noexcept {
131 StateTrackable& operator=( StateTrackable&& src ) noexcept {
155 bool operator()( const StateTrackable<allow_zero_initialized>& f ) { in operator() function
161 bool operator()( const std::pair<T, U>& p ) { in operator() function
169 bool operator()( const StateTrackable<allow_zero_initialized>& f ) { in operator() function
174 bool operator()( const std::pair<T, U>& p ) { in operator() function
H A Dparallel_for_each_common.h41 value_t& operator=(const value_t&); variable
63 void operator()(value_t depth) const { in operator() function
70 void operator()(value_t& depth) const { in operator() function
77 void operator()(const value_t& depth) const { in operator() function
84 void operator()(volatile value_t& depth, tbb::feeder<value_t>&) const { in operator() function
91 void operator()(value_t&& depth ) const { in operator() function
109 void operator()(value_t depth, tbb::feeder<value_t>& feeder) const { in operator() function
124 void operator()(value_t& depth, tbb::feeder<value_t>& feeder) const { in operator() function
316 void operator()(std::size_t& in) const { ++in; ++task_counter;} in operator() function
320 void operator()(const std::size_t&) const { ++task_counter; } in operator() function
[all …]
H A Dcontainers_common.h62 NonMovableObject& operator=( const NonMovableObject& ) = delete; member
63 NonMovableObject& operator=( NonMovableObject&& ) = delete; member
69 std::size_t operator()( const NonMovableObject& ) { return 1; }
145 bool operator<( const ThrowOnCopy& ) const { return true; }
146 bool operator==( const ThrowOnCopy& ) const { return true; }
156 std::size_t operator()( const std::reference_wrapper<T>& wr ) const {
164 std::size_t operator()( const std::weak_ptr<T>& wr ) const {
172 std::size_t operator()( const ThrowOnCopy& ) const {
180 std::size_t operator()( const std::weak_ptr<T>& rhs, const std::weak_ptr<T>& lhs ) const {
H A Dchecktype.h43 DestroyedTracker& operator=( const DestroyedTracker& src ) {
72 operator int() const { return int(my_id); }
73 CheckType& operator++() {
78 CheckType& operator=( const CheckType& other ) {
118 std::size_t operator()( const CheckType<Counter>& obj ) const {
H A Dcontainer_move_support.h168 operator intptr_t() const { return bar(); } in intptr_t()
203 Foo& operator=( const Foo& x ) {
204 state_trackable_type::operator=(x);
211 Foo& operator=( Foo&& x ) {
212 state_trackable_type::operator=(std::move(x));
257 FooWithAssign& operator=( const FooWithAssign& f ) {
261 FooWithAssign& operator=( FooWithAssign&& f ) {
275 FooIteratorType& operator++() {
280 FooIteratorType operator++(int) {
306 value_type operator*() {
[all …]
H A Dspin_barrier.h80 void operator=( const WaitWhileEq& ) = delete;
83 void operator()( const std::atomic<T>& location, U value ) const { in operator() function
101 void operator() () const {} in operator() function
103 void operator()( const T&, U) const {} in operator() function
108 SpinBarrier& operator=( const SpinBarrier& ) = delete; // no assignment variable
H A Dgraph_utils.h159 OutputType operator()( InputType i ) {
210 void operator()( const InputType &i, ports_type &p ) {
462 T operator()(const T& in) {
477 T operator()(const tbb::flow::continue_msg& /*in*/) {
632 void operator()(DataType i) const {
687 native_loop_body& operator=(const native_loop_body&) = delete;
692 void operator()(int) const noexcept {
744 void operator()(int) const noexcept {
756 bool operator()() {
840 void operator()(const input_type&, gateway_type&) {
[all …]
H A Ddoctest.h688 char& operator[](size_type i);
1204 operator<<(*stream, in);
1345 operator bool() const;
1396 operator bool() const;
1947 MessageBuilder& operator<<(const T& in) { return this->operator,(in); }
1954 MessageBuilder& operator*(const T& in) { return this->operator,(in); }
3979 os->operator<<(t);
4041 bool operator==(const Approx& lhs, double rhs) { return operator==(rhs, lhs); }
4042 bool operator!=(double lhs, const Approx& rhs) { return !operator==(lhs, rhs); }
4043 bool operator!=(const Approx& lhs, double rhs) { return !operator==(rhs, lhs); }
[all …]
H A Dtest_invoke.h117 SmartValue& operator=(const SmartValue&) = default; variable
119 SmartValue operator+(const SmartValue& other) const {
122 std::size_t operator-(const SmartValue& other) const {
128 bool operator<(const SmartValue& other) const {
132 SmartValue& operator++() { ++real_value; return *this; }
H A Dconcurrent_lru_cache_common.h58 ValueType operator()(KeyType) const { return my_ref_to_original; } in operator() function
72 ValueType& operator()(KeyType k) { in operator() function
91 const value_type& operator()(key_type k) const { in operator() function
112 instance_counter& operator=(instance_counter other) {
154 preset_base& operator=(const preset_base&) = delete; member
155 preset_base& operator=(preset_base&&) = delete; member
H A Drange_based_for_support.h48 T operator()( const T& lhs, const T& rhs ) { in operator() function
53 U operator()( const U& lhs, const std::pair<T, U>& rhs ) { in operator() function
60 …second_type operator() (second_type const& lhs, std::pair<first_type, second_type> const& rhs) con… in operator() function
/oneTBB/include/oneapi/tbb/detail/
H A D_task_handle.h66 void operator()(task_handle_task* p){ p->finalize(); } in operator() function
74 task_handle& operator=(task_handle&&) = default; variable
76 explicit operator bool() const noexcept { return static_cast<bool>(m_handle); }
78 friend bool operator==(task_handle const& th, std::nullptr_t) noexcept;
79 friend bool operator==(std::nullptr_t, task_handle const& th) noexcept;
81 friend bool operator!=(task_handle const& th, std::nullptr_t) noexcept;
82 friend bool operator!=(std::nullptr_t, task_handle const& th) noexcept;
103 inline bool operator==(task_handle const& th, std::nullptr_t) noexcept {
106 inline bool operator==(std::nullptr_t, task_handle const& th) noexcept {
110 inline bool operator!=(task_handle const& th, std::nullptr_t) noexcept {
[all …]
H A D_pipeline_filters.h95 virtual void* operator()( void* item ) = 0;
234 void* operator()(void* input) override {
257 void* operator()(void*) override {
282 void* operator()(void* input) override {
301 void* operator()(void*) override {
320 void operator=(filter_node *);
321 void operator=(const filter_node_ptr &);
322 void operator=(filter_node_ptr &&);
323 filter_node& operator*() const;
324 operator bool() const;
[all …]
H A D_flow_graph_body_impl.h80 virtual Output operator()(flow_control& fc) = 0;
89 Output operator()(flow_control& fc) override { return body(fc); }
103 virtual Output operator()(const Input &input) = 0;
112 Output operator()(const Input &i) override { return tbb::detail::invoke(body,i); }
126 continue_msg operator()( const continue_msg &i ) override {
143 continue_msg operator()(const Input &i) override {
160 Output operator()(const continue_msg &i) override {
176 virtual void operator()(const Input &/* input*/, OutputSet &/*oset*/) = 0;
186 void operator()(const Input &input, OutputSet &oset) override {
204 virtual Output operator()(const Input &input) = 0; // returns an Output
[all …]
H A D_hash_compare.h38 std::size_t operator()( const Key& key ) const { in operator() function
42 bool operator()( const Key& key1, const Key& key2 ) const { in operator() function
47 std::size_t operator()( const K& key ) const { in operator() function
52 bool operator()( const K1& key1, const K2& key2 ) const { in operator() function
112 std::size_t operator()( const std::pair<T, U>& p ) const {
127 std::size_t operator()( const std::basic_string<CharT, Traits, Allocator>& s ) const {
H A D_flow_graph_impl.h61 graph_iterator& operator=(const graph_iterator& other) {
70 reference operator*() const;
73 pointer operator->() const;
76 bool operator==(const graph_iterator& other) const {
82 bool operator!=(const graph_iterator& other) const { return !(operator==(other)); }
86 graph_iterator& operator++() {
92 graph_iterator operator++(int) {
94 operator++();
153 bool operator()(const graph_task* left, const graph_task* right) { in operator() function
/oneTBB/test/conformance/
H A Dconformance_flowgraph.h57 message& operator=(const message& msg) {
70 operator std::size_t() const { in size_t()
74 operator int() const {
133 std::size_t operator()(T v) { in operator() function
157 OutputType operator()( InputType& ) { in operator() function
158 return operator()(OutputType(0)); in operator()
190 OutputType operator()( InputType ) { in operator() function
223 OutputType operator()( InputType ) { in operator() function
264 InputType operator()( InputType ) { in operator() function
310 int operator()( int ) { in operator() function
[all …]
/oneTBB/include/oneapi/tbb/
H A Dtick_count.h52 friend interval_t operator-( const tick_count& t1, const tick_count& t0 );
55 friend interval_t operator+( const interval_t& i, const interval_t& j ) {
56 return interval_t(std::chrono::operator+(i, j));
60 friend interval_t operator-( const interval_t& i, const interval_t& j ) {
61 return interval_t(std::chrono::operator-(i, j));
76 friend interval_t operator-( const tick_count& t1, const tick_count& t0 ) {
H A Denumerable_thread_specific.h409 Value& operator*() const {
418 Value& operator[]( std::ptrdiff_t k ) const {
422 Value* operator->() const {return &operator*();}
424 enumerable_thread_specific_iterator& operator++() {
430 enumerable_thread_specific_iterator& operator--() {
563 segmented_iterator& operator++() {
569 segmented_iterator operator++(int) {
571 operator++();
582 return !operator==(other_outer);
587 reference operator*() const {
[all …]
H A Dconcurrent_vector.h94 vector_iterator& operator+=( difference_type offset ) {
110 reference operator*() const {
120 pointer operator->() const { return &(operator*()); }
122 reference operator[]( difference_type k ) const {
126 vector_iterator& operator++() {
140 vector_iterator operator++(int) {
146 vector_iterator& operator--() {
161 vector_iterator operator--(int) {
349 base_type::operator=(other);
354 base_type::operator=(std::move(other)); in noexcept()
[all …]
H A Dparallel_pipeline.h57 friend filter<T_,U_> operator&( const filter<T_,V_>&, const filter<V_,U_>& );
63 void operator=(const filter& rhs) {
66 void operator=( filter&& rhs ) {
76 filter& operator&=( const filter<OutputType,OutputType>& right ) {
105 filter<T,U> operator&( const filter<T,V>& left, const filter<V,U>& right ) {
/oneTBB/src/tbb/
H A Dintrusive_list.h59 iterator_impl& operator++() {
64 iterator_impl operator++( int ) {
70 iterator_impl& operator--() {
75 iterator_impl operator--( int ) {
81 bool operator==( const iterator_impl& rhs ) const {
85 bool operator!=( const iterator_impl& rhs ) const {
89 DereferenceType& operator*() const {
93 DereferenceType* operator->() const {

123456