Home
last modified time | relevance | path

Searched refs:filename_str (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Python/
Dpythonrun.c88 PyRun_InteractiveLoopFlags(FILE *fp, const char *filename_str, PyCompilerFlags *flags) in PyRun_InteractiveLoopFlags() argument
98 filename = PyUnicode_DecodeFSDefault(filename_str); in PyRun_InteractiveLoopFlags()
280 PyRun_InteractiveOneFlags(FILE *fp, const char *filename_str, PyCompilerFlags *flags) in PyRun_InteractiveOneFlags() argument
285 filename = PyUnicode_DecodeFSDefault(filename_str); in PyRun_InteractiveOneFlags()
965 PyRun_FileExFlags(FILE *fp, const char *filename_str, int start, PyObject *globals, in PyRun_FileExFlags() argument
973 filename = PyUnicode_DecodeFSDefault(filename_str); in PyRun_FileExFlags()
1108 Py_CompileStringExFlags(const char *str, const char *filename_str, int start, in Py_CompileStringExFlags() argument
1112 filename = PyUnicode_DecodeFSDefault(filename_str); in Py_CompileStringExFlags()
1152 Py_SymtableString(const char *str, const char *filename_str, int start) in Py_SymtableString() argument
1157 filename = PyUnicode_DecodeFSDefault(filename_str); in Py_SymtableString()
[all …]
Dfuture.c151 PyFuture_FromAST(mod_ty mod, const char *filename_str) in PyFuture_FromAST() argument
156 filename = PyUnicode_DecodeFSDefault(filename_str); in PyFuture_FromAST()
D_warnings.c1099 const char *filename_str, int lineno, in PyErr_WarnExplicit() argument
1103 PyObject *filename = PyUnicode_DecodeFSDefault(filename_str); in PyErr_WarnExplicit()
1127 const char *filename_str, int lineno, in PyErr_WarnExplicitFormat() argument
1133 PyObject *filename = PyUnicode_DecodeFSDefault(filename_str); in PyErr_WarnExplicitFormat()
Dsymtable.c329 PySymtable_Build(mod_ty mod, const char *filename_str, PyFutureFeatures *future) in PySymtable_Build() argument
333 filename = PyUnicode_DecodeFSDefault(filename_str); in PySymtable_Build()
Dast.c879 PyAST_FromNode(const node *n, PyCompilerFlags *flags, const char *filename_str, in PyAST_FromNode() argument
884 filename = PyUnicode_DecodeFSDefault(filename_str); in PyAST_FromNode()
Dcompile.c358 PyAST_CompileEx(mod_ty mod, const char *filename_str, PyCompilerFlags *flags, in PyAST_CompileEx() argument
363 filename = PyUnicode_DecodeFSDefault(filename_str); in PyAST_CompileEx()
/external/python/oauth2client/tests/contrib/
Dtest_multistore_file.py37 def __init__(self, filename_str, error_class, error_code): argument
38 self.filename_str = filename_str
51 return self.filename_str
/external/python/cpython3/Parser/
Dparsetok.c71 PyParser_ParseStringFlagsFilenameEx(const char *s, const char *filename_str, in PyParser_ParseStringFlagsFilenameEx() argument
78 if (filename_str != NULL) { in PyParser_ParseStringFlagsFilenameEx()
79 filename = PyUnicode_DecodeFSDefault(filename_str); in PyParser_ParseStringFlagsFilenameEx()
/external/python/cpython3/Modules/
Dmain.c400 const char *filename_str; in pymain_run_file() local
416 filename_str = PyBytes_AsString(bytes); in pymain_run_file()
420 filename_str = "<encoding error>"; in pymain_run_file()
424 filename_str = "<stdin>"; in pymain_run_file()
427 run = PyRun_AnyFileExFlags(fp, filename_str, filename != NULL, p_cf); in pymain_run_file()
/external/python/cpython2/Python/
D_warnings.c749 const char *filename_str, int lineno, in PyErr_WarnExplicit() argument
754 PyObject *filename = PyString_FromString(filename_str); in PyErr_WarnExplicit()