Home
last modified time | relevance | path

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

/external/rust/crates/mio/src/sys/windows/
Dmod.rs19 ($fn: ident ( $($arg: expr),* $(,)* ), $err_test: path, $err_value: expr) => {{
21 if $err_test(&res, &$err_value) {
/external/python/cpython3/Lib/test/support/
Dtestresult.py88 def __makeErrorDict(cls, err_type, err_value, err_tb): argument
97 msg = traceback.format_exception(err_type, err_value, None)
98 tb = traceback.format_exception(err_type, err_value, err_tb)
/external/python/cpython2/Objects/
Dweakrefobject.c931 PyObject *err_type, *err_value, *err_tb; in PyObject_ClearWeakRefs() local
933 PyErr_Fetch(&err_type, &err_value, &err_tb); in PyObject_ClearWeakRefs()
951 _PyErr_ReplaceException(err_type, err_value, err_tb); in PyObject_ClearWeakRefs()
983 PyErr_Restore(err_type, err_value, err_tb); in PyObject_ClearWeakRefs()
Ddictobject.c734 PyObject *err_type, *err_value, *err_tb; in PyDict_GetItem() local
735 PyErr_Fetch(&err_type, &err_value, &err_tb); in PyDict_GetItem()
738 PyErr_Restore(err_type, err_value, err_tb); in PyDict_GetItem()
/external/python/cpython3/Objects/
Dweakrefobject.c996 PyObject *err_type, *err_value, *err_tb; in PyObject_ClearWeakRefs() local
998 PyErr_Fetch(&err_type, &err_value, &err_tb); in PyObject_ClearWeakRefs()
1017 _PyErr_ChainExceptions(err_type, err_value, err_tb); in PyObject_ClearWeakRefs()
1048 PyErr_Restore(err_type, err_value, err_tb); in PyObject_ClearWeakRefs()
Ddictobject.c1410 PyObject *err_type, *err_value, *err_tb; in PyDict_GetItem() local
1411 PyErr_Fetch(&err_type, &err_value, &err_tb); in PyDict_GetItem()
1414 PyErr_Restore(err_type, err_value, err_tb); in PyDict_GetItem()
/external/python/cpython2/Modules/
D_ssl.c409 PyObject *err_value = NULL, *reason_obj = NULL, *lib_obj = NULL; in fill_and_set_sslerror() local
455 err_value = PyObject_CallObject(type, init_value); in fill_and_set_sslerror()
457 if (err_value == NULL) in fill_and_set_sslerror()
462 if (PyObject_SetAttrString(err_value, "reason", reason_obj)) in fill_and_set_sslerror()
466 if (PyObject_SetAttrString(err_value, "library", lib_obj)) in fill_and_set_sslerror()
468 PyErr_SetObject(type, err_value); in fill_and_set_sslerror()
470 Py_XDECREF(err_value); in fill_and_set_sslerror()
/external/python/cpython3/Modules/
D_ssl.c608 PyObject *err_value = NULL, *reason_obj = NULL, *lib_obj = NULL; in fill_and_set_sslerror() local
706 err_value = PyObject_CallObject(type, init_value); in fill_and_set_sslerror()
708 if (err_value == NULL) in fill_and_set_sslerror()
713 if (_PyObject_SetAttrId(err_value, &PyId_reason, reason_obj)) in fill_and_set_sslerror()
718 if (_PyObject_SetAttrId(err_value, &PyId_library, lib_obj)) in fill_and_set_sslerror()
723 if (_PyObject_SetAttrId(err_value, &PyId_verify_code, in fill_and_set_sslerror()
726 if (_PyObject_SetAttrId(err_value, &PyId_verify_message, verify_obj)) in fill_and_set_sslerror()
730 PyErr_SetObject(type, err_value); in fill_and_set_sslerror()
732 Py_XDECREF(err_value); in fill_and_set_sslerror()
/external/python/cpython3/Doc/extending/
Dnewtypes.rst102 PyObject *err_type, *err_value, *err_traceback;
105 PyErr_Fetch(&err_type, &err_value, &err_traceback);
114 PyErr_Restore(err_type, err_value, err_traceback);
/external/python/cpython2/Doc/extending/
Dnewtypes.rst1005 PyObject *err_type, *err_value, *err_traceback;
1009 PyErr_Fetch(&err_type, &err_value, &err_traceback);
1018 PyErr_Restore(err_type, err_value, err_traceback);