Lines Matching refs:wchar_t
23 copy_wstr(wchar_t **dst, const wchar_t *src) in copy_wstr()
112 static wchar_t*
113 _PyWideStringList_Join(const PyWideStringList *list, wchar_t sep) in _PyWideStringList_Join()
123 wchar_t *text = PyMem_RawMalloc(len * sizeof(wchar_t)); in _PyWideStringList_Join()
127 wchar_t *str = text; in _PyWideStringList_Join()
129 wchar_t *path = list->items[i]; in _PyWideStringList_Join()
134 memcpy(str, path, len * sizeof(wchar_t)); in _PyWideStringList_Join()
229 wchar_t py3path[MAX_PATH]; in _PyPathConfig_AsDict()
278 const wchar_t *sys_path = pathconfig->module_search_path; in config_init_module_search_paths()
279 const wchar_t delim = DELIM; in config_init_module_search_paths()
281 const wchar_t *p = wcschr(sys_path, delim); in config_init_module_search_paths()
287 wchar_t *path = PyMem_RawMalloc((path_len + 1) * sizeof(wchar_t)); in config_init_module_search_paths()
291 memcpy(path, sys_path, path_len * sizeof(wchar_t)); in config_init_module_search_paths()
477 Py_SetPath(const wchar_t *path) in Py_SetPath()
507 Py_SetPythonHome(const wchar_t *home) in Py_SetPythonHome()
528 Py_SetProgramName(const wchar_t *program_name) in Py_SetProgramName()
548 _Py_SetProgramFullPath(const wchar_t *program_full_path) in _Py_SetProgramFullPath()
568 wchar_t *
575 wchar_t *
582 wchar_t *
589 wchar_t *
596 wchar_t*
603 wchar_t *
630 wchar_t *argv0 = argv->items[0]; in _PyPathConfig_ComputeSysPath0()
634 wchar_t *path0 = argv0; in _PyPathConfig_ComputeSysPath0()
638 wchar_t fullpath[MAXPATHLEN]; in _PyPathConfig_ComputeSysPath0()
640 wchar_t fullpath[MAX_PATH]; in _PyPathConfig_ComputeSysPath0()
656 wchar_t link[MAXPATHLEN + 1]; in _PyPathConfig_ComputeSysPath0()
658 wchar_t path0copy[2 * MAXPATHLEN + 1]; in _PyPathConfig_ComputeSysPath0()
674 wchar_t *q = wcsrchr(path0, SEP); in _PyPathConfig_ComputeSysPath0()
691 wchar_t *p = NULL; in _PyPathConfig_ComputeSysPath0()
696 wchar_t *q; in _PyPathConfig_ComputeSysPath0()
699 wchar_t *ptemp; in _PyPathConfig_ComputeSysPath0()
762 _Py_FindEnvConfigValue(FILE *env_file, const wchar_t *key, in _Py_FindEnvConfigValue()
763 wchar_t **value_p) in _Py_FindEnvConfigValue()
787 wchar_t *tmpbuffer = _Py_DecodeUTF8_surrogateescape(buffer, n, NULL); in _Py_FindEnvConfigValue()
789 wchar_t * state; in _Py_FindEnvConfigValue()
790 wchar_t * tok = WCSTOK(tmpbuffer, L" \t\r\n", &state); in _Py_FindEnvConfigValue()