Home
last modified time | relevance | path

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

1234567

/external/skqp/tools/
Dwin_dbghelp.cpp53 char debug_app_name[MAX_PATH] = "";
62 char debug_binaries_path[MAX_PATH] = "";
81 char debug_cdb_path[MAX_PATH] = "";
129 char szPath[MAX_PATH]; in GenerateDumpAndPrintCallstack()
130 char szFileName[MAX_PATH]; in GenerateDumpAndPrintCallstack()
131 char szFileNameOutput[MAX_PATH]; in GenerateDumpAndPrintCallstack()
134 DWORD dwBufferSize = MAX_PATH; in GenerateDumpAndPrintCallstack()
175 char command[MAX_PATH * 4]; in GenerateDumpAndPrintCallstack()
222 char app_name[MAX_PATH]; in setUpDebuggingFromArgs()
227 char binaries_path[MAX_PATH]; in setUpDebuggingFromArgs()
[all …]
/external/skia/tools/
Dwin_dbghelp.cpp53 char debug_app_name[MAX_PATH] = "";
62 char debug_binaries_path[MAX_PATH] = "";
81 char debug_cdb_path[MAX_PATH] = "";
129 char szPath[MAX_PATH]; in GenerateDumpAndPrintCallstack()
130 char szFileName[MAX_PATH]; in GenerateDumpAndPrintCallstack()
131 char szFileNameOutput[MAX_PATH]; in GenerateDumpAndPrintCallstack()
134 DWORD dwBufferSize = MAX_PATH; in GenerateDumpAndPrintCallstack()
175 char command[MAX_PATH * 4]; in GenerateDumpAndPrintCallstack()
222 char app_name[MAX_PATH]; in setUpDebuggingFromArgs()
227 char binaries_path[MAX_PATH]; in setUpDebuggingFromArgs()
[all …]
/external/libusb/msvc/
Dmissing.c34 static char value[MAX_PATH]; in getenv()
35 TCHAR wValue[MAX_PATH]; in getenv()
36 WCHAR wName[MAX_PATH]; in getenv()
44 if (MultiByteToWideChar(CP_UTF8, 0, name, -1, wName, MAX_PATH) <= 0) { in getenv()
48 wName[MAX_PATH - 1] = 0; // Be sure it's NUL terminated in getenv()
73 value, MAX_PATH, in getenv()
78 value[MAX_PATH - 1] = 0; // Be sure it's NUL terminated in getenv()
/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()
/external/mdnsresponder/mDNSWindows/
Dloclibrary.c103 static char appPathNameA[MAX_PATH] = "";
111 char folder[MAX_PATH]; in PathForResourceA()
115 GetModuleFileNameA( module, folder, MAX_PATH ); in PathForResourceA()
130 snprintf( appPathNameA, MAX_PATH, "%s\\%s", folder, app ); in PathForResourceA()
140 static wchar_t appPathNameW[MAX_PATH] = L"";
148 wchar_t folder[MAX_PATH]; in PathForResourceW()
152 GetModuleFileNameW( module, folder, MAX_PATH); in PathForResourceW()
167 swprintf( appPathNameW, MAX_PATH, L"%ls\\%ls", folder, app ); in PathForResourceW()
180 #define TMP_BUF_SIZE MAX_PATH
188 snprintf(tmpBuffer, MAX_PATH, "%s.Resources\\%s", path, nm); in PathForResourceWithPathA()
/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()
/external/mdnsresponder/mDNSWindows/ControlPanel/
DControlPanelExe.cpp80 TCHAR szName[MAX_PATH]; in MyRegDeleteKey()
109 dwSize = MAX_PATH; in MyRegDeleteKey()
123 dwSize = MAX_PATH; in MyRegDeleteKey()
187 TCHAR keyName[ MAX_PATH ]; in Register()
233 TCHAR keyName[ MAX_PATH * 2 ]; in Unregister()
252 wchar_t resource[MAX_PATH]; in InitInstance()
271 res = PathForResource( NULL, L"ControlPanelResources.dll", resource, MAX_PATH ); in InitInstance()
279 res = PathForResource( NULL, L"ControlPanelLocalized.dll", resource, MAX_PATH ); in InitInstance()
305 TCHAR iconPath[ MAX_PATH + 12 ] = TEXT( "" ); in InitInstance()
306 TCHAR exePath[ MAX_PATH ] = TEXT( "" ); in InitInstance()
/external/grpc-grpc/src/core/lib/gpr/
Dtmpfile_windows.cc38 TCHAR tmp_path[MAX_PATH]; in gpr_tmpfile()
39 TCHAR tmp_filename[MAX_PATH]; in gpr_tmpfile()
50 status = GetTempPath(MAX_PATH, tmp_path); in gpr_tmpfile()
51 if (status == 0 || status > MAX_PATH) goto end; in gpr_tmpfile()
/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/ltp/testcases/kernel/security/prot_hsymlinks/
Dprot_hsymlinks.c53 #define MAX_PATH 128 macro
73 char path[MAX_PATH];
89 char path[MAX_PATH];
102 char path[MAX_PATH];
338 snprintf(bdir->path, MAX_PATH, "%s/tmp_%s", in create_sub_dir()
381 char path[MAX_PATH]; in init_files_dirs()
384 snprintf(path, MAX_PATH, "%s/%s%s", in init_files_dirs()
395 snprintf(path, MAX_PATH, "%s/%s", bdirs[dir].path, in init_files_dirs()
400 snprintf(path + strlen(path), MAX_PATH - strlen(path), in init_files_dirs()
447 create_link_path(slink_info.path, MAX_PATH, in create_check_slinks()
[all …]
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c248 WCHAR sfxPath[MAX_PATH + 2]; in main()
249 WCHAR path[MAX_PATH * 3 + 2]; in main()
251 WCHAR workCurDir[MAX_PATH + 32]; in main()
283 winRes = GetModuleFileNameW(NULL, sfxPath, MAX_PATH); in main()
284 if (winRes == 0 || winRes > MAX_PATH) in main()
306 winRes = GetTempPathW(MAX_PATH, path); in main()
307 if (winRes == 0 || winRes > MAX_PATH) in main()
415 if (SzArEx_GetFileNameUtf16(&db, i, NULL) >= MAX_PATH) in main()
550 WCHAR oldCurDir[MAX_PATH + 2]; in main()
553 DWORD needLen = GetCurrentDirectory(MAX_PATH + 1, oldCurDir); in main()
[all …]
/external/python/cpython2/PC/VS9.0/
Dkill_python.c32 wchar_t path[MAX_PATH+1]; in main()
40 memset(path, 0, MAX_PATH+1); in main()
64 len = wcsnlen_s(me.szExePath, MAX_PATH) - KILL_PYTHON_EXE_LEN; in main()
65 wcsncpy_s(path, MAX_PATH+1, me.szExePath, len); in main()
/external/python/cpython2/PC/VS8.0/
Dkill_python.c32 wchar_t path[MAX_PATH+1]; in main()
40 memset(path, 0, MAX_PATH+1); in main()
64 len = wcsnlen_s(me.szExePath, MAX_PATH) - KILL_PYTHON_EXE_LEN; in main()
65 wcsncpy_s(path, MAX_PATH+1, me.szExePath, len); in main()
/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/lzma/C/
DDllSecur.c39 wchar_t buf[MAX_PATH + 100]; in LoadSecurityDlls()
56 unsigned len = GetSystemDirectoryW(buf, MAX_PATH + 2); in LoadSecurityDlls()
57 if (len == 0 || len > MAX_PATH) in LoadSecurityDlls()
/external/libcxx/test/support/
Dplatform_support.h78 char Path[MAX_PATH + 1]; in get_temp_file_name()
79 char FN[MAX_PATH + 1]; in get_temp_file_name()
80 do { } while (0 == GetTempPath(MAX_PATH+1, Path)); in get_temp_file_name()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DProcess.inc122 SmallVector<wchar_t, MAX_PATH> Buf;
123 size_t Size = MAX_PATH;
137 SmallVector<char, MAX_PATH> Res;
155 SmallVector<char, MAX_PATH> ArgString;
178 SmallVector<char, MAX_PATH> Dir;
196 SmallVector<char, MAX_PATH> FileName;
215 wchar_t ModuleName[MAX_PATH];
216 size_t Length = ::GetModuleFileNameW(NULL, ModuleName, MAX_PATH);
217 if (Length == 0 || Length == MAX_PATH) {
224 Length = GetLongPathNameW(ModuleName, ModuleName, MAX_PATH);
[all …]
DProgram.inc47 PathStorage.reserve(Paths.size() * MAX_PATH);
52 SmallVector<wchar_t, MAX_PATH> TmpPath;
60 SmallVector<wchar_t, MAX_PATH> U16Name;
70 SmallVector<wchar_t, MAX_PATH> U16Result;
71 DWORD Len = MAX_PATH;
73 SmallVector<wchar_t, MAX_PATH> U16Ext;
82 SmallVector<wchar_t, MAX_PATH> U16NameExt;
100 SmallVector<char, MAX_PATH> U8Result;
183 SmallVector<wchar_t, MAX_PATH> EnvString;
247 SmallVector<wchar_t, MAX_PATH> ProgramUtf16;
[all …]
/external/python/cpython3/PC/
Dlauncher.c170 wchar_t executable[MAX_PATH];
281 MAX_PATH - data_size, in locate_pythons_for_key()
282 MAX_PATH - data_size, in locate_pythons_for_key()
422 static wchar_t venv_python[MAX_PATH]; in find_python_by_venv()
433 _snwprintf_s(venv_python, MAX_PATH, _TRUNCATE, in find_python_by_venv()
444 static wchar_t appdata_ini_path[MAX_PATH];
445 static wchar_t launcher_ini_path[MAX_PATH];
562 static wchar_t wrapped_script_path[MAX_PATH];
577 plen = GetModuleFileNameW(NULL, wrapped_script_path, MAX_PATH); in locate_wrapped_script()
585 wcsncpy_s(p, MAX_PATH - (p - wrapped_script_path) + 1, SCRIPT_SUFFIX, _TRUNCATE); in locate_wrapped_script()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DProcess.inc129 SmallVector<wchar_t, MAX_PATH> Buf;
130 size_t Size = MAX_PATH;
143 SmallVector<char, MAX_PATH> Res;
162 SmallVector<char, MAX_PATH> ArgString;
185 SmallVector<char, MAX_PATH> Dir;
203 SmallVector<char, MAX_PATH> FileName;
222 SmallVector<wchar_t, MAX_PATH> LongPath;
227 // We're not going to try to deal with paths longer than MAX_PATH, so we'll
251 wchar_t ModuleName[MAX_PATH];
252 int Length = ::GetModuleFileNameW(NULL, ModuleName, MAX_PATH);
[all …]
/external/llvm/lib/Support/Windows/
DProcess.inc141 SmallVector<wchar_t, MAX_PATH> Buf;
142 size_t Size = MAX_PATH;
155 SmallVector<char, MAX_PATH> Res;
174 SmallVector<char, MAX_PATH> ArgString;
197 SmallVector<char, MAX_PATH> Dir;
215 SmallVector<char, MAX_PATH> FileName;
234 SmallVector<wchar_t, MAX_PATH> LongPath;
239 // We're not going to try to deal with paths longer than MAX_PATH, so we'll
263 wchar_t ModuleName[MAX_PATH];
264 int Length = ::GetModuleFileNameW(NULL, ModuleName, MAX_PATH);
[all …]
/external/icu/icu4c/source/samples/layout/
Dclayout.c50 char title[MAX_PATH + 64]; in PrettyTitle()
272 char szFileName[MAX_PATH], szTitleName[MAX_PATH]; in WndProc()
284 ofn.nMaxFile = MAX_PATH; in WndProc()
286 ofn.nMaxFileTitle = MAX_PATH; in WndProc()
Dlayout.cpp49 char title[MAX_PATH + 64]; in PrettyTitle()
270 char szFileName[MAX_PATH], szTitleName[MAX_PATH]; in WndProc()
282 ofn.nMaxFile = MAX_PATH; in WndProc()
284 ofn.nMaxFileTitle = MAX_PATH; in WndProc()

1234567