Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProcess.inc129 SmallVector<wchar_t, MAX_PATH> Buf;
130 size_t Size = MAX_PATH;
143 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];
209 size_t Length = ::GetModuleFileNameW(NULL, ModuleName, MAX_PATH);
210 if (Length == 0 || Length == MAX_PATH) {
217 Length = GetLongPathNameW(ModuleName, ModuleName, MAX_PATH);
[all …]
H A DProgram.inc48 PathStorage.reserve(Paths.size() * MAX_PATH);
53 SmallVector<wchar_t, MAX_PATH> TmpPath;
61 SmallVector<wchar_t, MAX_PATH> U16Name;
71 SmallVector<char, MAX_PATH> U8Result;
73 SmallVector<wchar_t, MAX_PATH> U16Result;
74 DWORD Len = MAX_PATH;
80 SmallVector<wchar_t, MAX_PATH> U16NameExt;
213 SmallVector<wchar_t, MAX_PATH> EnvString;
277 SmallVector<wchar_t, MAX_PATH> ProgramUtf16;
407 SmallVector<wchar_t, MAX_PATH> CommandUtf16;
H A DPath.inc70 assert(MaxPathLen <= MAX_PATH);
74 SmallString<MAX_PATH> Path8Str;
117 SmallString<2 * MAX_PATH> FullPath(LongPathPrefix);
134 SmallVector<wchar_t, MAX_PATH> PathName;
152 SmallVector<char, MAX_PATH> PathNameUTF8;
199 SmallVector<wchar_t, MAX_PATH> cur_path;
200 DWORD len = MAX_PATH;
244 if (std::error_code ec = widenPath(path, path_utf16, MAX_PATH - 12))
386 SmallVector<wchar_t, MAX_PATH> Buffer;
501 SmallVector<wchar_t, MAX_PATH> WideFrom;
[all …]
/freebsd/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 + 15 ))" "echo bar |"
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_main.c155 char tmpfilepath[MAX_PATH]; in regress_make_tmpfile()
156 char tmpfilename[MAX_PATH]; in regress_make_tmpfile()
160 r = GetTempPathA(MAX_PATH, tmpfilepath); in regress_make_tmpfile()
161 if (r > MAX_PATH || r == 0) in regress_make_tmpfile()
H A Dtinytest.c91 static char commandname[MAX_PATH+1];
477 commandname[MAX_PATH]='\0';
/freebsd/contrib/libevent/test/
H A Dregress_main.c155 char tmpfilepath[MAX_PATH]; in regress_make_tmpfile()
156 char tmpfilename[MAX_PATH]; in regress_make_tmpfile()
160 r = GetTempPathA(MAX_PATH, tmpfilepath); in regress_make_tmpfile()
161 if (r > MAX_PATH || r == 0) in regress_make_tmpfile()
H A Dtinytest.c91 static char commandname[MAX_PATH+1];
477 commandname[MAX_PATH]='\0';
/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/windows/
H A DDirectoryWatcher-windows.cpp38 SmallString<MAX_PATH> Path;
102 size_t EntrySize = sizeof(FILE_NOTIFY_INFORMATION) + MAX_PATH * sizeof(WCHAR); in DirectoryWatcherWindows()
219 SmallString<MAX_PATH> filename; in WatcherThreadProc()
274 SmallVector<wchar_t, MAX_PATH> WidePath; in create()
/freebsd/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-defines.h126 #if defined(_WIN32) && !defined(MAX_PATH)
127 #define MAX_PATH 260 macro
/freebsd/contrib/libarchive/tar/test/
H A Dtest_copy.c44 char buf[MAX_PATH]; in compute_loop_max()
48 assert(_getcwd(buf, MAX_PATH) != NULL); in compute_loop_max()
53 LOOP_MAX = MAX_PATH - (int)cwdlen - 12 - 4 - 1; in compute_loop_max()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_win.cpp110 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/contrib/file/src/
H A Dmagic.c131 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/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/contrib/libarchive/libarchive/test/
H A Dtest_sparse_basic.c88 #define PATH_MAX MAX_PATH
97 char root[MAX_PATH+1]; in is_sparse_supported()
98 char vol[MAX_PATH+1]; in is_sparse_supported()
99 char sys[MAX_PATH+1]; in is_sparse_supported()
/freebsd/contrib/llvm-project/lldb/tools/driver/
H A DPlatform.h64 #define PATH_MAX MAX_PATH
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dompt-general.cpp223 TCHAR modName[MAX_PATH]; in ompt_tool_windows()
224 if (GetModuleFileName(modules[i], modName, MAX_PATH)) in ompt_tool_windows()
233 TCHAR modName[MAX_PATH]; in ompt_tool_windows()
234 if (GetModuleFileName(modules[i], modName, MAX_PATH)) in ompt_tool_windows()
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dlib_win32util.c77 TCHAR buf[MAX_PATH]; in NCURSES_EXPORT()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dmain_winsvc.c428 path = os_malloc(MAX_PATH * sizeof(TCHAR)); in main()
431 if (!GetModuleFileName(NULL, path, MAX_PATH)) { in main()
/freebsd/contrib/ntp/ntpd/
H A Dntp_util.c382 char newvalue[MAX_PATH], parameter[MAX_PATH]; in stats_config()
384 if (!ExpandEnvironmentStrings(invalue, newvalue, MAX_PATH)) { in stats_config()
/freebsd/crypto/openssl/apps/lib/
H A Dopt.c1161 WCHAR tempname[MAX_PATH]; in opt_isdir()
1163 if (len_0 > MAX_PATH) in opt_isdir()
1167 if (!MultiByteToWideChar(CP_ACP, 0, name, len_0, tempname, MAX_PATH)) in opt_isdir()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/Windows/
H A DWindowsSupport.h246 size_t MaxPathLen = MAX_PATH);
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dposix_compat.h324 size_t buff_size = MAX_PATH + 10; in getcwd()
348 size_t buff_size = MAX_PATH + 10; in realpath()
/freebsd/contrib/sqlite3/tea/win/
H A Dnmakehlp.c707 char szCwd[MAX_PATH + 1]; in QualifyPath()
725 char path[MAX_PATH+1]; in LocateDependencyHelper()
/freebsd/contrib/less/
H A Dcommand.c858 WCHAR w[MAX_PATH+16]; in prompt()
895 WCHAR w[MAX_PATH*2]; in prompt()
896 char a[MAX_PATH*2]; in prompt()

12