| /freebsd-13.1/contrib/ntp/lib/isc/win32/ |
| H A D | ntpaths.c | 36 static char systemDir[MAX_PATH]; 37 static char namedBase[MAX_PATH]; 38 static char ns_confFile[MAX_PATH]; 39 static char lwresd_confFile[MAX_PATH]; 41 static char rndc_confFile[MAX_PATH]; 44 static char local_state_dir[MAX_PATH]; 45 static char sys_conf_dir[MAX_PATH]; 46 static char rndc_keyFile[MAX_PATH]; 47 static char session_keyFile[MAX_PATH]; 49 static DWORD baseLen = MAX_PATH; [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/Windows/ |
| H A D | Process.inc | 129 SmallVector<wchar_t, MAX_PATH> Buf; 130 size_t Size = MAX_PATH; 144 SmallVector<char, MAX_PATH> Res; 167 SmallVector<wchar_t, MAX_PATH> ArgW; 184 SmallString<MAX_PATH> Dir = Arg; 189 SmallString<MAX_PATH> FileName; 208 wchar_t ModuleName[MAX_PATH]; 210 if (Length == 0 || Length == MAX_PATH) { 220 if (Length > MAX_PATH) { 243 SmallString<MAX_PATH> Cmd; [all …]
|
| H A D | Program.inc | 47 PathStorage.reserve(Paths.size() * MAX_PATH); 52 SmallVector<wchar_t, MAX_PATH> TmpPath; 60 SmallVector<wchar_t, MAX_PATH> U16Name; 70 SmallVector<char, MAX_PATH> U8Result; 72 SmallVector<wchar_t, MAX_PATH> U16Result; 73 DWORD Len = MAX_PATH; 79 SmallVector<wchar_t, MAX_PATH> U16NameExt; 210 SmallVector<wchar_t, MAX_PATH> EnvString; 274 SmallVector<wchar_t, MAX_PATH> ProgramUtf16; 402 SmallVector<wchar_t, MAX_PATH> CommandUtf16;
|
| H A D | Path.inc | 70 assert(MaxPathLen <= MAX_PATH); 74 SmallString<MAX_PATH> Path8Str; 110 SmallString<2 * MAX_PATH> FullPath(LongPathPrefix); 127 SmallVector<wchar_t, MAX_PATH> PathName; 144 SmallVector<char, MAX_PATH> PathNameUTF8; 192 SmallVector<wchar_t, MAX_PATH> cur_path; 193 DWORD len = MAX_PATH; 231 if (std::error_code ec = widenPath(path, path_utf16, MAX_PATH - 12)) 371 SmallVector<wchar_t, MAX_PATH> Buffer; 483 SmallVector<wchar_t, MAX_PATH> WideFrom;
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/test/ |
| H A D | regress_main.c | 149 char tmpfilepath[MAX_PATH]; in regress_make_tmpfile() 150 char tmpfilename[MAX_PATH]; in regress_make_tmpfile() 154 r = GetTempPathA(MAX_PATH, tmpfilepath); in regress_make_tmpfile() 155 if (r > MAX_PATH || r == 0) in regress_make_tmpfile()
|
| H A D | tinytest.c | 84 static char commandname[MAX_PATH+1]; 391 commandname[MAX_PATH]='\0';
|
| /freebsd-13.1/contrib/libevent/test/ |
| H A D | regress_main.c | 145 char tmpfilepath[MAX_PATH]; in regress_make_tmpfile() 146 char tmpfilename[MAX_PATH]; in regress_make_tmpfile() 150 r = GetTempPathA(MAX_PATH, tmpfilepath); in regress_make_tmpfile() 151 if (r > MAX_PATH || r == 0) in regress_make_tmpfile()
|
| H A D | tinytest.c | 84 static char commandname[MAX_PATH+1]; 391 commandname[MAX_PATH]='\0';
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/ssp/ |
| H A D | t_ssp.sh | 391 MAX_PATH=$(getconf _XOPEN_PATH_MAX) || atf_fail "getconf failed" 392 h_pass "$prog $MAX_PATH" "echo foo |" 393 h_fail "$prog $(( $MAX_PATH + 15 ))" "echo bar |"
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/ |
| H A D | lldb-defines.h | 128 #if defined(_WIN32) && !defined(MAX_PATH) 129 #define MAX_PATH 260 macro
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/DirectoryWatcher/windows/ |
| H A D | DirectoryWatcher-windows.cpp | 38 SmallString<MAX_PATH> Path; 97 size_t EntrySize = sizeof(FILE_NOTIFY_INFORMATION) + MAX_PATH * sizeof(WCHAR); in DirectoryWatcherWindows() 214 SmallString<MAX_PATH> filename; in WatcherThreadProc() 269 SmallVector<wchar_t, MAX_PATH> WidePath; in create()
|
| /freebsd-13.1/contrib/libarchive/tar/test/ |
| H A D | test_copy.c | 63 char buf[MAX_PATH]; in compute_loop_max() 67 assert(_getcwd(buf, MAX_PATH) != NULL); in compute_loop_max() 72 LOOP_MAX = MAX_PATH - (int)cwdlen - 12 - 4 - 1; in compute_loop_max()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_symbolizer_win.cpp | 110 static wchar_t path_buffer[kSymPathSize + 1 + MAX_PATH]; in InitializeDbgHelpIfNeeded() 120 DWORD res = GetModuleFileNameW(NULL, path_buffer + sz, MAX_PATH); in InitializeDbgHelpIfNeeded() 121 if (res == 0 || res == MAX_PATH) { in InitializeDbgHelpIfNeeded()
|
| /freebsd-13.1/contrib/file/src/ |
| H A D | magic.c | 131 dllpath = calloc(MAX_PATH + 1, sizeof(*dllpath)); in _w32_get_magic_relative_to() 133 if (!GetModuleFileNameA(module, dllpath, MAX_PATH)) in _w32_get_magic_relative_to() 139 char exepath[MAX_PATH]; in _w32_get_magic_relative_to() 140 GetModuleFileNameA(NULL, exepath, MAX_PATH); in _w32_get_magic_relative_to()
|
| /freebsd-13.1/crypto/heimdal/lib/krb5/ |
| H A D | expand_path.c | 55 TCHAR tpath[MAX_PATH]; in _expand_temp_folder() 95 TCHAR path[MAX_PATH]; in _expand_bin_dir() 243 TCHAR path[MAX_PATH]; in _expand_csidl()
|
| /freebsd-13.1/contrib/libarchive/libarchive/test/ |
| H A D | test_sparse_basic.c | 86 #define PATH_MAX MAX_PATH 95 char root[MAX_PATH+1]; in is_sparse_supported() 96 char vol[MAX_PATH+1]; in is_sparse_supported() 97 char sys[MAX_PATH+1]; in is_sparse_supported()
|
| /freebsd-13.1/contrib/llvm-project/openmp/runtime/src/ |
| H A D | ompt-general.cpp | 220 TCHAR modName[MAX_PATH]; in ompt_tool_windows() 221 if (GetModuleFileName(modules[i], modName, MAX_PATH)) in ompt_tool_windows() 230 TCHAR modName[MAX_PATH]; in ompt_tool_windows() 231 if (GetModuleFileName(modules[i], modName, MAX_PATH)) in ompt_tool_windows()
|
| /freebsd-13.1/contrib/llvm-project/lldb/tools/driver/ |
| H A D | Platform.h | 67 #define PATH_MAX MAX_PATH
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | nls.c | 57 WCHAR ucs2_path[MAX_PATH]; in svn_nls_init()
|
| H A D | win32_crashrpt.c | 685 char temp_dir[MAX_PATH - 64]; in get_temp_filename() 688 if (! GetTempPath(MAX_PATH - 64, temp_dir)) in get_temp_filename() 718 char dmp_filename[MAX_PATH]; in svn__unhandled_exception_filter() 719 char log_filename[MAX_PATH]; in svn__unhandled_exception_filter()
|
| H A D | win32_xlate.c | 216 if (wide_size <= MAX_PATH) in svn_subr__win32_xlate_to_stringbuf()
|
| /freebsd-13.1/contrib/ntp/ntpd/ |
| H A D | ntp_util.c | 354 char newvalue[MAX_PATH], parameter[MAX_PATH]; in stats_config() 356 if (!ExpandEnvironmentStrings(invalue, newvalue, MAX_PATH)) { in stats_config()
|
| /freebsd-13.1/contrib/wpa/wpa_supplicant/ |
| H A D | main_winsvc.c | 428 path = os_malloc(MAX_PATH * sizeof(TCHAR)); in main() 431 if (!GetModuleFileName(NULL, path, MAX_PATH)) { in main()
|
| /freebsd-13.1/contrib/libpcap/ |
| H A D | pcap-tc.c | 265 TCHAR path[MAX_PATH]; in LoadLibrarySafe() 266 TCHAR fullFileName[MAX_PATH]; in LoadLibrarySafe() 271 res = GetSystemDirectory(path, MAX_PATH); in LoadLibrarySafe() 281 if (res > MAX_PATH) in LoadLibrarySafe() 290 if (res + 1 + _tcslen(lpFileName) + 1 < MAX_PATH) in LoadLibrarySafe()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/Windows/ |
| H A D | WindowsSupport.h | 243 size_t MaxPathLen = MAX_PATH);
|