Lines Matching refs:_state
49 _state = _PENDING variable in Future
152 if self._state != _PENDING:
154 self._state = _CANCELLED
175 return self._state == _CANCELLED
185 return self._state != _PENDING
194 if self._state == _CANCELLED:
197 if self._state != _FINISHED:
212 if self._state == _CANCELLED:
215 if self._state != _FINISHED:
227 if self._state != _PENDING:
257 if self._state != _PENDING:
260 self._state = _FINISHED
269 if self._state != _PENDING:
277 self._state = _FINISHED