Home
last modified time | relevance | path

Searched refs:_active (Results 1 – 21 of 21) sorted by relevance

/external/grpc-grpc/src/python/grpcio/grpc/framework/foundation/
Dstream_util.py49 self._active = True
53 if self._active:
59 self._active = False
64 if self._active:
66 self._active = False
77 while self._active and not self._values:
96 self._active = True
116 terminate = not self._values and not self._active
117 elif not self._active:
126 if self._active:
[all …]
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_server/
D_rpc.py36 self._active = True
59 if self._active:
60 self._active = False
99 if self._active:
100 self._active = False
131 return self._active
/external/python/cpython2/Lib/test/
Dtest_popen2.py45 self.assertFalse(popen2._active, "Active pipes when test starts" +
46 repr([c.cmd for c in popen2._active]))
49 for inst in popen2._active:
52 self.assertFalse(popen2._active, "popen2._active not empty")
55 for inst in subprocess._active:
58 self.assertFalse(subprocess._active, "subprocess._active not empty")
Dtest_threading.py123 del threading._active[ident[0]]
160 self.assertIn(tid, threading._active)
161 self.assertIsInstance(threading._active[tid], threading._DummyThread)
162 del threading._active[tid]
Dtest_subprocess.py56 for inst in subprocess._active:
59 self.assertFalse(subprocess._active, "subprocess._active not empty")
1213 self.assertIn(ident, [id(o) for o in subprocess._active])
1233 self.assertIn(ident, [id(o) for o in subprocess._active])
1245 self.assertNotIn(ident, [id(o) for o in subprocess._active])
/external/python/setuptools/setuptools/
Dsandbox.py260 _active = False variable in AbstractSandbox
277 self._active = True
280 self._active = False
295 if self._active:
309 if self._active:
330 if self._active:
346 if self._active:
425 active = self._active
427 self._active = False
435 self._active = active
/external/autotest/client/cros/cellular/pseudomodem/
Dbearer.py26 self._active = False
59 return self._active
103 self._active = True
119 self._active = False
/external/python/cpython3/Lib/
Dthreading.py106 owner = _active[owner].name
733 _active = {} # maps thread id to Thread object variable
908 _active[self._ident] = self
964 del _active[get_ident()]
994 del _active[get_ident()]
1180 _active[self._ident] = self
1199 _active[self._ident] = self
1222 return _active[get_ident()]
1236 return len(_active) + len(_limbo)
1242 return list(_active.values()) + list(_limbo.values())
[all …]
Dsubprocess.py224 _active = [] variable
227 for inst in _active[:]:
231 _active.remove(inst)
861 if self.returncode is None and _active is not None:
863 _active.append(self)
/external/python/cpython2/Lib/
Dthreading.py71 name = _active[ident].name
141 owner = _active[owner].name
625 _active = {} # maps thread id to Thread object variable
788 _active[self.__ident] = self
853 del _active[_get_ident()]
893 del _active[_get_ident()]
1086 _active[_get_ident()] = self
1132 _active[_get_ident()] = self
1151 return _active[_get_ident()]
1166 return len(_active) + len(_limbo)
[all …]
Dpopen2.py22 _active = [] variable
25 for inst in _active[:]:
28 _active.remove(inst)
78 if _active is not None:
80 _active.append(self)
Dsubprocess.py105 _active = [] variable
108 for inst in _active[:]:
112 _active.remove(inst)
447 if self.returncode is None and _active is not None:
449 _active.append(self)
/external/python/cpython3/Lib/test/test_asyncio/
Dfunctional.py173 self._active = False
192 self._active = True
214 self._active = True
243 while self._active:
259 if not self._active:
270 self._active = False
/external/libxcam/xcore/
Dv4l2_device.cpp46 , _active (false) in V4l2Device()
432 _active = true; in start()
441 if (_active) { in stop()
445 _active = false; in stop()
698 _active = true; in start()
704 if (_active) in stop()
705 _active = false; in stop()
Dv4l2_device.h63 return _active; in is_activated()
138 bool _active; variable
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/
D_time.py132 self._active = False
147 self._active = False
164 if self._active:
169 self._active = True
/external/python/cpython3/Lib/test/
Dtest_threading.py132 del threading._active[ident[0]]
172 self.assertIn(tid, threading._active)
173 self.assertIsInstance(threading._active[tid], threading._DummyThread)
175 self.assertTrue(threading._active[tid].is_alive())
176 self.assertRegex(repr(threading._active[tid]), '_DummyThread')
177 del threading._active[tid]
Dtest_subprocess.py62 for inst in subprocess._active:
65 self.assertFalse(subprocess._active, "subprocess._active not empty")
2626 self.assertIn(ident, [id(o) for o in subprocess._active])
2648 self.assertIn(ident, [id(o) for o in subprocess._active])
2660 self.assertNotIn(ident, [id(o) for o in subprocess._active])
Dtest_os.py2679 self._active = False
2686 return self._active
2696 self._active = False
2708 self._active = True
2710 while self._active and asyncore.socket_map:
/external/python/cpython2/Misc/
DHISTORY974 - Patch #1467770: Reduce usage of subprocess._active to processes which
/external/python/cpython3/Misc/
DHISTORY18358 - Patch #1467770: Reduce usage of subprocess._active to processes which