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/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/framework/
Dop_kernel.h498 Tensor at(int i, bool lock_held);
800 Tensor mutable_input(int index, bool lock_held);
809 Status mutable_input(StringPiece name, Tensor* tensor, bool lock_held);
823 void replace_ref_input(int index, const Tensor& tensor, bool lock_held);
830 bool lock_held);
837 void delete_ref_input(int input_index, bool lock_held);
1729 inline Tensor OpMutableInputList::at(int i, bool lock_held) { in at() argument
1732 return ctx_->mutable_input(start_ + i, lock_held); in at()
Dop_kernel.cc440 Tensor OpKernelContext::mutable_input(int index, bool lock_held) { in mutable_input() argument
445 if (lock_held) { in mutable_input()
458 bool lock_held) { in replace_ref_input() argument
463 if (lock_held) { in replace_ref_input()
612 void OpKernelContext::delete_ref_input(int index, bool lock_held) { in delete_ref_input() argument
617 if (lock_held) { in delete_ref_input()
626 bool lock_held) { in mutable_input() argument
639 if (lock_held) { in mutable_input()
651 bool lock_held) { in replace_ref_input() argument
663 replace_ref_input(start, tensor, lock_held); in replace_ref_input()
/external/tensorflow/tensorflow/core/kernels/
Dtraining_op_helpers.h241 bool lock_held, bool sparse, Tensor* out) { in GetInputTensorFromVariable() argument
255 *out = ctx->mutable_input(input, lock_held); in GetInputTensorFromVariable()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_launch_util.h84 bool lock_held() const { return lock_held_; } in lock_held() function
Dxla_launch_util.cc78 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.rst259 .. 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