Searched refs:pathobj (Results 1 - 3 of 3) sorted by relevance
/third_party/python/Modules/ |
H A D | getpath.c | 61 PyObject *pathobj; variable 63 if (!PyArg_ParseTuple(args, "U", &pathobj)) { 67 path = PyUnicode_AsWideCharString(pathobj, &len); 118 PyObject *pathobj; variable 120 if (!PyArg_ParseTuple(args, "U", &pathobj)) { 123 path = PyUnicode_AsWideCharString(pathobj, NULL); 137 PyObject *pathobj; variable 141 if (!PyArg_ParseTuple(args, "UU", &pathobj, &suffixobj)) { 145 path = PyUnicode_AsWideCharString(pathobj, &len); 173 PyObject *pathobj; variable 199 PyObject *pathobj; global() variable 225 PyObject *pathobj; global() variable 340 PyObject *pathobj; global() variable 422 PyObject *pathobj; global() variable [all...] |
/third_party/python/Objects/ |
H A D | fileobject.c | 527 PyObject *pathobj = PyUnicode_FromString(utf8path); in PyFile_OpenCode() local 529 if (!pathobj) { in PyFile_OpenCode() 532 f = PyFile_OpenCodeObject(pathobj); in PyFile_OpenCode() 533 Py_DECREF(pathobj); in PyFile_OpenCode()
|
/third_party/python/Python/ |
H A D | import.c | 685 PyObject *nameobj, *pathobj = NULL, *cpathobj = NULL, *external= NULL; in PyImport_ExecCodeModuleWithPathnames() local 700 pathobj = PyUnicode_DecodeFSDefault(pathname); in PyImport_ExecCodeModuleWithPathnames() 701 if (pathobj == NULL) in PyImport_ExecCodeModuleWithPathnames() 714 pathobj = _PyObject_CallMethodOneArg( in PyImport_ExecCodeModuleWithPathnames() 718 if (pathobj == NULL) in PyImport_ExecCodeModuleWithPathnames() 722 pathobj = NULL; in PyImport_ExecCodeModuleWithPathnames() 724 m = PyImport_ExecCodeModuleObject(nameobj, co, pathobj, cpathobj); in PyImport_ExecCodeModuleWithPathnames() 727 Py_XDECREF(pathobj); in PyImport_ExecCodeModuleWithPathnames()
|
Completed in 7 milliseconds