/external/skqp/tools/ |
D | win_dbghelp.cpp | 53 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/ |
D | win_dbghelp.cpp | 53 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/ |
D | missing.c | 34 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/ |
D | FileDir.cpp | 33 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 …]
|
D | FileSystem.cpp | 34 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()
|
D | DLL.cpp | 67 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/ |
D | loclibrary.c | 103 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/ |
D | exception_handler_nesting_test.cc | 146 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/ |
D | ControlPanelExe.cpp | 80 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/ |
D | tmpfile_windows.cc | 38 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/ |
D | CIndexer.cpp | 56 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/ |
D | prot_hsymlinks.c | 53 #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/ |
D | SfxSetup.c | 248 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/ |
D | kill_python.c | 32 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/ |
D | kill_python.c | 32 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/ |
D | VisualPng.c | 75 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/ |
D | DllSecur.c | 39 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/ |
D | platform_support.h | 78 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/ |
D | Process.inc | 122 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 …]
|
D | Program.inc | 47 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/ |
D | launcher.c | 170 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/ |
D | Process.inc | 129 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/ |
D | Process.inc | 141 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/ |
D | clayout.c | 50 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()
|
D | layout.cpp | 49 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()
|