Home
last modified time | relevance | path

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

123

/external/lzma/CPP/Windows/
DFileDir.cpp45 UINT needLength = ::GetWindowsDirectory(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetWindowsDirectory()
47 return (needLength > 0 && needLength <= MAX_PATH); in MyGetWindowsDirectory()
52 UINT needLength = ::GetSystemDirectory(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetSystemDirectory()
54 return (needLength > 0 && needLength <= MAX_PATH); in MyGetSystemDirectory()
64 UINT needLength = ::GetWindowsDirectoryW(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetWindowsDirectory()
66 return (needLength > 0 && needLength <= MAX_PATH); in MyGetWindowsDirectory()
79 UINT needLength = ::GetSystemDirectoryW(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetSystemDirectory()
81 return (needLength > 0 && needLength <= MAX_PATH); in MyGetSystemDirectory()
486 DWORD needLength = ::GetShortPathName(longPath, shortPath.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetShortPathName()
488 return (needLength > 0 && needLength < MAX_PATH); in MyGetShortPathName()
[all …]
DDLL.cpp77 TCHAR fullPath[MAX_PATH + 2]; in MyGetModuleFileName()
78 DWORD size = ::GetModuleFileName(hModule, fullPath, MAX_PATH + 1); in MyGetModuleFileName()
79 if (size <= MAX_PATH && size != 0) in MyGetModuleFileName()
93 wchar_t fullPath[MAX_PATH + 2]; in MyGetModuleFileName()
94 DWORD size = ::GetModuleFileNameW(hModule, fullPath, MAX_PATH + 1); in MyGetModuleFileName()
95 if (size <= MAX_PATH && size != 0) in MyGetModuleFileName()
DFileIO.cpp83 DWORD needLength = ::GetCurrentDirectoryW(MAX_PATH + 1, curDir.GetBuffer(MAX_PATH + 1)); in GetLongPathBase()
85 if (needLength == 0 || needLength > MAX_PATH) in GetLongPathBase()
/external/skia/tools/
Dwin_dbghelp.cpp52 char debug_app_name[MAX_PATH] = "";
61 char debug_binaries_path[MAX_PATH] = "";
80 char debug_cdb_path[MAX_PATH] = "";
128 char szPath[MAX_PATH]; in GenerateDumpAndPrintCallstack()
129 char szFileName[MAX_PATH]; in GenerateDumpAndPrintCallstack()
130 char szFileNameOutput[MAX_PATH]; in GenerateDumpAndPrintCallstack()
133 DWORD dwBufferSize = MAX_PATH; in GenerateDumpAndPrintCallstack()
174 char command[MAX_PATH * 4]; in GenerateDumpAndPrintCallstack()
221 char app_name[MAX_PATH]; in setUpDebuggingFromArgs()
226 char binaries_path[MAX_PATH]; in setUpDebuggingFromArgs()
[all …]
/external/google-breakpad/src/client/windows/unittests/
Dexception_handler_nesting_test.cc146 wchar_t temp_path[MAX_PATH] = { '\0' }; in InstallExceptionHandlerAndCrash()
147 GetTempPath(MAX_PATH, temp_path); in InstallExceptionHandlerAndCrash()
256 wchar_t temp_path[MAX_PATH] = { '\0' }; in TEST()
257 GetTempPath(MAX_PATH, temp_path); in TEST()
280 wchar_t temp_path[MAX_PATH] = { '\0' }; in TEST()
281 GetTempPath(MAX_PATH, temp_path); in TEST()
305 wchar_t temp_path[MAX_PATH] = { '\0' }; in TEST()
306 GetTempPath(MAX_PATH, temp_path); in TEST()
Dexception_handler_death_test.cc66 TCHAR temp_path_[MAX_PATH];
77 TCHAR temp_path[MAX_PATH] = { '\0' }; in SetUp()
78 TCHAR test_name_wide[MAX_PATH] = { '\0' }; in SetUp()
81 GetTempPath(MAX_PATH, temp_path); in SetUp()
87 MAX_PATH); in SetUp()
91 StringCchPrintfW(temp_path_, MAX_PATH, L"%s%s", temp_path, test_name_wide); in SetUp()
Dexception_handler_test.cc78 TCHAR temp_path_[MAX_PATH];
115 TCHAR temp_path[MAX_PATH] = { '\0' }; in SetUp()
116 TCHAR test_name_wide[MAX_PATH] = { '\0' }; in SetUp()
119 GetTempPath(MAX_PATH, temp_path); in SetUp()
125 MAX_PATH); in SetUp()
129 StringCchPrintfW(temp_path_, MAX_PATH, L"%s%s", temp_path, test_name_wide); in SetUp()
Dminidump_test.cc62 wchar_t temp_dir_path[ MAX_PATH ] = {0}; in MinidumpTest()
63 ::GetTempPath(MAX_PATH, temp_dir_path); in MinidumpTest()
/external/clang/tools/libclang/
DCIndexer.cpp56 char path[MAX_PATH]; in getClangResourcesPath()
59 GetModuleFileNameA((HINSTANCE)mbi.AllocationBase, path, MAX_PATH); in getClangResourcesPath()
62 char w32path[MAX_PATH]; in getClangResourcesPath()
65 cygwin_conv_path(CCP_WIN_A_TO_POSIX, w32path, path, MAX_PATH); in getClangResourcesPath()
/external/skia/tools/skpdiff/
Dskpdiff_util.cpp132 char pathDirGlob[MAX_PATH]; in get_directory()
137 SkASSERT(pathLength + 2 <= MAX_PATH); in get_directory()
141 SkASSERT(pathLength + 3 <= MAX_PATH); in get_directory()
198 SkString fullPath(MAX_PATH); in get_absolute_path()
199 if (_fullpath(fullPath.writable_str(), path.c_str(), MAX_PATH) == NULL) { in get_absolute_path()
/external/libcxx/test/support/
Dplatform_support.h63 char Path[MAX_PATH+1]; in get_temp_file_name()
64 char FN[MAX_PATH+1]; in get_temp_file_name()
65 do { } while (0 == GetTempPath(MAX_PATH+1, Path)); in get_temp_file_name()
/external/libpng/contrib/visupng/
DVisualPng.c75 static char szCmdFileName [MAX_PATH];
168 static TCHAR szImgPathName [MAX_PATH]; in WndProc()
169 static TCHAR szTitleName [MAX_PATH]; in WndProc()
516 static TCHAR szImgPathName [MAX_PATH]; in BuildPngList()
517 static TCHAR szImgFileName [MAX_PATH]; in BuildPngList()
518 static TCHAR szImgFindName [MAX_PATH]; in BuildPngList()
523 static TCHAR szTmp [MAX_PATH]; in BuildPngList()
561 *ppFileList = (TCHAR *) malloc (*pFileCount * MAX_PATH); in BuildPngList()
578 ii += MAX_PATH; in BuildPngList()
589 ii = i * MAX_PATH; in BuildPngList()
[all …]
DPngFile.c63 ofn.nMaxFile = MAX_PATH; in PngFileInitialize()
65 ofn.nMaxFileTitle = MAX_PATH; in PngFileInitialize()
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c243 WCHAR sfxPath[MAX_PATH + 2]; in main()
244 WCHAR path[MAX_PATH * 3 + 2]; in main()
271 winRes = GetModuleFileNameW(NULL, sfxPath, MAX_PATH); in main()
272 if (winRes == 0 || winRes > MAX_PATH) in main()
294 winRes = GetTempPathW(MAX_PATH, path); in main()
295 if (winRes == 0 || winRes > MAX_PATH) in main()
392 if (len >= MAX_PATH) in main()
549 WCHAR cmdLine[MAX_PATH * 3]; in main()
/external/fio/os/windows/posix/include/
Ddirent.h9 char d_name[MAX_PATH]; /* Name of entry */
15 char dirname[MAX_PATH];
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_win.cc65 static wchar_t path_buffer[kSymPathSize + 1 + MAX_PATH]; in InitializeDbgHelpIfNeeded()
75 DWORD res = GetModuleFileNameW(NULL, path_buffer + sz, MAX_PATH); in InitializeDbgHelpIfNeeded()
76 if (res == 0 || res == MAX_PATH) { in InitializeDbgHelpIfNeeded()
/external/icu/icu4c/source/samples/layout/
Dlayout.cpp43 char title[MAX_PATH + 64]; in PrettyTitle()
264 char szFileName[MAX_PATH], szTitleName[MAX_PATH]; in WndProc()
276 ofn.nMaxFile = MAX_PATH; in WndProc()
278 ofn.nMaxFileTitle = MAX_PATH; in WndProc()
Dclayout.c44 char title[MAX_PATH + 64]; in PrettyTitle()
266 char szFileName[MAX_PATH], szTitleName[MAX_PATH]; in WndProc()
278 ofn.nMaxFile = MAX_PATH; in WndProc()
280 ofn.nMaxFileTitle = MAX_PATH; in WndProc()
/external/libvpx/libvpx/test/
Dvideo_source.h59 char fname[MAX_PATH]; in GetTempOutFile()
60 char tmppath[MAX_PATH]; in GetTempOutFile()
61 if (GetTempPathA(MAX_PATH, tmppath)) { in GetTempOutFile()
/external/llvm/lib/Support/Windows/
DProgram.inc45 PathStorage.reserve(Paths.size() * MAX_PATH);
50 SmallVector<wchar_t, MAX_PATH> TmpPath;
58 SmallVector<wchar_t, MAX_PATH> U16Name;
68 SmallVector<wchar_t, MAX_PATH> U16Result;
69 DWORD Len = MAX_PATH;
71 SmallVector<wchar_t, MAX_PATH> U16Ext;
91 SmallVector<char, MAX_PATH> U8Result;
266 SmallVector<wchar_t, MAX_PATH> EnvString;
330 SmallVector<wchar_t, MAX_PATH> ProgramUtf16;
338 SmallVector<wchar_t, MAX_PATH> CommandUtf16;
DProcess.inc139 SmallVector<wchar_t, MAX_PATH> Buf;
140 size_t Size = MAX_PATH;
153 SmallVector<char, MAX_PATH> Res;
176 SmallVector<char, MAX_PATH> ArgString;
199 SmallVector<char, MAX_PATH> Dir;
214 SmallVector<char, MAX_PATH> FileName;
DPath.inc72 const size_t MaxDirLen = MAX_PATH - 12; // Must leave room for 8.3 filename.
92 SmallString<2*MAX_PATH> FullPath("\\\\?\\");
124 SmallVector<wchar_t, MAX_PATH> PathName;
141 SmallVector<char, MAX_PATH> PathNameUTF8;
168 SmallVector<wchar_t, MAX_PATH> cur_path;
169 DWORD len = MAX_PATH;
737 wchar_t Path[MAX_PATH];
/external/fio/os/windows/
Dposix.c515 static char name[MAX_PATH]; in basename()
526 strncpy(name, path + i + 1, MAX_PATH); in basename()
828 StringCchCopyA(dc->dirname, MAX_PATH, dirname); in opendir()
866 char search_pattern[MAX_PATH]; in readdir()
867 StringCchPrintfA(search_pattern, MAX_PATH, "%s\\*", dirp->dirname); in readdir()
876 StringCchCopyA(de.d_name, MAX_PATH, find_data.cFileName); in readdir()
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp178 char Filename[MAX_PATH+1]; in GetFileNameFromHandle()
229 char PathName[MAX_PATH + 1]; in FindProgram()
263 PathName[MAX_PATH] = 0; in FindProgram()
/external/wpa_supplicant_8/wpa_supplicant/
Dmain_winsvc.c428 path = os_malloc(MAX_PATH * sizeof(TCHAR)); in main()
431 if (!GetModuleFileName(NULL, path, MAX_PATH)) { in main()

123