Home
last modified time | relevance | path

Searched refs:exc2 (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/unittest/test/
Dtest_runner.py56 exc2 = Exception('bar')
61 raise exc2
70 self.assertEqual((test2, Type2, instance2), (test, Exception, exc2))
/external/aac/libAACdec/src/
Dusacdec_acelp.cpp463 FIXP_DBL exc2[] /* (o) : post-processed excitation u(n) Q15 */ in BuildAdaptiveExcitation() argument
492 *exc2++ = (tmp - cpe_code_smooth) << SF_HEADROOM; in BuildAdaptiveExcitation()
508 *exc2++ = (tmp - cpe_code_smooth) in BuildAdaptiveExcitation()
518 *exc2++ = tmp << SF_HEADROOM; in BuildAdaptiveExcitation()
749 FIXP_DBL *exc2; in CLpd_AcelpDecode() local
776 exc2 = (FIXP_DBL *)tmp_buf; in CLpd_AcelpDecode()
886 gain_code_smooth, period_fac, exc2); in CLpd_AcelpDecode()
899 exc2, /* (i) : input signal */ in CLpd_AcelpDecode()
/external/python/cpython3/Lib/test/
Dtest_contextlib.py814 exc2 = Exception(2)
825 stack.enter_context(gets_the_context_right(exc2))
830 self.assertIs(exc.__context__.__context__, exc2)
844 exc2 = Exception(2)
851 stack.callback(raise_nested, exc2, exc3)
857 self.assertIs(exc.__context__.__context__.__context__, exc2)
Dtest_raise.py42 except IndexError as exc2:
43 self.assertIs(exc1, exc2)
/external/python/cpython3/Python/
Derrors.c478 PyObject *exc2, *val2, *tb2; in _PyErr_ChainExceptions() local
479 _PyErr_Fetch(tstate, &exc2, &val2, &tb2); in _PyErr_ChainExceptions()
486 _PyErr_NormalizeException(tstate, &exc2, &val2, &tb2); in _PyErr_ChainExceptions()
488 _PyErr_Restore(tstate, exc2, val2, tb2); in _PyErr_ChainExceptions()
Dceval.c3335 PyObject *tp2, *exc2, *tb2; in _PyEval_EvalFrameDefault() local
3340 exc2 = PEEK(5); in _PyEval_EvalFrameDefault()
3344 SET_VALUE(6, exc2); in _PyEval_EvalFrameDefault()
/external/python/cpython3/Lib/unittest/test/
Dtest_runner.py84 exc2 = Exception('bar')
89 raise exc2
100 self.assertEqual((Type2, instance2), (Exception, exc2))
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py2931 exc2 = RuntimeError()
2937 d.set_exception(exc2)
2941 self.assertEqual(fut.result(), [3, 1, exc, exc2])
/external/python/cffi/c/
D_cffi_backend.c5886 PyObject *exc1, *val1, *tb1, *res1, *exc2, *val2, *tb2; in general_invoke_callback() local
5908 PyErr_Fetch(&exc2, &val2, &tb2); in general_invoke_callback()
5915 _my_PyErr_WriteUnraisable(exc2, val2, tb2, in general_invoke_callback()
/external/scapy/test/
Dregression.uts8019 except Exception as exc2:
8020 rc = isinstance(exc2, type(_exc1))
8390 except Exception as exc2:
8391 rc = isinstance(exc2, type(exc1))