Home
last modified time | relevance | path

Searched refs:raise_exception (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dsmart_cond_test.py32 def raise_exception(): function
75 raise_exception)
108 (x == 0, raise_exception)]
109 y = smart_cond.smart_case(conditions, default=raise_exception,
111 z = smart_cond.smart_case(conditions, default=raise_exception,
120 conditions = [(False, raise_exception)]
136 (y < 1, raise_exception),
137 (False, raise_exception),
139 z = smart_cond.smart_case(conditions, default=raise_exception)
/external/autotest/server/cros/
Dtradefed_chromelogin.py65 def login(self, timeout=None, raise_exception=False, verbose=False): argument
100 if raise_exception:
106 if raise_exception:
118 self.login(timeout=timeout, raise_exception=True, verbose=True)
/external/autotest/client/deps/lansim/src/py/
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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopRotate/
Dpr35210.ll45 ; CHECK-NEXT : tail call void @raise_exception() #0
50 ; CHECK-NEXT : declare void @raise_exception() #0
68 tail call void @raise_exception() #0
73 declare void @raise_exception() #0
Dsimplifylatch.ll33 tail call void @raise_exception( ) noreturn
39 declare void @raise_exception() noreturn
/external/libunwind/tests/
DGtest-exc.c52 raise_exception (void) in raise_exception() function
128 raise_exception (); in b()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/
Dtrip-count6.ll32 tail call void @raise_exception( ) noreturn
38 declare void @raise_exception() noreturn
/external/swiftshader/third_party/LLVM/test/Analysis/ScalarEvolution/
Dtrip-count6.ll31 tail call void @raise_exception( ) noreturn
37 declare void @raise_exception() noreturn
/external/llvm/test/Analysis/ScalarEvolution/
Dtrip-count6.ll32 tail call void @raise_exception( ) noreturn
38 declare void @raise_exception() noreturn
/external/llvm/test/Transforms/LoopRotate/
Dsimplifylatch.ll33 tail call void @raise_exception( ) noreturn
39 declare void @raise_exception() noreturn
/external/fonttools/Tests/ttx/
Dttx_test.py962 ttx, "process", (lambda x, y: raise_exception(KeyboardInterrupt))
980 ttx, "process", (lambda x, y: raise_exception(SystemExit))
993 (lambda x, y: raise_exception(TTLibError("Test error"))),
1013 (lambda x, y: raise_exception(Exception("Test error"))),
1026 def raise_exception(exception): function
/external/u-boot/drivers/usb/gadget/
Df_mass_storage.c456 static void raise_exception(struct fsg_common *common, enum fsg_state new_state) in raise_exception() function
553 raise_exception(fsg->common, FSG_STATE_RESET); in fsg_setup()
1464 raise_exception(common, in throw_away_data()
1568 raise_exception(common, FSG_STATE_ABORT_BULK_OUT); in finish_reply()
1582 raise_exception(common, FSG_STATE_ABORT_BULK_OUT); in finish_reply()
2265 raise_exception(fsg->common, FSG_STATE_CONFIG_CHANGE); in fsg_set_alt()
2273 raise_exception(fsg->common, FSG_STATE_CONFIG_CHANGE); in fsg_disable()
2554 raise_exception(common, FSG_STATE_EXIT); in fsg_common_release()
2640 raise_exception(fsg->common, FSG_STATE_CONFIG_CHANGE); in fsg_unbind()
/external/tensorflow/tensorflow/python/kernel_tests/
Dpy_func_test.py416 def raise_exception(): function
429 f = script_ops.eager_py_func(raise_exception, [], [])
432 f = script_ops.eager_py_func(raise_exception, [], [])
434 f = script_ops.py_func(raise_exception, [], [])
/external/python/cpython3/Lib/test/test_importlib/
Dtest_util.py143 def raise_exception(self, name): member in ModuleForLoaderTests
187 self.raise_exception(name)
196 self.raise_exception(name)
Dtest_abc.py944 def raise_exception(exc): function
950 self.loader.set_data = raise_exception(NotImplementedError)
/external/python/cpython2/Lib/test/
Dtest_exceptions.py167 _testcapi.raise_exception(BadException, 1)
179 _testcapi.raise_exception(BadException, 0)
/external/python/cpython3/Lib/test/
Dtest_exceptions.py215 _testcapi.raise_exception(BadException, 1)
227 _testcapi.raise_exception(BadException, 0)
240 self.assertRaises(SystemError, _testcapi.raise_exception,
/external/python/cpython2/Modules/
D_testcapimodule.c1882 raise_exception(PyObject *self, PyObject *args) in raise_exception() function
2670 {"raise_exception", raise_exception, METH_VARARGS},
/external/python/cpython3/Modules/
D_testcapimodule.c2144 raise_exception(PyObject *self, PyObject *args) in raise_exception() function
4580 {"raise_exception", raise_exception, METH_VARARGS},