Home
last modified time | relevance | path

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

123

/src/crypto/openssl/crypto/x509/
H A Dx509_def.c19 static char x509_private_dir[MAX_PATH + 1];
22 static char x509_cert_area[MAX_PATH + 1];
25 static char x509_cert_dir[MAX_PATH + 1];
28 static char x509_cert_file[MAX_PATH + 1];
40 OPENSSL_strlcpy(pathname, ossldir, MAX_PATH - 1); in get_windows_default_path()
41 if (MAX_PATH - strlen(pathname) > strlen(suffix)) in get_windows_default_path()
/src/crypto/openssl/crypto/
H A Ddefaults.c29 static char openssldir[MAX_PATH + 1];
40 static char enginesdir[MAX_PATH + 1];
50 static char modulesdir[MAX_PATH + 1];
88 if (keysizebytes > MAX_PATH * sizeof(WCHAR)) in get_windows_regdirs()
H A Dcversion.c53 static char openssldir[MAX_PATH + 15];
56 static char enginesdir[MAX_PATH + 15];
59 static char modulesdir[MAX_PATH + 15];
/src/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 …]
/src/crypto/krb5/src/windows/kfwlogon/
H A Dkfwlogon.c285 char filename[MAX_PATH+1] = ""; in NPLogonNotify()
462 char szPath[MAX_PATH] = ""; in KFW_Logon_Event()
465 char filename[MAX_PATH] = ""; in KFW_Logon_Event()
466 char newfilename[MAX_PATH] = ""; in KFW_Logon_Event()
467 char commandline[MAX_PATH+256] = ""; in KFW_Logon_Event()
577 char commandline[MAX_PATH+256] = ""; in LogonEventHandlerA()
/src/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 |"
/src/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';
/src/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';
/src/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()
/src/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-defines.h126 #if defined(_WIN32) && !defined(MAX_PATH)
127 #define MAX_PATH 260 macro
/src/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()
/src/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()
/src/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()
/src/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()
/src/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()
/src/crypto/krb5/src/lib/krb5/os/
H A Dexpand_path.c57 TCHAR tpath[MAX_PATH]; in expand_temp_folder()
91 TCHAR path[MAX_PATH]; in expand_bin_dir()
239 TCHAR path[MAX_PATH]; in expand_csidl()
/src/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()
/src/contrib/llvm-project/lldb/tools/driver/
H A DPlatform.h64 #define PATH_MAX MAX_PATH
/src/contrib/ncurses/ncurses/tinfo/
H A Dlib_win32util.c76 TCHAR buf[MAX_PATH]; in NCURSES_EXPORT()
/src/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()
/src/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()

123