Home
last modified time | relevance | path

Searched refs:get_context (Results 1 – 25 of 70) sorted by relevance

123

/external/python/cpython3/Lib/multiprocessing/
Dcontext.py56 m = SyncManager(ctx=self.get_context())
68 return Lock(ctx=self.get_context())
73 return RLock(ctx=self.get_context())
78 return Condition(lock, ctx=self.get_context())
83 return Semaphore(value, ctx=self.get_context())
88 return BoundedSemaphore(value, ctx=self.get_context())
93 return Event(ctx=self.get_context())
98 return Barrier(parties, action, timeout, ctx=self.get_context())
103 return Queue(maxsize, ctx=self.get_context())
108 return JoinableQueue(maxsize, ctx=self.get_context())
[all …]
Dsharedctypes.py14 from . import get_context
78 ctx = ctx or get_context()
92 ctx = ctx or get_context()
105 ctx = ctx or get_context()
187 ctx = ctx or get_context(force=True)
/external/angle/src/tests/restricted_traces/
Dgen_restricted_traces.py186 context = get_context(trace)
229 def get_context(trace): function
249 return "%s/%s_capture_context%s.h" % (trace, trace, get_context(trace))
253 return "%s/%s_capture_context%s.cpp" % (trace, trace, get_context(trace))
Dretrace_restricted_traces.py21 from gen_restricted_traces import get_context as get_context unknown
38 context_id = get_context(trace_path)
/external/python/cpython2/Lib/idlelib/
DCodeContext.py107 def get_context(self, new_topvisible, stopline=1, stopindent=0): member in CodeContext
142 lines, lastindent = self.get_context(new_topvisible,
155 lines, lastindent = self.get_context(new_topvisible,
/external/python/cpython3/Lib/test/
Dtest_concurrent_futures.py29 from multiprocessing import get_context
122 mp_context=self.get_context(),
141 def get_context(self): member in ExecutorMixin
142 return get_context(self.ctx)
161 def get_context(self): member in ProcessPoolForkMixin
164 return super().get_context()
176 def get_context(self): member in ProcessPoolForkserverMixin
179 return super().get_context()
226 self.mp_context = self.get_context()
493 mp_context = get_context()
[all …]
Dmp_preload.py11 ctx = multiprocessing.get_context("forkserver")
/external/python/cpython3/Lib/idlelib/
Dcodecontext.py146 def get_context(self, new_topvisible, stopline=1, stopindent=0): member in CodeContext
188 lines, lastindent = self.get_context(new_topvisible,
201 lines, lastindent = self.get_context(new_topvisible,
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DRangeConstraintManager.cpp1402 ConstraintRangeTy::Factory &CF = State->get_context<ConstraintRange>(); in setConstraint()
1437 ConstraintMap::Factory &F = State->get_context<ConstraintMap>(); in getConstraintMap()
1531 ConstraintRangeTy::Factory &CRF = State->get_context<ConstraintRange>(); in mergeImpl()
1560 ClassMapTy::Factory &CMF = State->get_context<ClassMap>(); in mergeImpl()
1563 ClassMembersTy::Factory &MF = State->get_context<ClassMembers>(); in mergeImpl()
1566 DisequalityMapTy::Factory &DF = State->get_context<DisequalityMap>(); in mergeImpl()
1568 ClassSet::Factory &CF = State->get_context<ClassSet>(); in mergeImpl()
1622 return State->get_context<SymbolSet>(); in getMembersFactory()
1692 DisequalityMapTy::Factory &F = State->get_context<DisequalityMap>(); in addToDisequalityInfo()
1693 ClassSet::Factory &CF = State->get_context<ClassSet>(); in addToDisequalityInfo()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DProgramState.h385 typename ProgramStateTrait<T>::context_type get_context() const;
615 typename ProgramStateTrait<T>::context_type get_context() { in get_context() function
766 return getStateManager().add<T>(this, K, get_context<T>()); in add()
770 typename ProgramStateTrait<T>::context_type ProgramState::get_context() const { in get_context() function
771 return getStateManager().get_context<T>(); in get_context()
776 return getStateManager().remove<T>(this, K, get_context<T>()); in remove()
798 return getStateManager().set<T>(this, K, E, get_context<T>()); in set()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DProgramState.h399 typename ProgramStateTrait<T>::context_type get_context() const;
642 typename ProgramStateTrait<T>::context_type get_context() { in get_context() function
804 return getStateManager().add<T>(this, K, get_context<T>()); in add()
808 typename ProgramStateTrait<T>::context_type ProgramState::get_context() const { in get_context() function
809 return getStateManager().get_context<T>(); in get_context()
814 return getStateManager().remove<T>(this, K, get_context<T>()); in remove()
836 return getStateManager().set<T>(this, K, E, get_context<T>()); in set()
/external/tensorflow/tensorflow/core/common_runtime/
Dshape_refiner.h53 shape_inference::InferenceContext* get_context() { in get_context() function
118 return it->second->get_context(); in GetContext()
Dshape_refiner.cc172 InferShapesForFunctionSubNode(node, outer_context->get_context()); in InferShapesForFunction()
222 InferenceContext* input_ic = it->second->get_context(); in AddNodeInternal()
297 InferenceContext* node_context = node_ext_context->get_context(); in UpdateNode()
318 InferenceContext* c = iter->second->get_context(); in UpdateNode()
658 auto* c = ec->get_context(); in RunShapeFn()
/external/autotest/client/cros/
Ddark_resume_listener.py43 context = loop.get_context()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DInnerPointerChecker.cpp211 PtrSet::Factory &F = State->getStateManager().get_context<PtrSet>(); in checkPostCall()
237 PtrSet::Factory &F = State->getStateManager().get_context<PtrSet>(); in checkDeadSymbols()
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
Dp2p_flush.py105 gobject.MainLoop().get_context().iteration(True)
Dp2p_listen.py108 gobject.MainLoop().get_context().iteration(True)
Dp2p_stop_find.py110 gobject.MainLoop().get_context().iteration(True)
Dp2p_disconnect.py105 gobject.MainLoop().get_context().iteration(True)
Dp2p_find.py118 gobject.MainLoop().get_context().iteration(True)
Dp2p_invite.py136 gobject.MainLoop().get_context().iteration(True)
Dp2p_group_add.py150 gobject.MainLoop().get_context().iteration(True)
/external/tensorflow/tensorflow/python/distribute/
Dmulti_process_lib.py129 multiprocessing.get_context().set_executable(sys.argv[0])
/external/autotest/client/common_lib/cros/
Dsession_manager.py107 context = self._main_loop.get_context()
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_codecontext.py163 line11_context = '\n'.join(x[2] for x in cc.get_context(11)[0])
175 gc = self.cc.get_context

123