| /freebsd-12.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-12.1/contrib/llvm/lib/Support/Windows/ |
| H A D | Process.inc | 124 SmallVector<wchar_t, MAX_PATH> Buf; 125 size_t Size = MAX_PATH; 139 SmallVector<char, MAX_PATH> Res; 162 SmallVector<wchar_t, MAX_PATH> ArgW; 179 SmallString<MAX_PATH> Dir = Arg; 184 SmallString<MAX_PATH> FileName; 203 wchar_t ModuleName[MAX_PATH]; 205 if (Length == 0 || Length == MAX_PATH) { 215 if (Length > MAX_PATH) { 237 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<wchar_t, MAX_PATH> U16Result; 71 DWORD Len = MAX_PATH; 73 SmallVector<wchar_t, MAX_PATH> U16Ext; 82 SmallVector<wchar_t, MAX_PATH> U16NameExt; 100 SmallVector<char, MAX_PATH> U8Result; 202 SmallVector<wchar_t, MAX_PATH> EnvString; 266 SmallVector<wchar_t, MAX_PATH> ProgramUtf16; [all …]
|
| /freebsd-12.1/contrib/gcclibs/libiberty/ |
| H A D | lrealpath.c | 139 char buf[MAX_PATH]; in lrealpath() 141 DWORD len = GetFullPathName (filename, MAX_PATH, buf, &basename); in lrealpath() 142 if (len == 0 || len > MAX_PATH - 1) in lrealpath()
|
| /freebsd-12.1/contrib/binutils/libiberty/ |
| H A D | lrealpath.c | 139 char buf[MAX_PATH]; in lrealpath() 141 DWORD len = GetFullPathName (filename, MAX_PATH, buf, &basename); in lrealpath() 142 if (len == 0 || len > MAX_PATH - 1) in lrealpath()
|
| /freebsd-12.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-12.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()
|
| /freebsd-12.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 + 3 ))" "echo bar |"
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/ |
| H A D | lldb-defines.h | 142 #if defined(_WIN32) && !defined(MAX_PATH) 143 #define MAX_PATH 260 macro
|
| /freebsd-12.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-12.1/sys/contrib/zstd/tests/ |
| H A D | decodecorpus.c | 35 #ifndef MAX_PATH 37 #define MAX_PATH PATH_MAX macro 39 #define MAX_PATH 256 macro 1584 char outPath[MAX_PATH]; in generateCorpus() 1602 if (snprintf(outPath, MAX_PATH, "%s/z%06u.zst", path, fnum) + 1 > MAX_PATH) { in generateCorpus() 1609 if (snprintf(outPath, MAX_PATH, "%s/z%06u", origPath, fnum) + 1 > MAX_PATH) { in generateCorpus() 1626 char outPath[MAX_PATH]; in generateCorpusWithDict() 1631 if (snprintf(outPath, MAX_PATH, "%s/dictionary", path) + 1 > MAX_PATH) { in generateCorpusWithDict() 1653 if (snprintf(outPath, MAX_PATH, "%s/dictionary", path) + 1 > MAX_PATH) { in generateCorpusWithDict() 1682 if (snprintf(outPath, MAX_PATH, "%s/z%06u.zst", path, fnum) + 1 > MAX_PATH) { in generateCorpusWithDict() [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_symbolizer_win.cc | 108 static wchar_t path_buffer[kSymPathSize + 1 + MAX_PATH]; in InitializeDbgHelpIfNeeded() 118 DWORD res = GetModuleFileNameW(NULL, path_buffer + sz, MAX_PATH); in InitializeDbgHelpIfNeeded() 119 if (res == 0 || res == MAX_PATH) { in InitializeDbgHelpIfNeeded()
|
| /freebsd-12.1/contrib/openmp/runtime/src/ |
| H A D | ompt-general.cpp | 199 TCHAR modName[MAX_PATH]; in ompt_tool_windows() 200 if (GetModuleFileName(modules[i], modName, MAX_PATH)) in ompt_tool_windows() 209 TCHAR modName[MAX_PATH]; in ompt_tool_windows() 210 if (GetModuleFileName(modules[i], modName, MAX_PATH)) in ompt_tool_windows()
|
| /freebsd-12.1/contrib/file/src/ |
| H A D | magic.c | 133 dllpath = calloc(MAX_PATH + 1, sizeof(*dllpath)); in _w32_get_magic_relative_to() 135 if (!GetModuleFileNameA(module, dllpath, MAX_PATH)) in _w32_get_magic_relative_to() 141 char exepath[MAX_PATH]; in _w32_get_magic_relative_to() 142 GetModuleFileNameA(NULL, exepath, MAX_PATH); in _w32_get_magic_relative_to()
|
| /freebsd-12.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-12.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-12.1/contrib/llvm/tools/lldb/tools/lldb-mi/ |
| H A D | MIDataTypes.h | 55 #define MAX_PATH 4096 macro
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | win32_crashrpt.c | 688 char temp_dir[MAX_PATH - 64]; in get_temp_filename() 691 if (! GetTempPath(MAX_PATH - 64, temp_dir)) in get_temp_filename() 721 char dmp_filename[MAX_PATH]; in svn__unhandled_exception_filter() 722 char log_filename[MAX_PATH]; in svn__unhandled_exception_filter()
|
| H A D | nls.c | 57 WCHAR ucs2_path[MAX_PATH]; in svn_nls_init()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/tools/driver/ |
| H A D | Platform.h | 63 #define PATH_MAX MAX_PATH
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | win32-nat.c | 489 MAX_PATH); in psapi_get_dll_name() 591 char ppath[MAX_PATH + 1]; in register_loaded_dll() 592 char buf[MAX_PATH + 1]; in register_loaded_dll() 593 char cwd[MAX_PATH + 1]; in register_loaded_dll() 606 if (GetCurrentDirectory (MAX_PATH + 1, cwd)) in register_loaded_dll() 612 GetFullPathName (w32_fd.cFileName, MAX_PATH, buf, &p); in register_loaded_dll() 641 static char buf[(2 * MAX_PATH) + 1]; in get_image_name() 685 char dll_buf[MAX_PATH + 1]; in handle_load_dll() 1696 char shell[MAX_PATH + 1]; /* Path to shell */ in child_create_inferior()
|
| /freebsd-12.1/contrib/sqlite3/tea/win/ |
| H A D | nmakehlp.c | 674 char szCwd[MAX_PATH + 1]; in QualifyPath() 675 char szTmp[MAX_PATH + 1]; in QualifyPath() 677 GetCurrentDirectory(MAX_PATH, szCwd); in QualifyPath()
|
| /freebsd-12.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-12.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()
|