Lines Matching refs:MAX_PATH
52 wchar_t device_name[MAX_PATH];
61 if (QueryDosDevice(drive, device_name, MAX_PATH) &&
82 wchar_t file_path_buf[MAX_PATH];
83 if (!_wfullpath(file_path_buf, path->value().c_str(), MAX_PATH))
122 if (path.value().length() >= MAX_PATH)
142 wchar_t double_terminated_path[MAX_PATH + 1] = {0};
170 if (path.value().length() >= MAX_PATH)
183 if (from_path.value().length() >= MAX_PATH ||
184 to_path.value().length() >= MAX_PATH) {
238 if (from_path.value().length() >= MAX_PATH ||
239 to_path.value().length() >= MAX_PATH) {
252 if (from_path.value().length() >= MAX_PATH ||
253 to_path.value().length() >= MAX_PATH) {
260 wchar_t double_terminated_path_from[MAX_PATH + 1] = {0};
261 wchar_t double_terminated_path_to[MAX_PATH + 1] = {0};
387 WCHAR temp_path[MAX_PATH];
394 result = i_shell_link->GetPath(temp_path, MAX_PATH,
412 // Length of arguments and description must be less than MAX_PATH.
413 DCHECK(lstrlen(arguments) < MAX_PATH);
414 DCHECK(lstrlen(description) < MAX_PATH);
464 // Length of arguments and description must be less than MAX_PATH.
465 MAX_PATH);
466 DCHECK(lstrlen(description) < MAX_PATH);
546 wchar_t temp_path[MAX_PATH + 1];
547 DWORD path_len = ::GetTempPath(MAX_PATH, temp_path);
548 if (path_len >= MAX_PATH || path_len <= 0)
601 wchar_t temp_name[MAX_PATH + 1];
608 DWORD path_len = GetLongPathName(temp_name, temp_name, MAX_PATH);
609 if (path_len > MAX_PATH + 1 || path_len == 0) {
818 wchar_t system_buffer[MAX_PATH];
820 DWORD len = ::GetCurrentDirectory(MAX_PATH, system_buffer);
821 if (len == 0 || len > MAX_PATH)
1088 // GetMappedFileName() will fail if the result is longer than MAX_PATH.
1090 // than MAX_PATH, it would be nessisary to test that GetMappedFileName()
1093 const int kMaxPathLength = MAX_PATH + 10;