Home
last modified time | relevance | path

Searched refs:cond_ (Results 1 – 25 of 56) sorted by relevance

123

/third_party/boost/boost/contract/core/
Dspecify.hpp52 boost::contract::detail::auto_ptr<cond_type > cond_; \
53 explicit class_type(cond_type* cond) : cond_(cond) {} \
54 class_type(class_type const& other) : cond_(other.cond_) {} \
56 cond_ = other.cond_; \
60 #define BOOST_CONTRACT_SPECIFY_COND_RELEASE_ cond_.release()
73 BOOST_CONTRACT_DETAIL_DEBUG(cond_); \
74 cond_->set_pre(f); \
85 BOOST_CONTRACT_DETAIL_DEBUG(cond_); \
86 cond_->set_old(f); \
97 BOOST_CONTRACT_DETAIL_DEBUG(cond_); \
[all …]
/third_party/boost/boost/spirit/home/classic/phoenix/
Dstatements.hpp105 CondT const& cond_, in if_then_else_composite()
108 : cond(cond_), then(then_), else_(else__) {} in if_then_else_composite()
126 else_gen(CondT const& cond_, ThenT const& then_) in else_gen()
127 : cond(cond_), then(then_) {} in else_gen()
153 if_then_composite(CondT const& cond_, ThenT const& then_) in if_then_composite()
154 : cond(cond_), then(then_), else_(cond, then) {} in if_then_composite()
171 if_gen(CondT const& cond_) in if_gen()
172 : cond(cond_) {} in if_gen()
225 while_composite(CondT const& cond_, DoT const& do__) in while_composite()
226 : cond(cond_), do_(do__) {} in while_composite()
[all …]
/third_party/boost/libs/asio/include/boost/asio/detail/
Dposix_event.hpp43 ::pthread_cond_destroy(&cond_); in ~posix_event()
60 ::pthread_cond_broadcast(&cond_); // Ignore EINVAL. in signal_all()
72 ::pthread_cond_signal(&cond_); // Ignore EINVAL. in unlock_and_signal_one()
83 ::pthread_cond_signal(&cond_); // Ignore EINVAL. in unlock_and_signal_one_for_destruction()
96 ::pthread_cond_signal(&cond_); // Ignore EINVAL. in maybe_unlock_and_signal_one()
119 ::pthread_cond_wait(&cond_, &lock.mutex().mutex_); // Ignore EINVAL. in wait()
139 &cond_, &lock.mutex().mutex_, &ts); // Ignore EINVAL. in wait_for_usec()
149 ::pthread_cond_timedwait(&cond_, in wait_for_usec()
161 ::pthread_cond_t cond_;
Dstd_event.hpp62 cond_.notify_all(); in signal_all()
74 cond_.notify_one(); in unlock_and_signal_one()
85 cond_.notify_one(); in unlock_and_signal_one_for_destruction()
98 cond_.notify_one(); in maybe_unlock_and_signal_one()
122 cond_.wait(u_lock.unique_lock_); in wait()
135 cond_.wait_for(u_lock.unique_lock_, std::chrono::microseconds(usec)); in wait_for_usec()
178 std::condition_variable cond_; member in boost::asio::detail::std_event
/third_party/boost/boost/asio/detail/
Dposix_event.hpp43 ::pthread_cond_destroy(&cond_); in ~posix_event()
60 ::pthread_cond_broadcast(&cond_); // Ignore EINVAL. in signal_all()
72 ::pthread_cond_signal(&cond_); // Ignore EINVAL. in unlock_and_signal_one()
83 ::pthread_cond_signal(&cond_); // Ignore EINVAL. in unlock_and_signal_one_for_destruction()
96 ::pthread_cond_signal(&cond_); // Ignore EINVAL. in maybe_unlock_and_signal_one()
119 ::pthread_cond_wait(&cond_, &lock.mutex().mutex_); // Ignore EINVAL. in wait()
139 &cond_, &lock.mutex().mutex_, &ts); // Ignore EINVAL. in wait_for_usec()
149 ::pthread_cond_timedwait(&cond_, in wait_for_usec()
161 ::pthread_cond_t cond_;
Dstd_event.hpp62 cond_.notify_all(); in signal_all()
74 cond_.notify_one(); in unlock_and_signal_one()
85 cond_.notify_one(); in unlock_and_signal_one_for_destruction()
98 cond_.notify_one(); in maybe_unlock_and_signal_one()
122 cond_.wait(u_lock.unique_lock_); in wait()
135 cond_.wait_for(u_lock.unique_lock_, std::chrono::microseconds(usec)); in wait_for_usec()
178 std::condition_variable cond_; member in boost::asio::detail::std_event
/third_party/boost/boost/contract/
Dcheck.hpp34 : cond_(const_cast<contract_type&>(contract).cond_.release()) \
36 BOOST_CONTRACT_DETAIL_DEBUG(cond_); \
37 cond_->initialize(); \
127 : cond_(const_cast<check&>(other).cond_.release()) in BOOST_PREVENT_MACRO_SUBSTITUTION()
355 cond_; member in boost::contract::check
/third_party/boost/boost/thread/
Dcompletion_latch.hpp54 that_.leavers_.cond_.wait(lk, detail::counter_is_zero(that_.leavers_)); in around_wait()
56 that_.leavers_.cond_.wait(lk, detail::counter_is_not_zero(that_.leavers_)); in around_wait()
69 waiters_.cond_.wait(lk, detail::counter_is_not_zero(waiters_)); in count_down()
71 count_.cond_.notify_all(); in count_down()
72 waiters_.cond_.wait(lk, detail::counter_is_zero(waiters_)); in count_down()
114 count_.cond_.wait(lk, detail::counter_is_zero(count_)); in wait()
132 return count_.cond_.wait_for(lk, rel_time, detail::counter_is_zero(count_)) in wait_for()
144 return count_.cond_.wait_until(lk, abs_time, detail::counter_is_zero(count_)) in wait_until()
172 count_.cond_.wait(lk, detail::counter_is_zero(count_)); in count_down_and_wait()
Dlatch.hpp38 cond_.notify_all(); in count_down()
77 cond_.wait(lk, detail::not_equal(generation, generation_)); in wait()
95 return cond_.wait_for(lk, rel_time, detail::not_equal(generation, generation_)) in wait_for()
108 return cond_.wait_until(lk, abs_time, detail::not_equal(generation, generation_)) in wait_until()
143 cond_.wait(lk, detail::not_equal(generation, generation_)); in count_down_and_wait()
161 condition_variable cond_; member in boost::latch
/third_party/boost/boost/spirit/home/classic/dynamic/
Dif.hpp53 CondT const& cond_ in if_else_parser()
55 : eval_t(cond_as_parser_t::convert(cond_)) in if_else_parser()
109 if_else_parser_gen(ParsableTrueT const& p_true_, CondT const& cond_) in if_else_parser_gen()
111 , cond(cond_) {} in if_else_parser_gen()
155 if_parser(ParsableT const& p, CondT const& cond_) in if_parser()
156 : eval_t(cond_as_parser_t::convert(cond_)) in if_parser()
158 , else_p(p, cond_) in if_parser()
197 if_parser_gen(CondT const& cond_) : cond(cond_) {} in if_parser_gen()
Dswitch.hpp101 switch_parser(CaseT const &case_, CondT const &cond_) in switch_parser()
102 : base_t(case_), cond(cond_) in switch_parser()
126 switch_cond_parser(CondT const &cond_) in switch_cond_parser()
127 : cond(cond_) in switch_cond_parser()
/third_party/boost/boost/thread/detail/
Dcounter.hpp26 condition_variable cond_; member
57 cond_.notify_all(); in inc_and_notify_all()
63 cond_.notify_all(); in dec_and_notify_all()
68 cond_.notify_all(); in assign_and_notify_all()
73 cond_.notify_all(); in assign_and_notify_all()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/rts/
Dstream_switch.cc32 cond_ = RT_EQUAL; in StreamSwitchKernel()
47 cond_ = tagRtCondition(GetValue<int>(primitive->GetAttr(kAttrSwitchCondition))); in Init()
56 …MS_LOG(INFO) << "cond_:" << static_cast<int>(cond_) << ", true_stream_index_:" << true_stream_inde… in Init()
79 …rtError_t status = rtStreamSwitchEx(loop_cnt, cond_, ites_per_loop, true_stream_, stream_ptr, data… in Launch()
99 …MS_LOG(INFO) << "cond_:" << static_cast<int>(cond_) << ", true_stream_index_:" << true_stream_inde… in GenTask()
102 unique_name_, stream_id, true_stream_index_, loop_cnt, ites_per_loop, cond_, data_type_); in GenTask()
Dlabel_switch.cc29 cond_ = nullptr; in LabelSwitchKernel()
33 LabelSwitchKernel::~LabelSwitchKernel() { cond_ = nullptr; } in ~LabelSwitchKernel()
68 cond_ = inputs[0]->addr; in GenTask()
69 … = std::make_shared<LabelSwitchTaskInfo>(unique_name_, stream_id, label_size_, label_list_, cond_); in GenTask()
/third_party/boost/libs/beast/include/boost/beast/_experimental/unit_test/
Drunner.hpp33 bool cond_ = false; member in boost::beast::unit_test::runner
191 BOOST_ASSERT(cond_); in run()
247 BOOST_ASSERT(default_ || cond_); in testcase()
251 cond_ = false; in testcase()
263 cond_ = true; in pass()
275 cond_ = true; in fail()
/third_party/boost/boost/beast/_experimental/unit_test/
Drunner.hpp33 bool cond_ = false; member in boost::beast::unit_test::runner
191 BOOST_ASSERT(cond_); in run()
247 BOOST_ASSERT(default_ || cond_); in testcase()
251 cond_ = false; in testcase()
263 cond_ = true; in pass()
275 cond_ = true; in fail()
/third_party/boost/boost/thread/concurrent_queues/detail/
Dsync_queue_base.hpp66 condition_variable cond_; member in boost::concurrent::detail::sync_queue_base
97 cond_.notify_all(); in notify_elem_added()
101 cond_.notify_all(); in notify_elem_added()
125 cond_.notify_all(); in close()
190cond_.wait(lk, boost::bind(&sync_queue_base<ValueType, Queue>::not_empty_or_closed, boost::ref(*th… in wait_until_not_empty_or_closed()
199 …if (! cond_.wait_until(lk, tp, boost::bind(&sync_queue_base<ValueType, Queue>::not_empty_or_closed… in wait_until_not_empty_or_closed_until()
Dsync_deque_base.hpp66 condition_variable cond_; member in boost::concurrent::detail::sync_deque_base
97 cond_.notify_all(); in notify_elem_added()
101 cond_.notify_all(); in notify_elem_added()
125 cond_.notify_all(); in close()
190cond_.wait(lk, boost::bind(&sync_deque_base<ValueType, Queue>::not_empty_or_closed, boost::ref(*th… in wait_until_not_empty_or_closed()
199 …if (! cond_.wait_until(lk, tp, boost::bind(&sync_deque_base<ValueType, Queue>::not_empty_or_closed… in wait_until_not_empty_or_closed_until()
/third_party/boost/boost/lambda/
Dloops.hpp288 while_composite(CondT const& cond_, DoT const& do__) in while_composite()
289 : cond(cond_), do_(do__) {} in while_composite()
306 while_gen(CondT const& cond_) in while_gen()
307 : cond(cond_) {} in while_gen()
363 do_composite(DoT const& do__, CondT const& cond_) in do_composite()
364 : do_(do__), cond(cond_) {} in do_composite()
443 CondT const& cond_, in for_composite()
446 : init(init_), cond(cond_), step(step_), do_(do__) {} in for_composite()
465 CondT const& cond_, in for_gen()
467 : init(init_), cond(cond_), step(step_) {} in for_gen()
Dif.hpp361 CondT const& cond_, in if_then_else_composite()
364 : cond(cond_), then(then_), else_(else__) {} in if_then_else_composite()
382 else_gen(CondT const& cond_, ThenT const& then_) in else_gen()
383 : cond(cond_), then(then_) {} in else_gen()
407 if_then_composite(CondT const& cond_, ThenT const& then_) in if_then_composite()
408 : cond(cond_), then(then_), else_(cond, then) {} in if_then_composite()
425 if_gen(CondT const& cond_) in if_gen()
426 : cond(cond_) {} in if_gen()
/third_party/boost/libs/fiber/performance/fiber/
Dbarrier.hpp22 std::condition_variable cond_{}; member in barrier
41 cond_.notify_all(); in wait()
44 cond_.wait( lk, [&](){ return cycle != cycle_; }); in wait()
/third_party/boost/boost/fiber/detail/
Dthread_barrier.hpp33 std::condition_variable cond_{}; member in boost::fibers::detail::thread_barrier
52 cond_.notify_all(); in wait()
55 cond_.wait( lk, [&](){ return cycle != cycle_; }); in wait()
/third_party/boost/boost/phoenix/statement/
Dif.hpp96 else_gen(Cond const & cond_, Then const & then_) in else_gen()
97 : cond(cond_) in else_gen()
138 if_gen(Cond const & cond_) in if_gen()
139 : cond(cond_) {} in if_gen()
/third_party/node/src/
Dnode_mutex.h128 typename Traits::CondT cond_;
174 CHECK_EQ(0, Traits::cond_init(&cond_)); in ConditionVariableBase()
179 Traits::cond_destroy(&cond_); in ~ConditionVariableBase()
184 Traits::cond_broadcast(&cond_); in Broadcast()
189 Traits::cond_signal(&cond_); in Signal()
194 Traits::cond_wait(&cond_, &scoped_lock.mutex_.mutex_); in Wait()
/third_party/boost/libs/exception/test/
Dcopy_exception_test.cpp58 cond_.notify_all(); in set_exception()
66 cond_.wait (lck); in get_exception()
75 mutable boost::condition_variable cond_; member in future

123