Lines Matching refs:path0
1341 pymain_compute_path0(_PyMain *pymain, _PyCoreConfig *config, PyObject **path0) in pymain_compute_path0() argument
1345 *path0 = NULL; in pymain_compute_path0()
1350 *path0 = NULL; in pymain_compute_path0()
1354 *path0 = _PyPathConfig_ComputeArgv0(config->argc, config->argv); in pymain_compute_path0()
1355 if (*path0 == NULL) { in pymain_compute_path0()
1364 pymain_update_sys_path(_PyMain *pymain, PyObject *path0) in pymain_update_sys_path() argument
1375 if (PyList_Insert(sys_path, 0, path0) < 0) { in pymain_update_sys_path()
2846 PyObject *path0; in pymain_init_sys_path() local
2847 if (pymain_compute_path0(pymain, config, &path0) < 0) { in pymain_init_sys_path()
2851 if (path0 != NULL) { in pymain_init_sys_path()
2852 if (pymain_update_sys_path(pymain, path0) < 0) { in pymain_init_sys_path()
2853 Py_DECREF(path0); in pymain_init_sys_path()
2856 Py_DECREF(path0); in pymain_init_sys_path()