Home
last modified time | relevance | path

Searched refs:MAX_PATH (Results 1 – 25 of 54) sorted by relevance

123

/freebsd-12.1/contrib/ntp/lib/isc/win32/
H A Dntpaths.c36 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 DProcess.inc124 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 DProgram.inc47 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 Dlrealpath.c139 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 Dlrealpath.c139 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 Dregress_main.c145 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 Dtinytest.c84 static char commandname[MAX_PATH+1];
391 commandname[MAX_PATH]='\0';
/freebsd-12.1/contrib/ntp/sntp/libevent/test/
H A Dregress_main.c149 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 Dt_ssp.sh391 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 Dlldb-defines.h142 #if defined(_WIN32) && !defined(MAX_PATH)
143 #define MAX_PATH 260 macro
/freebsd-12.1/contrib/libarchive/tar/test/
H A Dtest_copy.c63 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 Ddecodecorpus.c35 #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 Dsanitizer_symbolizer_win.cc108 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 Dompt-general.cpp199 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 Dmagic.c133 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 Dtest_sparse_basic.c86 #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 Dexpand_path.c55 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 DMIDataTypes.h55 #define MAX_PATH 4096 macro
/freebsd-12.1/contrib/subversion/subversion/libsvn_subr/
H A Dwin32_crashrpt.c688 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 Dnls.c57 WCHAR ucs2_path[MAX_PATH]; in svn_nls_init()
/freebsd-12.1/contrib/llvm/tools/lldb/tools/driver/
H A DPlatform.h63 #define PATH_MAX MAX_PATH
/freebsd-12.1/contrib/gdb/gdb/
H A Dwin32-nat.c489 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 Dnmakehlp.c674 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 Dntp_util.c354 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 Dpcap-tc.c265 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()

123