Home
last modified time | relevance | path

Searched refs:n_fors (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
Dast.c1009 int n_fors = 0; in count_list_fors() local
1013 n_fors++; in count_list_fors()
1018 return n_fors; in count_list_fors()
1030 return n_fors; in count_list_fors()
1072 int i, n_fors; in ast_for_listcomp() local
1082 n_fors = count_list_fors(c, n); in ast_for_listcomp()
1083 if (n_fors == -1) in ast_for_listcomp()
1086 listcomps = asdl_seq_new(n_fors, c->c_arena); in ast_for_listcomp()
1091 for (i = 0; i < n_fors; i++) { in ast_for_listcomp()
1167 int n_fors = 0; in count_comp_fors() local
[all …]
/external/python/cpython3/Python/
Dast.c1751 int n_fors = 0; in count_comp_fors() local
1754 n_fors++; in count_comp_fors()
1771 return n_fors; in count_comp_fors()
1784 return n_fors; in count_comp_fors()
1820 int i, n_fors; in ast_for_comprehension() local
1823 n_fors = count_comp_fors(c, n); in ast_for_comprehension()
1824 if (n_fors == -1) in ast_for_comprehension()
1827 comps = _Py_asdl_seq_new(n_fors, c->c_arena); in ast_for_comprehension()
1831 for (i = 0; i < n_fors; i++) { in ast_for_comprehension()