Home | History | Annotate | Download | only in Python

Lines Matching defs:For

558         for (i = 0; i < PyTuple_GET_SIZE(args); i++) {
664 for (i = 0; i < num_fields; i++) {
685 for (i = 0; i < num_fields; i++) {
707 for (i = 0; i < n; i++) {
888 For_type = make_type("For", stmt_type, For_fields, 4);
1232 "field body is required for Expression");
1263 "field name is required for FunctionDef");
1268 "field args is required for FunctionDef");
1293 "field name is required for AsyncFunctionDef");
1298 "field args is required for AsyncFunctionDef");
1323 "field name is required for ClassDef");
1375 "field value is required for Assign");
1396 "field target is required for AugAssign");
1401 "field op is required for AugAssign");
1406 "field value is required for AugAssign");
1428 "field target is required for AnnAssign");
1433 "field annotation is required for AnnAssign");
1450 For(expr_ty target, expr_ty iter, asdl_seq * body, asdl_seq * orelse, int
1456 "field target is required for For");
1461 "field iter is required for For");
1468 p->v.For.target = target;
1469 p->v.For.iter = iter;
1470 p->v.For.body = body;
1471 p->v.For.orelse = orelse;
1484 "field target is required for AsyncFor");
1489 "field iter is required for AsyncFor");
1512 "field test is required for While");
1534 "field test is required for If");
1620 "field test is required for Assert");
1699 "field value is required for Expr");
1758 "field op is required for BoolOp");
1779 "field left is required for BinOp");
1784 "field op is required for BinOp");
1789 "field right is required for BinOp");
1811 "field op is required for UnaryOp");
1816 "field operand is required for UnaryOp");
1837 "field args is required for Lambda");
1842 "field body is required for Lambda");
1863 "field test is required for IfExp");
1868 "field body is required for IfExp");
1873 "field orelse is required for IfExp");
1925 "field elt is required for ListComp");
1946 "field elt is required for SetComp");
1967 "field key is required for DictComp");
1972 "field value is required for DictComp");
1994 "field elt is required for GeneratorExp");
2014 "field value is required for Await");
2047 "field value is required for YieldFrom");
2067 "field left is required for Compare");
2089 "field func is required for Call");
2110 "field n is required for Num");
2129 "field s is required for Str");
2149 "field value is required for FormattedValue");
2184 "field s is required for Bytes");
2203 "field value is required for NameConstant");
2235 "field value is required for Constant");
2255 "field value is required for Attribute");
2260 "field attr is required for Attribute");
2265 "field ctx is required for Attribute");
2287 "field value is required for Subscript");
2292 "field slice is required for Subscript");
2297 for Subscript");
2319 "field value is required for Starred");
2324 "field ctx is required for Starred");
2345 "field id is required for Name");
2350 "field ctx is required for Name");
2371 "field ctx is required for List");
2392 "field ctx is required for Tuple");
2438 "field value is required for Index");
2456 "field target is required for comprehension");
2461 "field iter is required for comprehension");
2515 "field arg is required for arg");
2534 "field value is required for keyword");
2551 "field name is required for alias");
2568 "field context_expr is required for withitem");
2812 value = ast2obj_expr(o->v.For.target);
2817 value = ast2obj_expr(o->v.For.iter);
2822 value = ast2obj_list(o->v.For.body, ast2obj_stmt);
2827 value = ast2obj_list(o->v.For.orelse, ast2obj_stmt);
3275 for(i = 0; i < n; i++)
3996 for (i = 0; i < len; i++) {
4035 for (i = 0; i < len; i++) {
4096 for (i = 0; i < len; i++) {
4203 for (i = 0; i < len; i++) {
4231 for (i = 0; i < len; i++) {
4307 for (i = 0; i < len; i++) {
4335 for (i = 0; i < len; i++) {
4400 for (i = 0; i < len; i++) {
4428 for (i = 0; i < len; i++) {
4456 for (i = 0; i < len; i++) {
4484 for (i = 0; i < len; i++) {
4545 for (i = 0; i < len; i++) {
4585 for (i = 0; i < len; i++) {
4737 PyErr_SetString(PyExc_TypeError, "required field \"target\" missing from For");
4748 PyErr_SetString(PyExc_TypeError, "required field \"iter\" missing from For");
4758 PyErr_Format(PyExc_TypeError, "For field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name);
4764 for (i = 0; i < len; i++) {
4769 PyErr_SetString(PyExc_RuntimeError, "For field \"body\" changed size during iteration");
4776 PyErr_SetString(PyExc_TypeError, "required field \"body\" missing from For");
4786 PyErr_Format(PyExc_TypeError, "For field \"orelse\" must be a list, not a %.200s", tmp->ob_type->tp_name);
4792 for (i = 0; i < len; i++) {
4797 PyErr_SetString(PyExc_RuntimeError, "For field \"orelse\" changed size during iteration");
4804 PyErr_SetString(PyExc_TypeError, "required field \"orelse\" missing from For");
4807 *out = For(target, iter, body, orelse, lineno, col_offset, arena);
4856 for (i = 0; i < len; i++) {
4884 for (i = 0; i < len; i++) {
4936 for (i = 0; i < len; i++) {
4964 for (i = 0; i < len; i++) {
5016 for (i = 0; i < len; i++) {
5044 for (i = 0; i < len; i++) {
5084 for (i = 0; i < len; i++) {
5112 for (i = 0; i < len; i++) {
5152 for (i = 0; i < len; i++) {
5180 for (i = 0; i < len; i++) {
5254 for (i = 0; i < len; i++) {
5282 for (i = 0; i < len; i++) {
5310 for (i = 0; i < len; i++) {
5338 for (i = 0; i < len; i++) {
5411 for (i = 0; i < len; i++) {
5462 for (i = 0; i < len; i++) {
5511 for (i = 0; i < len; i++) {
5550 for (i = 0; i < len; i++) {
5695 for (i = 0; i < len; i++) {
5895 for (i = 0; i < len; i++) {
5923 for (i = 0; i < len; i++) {
5962 for (i = 0; i < len; i++) {
6013 for (i = 0; i < len; i++) {
6064 for (i = 0; i < len; i++) {
6127 for (i = 0; i < len; i++) {
6178 for (i = 0; i < len; i++) {
6295 for (i = 0; i < len; i++) {
6323 for (i = 0; i < len; i++) {
6375 for (i = 0; i < len; i++) {
6403 for (i = 0; i < len; i++) {
6531 for (i = 0; i < len; i++) {
6807 for (i = 0; i < len; i++) {
6858 for (i = 0; i < len; i++) {
7027 for (i = 0; i < len; i++) {
7391 for (i = 0; i < len; i++) {
7501 for (i = 0; i < len; i++) {
7551 for (i = 0; i < len; i++) {
7589 for (i = 0; i < len; i++) {
7617 for (i = 0; i < len; i++) {
7655 for (i = 0; i < len; i++) {
7883 if (PyDict_SetItemString(d, "For", (PyObject*)For_type) < 0) return NULL;
8059 /* mode is 0 for "exec", 1 for "eval" and 2 for "single" input */