Home | History | Annotate | Download | only in Python

Lines Matching defs:For

412         for (i = 0; i < PyTuple_GET_SIZE(args); i++) {
512 for (i = 0; i < num_fields; i++) {
532 for (i = 0; i < num_fields; i++) {
554 for (i = 0; i < n; i++) {
705 For_type = make_type("For", stmt_type, For_fields, 4);
1017 "field body is required for Expression");
1047 "field name is required for FunctionDef");
1052 "field args is required for FunctionDef");
1075 "field name is required for ClassDef");
1126 "field value is required for Assign");
1147 "field target is required for AugAssign");
1152 "field op is required for AugAssign");
1157 "field value is required for AugAssign");
1190 For(expr_ty target, expr_ty iter, asdl_seq * body, asdl_seq * orelse, int
1196 "field target is required for For");
1201 "field iter is required for For");
1208 p->v.For.target = target;
1209 p->v.For.iter = iter;
1210 p->v.For.body = body;
1211 p->v.For.orelse = orelse;
1224 "field test is required for While");
1246 "field test is required for If");
1268 "field context_expr is required for With");
1339 "field test is required for Assert");
1391 "field body is required for Exec");
1426 "field value is required for Expr");
1485 "field op is required for BoolOp");
1506 "field left is required for BinOp");
1511 "field op is required for BinOp");
1516 "field right is required for BinOp");
1538 "field op is required for UnaryOp");
1543 "field operand is required for UnaryOp");
1564 "field args is required for Lambda");
1569 "field body is required for Lambda");
1590 "field test is required for IfExp");
1595 "field body is required for IfExp");
1600 "field orelse is required for IfExp");
1652 "field elt is required for ListComp");
1673 "field elt is required for SetComp");
1694 "field key is required for DictComp");
1699 "field value is required for DictComp");
1721 "field elt is required for GeneratorExp");
1756 "field left is required for Compare");
1778 "field func is required for Call");
1801 "field value is required for Repr");
1820 "field n is required for Num");
1839 "field s is required for Str");
1859 "field value is required for Attribute");
1864 "field attr is required for Attribute");
1869 "field ctx is required for Attribute");
1891 "field value is required for Subscript");
1896 "field slice is required for Subscript");
1901 "field ctx is required for Subscript");
1923 "field id is required for Name");
1928 "field ctx is required for Name");
1949 "field ctx is required for List");
1970 "field ctx is required for Tuple");
2027 "field value is required for Index");
2044 "field target is required for comprehension");
2049 "field iter is required for comprehension");
2099 "field arg is required for keyword");
2104 "field value is required for keyword");
2121 "field name is required for alias");
2324 value = ast2obj_expr(o->v.For.target);
2329 value = ast2obj_expr(o->v.For.iter);
2334 value = ast2obj_list(o->v.For.body, ast2obj_stmt);
2339 value = ast2obj_list(o->v.For.orelse, ast2obj_stmt);
2765 for(i = 0; i < n; i++)
3350 for (i = 0; i < len; i++) {
3390 for (i = 0; i < len; i++) {
3453 for (i = 0; i < len; i++) {
3566 for (i = 0; i < len; i++) {
3595 for (i = 0; i < len; i++) {
3651 for (i = 0; i < len; i++) {
3680 for (i = 0; i < len; i++) {
3709 for (i = 0; i < len; i++) {
3772 for (i = 0; i < len; i++) {
3813 for (i = 0; i < len; i++) {
3927 for (i = 0; i < len; i++) {
3978 PyErr_SetString(PyExc_TypeError, "required field \"target\" missing from For");
3990 PyErr_SetString(PyExc_TypeError, "required field \"iter\" missing from For");
4000 PyErr_Format(PyExc_TypeError, "For field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name);
4006 for (i = 0; i < len; i++) {
4011 PyErr_SetString(PyExc_RuntimeError, "For field \"body\" changed size during iteration");
4019 PyErr_SetString(PyExc_TypeError, "required field \"body\" missing from For");
4029 PyErr_Format(PyExc_TypeError, "For field \"orelse\" must be a list, not a %.200s", tmp->ob_type->tp_name);
4035 for (i = 0; i < len; i++) {
4040 PyErr_SetString(PyExc_RuntimeError, "For field \"orelse\" changed size during iteration");
4048 PyErr_SetString(PyExc_TypeError, "required field \"orelse\" missing from For");
4051 *out = For(target, iter, body, orelse, lineno, col_offset,
4090 for (i = 0; i < len; i++) {
4119 for (i = 0; i < len; i++) {
4173 for (i = 0; i < len; i++) {
4202 for (i = 0; i < len; i++) {
4267 for (i = 0; i < len; i++) {
4356 for (i = 0; i < len; i++) {
4385 for (i = 0; i < len; i++) {
4414 for (i = 0; i < len; i++) {
4456 for (i = 0; i < len; i++) {
4485 for (i = 0; i < len; i++) {
4560 for (i = 0; i < len; i++) {
4613 for (i = 0; i < len; i++) {
4712 for (i = 0; i < len; i++) {
4864 for (i = 0; i < len; i++) {
5075 for (i = 0; i < len; i++) {
5104 for (i = 0; i < len; i++) {
5144 for (i = 0; i < len; i++) {
5197 for (i = 0; i < len; i++) {
5250 for (i = 0; i < len; i++) {
5316 for (i = 0; i < len; i++) {
5370 for (i = 0; i < len; i++) {
5446 for (i = 0; i < len; i++) {
5475 for (i = 0; i < len; i++) {
5532 for (i = 0; i < len; i++) {
5561 for (i = 0; i < len; i++) {
5828 for (i = 0; i < len; i++) {
5881 for (i = 0; i < len; i++) {
6072 for (i = 0; i < len; i++) {
6453 for (i = 0; i < len; i++) {
6557 for (i = 0; i < len; i++) {
6609 for (i = 0; i < len; i++) {
6660 for (i = 0; i < len; i++) {
6794 if (PyDict_SetItemString(d, "For", (PyObject*)For_type) < 0) return;
6928 /* mode is 0 for "exec", 1 for "eval" and 2 for "single" input */