Home
last modified time | relevance | path

Searched refs:_active (Results 1 – 22 of 22) 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/autotest/client/cros/cellular/pseudomodem/
Dbearer.py26 self._active = False
59 return self._active
103 self._active = True
119 self._active = False
/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/python/cpython2/Lib/
Dpopen2.py22 _active = [] variable
25 for inst in _active[:]:
28 _active.remove(inst)
78 if _active is not None:
80 _active.append(self)
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 …]
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/
Dthreading.py113 owner = _active[owner].name
755 _active = {} # maps thread id to Thread object variable
945 _active[self._ident] = self
962 del _active[get_ident()]
995 del _active[get_ident()]
1282 _active[self._ident] = self
1303 _active[self._ident] = self
1326 return _active[get_ident()]
1340 return len(_active) + len(_limbo)
1346 return list(_active.values()) + list(_limbo.values())
[all …]
Dsubprocess.py239 _active = None variable
248 _active = [] variable
251 if _active is None:
253 for inst in _active[:]:
257 _active.remove(inst)
1052 if self.returncode is None and _active is not None:
1054 _active.append(self)
/external/python/cpython3/Lib/test/test_asyncio/
Dfunctional.py166 self._active = False
185 self._active = True
207 self._active = True
236 while self._active:
252 if not self._active:
263 self._active = False
/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/skia/demos.skia.org/demos/textedit/
Dtextapi_utils.js68 _active: false,
71 return this._active;
76 this._active = true;
85 this._active = false;
/external/skia/modules/canvaskit/npm_build/
Dtextapi_utils.js65 _active: false,
68 return this._active;
73 this._active = true;
82 this._active = false;
/external/python/cpython3/Lib/test/
Dtest_threading.py138 del threading._active[ident[0]]
178 self.assertIn(tid, threading._active)
179 self.assertIsInstance(threading._active[tid], threading._DummyThread)
181 self.assertTrue(threading._active[tid].is_alive())
182 self.assertRegex(repr(threading._active[tid]), '_DummyThread')
183 del threading._active[tid]
Dtest_subprocess.py80 for inst in subprocess._active:
84 subprocess._active, "subprocess._active not empty"
2932 self.assertIsNone(subprocess._active)
2935 self.assertIn(ident, [id(o) for o in subprocess._active])
2958 self.assertIsNone(subprocess._active)
2961 self.assertIn(ident, [id(o) for o in subprocess._active])
2975 self.assertIsNone(subprocess._active)
2977 self.assertNotIn(ident, [id(o) for o in subprocess._active])
Dtest_os.py3100 self._active = False
3107 return self._active
3117 self._active = False
3129 self._active = True
3131 while self._active and asyncore.socket_map:
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a1.rst4938 Don't collect unfinished processes with ``subprocess._active`` on Windows to
/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