Searched refs:exec_input (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Parser/ |
D | parsetok.c | 49 int exec_input = start == file_input; in PyParser_ParseStringObject() local 55 tok = PyTokenizer_FromUTF8(s, exec_input); in PyParser_ParseStringObject() 57 tok = PyTokenizer_FromString(s, exec_input); in PyParser_ParseStringObject()
|
D | tokenizer.c | 183 decode_str(const char *str, int exec_input, struct tok_state *tok) in decode_str() argument 702 translate_newlines(const char *s, int exec_input, struct tok_state *tok) { in translate_newlines() argument 730 if (exec_input && c != '\n') { in translate_newlines() 807 PyTokenizer_FromString(const char *str, int exec_input) in PyTokenizer_FromString() argument 812 str = decode_str(str, exec_input, tok); in PyTokenizer_FromString() 824 PyTokenizer_FromUTF8(const char *str, int exec_input) in PyTokenizer_FromUTF8() argument 830 tok->input = str = translate_newlines(str, exec_input, tok); in PyTokenizer_FromUTF8()
|
/external/python/cpython2/Parser/ |
D | tokenizer.c | 159 decode_str(const char *str, int exec_input, struct tok_state *tok) in decode_str() argument 626 translate_newlines(const char *s, int exec_input, struct tok_state *tok) { in translate_newlines() argument 653 if (exec_input && c != '\n') { in translate_newlines() 734 PyTokenizer_FromString(const char *str, int exec_input) in PyTokenizer_FromString() argument 739 str = (char *)decode_str(str, exec_input, tok); in PyTokenizer_FromString()
|