Home
last modified time | relevance | path

Searched refs:_cond (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython2/Lib/multiprocessing/
Dpool.py543 self._cond = threading.Condition(threading.Lock())
558 self._cond.acquire()
561 self._cond.wait(timeout)
563 self._cond.release()
578 self._cond.acquire()
581 self._cond.notify()
583 self._cond.release()
615 self._cond.acquire()
618 self._cond.notify()
620 self._cond.release()
[all …]
Dsynchronize.py302 self._cond = Condition(Lock())
306 self._cond.acquire()
313 self._cond.release()
316 self._cond.acquire()
320 self._cond.notify_all()
322 self._cond.release()
325 self._cond.acquire()
329 self._cond.release()
332 self._cond.acquire()
337 self._cond.wait(timeout)
[all …]
Dqueues.py300 self._cond = Condition()
303 return Queue.__getstate__(self) + (self._cond, self._unfinished_tasks)
307 self._cond, self._unfinished_tasks = state[-2:]
315 self._cond.acquire()
323 self._cond.release()
327 self._cond.acquire()
332 self._cond.notify_all()
334 self._cond.release()
337 self._cond.acquire()
340 self._cond.wait()
[all …]
/external/python/cpython3/Lib/
Dthreading.py391 self._cond = Condition(Lock())
422 with self._cond:
433 self._cond.wait(timeout)
448 with self._cond:
450 self._cond.notify()
487 with self._cond:
491 self._cond.notify()
506 self._cond = Condition(Lock())
511 self._cond.__init__(Lock())
526 with self._cond:
[all …]
/external/python/cpython3/Lib/multiprocessing/
Dsynchronize.py324 self._cond = ctx.Condition(ctx.Lock())
328 with self._cond:
335 with self._cond:
338 self._cond.notify_all()
341 with self._cond:
345 with self._cond:
349 self._cond.wait(timeout)
373 self._cond, self._wrapper) = state
378 self._cond, self._wrapper)
Dqueues.py294 self._cond = ctx.Condition()
297 return Queue.__getstate__(self) + (self._cond, self._unfinished_tasks)
301 self._cond, self._unfinished_tasks = state[-2:]
309 with self._notempty, self._cond:
317 with self._cond:
321 self._cond.notify_all()
324 with self._cond:
326 self._cond.wait()
Dpool.py833 self._cond = threading.Condition(threading.Lock())
846 with self._cond:
853 self._cond.wait(timeout)
870 with self._cond:
878 self._cond.notify()
887 with self._cond:
890 self._cond.notify()
901 with self._cond:
904 self._cond.notify()
/external/mesa3d/src/gallium/tests/unit/
Dpipe_barrier_test.c63 #define CHECK(_cond) \ argument
64 if (!(_cond)) { \
65 fprintf(stderr, "%s:%u: `%s` failed\n", __FILE__, __LINE__, #_cond); \
/external/python/cpython3/Lib/test/
Dtest_sched.py14 self._cond = threading.Condition()
19 with self._cond:
25 with self._cond:
29 self._cond.wait()
35 with self._cond:
37 self._cond.notify_all()
Dlock_tests.py423 with evt._cond:
424 self.assertFalse(evt._cond.acquire(False))
426 with evt._cond:
427 self.assertFalse(evt._cond.acquire(False))
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_inversion.py205 def _cond(self): member in LinearOperatorInversion
Dlinear_operator_adjoint.py223 def _cond(self): member in LinearOperatorAdjoint
Dlinear_operator_diag.py256 def _cond(self): member in LinearOperatorDiag
Dlinear_operator_identity.py405 def _cond(self): member in LinearOperatorIdentity
736 def _cond(self): member in LinearOperatorScaledIdentity
Dlinear_operator_householder.py256 def _cond(self): member in LinearOperatorHouseholder
Dlinear_operator_permutation.py245 def _cond(self): member in LinearOperatorPermutation
Dlinear_operator.py1079 def _cond(self): member in LinearOperator
1102 return self._cond()
/external/harfbuzz_ng/src/
Dhb.hh423 #define ASSERT_STATIC_EXPR_ZERO(_cond) (0 * (unsigned int) sizeof (hb_assert_constant_t<_cond>)) argument
/external/iw/
Dutil.c551 #define PRINT_HT_CAP(_cond, _str) \ in print_ht_capability() argument
553 if (_cond) \ in print_ht_capability()
/external/tensorflow/tensorflow/python/kernel_tests/
Dcond_v2_test.py358 return _cond(pred, false_true_fn, false_false_fn, "inside_false_fn")
381 return _cond(pred, lambda: x + y, lambda: x * x, name=None)
384 return _cond(pred, lambda: x - y, lambda: y * y, name=None)
420 return _cond(
429 return _cond(
1483 def _cond(pred, true_fn, false_fn, name): function
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeExtractor/
DPartialInlineVarArg.ll107 ; CHECK-NEXT: call void (i32*, ...) @vararg2.1_cond.end(i32* %foo, i32 signext 8)
/external/tensorflow/tensorflow/python/ops/
Dclustering_ops.py645 def _cond(i, _): function
700 _, num_remaining = control_flow_ops.while_loop(_cond, _body, [0, 0])