Searched refs:MAX_PATH (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-11-stable/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];
40 static char lwresd_resolvconfFile[MAX_PATH];
41 static char rndc_confFile[MAX_PATH];
42 static char ns_defaultpidfile[MAX_PATH];
43 static char lwresd_defaultpidfile[MAX_PATH];
44 static char local_state_dir[MAX_PATH];
45 static char sys_conf_dir[MAX_PATH];
[all...]
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dmaxpathname.cpp54 # ifdef MAX_PATH
55 # define PATH_MAX MAX_PATH
56 # else /* !MAX_PATH */
62 # endif /* !MAX_PATH */
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProgram.inc46 PathStorage.reserve(Paths.size() * MAX_PATH);
51 SmallVector<wchar_t, MAX_PATH> TmpPath;
59 SmallVector<wchar_t, MAX_PATH> U16Name;
69 SmallVector<wchar_t, MAX_PATH> U16Result;
70 DWORD Len = MAX_PATH;
72 SmallVector<wchar_t, MAX_PATH> U16Ext;
81 SmallVector<wchar_t, MAX_PATH> U16NameExt;
99 SmallVector<char, MAX_PATH> U8Result;
201 SmallVector<wchar_t, MAX_PATH> EnvString;
265 SmallVector<wchar_t, MAX_PATH> ProgramUtf1
[all...]
H A DProcess.inc123 SmallVector<wchar_t, MAX_PATH> Buf;
124 size_t Size = MAX_PATH;
138 SmallVector<char, MAX_PATH> Res;
161 SmallVector<wchar_t, MAX_PATH> ArgW;
178 SmallString<MAX_PATH> Dir = Arg;
183 SmallString<MAX_PATH> FileName;
202 wchar_t ModuleName[MAX_PATH];
203 size_t Length = ::GetModuleFileNameW(NULL, ModuleName, MAX_PATH);
204 if (Length == 0 || Length == MAX_PATH) {
211 Length = GetLongPathNameW(ModuleName, ModuleName, MAX_PATH);
[all...]
H A DPath.inc71 const size_t MaxDirLen = MAX_PATH - 12; // Must leave room for 8.3 filename.
91 SmallString<2*MAX_PATH> FullPath("\\\\?\\");
128 SmallVector<wchar_t, MAX_PATH> PathName;
145 SmallVector<char, MAX_PATH> PathNameUTF8;
193 SmallVector<wchar_t, MAX_PATH> cur_path;
194 DWORD len = MAX_PATH;
370 SmallVector<wchar_t, MAX_PATH> Buffer;
454 SmallVector<wchar_t, MAX_PATH> WideFrom;
H A DDynamicLibrary.inc41 SmallVector<wchar_t, MAX_PATH> FileUnicode;
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dlrealpath.c139 char buf[MAX_PATH];
141 DWORD len = GetFullPathName (filename, MAX_PATH, buf, &basename);
142 if (len == 0 || len > MAX_PATH - 1)
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dlrealpath.c139 char buf[MAX_PATH];
141 DWORD len = GetFullPathName (filename, MAX_PATH, buf, &basename);
142 if (len == 0 || len > MAX_PATH - 1)
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-defines.h125 #if defined(_WIN32) && !defined(MAX_PATH)
126 #define MAX_PATH 260 macro
/freebsd-11-stable/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-11-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_main.c149 char tmpfilepath[MAX_PATH];
150 char tmpfilename[MAX_PATH];
154 r = GetTempPathA(MAX_PATH, tmpfilepath);
155 if (r > MAX_PATH || r == 0)
H A Dtinytest.c84 static char commandname[MAX_PATH+1];
391 commandname[MAX_PATH]='\0';
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dnls.c57 WCHAR ucs2_path[MAX_PATH];
H A Dwin32_crashrpt.c685 char temp_dir[MAX_PATH - 64];
688 if (! GetTempPath(MAX_PATH - 64, temp_dir))
718 char dmp_filename[MAX_PATH];
719 char log_filename[MAX_PATH];
H A Dwin32_xlate.c216 if (wide_size <= MAX_PATH)
/freebsd-11-stable/contrib/llvm-project/lldb/tools/driver/
H A DPlatform.h67 #define PATH_MAX MAX_PATH
/freebsd-11-stable/contrib/libarchive/tar/test/
H A Dtest_copy.c63 char buf[MAX_PATH];
67 assert(_getcwd(buf, MAX_PATH) != NULL);
72 LOOP_MAX = MAX_PATH - (int)cwdlen - 12 - 4 - 1;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_win.cpp110 static wchar_t path_buffer[kSymPathSize + 1 + MAX_PATH];
120 DWORD res = GetModuleFileNameW(NULL, path_buffer + sz, MAX_PATH);
121 if (res == 0 || res == MAX_PATH) {
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dexpand_path.c55 TCHAR tpath[MAX_PATH];
95 TCHAR path[MAX_PATH];
243 TCHAR path[MAX_PATH];
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dompt-general.cpp198 TCHAR modName[MAX_PATH];
199 if (GetModuleFileName(modules[i], modName, MAX_PATH))
208 TCHAR modName[MAX_PATH];
209 if (GetModuleFileName(modules[i], modName, MAX_PATH))
/freebsd-11-stable/contrib/file/src/
H A Dmagic.c131 dllpath = calloc(MAX_PATH + 1, sizeof(*dllpath));
133 if (!GetModuleFileNameA(module, dllpath, MAX_PATH))
139 char exepath[MAX_PATH];
140 GetModuleFileNameA(NULL, exepath, MAX_PATH);
/freebsd-11-stable/contrib/sqlite3/tea/win/
H A Dnmakehlp.c683 char szCwd[MAX_PATH + 1];
684 char szTmp[MAX_PATH + 1];
686 GetCurrentDirectory(MAX_PATH, szCwd);
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_sparse_basic.c86 #define PATH_MAX MAX_PATH
95 char root[MAX_PATH+1];
96 char vol[MAX_PATH+1];
97 char sys[MAX_PATH+1];
/freebsd-11-stable/contrib/gdb/gdb/
H A Dwin32-nat.c489 MAX_PATH);
591 char ppath[MAX_PATH + 1];
592 char buf[MAX_PATH + 1];
593 char cwd[MAX_PATH + 1];
606 if (GetCurrentDirectory (MAX_PATH + 1, cwd))
612 GetFullPathName (w32_fd.cFileName, MAX_PATH, buf, &p);
641 static char buf[(2 * MAX_PATH) + 1];
685 char dll_buf[MAX_PATH + 1];
1696 char shell[MAX_PATH + 1]; /* Path to shell */
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-tc.c265 TCHAR path[MAX_PATH];
266 TCHAR fullFileName[MAX_PATH];
271 res = GetSystemDirectory(path, MAX_PATH);
281 if (res > MAX_PATH)
290 if (res + 1 + _tcslen(lpFileName) + 1 < MAX_PATH)

Completed in 293 milliseconds

12