Home
last modified time | relevance | path

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

/external/llvm-project/openmp/libomptarget/deviceRTLs/common/
Ddebug.h217 #define ASSERT0(_flag, _cond, _str) \ argument
220 check(_cond); \
223 #define ASSERT(_flag, _cond, _str, _args...) \ argument
226 check(_cond); \
233 #define ASSERT0(_flag, _cond, _str) \ argument
236 check((_cond), "<b %3d, t %4d, w %2d, l %2d> ASSERT: " _str "\n"); \
239 #define ASSERT(_flag, _cond, _str, _args...) \ argument
242 check((_cond), "<b %3d, t %4d, w %2d, l %d2> ASSERT: " _str "\n", \
250 #define ASSERT0(_flag, _cond, _str) argument
251 #define ASSERT(_flag, _cond, _str, _args...) argument
/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.py401 self._cond = Condition(Lock())
432 with self._cond:
443 self._cond.wait(timeout)
460 with self._cond:
463 self._cond.notify()
502 with self._cond:
507 self._cond.notify()
522 self._cond = Condition(Lock())
527 self._cond._at_fork_reinit()
542 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.py300 self._cond = ctx.Condition()
303 return Queue.__getstate__(self) + (self._cond, self._unfinished_tasks)
307 self._cond, self._unfinished_tasks = state[-2:]
315 with self._notempty, self._cond:
323 with self._cond:
327 self._cond.notify_all()
330 with self._cond:
332 self._cond.wait()
Dpool.py838 self._cond = threading.Condition(threading.Lock())
851 with self._cond:
858 self._cond.wait(timeout)
875 with self._cond:
883 self._cond.notify()
892 with self._cond:
895 self._cond.notify()
906 with self._cond:
909 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.py449 with evt._cond:
450 self.assertFalse(evt._cond.acquire(False))
452 with evt._cond:
453 self.assertFalse(evt._cond.acquire(False))
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dxla_control_flow_ops_test.py132 def _cond(*args): function
143 return _cond, _body
229 def _cond(j, _): function
235 cond, body = _make_unstacked(_cond, _body, pfor_config)
Dcontrol_flow_ops_test.py1707 def _cond(self, f=None, split=0): member in NestedControlFlowTest
1740 self._test_helper(self._cond(self._while()))
1743 self._test_helper(self._while(self._cond()))
1749 self._test_helper(self._cond(self._cond()))
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_inversion.py213 def _cond(self): member in LinearOperatorInversion
Dlinear_operator_adjoint.py231 def _cond(self): member in LinearOperatorAdjoint
Dlinear_operator_diag.py264 def _cond(self): member in LinearOperatorDiag
Dlinear_operator_permutation.py256 def _cond(self): member in LinearOperatorPermutation
Dlinear_operator_identity.py417 def _cond(self): member in LinearOperatorIdentity
759 def _cond(self): member in LinearOperatorScaledIdentity
Dlinear_operator_householder.py268 def _cond(self): member in LinearOperatorHouseholder
Dlinear_operator.py1114 def _cond(self): member in LinearOperator
1137 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.py388 return _cond(pred, false_true_fn, false_false_fn, "inside_false_fn")
411 return _cond(pred, lambda: x + y, lambda: x * x, name=None)
414 return _cond(pred, lambda: x - y, lambda: y * y, name=None)
450 return _cond(
459 return _cond(
1742 def _cond(pred, true_fn, false_fn, name): function
/external/tensorflow/tensorflow/python/ops/
Dclustering_ops.py645 def _cond(i, _): function
700 _, num_remaining = control_flow_ops.while_loop(_cond, _body, [0, 0])