Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dparsermodule.c972 #define validate_newline(ch) validate_terminal(ch, NEWLINE, (char*)NULL) macro
1212 res = (validate_newline(CHILD(tree, 0)) in validate_suite()
1580 && validate_newline(CHILD(tree, nch - 1))); in validate_simple_stmt()
2667 validate_newline(RCHILD(tree, -1))); in validate_decorator()
3366 res = validate_newline(CHILD(tree, j)); in validate_file_input()
/external/python/cpython3/Modules/_io/
Dtextio.c800 validate_newline(const char *newline) in validate_newline() function
1052 if (validate_newline(newline) < 0) { in _io_TextIOWrapper___init___impl()
1324 if (newline == NULL || validate_newline(newline) < 0) { in _io_TextIOWrapper_reconfigure_impl()