Home
last modified time | relevance | path

Searched refs:pathobj (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Objects/
Dfileobject.c576 PyObject *pathobj = PyUnicode_FromString(utf8path); in PyFile_OpenCode() local
578 if (!pathobj) { in PyFile_OpenCode()
581 f = PyFile_OpenCodeObject(pathobj); in PyFile_OpenCode()
582 Py_DECREF(pathobj); in PyFile_OpenCode()
/external/python/cpython3/Python/
Dimport.c896 PyObject *nameobj, *pathobj = NULL, *cpathobj = NULL, *external= NULL; in PyImport_ExecCodeModuleWithPathnames() local
911 pathobj = PyUnicode_DecodeFSDefault(pathname); in PyImport_ExecCodeModuleWithPathnames()
912 if (pathobj == NULL) in PyImport_ExecCodeModuleWithPathnames()
927 pathobj = _PyObject_CallMethodIdObjArgs(external, in PyImport_ExecCodeModuleWithPathnames()
932 if (pathobj == NULL) in PyImport_ExecCodeModuleWithPathnames()
936 pathobj = NULL; in PyImport_ExecCodeModuleWithPathnames()
938 m = PyImport_ExecCodeModuleObject(nameobj, co, pathobj, cpathobj); in PyImport_ExecCodeModuleWithPathnames()
941 Py_XDECREF(pathobj); in PyImport_ExecCodeModuleWithPathnames()
/external/python/parse_type/tasks/_vendor/
Dpathlib.py345 def wrapped(pathobj, *args): argument
346 return strfunc(str(pathobj), *args)
368 def lchmod(self, pathobj, mode): argument
/external/python/cpython3/Lib/
Dpathlib.py414 def lchmod(self, pathobj, mode): argument