Home
last modified time | relevance | path

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

1234

/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/lzma/CPP/Windows/
DFileDir.cpp33 TCHAR s[MAX_PATH + 2]; in GetWindowsDir()
35 needLength = ::GetWindowsDirectory(s, MAX_PATH + 1); in GetWindowsDir()
41 WCHAR s[MAX_PATH + 2]; in GetWindowsDir()
43 needLength = ::GetWindowsDirectoryW(s, MAX_PATH + 1); in GetWindowsDir()
46 return (needLength > 0 && needLength <= MAX_PATH); in GetWindowsDir()
55 TCHAR s[MAX_PATH + 2]; in GetSystemDir()
57 needLength = ::GetSystemDirectory(s, MAX_PATH + 1); in GetSystemDir()
63 WCHAR s[MAX_PATH + 2]; in GetSystemDir()
65 needLength = ::GetSystemDirectoryW(s, MAX_PATH + 1); in GetSystemDir()
68 return (needLength > 0 && needLength <= MAX_PATH); in GetSystemDir()
[all …]
DFileSystem.cpp34 TCHAR v[MAX_PATH + 2]; v[0] = 0; in MyGetVolumeInformation()
35 TCHAR f[MAX_PATH + 2]; f[0] = 0; in MyGetVolumeInformation()
37 v, MAX_PATH, in MyGetVolumeInformation()
39 f, MAX_PATH); in MyGetVolumeInformation()
46 WCHAR v[MAX_PATH + 2]; v[0] = 0; in MyGetVolumeInformation()
47 WCHAR f[MAX_PATH + 2]; f[0] = 0; in MyGetVolumeInformation()
49 v, MAX_PATH, in MyGetVolumeInformation()
51 f, MAX_PATH); in MyGetVolumeInformation()
DDLL.cpp67 TCHAR s[MAX_PATH + 2]; in MyGetModuleFileName()
69 DWORD size = ::GetModuleFileName(hModule, s, MAX_PATH + 1); in MyGetModuleFileName()
70 if (size <= MAX_PATH && size != 0) in MyGetModuleFileName()
79 WCHAR s[MAX_PATH + 2]; in MyGetModuleFileName()
81 DWORD size = ::GetModuleFileNameW(hModule, s, MAX_PATH + 1); in MyGetModuleFileName()
82 if (size <= MAX_PATH && size != 0) in MyGetModuleFileName()
DShell.cpp123 bool result = BOOLToBool(::SHGetPathFromIDList(itemIDList, path.GetBuffer(MAX_PATH * 2))); in GetPathFromIDList()
213 browseInfo.pszDisplayName = (LPSTR)displayName.GetBuffer(MAX_PATH); in BrowseForFolder()
216 browseInfo.pszDisplayName = displayName.GetBuffer(MAX_PATH); in BrowseForFolder()
247 bool result = BOOLToBool(shGetPathFromIDListW(itemIDList, path.GetBuffer(MAX_PATH * 2))); in GetPathFromIDList()
305 browseInfo.pszDisplayName = displayName.GetBuffer(MAX_PATH); in BrowseForFolder()
DFileName.cpp218 TCHAR s[MAX_PATH + 2]; in GetCurDir()
220 needLength = ::GetCurrentDirectory(MAX_PATH + 1, s); in GetCurDir()
226 WCHAR s[MAX_PATH + 2]; in GetCurDir()
228 needLength = ::GetCurrentDirectoryW(MAX_PATH + 1, s); in GetCurDir()
231 return (needLength > 0 && needLength <= MAX_PATH); in GetCurDir()
/external/v8/tools/gyp/test/module/src/
Dprogram.c11 #define MAX_PATH PATH_MAX macro
23 char bin_path[MAX_PATH + 1];
27 char module_path[MAX_PATH + 1]; in CallModule()
40 if (_makepath_s(module_path, MAX_PATH, drive, dir, module, MODULE_SUFFIX)) { in CallModule()
63 int path_size = snprintf(module_path, MAX_PATH, "%s/%s%s", bin_dir, module, in CallModule()
66 if (path_size < 0 || path_size > MAX_PATH) { in CallModule()
95 if (!GetModuleFileName(NULL, bin_path, MAX_PATH)) { in main()
/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_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()
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()
/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/lzma/C/Util/SfxSetup/
DSfxSetup.c241 WCHAR sfxPath[MAX_PATH + 2]; in main()
242 WCHAR path[MAX_PATH * 3 + 2]; in main()
244 WCHAR workCurDir[MAX_PATH + 32]; in main()
272 winRes = GetModuleFileNameW(NULL, sfxPath, MAX_PATH); in main()
273 if (winRes == 0 || winRes > MAX_PATH) in main()
295 winRes = GetTempPathW(MAX_PATH, path); in main()
296 if (winRes == 0 || winRes > MAX_PATH) in main()
398 if (len >= MAX_PATH) in main()
530 WCHAR oldCurDir[MAX_PATH + 2]; in main()
533 DWORD needLen = GetCurrentDirectory(MAX_PATH + 1, oldCurDir); in main()
[all …]
/external/libcxx/test/support/
Dplatform_support.h76 char Path[MAX_PATH+1]; in get_temp_file_name()
77 char FN[MAX_PATH+1]; in get_temp_file_name()
78 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 …]
/external/fio/os/windows/posix/include/
Ddirent.h9 char d_name[MAX_PATH]; /* Name of entry */
15 char dirname[MAX_PATH];
/external/c-ares/
Dares_gethostbyaddr.c189 char PATH_HOSTS[MAX_PATH]; in file_lookup()
197 char tmp[MAX_PATH]; in file_lookup()
203 DWORD dwLength = MAX_PATH; in file_lookup()
206 ExpandEnvironmentStrings(tmp, PATH_HOSTS, MAX_PATH); in file_lookup()
211 GetWindowsDirectory(PATH_HOSTS, MAX_PATH); in file_lookup()
Dares_gethostbyname.c346 char PATH_HOSTS[MAX_PATH]; in file_lookup()
354 char tmp[MAX_PATH]; in file_lookup()
360 DWORD dwLength = MAX_PATH; in file_lookup()
363 ExpandEnvironmentStrings(tmp, PATH_HOSTS, MAX_PATH); in file_lookup()
368 GetWindowsDirectory(PATH_HOSTS, MAX_PATH); in file_lookup()
/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.h62 char fname[MAX_PATH]; in GetTempOutFile()
63 char tmppath[MAX_PATH]; in GetTempOutFile()
64 if (GetTempPathA(MAX_PATH, tmppath)) { in GetTempOutFile()
/external/llvm/lib/Support/Windows/
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;
282 SmallVector<wchar_t, MAX_PATH> EnvString;
346 SmallVector<wchar_t, MAX_PATH> ProgramUtf16;
[all …]
/external/pdfium/testing/utils/
Dpath_service.cpp27 char path_buffer[MAX_PATH]; in GetExecutableDir()
30 if (GetModuleFileNameA(NULL, path_buffer, MAX_PATH) == 0) in GetExecutableDir()
/external/webrtc/webrtc/base/
Dwin32filesystem.cc200 wchar_t buffer[MAX_PATH + 1]; in GetTemporaryFolder()
223 wchar_t filename[MAX_PATH]; in TempFilename()
298 TCHAR buffer[MAX_PATH + 1]; in IsTemporaryPath()
340 TCHAR buffer[MAX_PATH + 1]; in GetAppPathname()
350 TCHAR buffer[MAX_PATH + 1]; in GetAppDataFolder()
/external/dbus/tools/
Ddbus-launch-win.c87 wchar_t dbusDaemonPath[MAX_PATH * 2 + 1]; in main()
88 wchar_t command[MAX_PATH * 2 + 1]; in main()
/external/ImageMagick/MagickCore/
Dutility-private.h58 if (count > MAX_PATH) in create_wchar_path()
64 shortPath[MAX_PATH], in create_wchar_path()
74 count=GetShortPathNameW(longPath,shortPath,MAX_PATH); in create_wchar_path()

1234