Searched refs:exc2 (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Lib/unittest/test/ |
D | test_runner.py | 56 exc2 = Exception('bar') 61 raise exc2 70 self.assertEqual((test2, Type2, instance2), (test, Exception, exc2))
|
/external/aac/libAACdec/src/ |
D | usacdec_acelp.cpp | 463 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/ |
D | test_contextlib.py | 814 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)
|
D | test_raise.py | 42 except IndexError as exc2: 43 self.assertIs(exc1, exc2)
|
/external/python/cpython3/Python/ |
D | errors.c | 478 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()
|
D | ceval.c | 3335 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/ |
D | test_runner.py | 84 exc2 = Exception('bar') 89 raise exc2 100 self.assertEqual((Type2, instance2), (Exception, exc2))
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_tasks.py | 2931 exc2 = RuntimeError() 2937 d.set_exception(exc2) 2941 self.assertEqual(fut.result(), [3, 1, exc, exc2])
|
/external/python/cffi/c/ |
D | _cffi_backend.c | 5886 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/ |
D | regression.uts | 8019 except Exception as exc2: 8020 rc = isinstance(exc2, type(_exc1)) 8390 except Exception as exc2: 8391 rc = isinstance(exc2, type(exc1))
|