Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
Dast.c166 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()
2752 total = num_stmts(n); in ast_for_suite()
[all …]
/external/python/cpython3/Python/
Dast.c719 num_stmts(const node *n) in num_stmts() function
729 return num_stmts(CHILD(n, 0)); in num_stmts()
735 l += num_stmts(ch); in num_stmts()
739 return num_stmts(CHILD(n, 0)); in num_stmts()
746 return num_stmts(CHILD(n, 0)); in num_stmts()
750 l += num_stmts(CHILD(n, i)); in num_stmts()
789 stmts = _Py_asdl_seq_new(num_stmts(n), arena); in PyAST_FromNodeObject()
797 num = num_stmts(ch); in PyAST_FromNodeObject()
840 num = num_stmts(n); in PyAST_FromNodeObject()
3468 total = num_stmts(n); in ast_for_suite()
[all …]