Home
last modified time | relevance | path

Searched refs:new_exc (Results 1 - 8 of 8) sorted by relevance

/third_party/python/Lib/asyncio/
H A Dtasks.py291 new_exc = RuntimeError(
295 self.__step, new_exc, context=self._context)
298 new_exc = RuntimeError(
301 self.__step, new_exc, context=self._context)
312 new_exc = RuntimeError(
316 self.__step, new_exc, context=self._context)
323 new_exc = RuntimeError(
327 self.__step, new_exc, context=self._context)
330 new_exc = RuntimeError(f'Task got bad yield: {result!r}')
332 self.__step, new_exc, contex
[all...]
H A Dunix_events.py410 new_exc = ConnectionError(
412 new_exc.__cause__ = exc
413 exc = new_exc
/third_party/python/Lib/
H A Dcontextlib.py552 def _fix_exception_context(new_exc, old_exc):
555 exc_context = new_exc.__context__
561 new_exc = exc_context
564 new_exc.__context__ = old_exc
692 def _fix_exception_context(new_exc, old_exc):
695 exc_context = new_exc.__context__
701 new_exc = exc_context
704 new_exc.__context__ = old_exc
H A Denum.py266 new_exc = TypeError(
269 new_exc.__cause__ = exc
270 raise new_exc
/third_party/python/Lib/test/test_capi/
H A Dtest_misc.py93 new_exc = TypeError("TEST")
98 orig_exception = _testcapi.set_exception(new_exc)
108 self.assertEqual(new_exception, new_exc)
115 new_exc = TypeError("TEST")
121 orig_exc_info = _testcapi.set_exc_info(new_exc.__class__, new_exc, None)
131 self.assertSequenceEqual(new_exc_info, (new_exc.__class__, new_exc, None))
/third_party/ffmpeg/libavcodec/
H A Dspeexdec.c738 static void multicomb(const float *exc, float *new_exc, float *ak, int p, int nsf, in multicomb() argument
792 new_exc[i] = exc[i] + (gain0 * iexc[i]) + (gain1 * iexc[i + nsf]); in multicomb()
793 new_ener = compute_rms(new_exc, nsf); in multicomb()
802 new_exc[i] *= ngain; in multicomb()
/third_party/python/Objects/
H A Dexceptions.c3790 PyObject *new_exc, *new_val, *new_tb; in _PyErr_TrySetFromCause() local
3875 PyErr_Fetch(&new_exc, &new_val, &new_tb); in _PyErr_TrySetFromCause()
3876 PyErr_NormalizeException(&new_exc, &new_val, &new_tb); in _PyErr_TrySetFromCause()
3878 PyErr_Restore(new_exc, new_val, new_tb); in _PyErr_TrySetFromCause()
/third_party/python/Modules/
H A D_testcapimodule.c2580 test_set_exception(PyObject *self, PyObject *new_exc) in test_set_exception() argument
2585 PyErr_SetHandledException(new_exc); in test_set_exception()

Completed in 27 milliseconds