Home
last modified time | relevance | path

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

12345

/external/linux-tools-perf/util/
Dcgroup.c15 char mountpoint[MAX_PATH+1], tokens[MAX_PATH+1], type[MAX_PATH+1]; in cgroupfs_find_mountpoint()
28 while (fscanf(fp, "%*s %"STR(MAX_PATH)"s %"STR(MAX_PATH)"s %" in cgroupfs_find_mountpoint()
29 STR(MAX_PATH)"s %*d %*d\n", in cgroupfs_find_mountpoint()
60 char path[MAX_PATH+1]; in open_cgroup()
61 char mnt[MAX_PATH+1]; in open_cgroup()
65 if (cgroupfs_find_mountpoint(mnt, MAX_PATH+1)) in open_cgroup()
68 snprintf(path, MAX_PATH, "%s/%s", mnt, name); in open_cgroup()
Ddebugfs.c6 static char debugfs_mountpoint[MAX_PATH+1];
68 STR(MAX_PATH) in debugfs_find_mountpoint()
171 char path[MAX_PATH+1]; in debugfs_write()
216 char path[MAX_PATH+1]; in debugfs_read()
Ddebugfs.h6 #ifndef MAX_PATH
7 # define MAX_PATH 256 macro
/external/chromium/base/
Dfile_util_win.cc52 wchar_t device_name[MAX_PATH]; in DevicePathToDriveLetterPath()
61 if (QueryDosDevice(drive, device_name, MAX_PATH) && in DevicePathToDriveLetterPath()
82 wchar_t file_path_buf[MAX_PATH]; in AbsolutePath()
83 if (!_wfullpath(file_path_buf, path->value().c_str(), MAX_PATH)) in AbsolutePath()
122 if (path.value().length() >= MAX_PATH) in Delete()
142 wchar_t double_terminated_path[MAX_PATH + 1] = {0}; in Delete()
170 if (path.value().length() >= MAX_PATH) in DeleteAfterReboot()
183 if (from_path.value().length() >= MAX_PATH || in Move()
184 to_path.value().length() >= MAX_PATH) { in Move()
238 if (from_path.value().length() >= MAX_PATH || in CopyFile()
[all …]
Dbase_paths_win.cc27 wchar_t system_buffer[MAX_PATH]; in PathProviderWin()
33 GetModuleFileName(NULL, system_buffer, MAX_PATH); in PathProviderWin()
40 GetModuleFileName(this_module, system_buffer, MAX_PATH); in PathProviderWin()
45 GetWindowsDirectory(system_buffer, MAX_PATH); in PathProviderWin()
49 GetSystemDirectory(system_buffer, MAX_PATH); in PathProviderWin()
Dfile_version_info_win.cc160 wchar_t sub_block[MAX_PATH]; in GetValue()
163 _snwprintf_s(sub_block, MAX_PATH, MAX_PATH, in GetValue()
/external/webkit/Source/WebCore/platform/chromium/
DClipboardChromiumWin.cpp47 if (result.length() + dataObject->fileExtension().length() + 1 >= MAX_PATH) { in validateFileName()
48 if (dataObject->fileExtension().length() + 1 >= MAX_PATH) in validateFileName()
50 if (result.length() + dataObject->fileExtension().length() + 1 >= MAX_PATH) in validateFileName()
51 result = result.substring(0, MAX_PATH - dataObject->fileExtension().length() - 1); in validateFileName()
/external/qemu/android/utils/
Dpath.h42 # undef MAX_PATH
43 # define MAX_PATH 1024 macro
45 # define PATH_MAX MAX_PATH
48 # define MAX_PATH PATH_MAX macro
Dbufprint.c137 char appDir[MAX_PATH]; in bufprint_app_dir()
175 char path[MAX_PATH]; in bufprint_config_path()
205 char path[MAX_PATH]; in bufprint_temp_dir()
218 char path[MAX_PATH]; in bufprint_temp_dir()
/external/webkit/Source/WebKit2/UIProcess/Plugins/win/
DPluginInfoStoreWin.cpp84 WCHAR moduleFileNameStr[MAX_PATH]; in safariPluginsDirectory()
126 WCHAR pluginsDirectoryStr[MAX_PATH]; in addMozillaPluginDirectories()
145 WCHAR pluginDirectoryStr[MAX_PATH + 1]; in addWindowsMediaPlayerPluginDirectory()
152 WCHAR installationDirectoryStr[MAX_PATH]; in addWindowsMediaPlayerPluginDirectory()
164 WCHAR installationDirectoryStr[MAX_PATH]; in addQuickTimePluginDirectory()
205 WCHAR acrobatInstallPathStr[MAX_PATH]; in addAdobeAcrobatPluginDirectory()
223 WCHAR systemDirectoryStr[MAX_PATH]; in addMacromediaPluginDirectories()
228 WCHAR macromediaDirectoryStr[MAX_PATH]; in addMacromediaPluginDirectories()
294 wchar_t path[MAX_PATH]; in addPluginPathsFromRegistry()
/external/bluetooth/glib/gio/
Dgwin32volumemonitor.c173 wchar_t wc_name[MAX_PATH+1]; in get_connected_drives()
179 find_handle = FindFirstVolumeW (wc_name, MAX_PATH); in get_connected_drives()
198 wchar_t wc_dev_name[MAX_PATH+1]; in get_connected_drives()
203 if (QueryDosDeviceW (&wc_name[4], wc_dev_name, MAX_PATH)) in get_connected_drives()
210 found = FindNextVolumeW (find_handle, wc_name, MAX_PATH); in get_connected_drives()
/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/chromium/chrome/browser/
Dshell_integration_win.cc205 if (FAILED(shell_link->GetPath(WriteInto(&source, MAX_PATH), in GetExpectedAppId()
206 MAX_PATH, in GetExpectedAppId()
213 if (FAILED(shell_link->GetArguments(WriteInto(&arguments, MAX_PATH), in GetExpectedAppId()
214 MAX_PATH))) in GetExpectedAppId()
339 WriteInto(&short_app_path, MAX_PATH), in IsDefaultBrowser()
340 MAX_PATH); in IsDefaultBrowser()
357 WriteInto(&short_path, MAX_PATH), MAX_PATH); in IsDefaultBrowser()
/external/libpng/contrib/visupng/
DVisualPng.c73 static char szCmdFileName [MAX_PATH];
166 static TCHAR szImgPathName [MAX_PATH]; in WndProc()
167 static TCHAR szTitleName [MAX_PATH]; in WndProc()
514 static TCHAR szImgPathName [MAX_PATH]; in BuildPngList()
515 static TCHAR szImgFileName [MAX_PATH]; in BuildPngList()
516 static TCHAR szImgFindName [MAX_PATH]; in BuildPngList()
521 static TCHAR szTmp [MAX_PATH]; in BuildPngList()
559 *ppFileList = (TCHAR *) malloc (*pFileCount * MAX_PATH); in BuildPngList()
576 ii += MAX_PATH; in BuildPngList()
587 ii = i * MAX_PATH; in BuildPngList()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/main/win32/
DSDL_win32_main.c43 static wchar_t stdoutPath[MAX_PATH];
44 static wchar_t stderrPath[MAX_PATH];
46 static char stdoutPath[MAX_PATH];
47 static char stderrPath[MAX_PATH];
247 wchar_t path[MAX_PATH]; in WinMain()
249 char path[MAX_PATH]; in WinMain()
/external/webkit/Source/WebCore/platform/win/
DFileSystemWin.cpp91 Vector<UChar> buffer(MAX_PATH); in pathByAppendingComponent()
166 Vector<UChar> buffer(MAX_PATH); in storageDirectory()
198 char tempPath[MAX_PATH]; in openTemporaryFile()
207 char proposedPath[MAX_PATH]; in openTemporaryFile()
301 WCHAR tempDirPath[MAX_PATH]; in safeCreateFile()
305 WCHAR tempPath[MAX_PATH]; in safeCreateFile()
DClipboardWin.cpp124 static const size_t fsPathMaxLengthExcludingNullTerminator = MAX_PATH - 1; in filesystemPathFromUrlOrTitle()
126 WCHAR fsPathBuffer[MAX_PATH]; in filesystemPathFromUrlOrTitle()
191 WCHAR filePath[MAX_PATH]; in createGlobalHDropContent()
199 if (wcslen(localPathStr) + 1 < MAX_PATH) in createGlobalHDropContent()
200 wcscpy_s(filePath, MAX_PATH, localPathStr); in createGlobalHDropContent()
208 WCHAR tempPath[MAX_PATH]; in createGlobalHDropContent()
209 WCHAR extension[MAX_PATH]; in createGlobalHDropContent()
216 if (wcscpy_s(extension, MAX_PATH, foundExtension)) in createGlobalHDropContent()
222 if (swprintf_s(filePath, MAX_PATH, TEXT("%s-%d%s"), tempPath, i, extension) == -1) in createGlobalHDropContent()
574 WCHAR filename[MAX_PATH]; in files()
/external/chromium/googleurl/base/
Dlogging.cc53 TCHAR log_file_name[MAX_PATH] = { 0 };
88 GetModuleFileName(NULL, log_file_name, MAX_PATH); in InitializeLogFileHandle()
139 _tcscpy_s(log_file_name, MAX_PATH, new_log_file); in InitLogging()
195 wchar_t prog_name[MAX_PATH]; in DisplayDebugMessage()
196 GetModuleFileNameW(NULL, prog_name, MAX_PATH); in DisplayDebugMessage()
200 wcscat_s(prog_name, MAX_PATH, L"debug_message.exe"); in DisplayDebugMessage()
/external/webkit/Source/WebKit/win/
DWebLocalizableStrings.cpp113 WCHAR pathStr[MAX_PATH]; in createWebKitBundle()
114 DWORD length = ::GetModuleFileNameW(gInstance, pathStr, MAX_PATH); in createWebKitBundle()
115 if (!length || (length == MAX_PATH && GetLastError() == ERROR_INSUFFICIENT_BUFFER)) in createWebKitBundle()
133 if (wcscat_s(pathStr, MAX_PATH, L"\\WebKit.resources")) in createWebKitBundle()
/external/chromium/base/win/
Dregistry.h134 wchar_t name_[MAX_PATH];
135 wchar_t value_[MAX_PATH];
170 wchar_t name_[MAX_PATH];
/external/icu4c/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/webkit/Source/JavaScriptCore/os-win32/
DWinMain.cpp47 TCHAR buffer[MAX_PATH]; in WinMain()
49 int length = GetModuleFileNameW(0, buffer, MAX_PATH); in WinMain()
/external/chromium/chrome/common/
Dchrome_paths_win.cc46 wchar_t path_buf[MAX_PATH]; in GetUserDocumentsDirectory()
88 wchar_t system_buffer[MAX_PATH]; in GetUserDesktop()
/external/chromium/chrome/browser/importer/
Dfirefox_importer_utils_win.cc46 wchar_t buffer[MAX_PATH]; in GetFirefoxInstallPathFromRegistry()
69 wchar_t buffer[MAX_PATH] = {0}; in GetProfilesINI()

12345