Searched refs:pathobj (Results 1 – 2 of 2) sorted by relevance
564 PyObject *pathobj = PyUnicode_FromString(utf8path); in PyFile_OpenCode() local566 if (!pathobj) { in PyFile_OpenCode()569 f = PyFile_OpenCodeObject(pathobj); in PyFile_OpenCode()570 Py_DECREF(pathobj); in PyFile_OpenCode()
711 PyObject *nameobj, *pathobj = NULL, *cpathobj = NULL, *external= NULL; in PyImport_ExecCodeModuleWithPathnames() local726 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()