Lines Matching refs:wchar_t
119 wchar_t *path_env; /* PATH environment variable */
121 wchar_t *pythonpath; /* PYTHONPATH define */
122 wchar_t *prefix; /* PREFIX define */
123 wchar_t *exec_prefix; /* EXEC_PREFIX define */
125 wchar_t *lib_python; /* "lib/pythonX.Y" */
126 wchar_t argv0_path[MAXPATHLEN+1];
127 wchar_t zip_path[MAXPATHLEN+1]; /* ".../lib/pythonXY.zip" */
133 static const wchar_t delimiter[2] = {DELIM, '\0'};
134 static const wchar_t separator[2] = {SEP, '\0'};
139 _Py_wstat(const wchar_t* path, struct stat *buf) in _Py_wstat()
155 reduce(wchar_t *dir) in reduce()
165 isfile(wchar_t *filename) /* Is file, not directory */ in isfile()
179 ismodule(wchar_t *filename) /* Is module -- check for .pyc too */ in ismodule()
198 isxfile(wchar_t *filename) in isxfile()
216 isdir(wchar_t *filename) in isdir()
239 joinpath(wchar_t *buffer, wchar_t *stuff) in joinpath()
266 copy_absolute(wchar_t *path, wchar_t *p, size_t pathlen) in copy_absolute()
287 absolutize(wchar_t *path) in absolutize()
289 wchar_t buffer[MAXPATHLEN+1]; in absolutize()
309 add_exe_suffix(wchar_t *progpath) in add_exe_suffix()
319 wchar_t orig[MAXPATHLEN+1]; in add_exe_suffix()
339 PyCalculatePath *calculate, wchar_t *prefix) in search_for_prefix()
342 wchar_t *vpath; in search_for_prefix()
348 wchar_t *delim = wcschr(prefix, DELIM); in search_for_prefix()
406 PyCalculatePath *calculate, wchar_t *prefix) in calculate_prefix()
424 calculate_reduce_prefix(PyCalculatePath *calculate, wchar_t *prefix) in calculate_reduce_prefix()
451 PyCalculatePath *calculate, wchar_t *exec_prefix) in search_for_exec_prefix()
457 wchar_t *delim = wcschr(core_config->home, DELIM); in search_for_exec_prefix()
483 wchar_t *rel_builddir_path; in search_for_exec_prefix()
527 PyCalculatePath *calculate, wchar_t *exec_prefix) in calculate_exec_prefix()
545 calculate_reduce_exec_prefix(PyCalculatePath *calculate, wchar_t *exec_prefix) in calculate_reduce_exec_prefix()
565 wchar_t program_full_path[MAXPATHLEN+1]; in calculate_program_full_path()
600 wchar_t *path = Py_DecodeLocale(execpath, &len); in calculate_program_full_path()
609 wchar_t *path = calculate->path_env; in calculate_program_full_path()
611 wchar_t *delim = wcschr(path, DELIM); in calculate_program_full_path()
663 calculate_argv0_path(PyCalculatePath *calculate, const wchar_t *program_full_path) in calculate_argv0_path()
689 wchar_t* wbuf = Py_DecodeLocale(modPath, &len); in calculate_argv0_path()
712 wchar_t tmpbuffer[MAXPATHLEN+1]; in calculate_argv0_path()
743 wchar_t tmpbuffer[MAXPATHLEN+1]; in calculate_read_pyenv()
744 wchar_t *env_cfg = L"pyvenv.cfg"; in calculate_read_pyenv()
777 calculate_zip_path(PyCalculatePath *calculate, const wchar_t *prefix) in calculate_zip_path()
802 const wchar_t *prefix, const wchar_t *exec_prefix, in calculate_module_search_path()
811 wchar_t *defpath = calculate->pythonpath; in calculate_module_search_path()
814 wchar_t *delim = wcschr(defpath, DELIM); in calculate_module_search_path()
835 wchar_t *buf = PyMem_RawMalloc(bufsz * sizeof(wchar_t)); in calculate_module_search_path()
856 wchar_t *delim = wcschr(defpath, DELIM); in calculate_module_search_path()
952 wchar_t prefix[MAXPATHLEN+1]; in calculate_path_impl()
958 wchar_t exec_prefix[MAXPATHLEN+1]; in calculate_path_impl()