Home
last modified time | relevance | path

Searched refs:_PyMem_RawWcsdup (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Modules/
Dgetpath.c284 return _PyMem_RawWcsdup(path2); in joinpath2()
364 *path_p = _PyMem_RawWcsdup(abs_path); in absolutize()
594 calculate->prefix = _PyMem_RawWcsdup(prefix); in calculate_prefix()
613 wchar_t *prefix = _PyMem_RawWcsdup(calculate->prefix); in calculate_set_prefix()
628 pathconfig->prefix = _PyMem_RawWcsdup(separator); in calculate_set_prefix()
635 pathconfig->prefix = _PyMem_RawWcsdup(calculate->prefix_macro); in calculate_set_prefix()
830 calculate->exec_prefix = _PyMem_RawWcsdup(exec_prefix); in calculate_exec_prefix()
844 wchar_t *exec_prefix = _PyMem_RawWcsdup(calculate->exec_prefix); in calculate_set_exec_prefix()
862 pathconfig->exec_prefix = _PyMem_RawWcsdup(separator); in calculate_set_exec_prefix()
869 pathconfig->exec_prefix = _PyMem_RawWcsdup(calculate->exec_prefix_macro); in calculate_set_exec_prefix()
[all …]
/third_party/python/Python/
Dpathconfig.c27 *dst = _PyMem_RawWcsdup(src); in copy_wstr()
461 wchar_t *program_full_path = _PyMem_RawWcsdup(Py_GetProgramFullPath()); in Py_SetPath()
469 _Py_path_config.prefix = _PyMem_RawWcsdup(L""); in Py_SetPath()
470 _Py_path_config.exec_prefix = _PyMem_RawWcsdup(L""); in Py_SetPath()
471 _Py_path_config.module_search_path = _PyMem_RawWcsdup(path); in Py_SetPath()
496 _Py_path_config.home = _PyMem_RawWcsdup(home); in Py_SetPythonHome()
517 _Py_path_config.program_name = _PyMem_RawWcsdup(program_name); in Py_SetProgramName()
537 _Py_path_config.program_full_path = _PyMem_RawWcsdup(program_full_path); in _Py_SetProgramFullPath()
781 *value_p = _PyMem_RawWcsdup(tok); in _Py_FindEnvConfigValue()
Dinitconfig.c331 wchar_t *item = _PyMem_RawWcsdup(list2->items[i]); in _PyWideStringList_Copy()
362 wchar_t *item2 = _PyMem_RawWcsdup(item); in PyWideStringList_Insert()
730 str2 = _PyMem_RawWcsdup(str); in PyConfig_SetString()
1134 config->program_name = _PyMem_RawWcsdup(program_name); in config_init_program_name()
1194 config->program_name = _PyMem_RawWcsdup(argv->items[0]); in config_init_program_name()
1477 config->pycache_prefix = _PyMem_RawWcsdup(sep + 1); in config_init_pycache_prefix()
2008 config->run_module = _PyMem_RawWcsdup(_PyOS_optarg); in config_parse_cmdline()
2134 config->run_filename = _PyMem_RawWcsdup(argv->items[_PyOS_optind]); in config_parse_cmdline()
2346 arg0 = _PyMem_RawWcsdup(arg0); in config_update_argv()
Dfileutils.c1827 *abspath_p = _PyMem_RawWcsdup(woutbufp); in _Py_abspath()
1831 *abspath_p = _PyMem_RawWcsdup(path); in _Py_abspath()
Dsysmodule.c2096 node->value = _PyMem_RawWcsdup(value); in _alloc_preinit_entry()
/third_party/python/Include/cpython/
Dpymem.h26 PyAPI_FUNC(wchar_t*) _PyMem_RawWcsdup(const wchar_t *str);
/third_party/python/PC/
Dgetpathp.c649 pathconfig->module_search_path = _PyMem_RawWcsdup(buf); in read_pth_file()
1014 pathconfig->prefix = _PyMem_RawWcsdup(prefix); in calculate_path()
1020 pathconfig->exec_prefix = _PyMem_RawWcsdup(prefix); in calculate_path()
/third_party/python/Objects/
Dobmalloc.c634 _PyMem_RawWcsdup(const wchar_t *str) in _PyMem_RawWcsdup() function
Dunicodeobject.c16036 wchar_t *raw_wname = _PyMem_RawWcsdup(wname); in config_get_codec_name()
16177 wchar_t *encoding = _PyMem_RawWcsdup(L"mbcs"); in _PyUnicode_EnableLegacyWindowsFSEncoding()
16178 wchar_t *errors = _PyMem_RawWcsdup(L"replace"); in _PyUnicode_EnableLegacyWindowsFSEncoding()