Home | History | Annotate | Download | only in Windows

Lines Matching full:path

117 bool CFindFile::FindFirst(CFSTR path, CFileInfo &fi)

125 _handle = ::FindFirstFileA(fs2fas(path), &fd);
136 _handle = ::FindFirstFileW(fs2us(path), &fd);
141 if (GetSuperPath(path, longPath, USE_MAIN_PATH))
210 bool CFindStream::FindFirst(CFSTR path, CStreamInfo &si)
222 _handle = g_FindFirstStreamW(fs2us(path), My_FindStreamInfoStandard, &sd, 0);
227 // long name can be tricky for path like ".\dirName".
232 if (GetSuperPath(path, longPath, USE_MAIN_PATH))
294 static int FindAltStreamColon(CFSTR path)
298 FChar c = path[i];
303 if (path[i + 1] == '\\')
304 if (i == 1 || (i > 1 && path[i - 2] == '\\'))
306 wchar_t c0 = path[i - 1];
318 bool CFileInfo::Find(CFSTR path)
321 if (IsDevicePath(path))
324 Name = path + 4;
327 if (/* path[0] == '\\' && path[1] == '\\' && path[2] == '.' && path[3] == '\\' && */
328 path[5] == ':' && path[6] == 0)
330 FChar drive[4] = { path[4], ':', '\\', 0 };
340 // ::OutputDebugStringW(path);
341 if (!inFile.Open(path))
352 int colonPos = FindAltStreamColon(path);
355 UString streamName = fs2us(path + (unsigned)colonPos);
356 FString filePath = path;
391 if (finder.FindFirst(path, *this))
401 unsigned len = MyStringLen(path);
402 if (len > 2 && path[0] == '\\' && path[1] == '\\')
405 if (len > kSuperUncPathPrefixSize && IsSuperUncPath(path))
407 int pos = FindCharPosInString(path + startPos, FTEXT('\\'));
412 int pos2 = FindCharPosInString(path + pos, FTEXT('\\'));
415 FString s = path;
499 HANDLE CFindChangeNotification::FindFirst(CFSTR path, bool watchSubtree, DWORD notifyFilter)
503 _handle = ::FindFirstChangeNotification(fs2fas(path), BoolToBOOL(watchSubtree), notifyFilter);
508 _handle = ::FindFirstChangeNotificationW(fs2us(path), BoolToBOOL(watchSubtree), notifyFilter);
513 if (GetSuperPath(path, longPath, USE_MAIN_PATH))