Home
last modified time | relevance | path

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

/third_party/python/Modules/
Dgetpath.c425 wchar_t *progpath2 = PyMem_RawMalloc((n + s + 1) * sizeof(wchar_t)); in add_exe_suffix() local
426 if (progpath2 == NULL) { in add_exe_suffix()
430 memcpy(progpath2, progpath, n * sizeof(wchar_t)); in add_exe_suffix()
431 memcpy(progpath2 + n, EXE_SUFFIX, s * sizeof(wchar_t)); in add_exe_suffix()
432 progpath2[n+s] = L'\0'; in add_exe_suffix()
434 if (isxfile(progpath2)) { in add_exe_suffix()
436 *progpath_p = progpath2; in add_exe_suffix()
439 PyMem_RawFree(progpath2); in add_exe_suffix()