Searched defs:raise_exception (Results 1 - 7 of 7) sorted by relevance

/external/libunwind/tests/
H A DGtest-exc.c52 raise_exception (void) function
65 /* unwind to top-most frame a(), skipping over b() and raise_exception(): */
127 printf ("b(n=%d) calling raise_exception()\n", n);
128 raise_exception ();
130 panic ("FAILURE: b() returned from raise_exception()!!\n");
/external/autotest/client/deps/lansim/src/py/
H A Dsimulator_unittest.py17 def raise_exception(): function
109 self._sim.add_timeout(60, raise_exception)
111 self.assertTrue(self._sim.remove_timeout(raise_exception))
112 self.assertFalse(self._sim.remove_timeout(raise_exception))
166 self._sim.add_timeout(0.1, raise_exception)
/external/tensorflow/tensorflow/python/kernel_tests/
H A Dpy_func_test.py359 def raise_exception(): function in function:PyFuncTest._testExceptionHandling
365 f = script_ops.eager_py_func(raise_exception, [], [])
368 f = script_ops.eager_py_func(raise_exception, [], [])
370 f = script_ops.py_func(raise_exception, [], [])
/external/python/cpython3/Lib/test/test_importlib/
H A Dtest_abc.py896 def raise_exception(exc): function in function:SourceLoaderBytecodeTests.test_set_data_raises_exceptions
902 self.loader.set_data = raise_exception(NotImplementedError)
H A Dtest_util.py142 def raise_exception(self, name): member in class:ModuleForLoaderTests
186 self.raise_exception(name)
195 self.raise_exception(name)
/external/python/cpython2/Modules/
H A D_testcapimodule.c1785 raise_exception(PyObject *self, PyObject *args) function
1791 if (!PyArg_ParseTuple(args, "Oi:raise_exception",
2486 {"raise_exception", raise_exception, METH_VARARGS},
/external/python/cpython3/Modules/
H A D_testcapimodule.c2125 raise_exception(PyObject *self, PyObject *args) function
2131 if (!PyArg_ParseTuple(args, "Oi:raise_exception",
4031 {"raise_exception", raise_exception, METH_VARARGS},

Completed in 652 milliseconds