Searched refs:nch (Results 1 – 7 of 7) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | parsermodule.c | 1004 int nch = NCH(tree); in validate_repeating_list() local 1005 int res = (nch && validate_ntype(tree, ntype) in validate_repeating_list() 1011 if (is_even(nch)) in validate_repeating_list() 1012 res = validate_comma(CHILD(tree, --nch)); in validate_repeating_list() 1013 if (res && nch > 1) { in validate_repeating_list() 1015 for ( ; res && pos < nch; pos += 2) in validate_repeating_list() 1032 int nch = NCH(tree); in validate_class() local 1034 ((nch == 4) || (nch == 6) || (nch == 7))); in validate_class() 1039 && validate_colon(CHILD(tree, nch - 2)) in validate_class() 1040 && validate_suite(CHILD(tree, nch - 1))); in validate_class() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | parsermodule.c | 1033 int nch = NCH(tree); in validate_repeating_list() local 1034 int res = (nch && validate_ntype(tree, ntype) in validate_repeating_list() 1040 if (is_even(nch)) in validate_repeating_list() 1041 res = validate_comma(CHILD(tree, --nch)); in validate_repeating_list() 1042 if (res && nch > 1) { in validate_repeating_list() 1044 for ( ; res && pos < nch; pos += 2) in validate_repeating_list() 1061 int nch = NCH(tree); in validate_class() local 1063 ((nch == 4) || (nch == 6) || (nch == 7))); in validate_class() 1068 && validate_colon(CHILD(tree, nch - 2)) in validate_class() 1069 && validate_suite(CHILD(tree, nch - 1))); in validate_class() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
D | node.c | 81 const int nch = n1->n_nchildren; in PyNode_AddChild() local 86 if (nch == INT_MAX || nch < 0) in PyNode_AddChild() 89 current_capacity = XXXROUNDUP(nch); in PyNode_AddChild() 90 required_capacity = XXXROUNDUP(nch + 1); in PyNode_AddChild()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/ |
D | node.c | 81 const int nch = n1->n_nchildren; in PyNode_AddChild() local 86 if (nch == INT_MAX || nch < 0) in PyNode_AddChild() 89 current_capacity = XXXROUNDUP(nch); in PyNode_AddChild() 90 required_capacity = XXXROUNDUP(nch + 1); in PyNode_AddChild()
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | res_comp.c | 184 int nch = *dn++; in res_hnok() local 191 } else if (periodchar(nch) || nch == '\0') { in res_hnok() 199 ch = nch; in res_hnok()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | ast.c | 3047 const int nch = NCH(n); in ast_for_try_stmt() local 3048 int n_except = (nch - 3)/3; in ast_for_try_stmt() 3057 if (TYPE(CHILD(n, nch - 3)) == NAME) { in ast_for_try_stmt() 3058 if (strcmp(STR(CHILD(n, nch - 3)), "finally") == 0) { in ast_for_try_stmt() 3059 if (nch >= 9 && TYPE(CHILD(n, nch - 6)) == NAME) { in ast_for_try_stmt() 3063 orelse = ast_for_suite(c, CHILD(n, nch - 4)); in ast_for_try_stmt() 3069 finally = ast_for_suite(c, CHILD(n, nch - 1)); in ast_for_try_stmt() 3077 orelse = ast_for_suite(c, CHILD(n, nch - 1)); in ast_for_try_stmt() 3083 else if (TYPE(CHILD(n, nch - 3)) != except_clause) { in ast_for_try_stmt()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | ast.c | 3064 const int nch = NCH(n); in ast_for_try_stmt() local 3065 int n_except = (nch - 3)/3; in ast_for_try_stmt() 3074 if (TYPE(CHILD(n, nch - 3)) == NAME) { in ast_for_try_stmt() 3075 if (strcmp(STR(CHILD(n, nch - 3)), "finally") == 0) { in ast_for_try_stmt() 3076 if (nch >= 9 && TYPE(CHILD(n, nch - 6)) == NAME) { in ast_for_try_stmt() 3080 orelse = ast_for_suite(c, CHILD(n, nch - 4)); in ast_for_try_stmt() 3086 finally = ast_for_suite(c, CHILD(n, nch - 1)); in ast_for_try_stmt() 3094 orelse = ast_for_suite(c, CHILD(n, nch - 1)); in ast_for_try_stmt() 3100 else if (TYPE(CHILD(n, nch - 3)) != except_clause) { in ast_for_try_stmt()
|