Home
last modified time | relevance | path

Searched refs:_PyErr_Occurred (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Objects/
Dcall.c24 if (!_PyErr_Occurred(tstate)) { in null_error()
39 if (!_PyErr_Occurred(tstate)) { in _Py_CheckFunctionResult()
57 if (_PyErr_Occurred(tstate)) { in _Py_CheckFunctionResult()
87 if (!_PyErr_Occurred(tstate)) { in _Py_CheckSlotResult()
95 if (_PyErr_Occurred(tstate)) { in _Py_CheckSlotResult()
127 assert(!_PyErr_Occurred(tstate)); in _PyObject_FastCallDictTstate()
285 assert(!_PyErr_Occurred(tstate)); in _PyObject_Call()
362 assert(!_PyErr_Occurred(tstate)); in PyEval_CallObjectWithKeywords()
390 assert(!_PyErr_Occurred(tstate)); in PyObject_CallObject()
Dabstract.c29 if (!_PyErr_Occurred(tstate)) { in null_error()
100 assert(_PyErr_Occurred(tstate)); in PyObject_LengthHint()
802 if (!_PyErr_Occurred(tstate)) { in PyObject_Format()
1492 runerr = _PyErr_Occurred(tstate); in PyNumber_AsSsize_t()
2585 if (!_PyErr_Occurred(tstate)) { in check_class()
2685 else if (_PyErr_Occurred(tstate)) { in object_recursive_isinstance()
2770 else if (_PyErr_Occurred(tstate)) { in object_issubclass()
2877 if (_PyErr_Occurred(tstate) in PyIter_Next()
Dmethodobject.c390 assert(!_PyErr_Occurred(tstate)); in cfunction_check_kwargs()
528 assert(!_PyErr_Occurred(tstate)); in cfunction_call()
Dobject.c431 assert(!_PyErr_Occurred(tstate)); in PyObject_Repr()
491 assert(!_PyErr_Occurred(tstate)); in PyObject_Str()
735 if (!_PyErr_Occurred(tstate)) { in PyObject_RichCompare()
Dfuncobject.c48 if (module == NULL && _PyErr_Occurred(tstate)) { in PyFunction_NewWithQualName()
Dgenobject.c209 assert(_PyErr_Occurred(tstate)); in gen_send_ex2()
Dtypeobject.c1089 assert(!_PyErr_Occurred(tstate)); in type_call()
1135 assert(_PyErr_Occurred(tstate)); in type_call()
1140 assert(!_PyErr_Occurred(tstate)); in type_call()
/third_party/python/Modules/
Dgcmodule.c936 assert(!_PyErr_Occurred(tstate)); in handle_legacy_finalizers()
983 assert(!_PyErr_Occurred(tstate)); in finalize_garbage()
998 assert(!_PyErr_Occurred(tstate)); in delete_garbage()
1018 if (_PyErr_Occurred(tstate)) { in delete_garbage()
1201 assert(!_PyErr_Occurred(tstate)); in gc_collect_main()
1329 if (_PyErr_Occurred(tstate)) { in gc_collect_main()
1355 assert(!_PyErr_Occurred(tstate)); in gc_collect_main()
1367 assert(!_PyErr_Occurred(tstate)); in invoke_gc_callback()
1401 assert(!_PyErr_Occurred(tstate)); in invoke_gc_callback()
1410 assert(!_PyErr_Occurred(tstate)); in gc_collect_with_callback()
[all …]
/third_party/python/Python/
Dimport.c606 if (_PyErr_Occurred(tstate)) { in import_add_module()
801 if (m == NULL && !_PyErr_Occurred(tstate)) { in exec_code_in_module()
952 if (importer != NULL || _PyErr_Occurred(tstate)) { in get_path_importer()
1000 if (mod || _PyErr_Occurred(tstate)) { in create_builtin()
1343 else if (package == NULL && _PyErr_Occurred(tstate)) { in resolve_name()
1347 if (spec == NULL && _PyErr_Occurred(tstate)) { in resolve_name()
1398 if (!_PyErr_Occurred(tstate)) { in resolve_name()
1611 if (mod == NULL && _PyErr_Occurred(tstate)) { in PyImport_ImportModuleLevelObject()
1672 if (!_PyErr_Occurred(tstate)) { in PyImport_ImportModuleLevelObject()
1834 if (r == NULL && !_PyErr_Occurred(tstate)) { in PyImport_Import()
Dsysmodule.c287 if (_PyErr_Occurred(ts)) { in sys_audit_tstate()
304 assert(_PyErr_Occurred(ts)); in sys_audit_tstate()
533 assert(!_PyErr_Occurred(tstate)); in sys_breakpointhook()
705 if (!_PyErr_Occurred(tstate)) { in sys_displayhook()
1421 if (_PyErr_Occurred(tstate)) { in get_hash_info()
1710 if (!_PyErr_Occurred(tstate)) { in _PySys_GetSizeOf()
1726 if (size == -1 && _PyErr_Occurred(tstate)) in _PySys_GetSizeOf()
1756 if (size == (size_t)-1 && _PyErr_Occurred(tstate)) { in sys_getsizeof()
2694 if (_PyErr_Occurred(tstate)) { in make_version_info()
2912 if (_PyErr_Occurred(tstate)) { in _PySys_InitCore()
[all …]
Dceval.c935 if (!_PyErr_Occurred(tstate)) { in match_keys()
983 if (!_PyErr_Occurred(tstate)) { in match_class_attr()
1736 assert(!_PyErr_Occurred(tstate)); in _PyEval_EvalFrameDefault()
1743 assert(!_PyErr_Occurred(tstate)); in _PyEval_EvalFrameDefault()
2734 if (!_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()
2908 else if (_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()
2925 else if (_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()
2932 if (!_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()
2987 if (!_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()
3090 else if (_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()
[all …]
Derrors.c254 return _PyErr_Occurred(tstate); in PyErr_Occurred()
293 return PyErr_GivenExceptionMatches(_PyErr_Occurred(tstate), exc); in _PyErr_ExceptionMatches()
529 if (_PyErr_Occurred(tstate)) { in _PyErr_ChainExceptions()
559 assert(_PyErr_Occurred(tstate)); in _PyErr_ChainStackItem()
609 assert(_PyErr_Occurred(tstate)); in _PyErr_FormatVFromCause()
617 assert(!_PyErr_Occurred(tstate)); in _PyErr_FormatVFromCause()
1262 if (_PyErr_Occurred(tstate)) { in make_unraisable_hook_args()
Dpylifecycle.c158 assert(!_PyErr_Occurred(tstate)); in init_importlib()
198 assert(!_PyErr_Occurred(tstate)); in init_importlib()
780 assert(!_PyErr_Occurred(tstate)); in pycore_init_builtins()
1062 assert(!_PyErr_Occurred(tstate)); in init_interp_main()
1166 assert(!_PyErr_Occurred(tstate)); in init_interp_main()
1328 if (_PyErr_Occurred(tstate)) { in finalize_modules_delete_special()
2814 if (_PyErr_Occurred(tstate)) { in wait_for_thread_shutdown()
D_warnings.c874 if (_PyErr_Occurred(tstate)) { in setup_context()
893 else if (_PyErr_Occurred(tstate)) { in setup_context()
Dpythonrun.c1292 if (!v && _PyErr_Occurred(tstate) == PyExc_KeyboardInterrupt) { in run_eval_code_obj()
Dpystate.c722 assert(_PyErr_Occurred(tstate)); in _PyState_AddModule()
/third_party/python/Include/internal/
Dpycore_pyerrors.h11 static inline PyObject* _PyErr_Occurred(PyThreadState *tstate) in _PyErr_Occurred() function