Lines Matching refs:MAXPATHLEN
154 size_t i = wcsnlen_s(dir, MAXPATHLEN+1); in reduce()
155 if (i >= MAXPATHLEN+1) { in reduce()
169 size_t src_len = wcsnlen_s(src, MAXPATHLEN+1); in change_ext()
171 if (i >= MAXPATHLEN+1) { in change_ext()
187 if (wcsncpy_s(dest, MAXPATHLEN+1, src, i)) { in change_ext()
198 if (wcscat_s(dest, MAXPATHLEN+1, ext)) { in change_ext()
227 n = wcsnlen_s(filename, MAXPATHLEN+1); in ismodule()
228 if (n < MAXPATHLEN) { in ismodule()
255 if (FAILED(PathCchCombineEx(buffer, MAXPATHLEN+1, buffer, stuff, 0))) { in join()
269 if (FAILED(PathCchCanonicalizeEx(buffer, MAXPATHLEN + 1, path, 0))) { in canonicalize()
282 wchar_t filename[MAXPATHLEN+1]; in gotlandmark()
296 wcscpy_s(prefix, MAXPATHLEN + 1, argv0_path); in search_for_prefix()
312 if (PyWin_DLLhModule && GetModuleFileNameW(PyWin_DLLhModule, dllpath, MAXPATHLEN)) { in get_dllpath()
496 wchar_t program_full_path[MAXPATHLEN+1]; in get_program_full_path()
499 if (!GetModuleFileNameW(NULL, program_full_path, MAXPATHLEN)) { in get_program_full_path()
511 sizeof(wchar_t) * (MAXPATHLEN + 1)); in get_program_full_path()
523 wcscpy_s(program_full_path, MAXPATHLEN+1, pyvenv_launcher); in get_program_full_path()
531 sizeof(wchar_t) * (MAXPATHLEN + 1)); in get_program_full_path()
560 wcscpy_s(prefix, MAXPATHLEN+1, path); in read_pth_file()
565 size_t bufsiz = MAXPATHLEN; in read_pth_file()
576 char line[MAXPATHLEN + 1]; in read_pth_file()
612 bufsiz += MAXPATHLEN; in read_pth_file()
691 wchar_t filename[MAXPATHLEN+1]; in calculate_pth_file()
709 wchar_t filename[MAXPATHLEN+1]; in calculate_pyvenv_file()
713 wcscpy_s(filename, MAXPATHLEN+1, argv0_path); in calculate_pyvenv_file()
756 wcscpy_s(prefix, MAXPATHLEN+1, zip_path); in calculate_home_prefix()
768 wcscpy_s(prefix, MAXPATHLEN+1, calculate->home); in calculate_home_prefix()
922 wchar_t lookBuf[MAXPATHLEN+1]; in calculate_module_search_path()
965 wchar_t argv0_path[MAXPATHLEN+1]; in calculate_path()
968 wcscpy_s(argv0_path, MAXPATHLEN+1, pathconfig->program_full_path); in calculate_path()
971 wchar_t prefix[MAXPATHLEN+1]; in calculate_path()
991 wchar_t zip_path[MAXPATHLEN+1]; in calculate_path()
1108 wchar_t py3path[MAXPATHLEN+1]; in _Py_CheckPython3()