Searched refs:argv0_path (Results 1 – 2 of 2) sorted by relevance
/third_party/python/PC/ |
D | getpathp.c | 293 search_for_prefix(wchar_t *prefix, const wchar_t *argv0_path, const wchar_t *landmark) in search_for_prefix() argument 296 wcscpy_s(prefix, MAXPATHLEN + 1, argv0_path); in search_for_prefix() 707 wchar_t *argv0_path, size_t argv0_path_len) in calculate_pyvenv_file() argument 713 wcscpy_s(filename, MAXPATHLEN+1, argv0_path); in calculate_pyvenv_file() 740 wcscpy_s(argv0_path, argv0_path_len, home); in calculate_pyvenv_file() 750 const wchar_t *argv0_path, in calculate_home_prefix() argument 760 else if (search_for_prefix(prefix, argv0_path, LANDMARK)) { in calculate_home_prefix() 776 const wchar_t *argv0_path, in calculate_module_search_path() argument 821 bufsz += wcslen(argv0_path) + 1; in calculate_module_search_path() 906 if (argv0_path) { in calculate_module_search_path() [all …]
|
/third_party/python/Modules/ |
D | getpath.c | 142 wchar_t *argv0_path; member 476 wchar_t *path = joinpath2(calculate->argv0_path, BUILD_LANDMARK); in search_for_prefix() 490 if (safe_wcscpy(prefix, calculate->argv0_path, prefix_len) < 0) { in search_for_prefix() 517 status = copy_absolute(prefix, calculate->argv0_path, prefix_len); in search_for_prefix() 645 calculate_pybuilddir(const wchar_t *argv0_path, in calculate_pybuilddir() argument 656 wchar_t *filename = joinpath2(argv0_path, L"pybuilddir.txt"); in calculate_pybuilddir() 680 if (safe_wcscpy(exec_prefix, argv0_path, exec_prefix_len) < 0) { in calculate_pybuilddir() 733 status = calculate_pybuilddir(calculate->argv0_path, in search_for_exec_prefix() 743 status = copy_absolute(exec_prefix, calculate->argv0_path, exec_prefix_len); in search_for_exec_prefix() 1153 PyMem_RawFree(calculate->argv0_path); in calculate_argv0_path_framework() [all …]
|