| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndexer.cpp | 109 char path[MAX_PATH]; in getClangResourcesPath() 112 GetModuleFileNameA((HINSTANCE)mbi.AllocationBase, path, MAX_PATH); in getClangResourcesPath() 115 char w32path[MAX_PATH]; in getClangResourcesPath() 118 cygwin_conv_path(CCP_WIN_A_TO_POSIX, w32path, path, MAX_PATH); in getClangResourcesPath()
|
| /llvm-project-15.0.7/llvm/lib/Support/Windows/ |
| H A D | Process.inc | 129 SmallVector<wchar_t, MAX_PATH> Buf; 130 size_t Size = MAX_PATH; 144 SmallVector<char, MAX_PATH> Res; 168 SmallVector<wchar_t, MAX_PATH> ArgW; 185 SmallString<MAX_PATH> Dir = Arg; 190 SmallString<MAX_PATH> FileName; 209 wchar_t ModuleName[MAX_PATH]; 211 if (Length == 0 || Length == MAX_PATH) { 221 if (Length > MAX_PATH) { 244 SmallString<MAX_PATH> Cmd; [all …]
|
| H A D | Program.inc | 48 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; 212 SmallVector<wchar_t, MAX_PATH> EnvString; 276 SmallVector<wchar_t, MAX_PATH> ProgramUtf16; 404 SmallVector<wchar_t, MAX_PATH> CommandUtf16;
|
| H A D | Path.inc | 70 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; 201 SmallVector<wchar_t, MAX_PATH> cur_path; 202 DWORD len = MAX_PATH; 246 if (std::error_code ec = widenPath(path, path_utf16, MAX_PATH - 12)) 387 SmallVector<wchar_t, MAX_PATH> Buffer; 502 SmallVector<wchar_t, MAX_PATH> WideFrom;
|
| H A D | Signals.inc | 656 SmallVector<wchar_t, MAX_PATH> Buffer(BufferLengthBytes); 667 SmallVector<wchar_t, MAX_PATH> ExpandBuffer(ExpandBufferSize); 787 SmallString<MAX_PATH> DumpDirectory(*CrashDiagnosticsDirectory); 794 SmallString<MAX_PATH> DumpPath;
|
| H A D | DynamicLibrary.inc | 41 SmallVector<wchar_t, MAX_PATH> FileUnicode;
|
| /llvm-project-15.0.7/lldb/include/lldb/ |
| H A D | lldb-defines.h | 116 #if defined(_WIN32) && !defined(MAX_PATH) 117 #define MAX_PATH 260 macro
|
| /llvm-project-15.0.7/clang/lib/DirectoryWatcher/windows/ |
| H A D | DirectoryWatcher-windows.cpp | 38 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()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_symbolizer_win.cpp | 110 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()
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | ompt-general.cpp | 220 TCHAR modName[MAX_PATH]; in ompt_tool_windows() 221 if (GetModuleFileName(modules[i], modName, MAX_PATH)) in ompt_tool_windows() 230 TCHAR modName[MAX_PATH]; in ompt_tool_windows() 231 if (GetModuleFileName(modules[i], modName, MAX_PATH)) in ompt_tool_windows()
|
| /llvm-project-15.0.7/lldb/tools/driver/ |
| H A D | Platform.h | 64 #define PATH_MAX MAX_PATH
|
| /llvm-project-15.0.7/llvm/utils/KillTheDoctor/ |
| H A D | KillTheDoctor.cpp | 177 char Filename[MAX_PATH+1]; in GetFileNameFromHandle() 228 char PathName[MAX_PATH + 1]; in FindProgram() 262 PathName[MAX_PATH] = 0; in FindProgram()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_libc_test.cpp | 83 char tmp_dir[MAX_PATH]; in temp_file_name() 84 if (!::GetTempPathA(MAX_PATH, tmp_dir)) in temp_file_name() 87 char tmp_path[MAX_PATH]; in temp_file_name()
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | file.cpp | 38 char tempDirName[MAX_PATH - 14]; in openfile_mkstemp() 39 char tempFileName[MAX_PATH]; in openfile_mkstemp()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/Windows/ |
| H A D | WindowsSupport.h | 243 size_t MaxPathLen = MAX_PATH);
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/ |
| H A D | DebuggerThread.cpp | 433 std::array<wchar_t, MAX_PATH + 1> mapped_filename; in GetFileNameFromHandleFallback() 449 std::array<wchar_t, MAX_PATH> device_name; in GetFileNameFromHandleFallback()
|
| H A D | ProcessWindows.cpp | 53 DWORD file_name_size = MAX_PATH; // first guess, not an absolute limit in GetProcessExecutableName()
|
| /llvm-project-15.0.7/llvm/test/tools/dsymutil/X86/ |
| H A D | reproducer.test | 3 # longer than MAX_PATH
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | Path.cpp | 2314 const size_t NumChars = MAX_PATH - Input.size() - 1; in TEST_F() 2318 EXPECT_GT(Input.size(), (size_t)MAX_PATH); in TEST_F() 2319 SmallVector<wchar_t, MAX_PATH + 16> Result; in TEST_F() 2324 EXPECT_EQ(Result.size(), (size_t)MAX_PATH - 1); in TEST_F() 2329 SmallVector<wchar_t, MAX_PATH + 16> Expected; in TEST_F() 2338 SmallString<MAX_PATH + 16> InputForward(Input); in TEST_F() 2347 SmallString<MAX_PATH + 16> PrefixedPath("\\\\?\\C:\\foldername"); in TEST_F() 2366 std::string DirName(MAX_PATH - ShareName.size() - FileName.size() - 1, in TEST_F() 2374 EXPECT_EQ(Result.size(), (size_t)MAX_PATH - 1); in TEST_F()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/src/ |
| H A D | gtest-port.cc | 1077 char temp_dir_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() 1078 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream()
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerIOWindows.cpp | 380 Tmp.resize(MAX_PATH + 1); in TmpDir()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinaryFunction.cpp | 2961 #ifndef MAX_PATH 2962 #define MAX_PATH 255 macro 2970 if (Filename.size() + Annotation.size() + Suffix.size() > MAX_PATH) { in constructFilename() 2971 assert(Suffix.size() + Annotation.size() <= MAX_PATH); in constructFilename() 2974 << "\" exceeds the " << MAX_PATH << " size limit, truncating.\n"; in constructFilename() 2976 Filename.resize(MAX_PATH - (Suffix.size() + Annotation.size())); in constructFilename() 3099 SmallString<MAX_PATH> Filename; in viewGraph()
|
| /llvm-project-15.0.7/libcxx/src/filesystem/ |
| H A D | posix_compat.h | 358 size_t buff_size = MAX_PATH + 10; in realpath()
|
| H A D | operations.cpp | 1534 wchar_t buf[MAX_PATH]; in __temp_directory_path() 1535 DWORD retval = GetTempPathW(MAX_PATH, buf); in __temp_directory_path() 1538 if (retval > MAX_PATH) in __temp_directory_path()
|
| /llvm-project-15.0.7/polly/lib/External/ |
| H A D | CMakeLists.txt | 397 # MAX_PATH, which is defined as 260 characters.
|