Home
last modified time | relevance | path

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

12

/external/webrtc/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_timer_posix.cc45 pthread_cond_init(&cond_, 0); in EventTimerPosix()
50 pthread_cond_init(&cond_, &cond_attr); in EventTimerPosix()
57 pthread_cond_destroy(&cond_); in ~EventTimerPosix()
65 pthread_cond_signal(&cond_); in Set()
99 ret_val = pthread_cond_timedwait(&cond_, &mutex_, &end_at); in Wait()
102 ret_val = pthread_cond_wait(&cond_, &mutex_); in Wait()
123 ret_val = pthread_cond_timedwait(&cond_, &mutex_, end_at); in Wait()
Dcondition_variable_posix.h37 pthread_cond_t cond_;
Devent_timer_posix.h45 pthread_cond_t cond_;
/external/libevent/
Devthread_win32.c138 evthread_win32_condvar_free(void *cond_) in evthread_win32_condvar_free() argument
140 CONDITION_VARIABLE *cond = cond_; in evthread_win32_condvar_free()
148 CONDITION_VARIABLE *cond = cond_; in evthread_win32_condvar_signal()
157 evthread_win32_condvar_wait(void *cond_, void *lock_, const struct timeval *tv) in evthread_win32_condvar_wait() argument
159 CONDITION_VARIABLE *cond = cond_; in evthread_win32_condvar_wait()
209 evthread_win32_cond_free(void *cond_) in evthread_win32_cond_free() argument
211 struct evthread_win32_cond *cond = cond_; in evthread_win32_cond_free()
218 evthread_win32_cond_signal(void *cond_, int broadcast) in evthread_win32_cond_signal() argument
220 struct evthread_win32_cond *cond = cond_; in evthread_win32_cond_signal()
233 evthread_win32_cond_wait(void *cond_, void *lock_, const struct timeval *tv) in evthread_win32_cond_wait() argument
[all …]
Devthread_pthread.c117 evthread_posix_cond_free(void *cond_) in evthread_posix_cond_free() argument
119 pthread_cond_t *cond = cond_; in evthread_posix_cond_free()
125 evthread_posix_cond_signal(void *cond_, int broadcast) in evthread_posix_cond_signal() argument
127 pthread_cond_t *cond = cond_; in evthread_posix_cond_signal()
137 evthread_posix_cond_wait(void *cond_, void *lock_, const struct timeval *tv) in evthread_posix_cond_wait() argument
140 pthread_cond_t *cond = cond_; in evthread_posix_cond_wait()
Devthread.c297 debug_cond_wait(void *cond_, void *lock_, const struct timeval *tv) in debug_cond_wait() argument
305 r = original_cond_fns_.wait_condition(cond_, lock->lock, tv); in debug_cond_wait()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dposix_event.hpp38 ::pthread_cond_destroy(&cond_); in ~posix_event()
55 ::pthread_cond_broadcast(&cond_); // Ignore EINVAL. in signal_all()
67 ::pthread_cond_signal(&cond_); // Ignore EINVAL. in unlock_and_signal_one()
79 ::pthread_cond_signal(&cond_); // Ignore EINVAL. in maybe_unlock_and_signal_one()
102 ::pthread_cond_wait(&cond_, &lock.mutex().mutex_); // Ignore EINVAL. in wait()
108 ::pthread_cond_t cond_;
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_int8_calibrator.cc56 while ((calib_running_ || batch_is_set_) && !done_) cond_.wait(lock); in setBatch()
84 cond_.notify_all(); in setBatch()
93 cond_.notify_all(); in getBatch()
96 while ((!batch_is_set_ && !done_)) cond_.wait(lock); in getBatch()
117 while ((calib_running_ || batch_is_set_) && !done_) cond_.wait(lock); in waitAndSetDone()
120 cond_.notify_all(); in waitAndSetDone()
133 cond_.notify_all(); in setDone()
Dtrt_int8_calibrator.h84 condition_variable cond_; member
/external/libaom/libaom/av1/common/
Dthread_common.c71 CHECK_MEM_ERROR(cm, lf_sync->cond_[j], in loop_filter_alloc()
72 aom_malloc(sizeof(*(lf_sync->cond_[j])) * rows)); in loop_filter_alloc()
73 if (lf_sync->cond_[j]) { in loop_filter_alloc()
75 pthread_cond_init(&lf_sync->cond_[j][i], NULL); in loop_filter_alloc()
115 if (lf_sync->cond_[j] != NULL) { in av1_loop_filter_dealloc()
117 pthread_cond_destroy(&lf_sync->cond_[j][i]); in av1_loop_filter_dealloc()
119 aom_free(lf_sync->cond_[j]); in av1_loop_filter_dealloc()
163 pthread_cond_wait(&lf_sync->cond_[plane][r - 1], mutex); in sync_read()
195 pthread_cond_broadcast(&lf_sync->cond_[plane][r]); in sync_write()
534 pthread_cond_wait(&loop_res_sync->cond_[plane][r - 1], mutex); in lr_sync_read()
[all …]
Dthread_common.h36 pthread_cond_t *cond_[MAX_MB_PLANE]; member
77 pthread_cond_t *cond_[MAX_MB_PLANE]; member
/external/drm_hwcomposer/
Dworker.cpp50 cond_.notify_all(); in Exit()
63 cond_.wait(lk); in WaitForSignalOrExitLocked()
65 cond_.wait_for(lk, std::chrono::nanoseconds(max_nanoseconds))) { in WaitForSignalOrExitLocked()
Dworker.h40 cond_.notify_all(); in Signal()
68 std::condition_variable cond_; variable
/external/v8/src/
Dfutex-emulation.cc38 cond_.NotifyOne(); in NotifyWake()
216 node->cond_.WaitFor(mutex_.Pointer(), time_until_timeout); in Wait()
219 node->cond_.Wait(mutex_.Pointer()); in Wait()
251 node->cond_.NotifyOne(); in Wake()
Dfutex-emulation.h67 base::ConditionVariable cond_; variable
/external/libaom/libaom/av1/encoder/
Dethread.c95 pthread_cond_wait(&row_mt_sync->cond_[r - 1], mutex); in av1_row_mt_sync_read()
126 pthread_cond_signal(&row_mt_sync->cond_[r]); in av1_row_mt_sync_write()
153 CHECK_MEM_ERROR(cm, row_mt_sync->cond_, in av1_row_mt_sync_mem_alloc()
154 aom_malloc(sizeof(*row_mt_sync->cond_) * rows)); in av1_row_mt_sync_mem_alloc()
155 if (row_mt_sync->cond_) { in av1_row_mt_sync_mem_alloc()
157 pthread_cond_init(&row_mt_sync->cond_[i], NULL); in av1_row_mt_sync_mem_alloc()
182 if (row_mt_sync->cond_ != NULL) { in av1_row_mt_sync_mem_dealloc()
184 pthread_cond_destroy(&row_mt_sync->cond_[i]); in av1_row_mt_sync_mem_dealloc()
186 aom_free(row_mt_sync->cond_); in av1_row_mt_sync_mem_dealloc()
/external/bcc/src/cc/frontends/b/
Dnode.h382 ExprNode::Ptr cond_;
387 : cond_(move(cond)), true_block_(move(true_block)) {} in IfStmtNode()
390 : cond_(move(cond)), true_block_(move(true_block)), in IfStmtNode()
398 IdentExprNode::Ptr cond_;
403 : cond_(move(cond)), block_(move(block)) {} in OnValidStmtNode()
406 : cond_(move(cond)), block_(move(block)), in OnValidStmtNode()
413 ExprNode::Ptr cond_;
416 : cond_(move(cond)), block_(move(block)) {} in SwitchStmtNode()
Dprinter.cc46 TRY2(n->cond_->accept(this)); in visit_if_stmt_node()
58 TRY2(n->cond_->accept(this)); in visit_onvalid_stmt_node()
70 TRY2(n->cond_->accept(this)); in visit_switch_stmt_node()
Dtype_check.cc44 TRY2(n->cond_->accept(this)); in visit_if_stmt_node()
55 TRY2(n->cond_->accept(this)); in visit_onvalid_stmt_node()
56 auto sdecl = static_cast<StructVariableDeclStmtNode*>(n->cond_->decl_); in visit_onvalid_stmt_node()
67 TRY2(n->cond_->accept(this)); in visit_switch_stmt_node()
68 if (n->cond_->typeof_ != ExprNode::INTEGER) in visit_switch_stmt_node()
/external/gemmlowp/internal/
Dmulti_thread_gemm.h153 pthread_cond_init(&cond_, nullptr); in BlockingCounter()
158 pthread_cond_destroy(&cond_); in ~BlockingCounter()
184 pthread_cond_signal(&cond_); in DecrementCount()
207 WaitForVariableChange(&count_, count_value, &cond_, &mutex_); in Wait()
213 pthread_cond_t cond_;
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dposix_event.ipp31 int error = ::pthread_cond_init(&cond_, 0);
/external/tensorflow/tensorflow/core/kernels/
Dfunctional_ops.cc170 cond_(cond), in State()
184 FHandle handle = cond_ ? then_handle_ : else_handle_; in Start()
204 const bool cond_; member in tensorflow::__anonf4cf7ed10111::IfOp::State
/external/v8/src/ast/
Dast.h501 cond_ = cond; in Initialize()
504 Expression* cond() const { return cond_; } in cond()
512 cond_(nullptr) {} in DoWhileStatement()
514 Expression* cond_; variable
522 cond_ = cond; in Initialize()
525 Expression* cond() const { return cond_; } in cond()
533 cond_(nullptr) {} in WhileStatement()
535 Expression* cond_; variable
545 cond_ = cond; in Initialize()
550 Expression* cond() const { return cond_; } in cond()
[all …]
/external/libaom/libaom/av1/decoder/
Ddecoder.h79 pthread_cond_t *cond_; member

12