Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
Dast.c1046 int n_ifs = 0; in count_list_ifs() local
1051 return n_ifs; in count_list_ifs()
1054 n_ifs++; in count_list_ifs()
1056 return n_ifs; in count_list_ifs()
1121 int j, n_ifs; in ast_for_listcomp() local
1126 n_ifs = count_list_ifs(c, ch); in ast_for_listcomp()
1127 if (n_ifs == -1) in ast_for_listcomp()
1130 ifs = asdl_seq_new(n_ifs, c->c_arena); in ast_for_listcomp()
1134 for (j = 0; j < n_ifs; j++) { in ast_for_listcomp()
1204 int n_ifs = 0; in count_comp_ifs() local
[all …]
/external/python/cpython3/Python/
Dast.c1802 int n_ifs = 0; in count_comp_ifs() local
1807 return n_ifs; in count_comp_ifs()
1810 n_ifs++; in count_comp_ifs()
1812 return n_ifs; in count_comp_ifs()
1874 int j, n_ifs; in ast_for_comprehension() local
1878 n_ifs = count_comp_ifs(c, n); in ast_for_comprehension()
1879 if (n_ifs == -1) in ast_for_comprehension()
1882 ifs = _Py_asdl_seq_new(n_ifs, c->c_arena); in ast_for_comprehension()
1886 for (j = 0; j < n_ifs; j++) { in ast_for_comprehension()