Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dfileobject.c564 PyObject *pathobj = PyUnicode_FromString(utf8path); in PyFile_OpenCode() local
566 if (!pathobj) { in PyFile_OpenCode()
569 f = PyFile_OpenCodeObject(pathobj); in PyFile_OpenCode()
570 Py_DECREF(pathobj); in PyFile_OpenCode()
/third_party/python/Python/
Dimport.c711 PyObject *nameobj, *pathobj = NULL, *cpathobj = NULL, *external= NULL; in PyImport_ExecCodeModuleWithPathnames() local
726 pathobj = PyUnicode_DecodeFSDefault(pathname); in PyImport_ExecCodeModuleWithPathnames()
727 if (pathobj == NULL) in PyImport_ExecCodeModuleWithPathnames()
741 pathobj = _PyObject_CallMethodIdOneArg( in PyImport_ExecCodeModuleWithPathnames()
745 if (pathobj == NULL) in PyImport_ExecCodeModuleWithPathnames()
749 pathobj = NULL; in PyImport_ExecCodeModuleWithPathnames()
751 m = PyImport_ExecCodeModuleObject(nameobj, co, pathobj, cpathobj); in PyImport_ExecCodeModuleWithPathnames()
754 Py_XDECREF(pathobj); in PyImport_ExecCodeModuleWithPathnames()