Lines Matching refs:sys_path
680 PyObject *sys_path = PySys_GetObject("path"); in pymain_run_main_from_importer() local
681 if (sys_path == NULL) { in pymain_run_main_from_importer()
686 if (PyList_Insert(sys_path, 0, pymain->main_importer_path)) { in pymain_run_main_from_importer()
1368 PyObject *sys_path = PySys_GetObject("path"); in pymain_update_sys_path() local
1369 if (sys_path == NULL) { in pymain_update_sys_path()
1375 if (PyList_Insert(sys_path, 0, path0) < 0) { in pymain_update_sys_path()
2231 const wchar_t *sys_path = Py_GetPath(); in config_init_module_search_paths() local
2233 const wchar_t *p = sys_path; in config_init_module_search_paths()
2235 p = wcschr(sys_path, delim); in config_init_module_search_paths()
2237 p = sys_path + wcslen(sys_path); /* End of string */ in config_init_module_search_paths()
2240 size_t path_len = (p - sys_path); in config_init_module_search_paths()
2245 memcpy(path, sys_path, path_len * sizeof(wchar_t)); in config_init_module_search_paths()
2259 sys_path = p + 1; in config_init_module_search_paths()