Searched refs:pathobj (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Python/ |
D | import.c | 871 PyObject *nameobj, *pathobj = NULL, *cpathobj = NULL, *external= NULL; in PyImport_ExecCodeModuleWithPathnames() local 886 pathobj = PyUnicode_DecodeFSDefault(pathname); in PyImport_ExecCodeModuleWithPathnames() 887 if (pathobj == NULL) in PyImport_ExecCodeModuleWithPathnames() 902 pathobj = _PyObject_CallMethodIdObjArgs(external, in PyImport_ExecCodeModuleWithPathnames() 907 if (pathobj == NULL) in PyImport_ExecCodeModuleWithPathnames() 911 pathobj = NULL; in PyImport_ExecCodeModuleWithPathnames() 913 m = PyImport_ExecCodeModuleObject(nameobj, co, pathobj, cpathobj); in PyImport_ExecCodeModuleWithPathnames() 916 Py_XDECREF(pathobj); in PyImport_ExecCodeModuleWithPathnames()
|
/external/python/cpython3/Modules/ |
D | zipimport.c | 257 PyObject *pathobj; in make_filename() local 282 pathobj = PyUnicode_FromKindAndData(PyUnicode_4BYTE_KIND, in make_filename() 285 return pathobj; in make_filename()
|
/external/python/cpython3/Lib/ |
D | pathlib.py | 407 def lchmod(self, pathobj, mode): argument
|