Home
last modified time | relevance | path

Searched refs:ExceptHandler (Results 1 – 16 of 16) sorted by relevance

/external/libffi/src/arm/
Dsysv_msvc_arm32.S39 NESTED_ENTRY_FFI $FuncName, $AreaName, $ExceptHandler
/external/python/cpython2/Python/
Dsymtable.c1394 if (eh->v.ExceptHandler.type) in symtable_visit_excepthandler()
1395 VISIT(st, expr, eh->v.ExceptHandler.type); in symtable_visit_excepthandler()
1396 if (eh->v.ExceptHandler.name) in symtable_visit_excepthandler()
1397 VISIT(st, expr, eh->v.ExceptHandler.name); in symtable_visit_excepthandler()
1398 VISIT_SEQ(st, stmt, eh->v.ExceptHandler.body); in symtable_visit_excepthandler()
Dcompile.c1848 if (!handler->v.ExceptHandler.type && i < n-1) in compiler_try_except()
1855 if (handler->v.ExceptHandler.type) { in compiler_try_except()
1857 VISIT(c, expr, handler->v.ExceptHandler.type); in compiler_try_except()
1862 if (handler->v.ExceptHandler.name) { in compiler_try_except()
1863 VISIT(c, expr, handler->v.ExceptHandler.name); in compiler_try_except()
1869 VISIT_SEQ(c, stmt, handler->v.ExceptHandler.body); in compiler_try_except()
DPython-ast.c2062 ExceptHandler(expr_ty type, expr_ty name, asdl_seq * body, int lineno, int in ExceptHandler() function
2070 p->v.ExceptHandler.type = type; in ExceptHandler()
2071 p->v.ExceptHandler.name = name; in ExceptHandler()
2072 p->v.ExceptHandler.body = body; in ExceptHandler()
3187 value = ast2obj_expr(o->v.ExceptHandler.type); in ast2obj_excepthandler()
3192 value = ast2obj_expr(o->v.ExceptHandler.name); in ast2obj_excepthandler()
3197 value = ast2obj_list(o->v.ExceptHandler.body, ast2obj_stmt); in ast2obj_excepthandler()
6573 *out = ExceptHandler(type, name, body, lineno, col_offset, in obj2ast_excepthandler()
Dast.c3021 return ExceptHandler(NULL, NULL, suite_seq, LINENO(exc), in ast_for_except_clause()
3035 return ExceptHandler(expression, NULL, suite_seq, LINENO(exc), in ast_for_except_clause()
3053 return ExceptHandler(expression, e, suite_seq, LINENO(exc), in ast_for_except_clause()
/external/python/cpython2/Parser/
DPython.asdl104 excepthandler = ExceptHandler(expr? type, expr? name, stmt* body)
/external/python/cpython3/Parser/
DPython.asdl106 excepthandler = ExceptHandler(expr? type, identifier? name, stmt* body)
/external/python/cpython3/Python/
Dsymtable.c1766 if (eh->v.ExceptHandler.type) in symtable_visit_excepthandler()
1767 VISIT(st, expr, eh->v.ExceptHandler.type); in symtable_visit_excepthandler()
1768 if (eh->v.ExceptHandler.name) in symtable_visit_excepthandler()
1769 if (!symtable_add_def(st, eh->v.ExceptHandler.name, DEF_LOCAL)) in symtable_visit_excepthandler()
1771 VISIT_SEQ(st, stmt, eh->v.ExceptHandler.body); in symtable_visit_excepthandler()
Dcompile.c1599 if (find_ann(handler->v.ExceptHandler.body)) { in find_ann()
3080 if (!handler->v.ExceptHandler.type && i < n-1) in compiler_try_except()
3086 if (handler->v.ExceptHandler.type) { in compiler_try_except()
3088 VISIT(c, expr, handler->v.ExceptHandler.type); in compiler_try_except()
3092 if (handler->v.ExceptHandler.name) { in compiler_try_except()
3101 compiler_nameop(c, handler->v.ExceptHandler.name, Store); in compiler_try_except()
3118 … if (!compiler_push_fblock(c, HANDLER_CLEANUP, cleanup_body, NULL, handler->v.ExceptHandler.name)) in compiler_try_except()
3122 VISIT_SEQ(c, stmt, handler->v.ExceptHandler.body); in compiler_try_except()
3128 compiler_nameop(c, handler->v.ExceptHandler.name, Store); in compiler_try_except()
3129 compiler_nameop(c, handler->v.ExceptHandler.name, Del); in compiler_try_except()
[all …]
Dast_opt.c724 CALL_OPT(astfold_expr, expr_ty, node_->v.ExceptHandler.type); in astfold_excepthandler()
725 CALL_SEQ(astfold_stmt, stmt_ty, node_->v.ExceptHandler.body); in astfold_excepthandler()
Dast.c449 if ((handler->v.ExceptHandler.type && in validate_stmt()
450 !validate_expr(handler->v.ExceptHandler.type, Load)) || in validate_stmt()
451 !validate_body(handler->v.ExceptHandler.body, "ExceptHandler")) in validate_stmt()
4126 return ExceptHandler(NULL, NULL, suite_seq, LINENO(exc), in ast_for_except_clause()
4142 return ExceptHandler(expression, NULL, suite_seq, LINENO(exc), in ast_for_except_clause()
4162 return ExceptHandler(expression, e, suite_seq, LINENO(exc), in ast_for_except_clause()
DPython-ast.c3240 ExceptHandler(expr_ty type, identifier name, asdl_seq * body, int lineno, int in ExceptHandler() function
3248 p->v.ExceptHandler.type = type; in ExceptHandler()
3249 p->v.ExceptHandler.name = name; in ExceptHandler()
3250 p->v.ExceptHandler.body = body; in ExceptHandler()
4591 value = ast2obj_expr(state, o->v.ExceptHandler.type); in ast2obj_excepthandler()
4596 value = ast2obj_identifier(state, o->v.ExceptHandler.name); in ast2obj_excepthandler()
4601 value = ast2obj_list(state, o->v.ExceptHandler.body, ast2obj_stmt); in ast2obj_excepthandler()
9057 *out = ExceptHandler(type, name, body, lineno, col_offset, end_lineno, in obj2ast_excepthandler()
/external/python/cpython2/Include/
DPython-ast.h350 } ExceptHandler; member
522 #define ExceptHandler(a0, a1, a2, a3, a4, a5) _Py_ExceptHandler(a0, a1, a2, a3, a4, a5) macro
/external/python/cpython3/Include/
DPython-ast.h398 } ExceptHandler; member
663 #define ExceptHandler(a0, a1, a2, a3, a4, a5, a6, a7) _Py_ExceptHandler(a0, a1, a2, a3, a4, a5, a6,… macro
/external/python/cpython3/Doc/library/
Dast.rst1121 ``handlers``, which is a list of :class:`ExceptHandler` nodes.
1144 ExceptHandler(
1149 ExceptHandler(
1164 .. class:: ExceptHandler(type, name, body)
1189 ExceptHandler(
/external/python/cpython3/Lib/test/
Dtest_ast.py1208 t = ast.Try([p], [ast.ExceptHandler(None, "x", [])], [], [])
1210 e = [ast.ExceptHandler(ast.Name("x", ast.Store()), "y", [p])]
1212 e = [ast.ExceptHandler(None, "x", [p])]