Home
last modified time | relevance | path

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

/external/qemu/android/utils/
Dassert.h61 #define _ANDROID_ASSERT_BOOL(cond_,expected_) \ argument
63 int cond_result_ = !!(cond_); \
68 #cond_, \
75 #define _ANDROID_ASSERT_INT(cond_,expected_) \ argument
77 int cond_result_ = (cond_); \
82 #cond_ , cond_result_, cond_expected_); \
86 #define _ANDROID_ASSERT_INT_OP(cond_,expected_,op_) \ argument
88 int cond_result_ = (cond_); \
93 #cond_ , cond_result_, #op_, cond_expected_); \
97 # define _ANDROID_ASSERT_PTR(cond_,expected_) \ argument
[all …]
/external/chromium_org/third_party/webrtc/system_wrappers/source/
Dcondition_variable_posix.cc44 pthread_cond_init(&cond_, NULL); in Construct()
56 result = pthread_cond_init(&cond_, &cond_attr); in Construct()
69 pthread_cond_destroy(&cond_); in ~ConditionVariablePosix()
75 pthread_cond_wait(&cond_, &cs->mutex_); in SleepCS()
116 const int res = pthread_cond_timedwait(&cond_, &cs->mutex_, &ts); in SleepCS()
119 pthread_cond_wait(&cond_, &cs->mutex_); in SleepCS()
125 pthread_cond_signal(&cond_); in Wake()
129 pthread_cond_broadcast(&cond_); in WakeAll()
Devent_posix.cc61 result = pthread_cond_init(&cond_, 0); in Construct()
75 result = pthread_cond_init(&cond_, &cond_attr); in Construct()
89 pthread_cond_destroy(&cond_); in ~EventPosix()
108 pthread_cond_broadcast(&cond_); in Set()
143 ret_val = pthread_cond_timedwait(&cond_, &mutex_, &end_at); in Wait()
145 ret_val = pthread_cond_wait(&cond_, &mutex_); in Wait()
169 ret_val = pthread_cond_timedwait(&cond_, &mutex_, &wake_at); in Wait()
Dcondition_variable_posix.h37 pthread_cond_t cond_;
Devent_posix.h50 pthread_cond_t cond_;
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
Dthread_safe_queue.h25 pthread_cond_init(&cond_, NULL); in ThreadSafeQueue()
29 pthread_cond_destroy(&cond_); in ~ThreadSafeQueue()
36 pthread_cond_signal(&cond_); in Enqueue()
44 while (list_.empty()) pthread_cond_wait(&cond_, lock_.mutex()); in Dequeue()
56 pthread_cond_t cond_; variable
/external/chromium_org/base/threading/
Dthread_perftest.cc230 : cond_(&lock_), signaled_(false) { in ConditionVariableEvent()
240 cond_.Signal(); in Signal()
246 cond_.Wait(); in Wait()
252 base::ConditionVariable cond_; member in base::__anon94b840890111::ConditionVariableEvent
273 pthread_cond_init(&cond_, 0); in PthreadEvent()
278 pthread_cond_destroy(&cond_); in ~PthreadEvent()
286 pthread_cond_signal(&cond_); in Signal()
292 pthread_cond_wait(&cond_, &mutex_); in Wait()
300 pthread_cond_t cond_; member in base::__anon94b840890111::PthreadEvent
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
Dvp9_dthread.c47 pthread_cond_wait(&lf_sync->cond_[r - 1], mutex); in sync_read()
79 pthread_cond_signal(&lf_sync->cond_[r]); in sync_write()
230 CHECK_MEM_ERROR(cm, lf_sync->cond_, in vp9_loop_filter_alloc()
231 vpx_malloc(sizeof(*lf_sync->cond_) * rows)); in vp9_loop_filter_alloc()
233 pthread_cond_init(&lf_sync->cond_[i], NULL); in vp9_loop_filter_alloc()
257 if (lf_sync->cond_ != NULL) { in vp9_loop_filter_dealloc()
259 pthread_cond_destroy(&lf_sync->cond_[i]); in vp9_loop_filter_dealloc()
261 vpx_free(lf_sync->cond_); in vp9_loop_filter_dealloc()
Dvp9_dthread.h34 pthread_cond_t *cond_; member
/external/libvpx/libvpx/vp9/decoder/
Dvp9_dthread.c46 pthread_cond_wait(&lf_sync->cond_[r - 1], in sync_read()
79 pthread_cond_signal(&lf_sync->cond_[r]); in sync_write()
240 CHECK_MEM_ERROR(cm, lf_sync->cond_, in vp9_loop_filter_alloc()
241 vpx_malloc(sizeof(*lf_sync->cond_) * rows)); in vp9_loop_filter_alloc()
243 pthread_cond_init(&lf_sync->cond_[i], NULL); in vp9_loop_filter_alloc()
266 if (lf_sync->cond_ != NULL) { in vp9_loop_filter_dealloc()
268 pthread_cond_destroy(&lf_sync->cond_[i]); in vp9_loop_filter_dealloc()
270 vpx_free(lf_sync->cond_); in vp9_loop_filter_dealloc()
Dvp9_dthread.h36 pthread_cond_t *cond_; member
/external/chromium_org/media/cast/receiver/
Dvideo_decoder_unittest.cc44 cond_(&lock_) { in VideoDecoderTest()
117 cond_.Wait(); in WaitForAllVideoToBeDecoded()
146 cond_.Signal(); in OnDecodedFrame()
158 base::ConditionVariable cond_; member in media::cast::VideoDecoderTest
Daudio_decoder_unittest.cc36 cond_(&lock_) {} in AudioDecoderTest()
140 cond_.Wait(); in WaitForAllAudioToBeDecoded()
180 cond_.Signal(); in OnDecodedFrame()
191 base::ConditionVariable cond_; member in media::cast::AudioDecoderTest
/external/chromium_org/sandbox/linux/bpf_dsl/
Dbpf_dsl.cc129 : cond_(cond), then_result_(then_result), else_result_(else_result) {} in IfThenResultExprImpl()
132 return cond_->Compile( in Compile()
139 BoolExpr cond_; member in sandbox::bpf_dsl::__anon2347e7360111::IfThenResultExprImpl
192 explicit NegateBoolExprImpl(const BoolExpr& cond) : cond_(cond) {} in NegateBoolExprImpl()
197 return cond_->Compile(sb, false_ec, true_ec); in Compile()
203 BoolExpr cond_; member in sandbox::bpf_dsl::__anon2347e7360111::NegateBoolExprImpl
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
Dservice_runtime.cc257 NaClXCondVarCtor(&cond_); in ServiceRuntime()
430 NaClXCondVarTimedWaitRelative(&cond_, &mu_, &left_timespec); in WaitForSelLdrStart()
440 NaClXCondVarSignal(&cond_); in SignalStartSelLdrDone()
446 NaClXCondVarWait(&cond_, &mu_); in WaitForNexeStart()
454 NaClXCondVarSignal(&cond_); in SignalNexeStarted()
566 NaClCondVarDtor(&cond_); in ~ServiceRuntime()
Dservice_runtime.h206 NaClCondVar cond_; variable
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Djs_fs_test.cc49 pthread_cond_init(&cond_, NULL); in FakeMessagingInterfaceJsFs()
52 ~FakeMessagingInterfaceJsFs() { pthread_cond_destroy(&cond_); } in ~FakeMessagingInterfaceJsFs()
62 pthread_cond_signal(&cond_); in PostMessage()
68 pthread_cond_wait(&cond_, lock_.mutex()); in WaitForMessage()
78 pthread_cond_t cond_; member in __anonf0623e9b0111::FakeMessagingInterfaceJsFs
/external/chromium_org/v8/src/
Dast.h766 cond_ = cond; in DECLARE_NODE_TYPE()
769 Expression* cond() const { return cond_; } in cond()
779 cond_(NULL), in DoWhileStatement()
784 Expression* cond_;
797 cond_ = cond; in DECLARE_NODE_TYPE()
800 Expression* cond() const { return cond_; } in cond()
816 cond_(NULL), in WhileStatement()
821 Expression* cond_;
840 cond_ = cond; in DECLARE_NODE_TYPE()
845 Expression* cond() const { return cond_; } in cond()
[all …]
/external/chromium_org/v8/src/arm64/
Dlithium-codegen-arm64.cc54 cond_(cond) { } in BranchOnCondition()
57 __ B(cond_, label); in Emit()
61 if (cond_ != al) { in EmitInverted()
62 __ B(NegateCondition(cond_), label); in EmitInverted()
67 Condition cond_; member in v8::internal::BranchOnCondition
83 cond_(cond), in CompareAndBranch()
88 __ CompareAndBranch(lhs_, rhs_, cond_, label); in Emit()
92 __ CompareAndBranch(lhs_, rhs_, NegateCondition(cond_), label); in EmitInverted()
96 Condition cond_; member in v8::internal::CompareAndBranch
113 cond_(cond), in TestAndBranch()
[all …]