Searched refs:num_stmts (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | ast.c | 166 num_stmts(const node *n) in num_stmts() function 176 return num_stmts(CHILD(n, 0)); in num_stmts() 182 l += num_stmts(ch); in num_stmts() 186 return num_stmts(CHILD(n, 0)); in num_stmts() 193 return num_stmts(CHILD(n, 0)); in num_stmts() 197 l += num_stmts(CHILD(n, i)); in num_stmts() 244 stmts = asdl_seq_new(num_stmts(n), arena); in PyAST_FromNode() 252 num = num_stmts(ch); in PyAST_FromNode() 293 num = num_stmts(n); in PyAST_FromNode() 2750 total = num_stmts(n); in ast_for_suite() [all …]
|
/external/python/cpython3/Python/ |
D | ast.c | 711 num_stmts(const node *n) in num_stmts() function 721 return num_stmts(CHILD(n, 0)); in num_stmts() 727 l += num_stmts(ch); in num_stmts() 731 return num_stmts(CHILD(n, 0)); in num_stmts() 738 return num_stmts(CHILD(n, 0)); in num_stmts() 742 l += num_stmts(CHILD(n, i)); in num_stmts() 783 stmts = _Py_asdl_seq_new(num_stmts(n), arena); in PyAST_FromNodeObject() 791 num = num_stmts(ch); in PyAST_FromNodeObject() 834 num = num_stmts(n); in PyAST_FromNodeObject() 3472 total = num_stmts(n); in ast_for_suite() [all …]
|