Searched refs:filename_ob (Results 1 – 5 of 5) sorted by relevance
/third_party/python/Tools/peg_generator/peg_extension/ |
D | peg_extension.c | 6 _build_return_object(mod_ty module, int mode, PyObject *filename_ob, PyArena *arena) in _build_return_object() argument 11 result = (PyObject *)_PyAST_Compile(module, filename_ob, NULL, -1, arena); in _build_return_object() 42 PyObject *filename_ob = PyUnicode_FromString(filename); in parse_file() local 43 if (filename_ob == NULL) { in parse_file() 55 fp, Py_file_input, filename_ob, in parse_file() 62 result = _build_return_object(res, mode, filename_ob, arena); in parse_file() 65 Py_XDECREF(filename_ob); in parse_file() 90 PyObject *filename_ob = PyUnicode_FromString("<string>"); in parse_string() local 91 if (filename_ob == NULL) { in parse_string() 96 mod_ty res = _PyPegen_run_parser_from_string(the_string, Py_file_input, filename_ob, in parse_string() [all …]
|
/third_party/python/Parser/ |
D | peg_api.c | 19 _PyParser_ASTFromFile(FILE *fp, PyObject *filename_ob, const char *enc, in _PyParser_ASTFromFile() argument 23 if (PySys_Audit("compile", "OO", Py_None, filename_ob) < 0) { in _PyParser_ASTFromFile() 26 return _PyPegen_run_parser_from_file_pointer(fp, mode, filename_ob, enc, ps1, ps2, in _PyParser_ASTFromFile()
|
D | pegen.c | 1416 _PyPegen_run_parser_from_file_pointer(FILE *fp, int start_rule, PyObject *filename_ob, in _PyPegen_run_parser_from_file_pointer() argument 1423 raise_tokenizer_init_error(filename_ob); in _PyPegen_run_parser_from_file_pointer() 1429 PyUnicode_CompareWithASCIIString(filename_ob, "<stdin>") == 0) { in _PyPegen_run_parser_from_file_pointer() 1433 tok->filename = filename_ob; in _PyPegen_run_parser_from_file_pointer() 1434 Py_INCREF(filename_ob); in _PyPegen_run_parser_from_file_pointer() 1455 _PyPegen_run_parser_from_string(const char *str, int start_rule, PyObject *filename_ob, in _PyPegen_run_parser_from_string() argument 1468 raise_tokenizer_init_error(filename_ob); in _PyPegen_run_parser_from_string() 1473 tok->filename = filename_ob; in _PyPegen_run_parser_from_string() 1474 Py_INCREF(filename_ob); in _PyPegen_run_parser_from_string()
|
/third_party/python/Include/internal/ |
D | pycore_parser.h | 19 PyObject *filename_ob,
|
/third_party/python/Objects/ |
D | codeobject.c | 336 PyObject *filename_ob = NULL; in PyCode_NewEmpty() local 352 filename_ob = PyUnicode_DecodeFSDefault(filename); in PyCode_NewEmpty() 353 if (filename_ob == NULL) in PyCode_NewEmpty() 369 filename_ob, /* filename */ in PyCode_NewEmpty() 377 Py_XDECREF(filename_ob); in PyCode_NewEmpty()
|