Home
last modified time | relevance | path

Searched refs:lock_held (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_imp.py16 self.assertEqual(imp.lock_held(), expected,
23 lock_held_at_start = imp.lock_held()
Dtest_threaded_import.py58 if imp.lock_held():
Dtest_socketserver.py370 if imp.lock_held():
/external/tensorflow/tensorflow/core/framework/
Dop_kernel.cc408 Tensor OpKernelContext::mutable_input(int index, bool lock_held) { in mutable_input() argument
413 if (lock_held) { in mutable_input()
426 bool lock_held) { in replace_ref_input() argument
431 if (lock_held) { in replace_ref_input()
580 void OpKernelContext::delete_ref_input(int index, bool lock_held) { in delete_ref_input() argument
585 if (lock_held) { in delete_ref_input()
594 bool lock_held) { in mutable_input() argument
607 if (lock_held) { in mutable_input()
619 bool lock_held) { in replace_ref_input() argument
631 replace_ref_input(start, tensor, lock_held); in replace_ref_input()
Dop_kernel.h474 Tensor at(int i, bool lock_held);
747 Tensor mutable_input(int index, bool lock_held);
756 Status mutable_input(StringPiece name, Tensor* tensor, bool lock_held);
770 void replace_ref_input(int index, const Tensor& tensor, bool lock_held);
777 bool lock_held);
784 void delete_ref_input(int input_index, bool lock_held);
1646 inline Tensor OpMutableInputList::at(int i, bool lock_held) { in at() argument
1649 return ctx_->mutable_input(start_ + i, lock_held); in at()
/external/python/cpython3/Lib/test/
Dtest_threaded_import.py80 assert imp.lock_held()
109 if imp.lock_held():
Dtest_imp.py30 self.assertEqual(imp.lock_held(), expected,
37 lock_held_at_start = imp.lock_held()
/external/tensorflow/tensorflow/core/kernels/
Dtraining_op_helpers.h242 bool lock_held, bool sparse, Tensor* out) { in GetInputTensorFromVariable() argument
257 *out = ctx->mutable_input(input, lock_held); in GetInputTensorFromVariable()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_launch_util.h85 bool lock_held() const { return lock_held_; } in lock_held() function
Dxla_launch_util.cc68 if (lock_held()) { in ~VariableInfo()
/external/python/cpython3/Lib/
Dimp.py9 from _imp import (lock_held, acquire_lock, release_lock,
/external/python/cpython2/Doc/library/
Dimp.rst103 .. function:: lock_held()
/external/python/cpython3/Doc/library/
Dimp.rst260 .. function:: lock_held()
/external/python/cpython2/Misc/
DHISTORY4602 imp.lock_held(). (SF bug #580952 and patch #683257.)
6969 - A new function, imp.lock_held(), returns 1 when the import lock is
/external/python/cpython3/Misc/
DHISTORY21986 imp.lock_held(). (SF bug #580952 and patch #683257.)
24348 - A new function, imp.lock_held(), returns 1 when the import lock is