Home
last modified time | relevance | path

Searched refs:NCH (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython2/Python/
Dast.c179 for (i = 0; i < NCH(n); i++) { in num_stmts()
190 return NCH(n) / 2; /* Divide by 2 to remove count of semi-colons */ in num_stmts()
192 if (NCH(n) == 1) in num_stmts()
196 for (i = 2; i < (NCH(n) - 1); i++) in num_stmts()
204 TYPE(n), NCH(n)); in num_stmts()
247 for (i = 0; i < NCH(n) - 1; i++) { in PyAST_FromNode()
306 for (i = 0; i < NCH(n); i += 2) { in PyAST_FromNode()
532 if (NCH(n) == 1) { in ast_for_comp_op()
558 else if (NCH(n) == 2) { in ast_for_comp_op()
573 NCH(n)); in ast_for_comp_op()
[all …]
/external/python/cpython3/Python/
Dast.c724 for (i = 0; i < NCH(n); i++) { in num_stmts()
735 return NCH(n) / 2; /* Divide by 2 to remove count of semi-colons */ in num_stmts()
740 if (NCH(n) == 1) in num_stmts()
747 for (; i < (NCH(n) - 1); i++) in num_stmts()
753 TYPE(n), NCH(n)); in num_stmts()
792 for (i = 0; i < NCH(n) - 1; i++) { in PyAST_FromNodeObject()
817 ch = CHILD(n, NCH(n) - 1); in PyAST_FromNodeObject()
819 num = NCH(ch); in PyAST_FromNodeObject()
873 for (i = 0; i < NCH(n); i += 2) { in PyAST_FromNodeObject()
895 for (i = 0; i < NCH(ch); i++) { in PyAST_FromNodeObject()
[all …]
/external/python/cpython2/Modules/
Dparsermodule.c97 v = mkseq(1 + NCH(n) + (TYPE(n) == encoding_decl)); in node2tuple()
106 for (i = 0; i < NCH(n); i++) { in node2tuple()
252 if (NCH(left) < NCH(right)) in parser_compare_nodes()
255 if (NCH(right) < NCH(left)) in parser_compare_nodes()
258 for (j = 0; j < NCH(left); ++j) { in parser_compare_nodes()
1046 if (NCH(n) != num) { in validate_numnodes()
1075 int nch = NCH(tree); in validate_repeating_list()
1103 int nch = NCH(tree); in validate_class()
1138 int nch = NCH(tree); in validate_if()
1180 int nch = NCH(tree); in validate_parameters()
[all …]
/external/python/cpython3/Parser/
Dnode.c84 int nch = NCH(n); in _PyNode_FinalizeEndPos()
168 for (i = NCH(n); --i >= 0; ) in freechildren()
181 for (i = NCH(n); --i >= 0; ) in sizeofchildren()
185 res += XXXROUNDUP(NCH(n)) * sizeof(node); in sizeofchildren()
Dparser.c135 return s_push(s, d, CHILD(n, NCH(n)-1)); in push()
198 if (NCH(n) < 4)
204 if (NCH(ch) == 1 && STR(CHILD(ch, 0)) &&
214 for (i = 0; i < NCH(ch); i += 2) {
216 if (NCH(cch) >= 1 && TYPE(CHILD(cch, 0)) == NAME) {
370 for (i = 0; i < NCH(n); i++) { in dumptree()
388 for (i = 0; i < NCH(n); i++) in showtree()
Dlistnode.c39 for (i = 0; i < NCH(n); i++) in list1node()
Dparsetok.c359 num = NCH(n); in parsetok()
/external/python/cpython2/Parser/
Dparser.c130 return s_push(s, d, CHILD(n, NCH(n)-1)); in push()
187 if (NCH(n) < 4) in future_hack()
193 if (NCH(ch) == 1 && STR(CHILD(ch, 0)) && in future_hack()
203 for (i = 0; i < NCH(ch); i += 2) { in future_hack()
205 if (NCH(cch) >= 1 && TYPE(CHILD(cch, 0)) == NAME) { in future_hack()
343 for (i = 0; i < NCH(n); i++) { in dumptree()
361 for (i = 0; i < NCH(n); i++) in showtree()
Dnode.c143 for (i = NCH(n); --i >= 0; ) in freechildren()
156 for (i = NCH(n); --i >= 0; ) in sizeofchildren()
160 res += XXXROUNDUP(NCH(n)) * sizeof(node); in sizeofchildren()
Dlistnode.c35 for (i = 0; i < NCH(n); i++) in list1node()
/external/python/cpython2/Include/
Dnode.h26 #define NCH(n) ((n)->n_nchildren) macro
29 #define RCHILD(n, i) (CHILD(n, NCH(n) + i))
/external/python/cpython3/Modules/
Dparsermodule.c96 result = mkseq(1 + NCH(n) + (TYPE(n) == encoding_decl)); in node2tuple()
105 for (i = 0; i < NCH(n); i++) { in node2tuple()
275 if (NCH(left) < NCH(right)) in parser_compare_nodes()
278 if (NCH(right) < NCH(left)) in parser_compare_nodes()
281 for (j = 0; j < NCH(left); ++j) { in parser_compare_nodes()
645 int nch = NCH(tree); in validate_node()
782 if (NCH(tree) == 1) { in parser_tuple2st()
/external/python/cpython3/Include/
Dnode.h31 #define NCH(n) ((n)->n_nchildren) macro
/external/cldr/tools/java/org/unicode/cldr/util/data/external/
D2013-1_UNLOCODE_CodeListPart3.csv9243 ,"TZ","NCH","Nachingwea","Nachingwea",,"---4----","AI","9601",,,
21042 ,"US","NCH","North Charlotte","North Charlotte","NC","--3-----","RQ","9307",,,
D2013-1_UNLOCODE_CodeListPart1.csv22218 ,"DE","NCH","Nachrodt","Nachrodt","NW","--3-----","RL","0201",,,
42426 ,"FR","NCH","Sonchamp","Sonchamp","78","-----6--","RQ","1001",,"4834N 00152E",