Home
last modified time | relevance | path

Searched refs:pathParts (Results 1 – 7 of 7) sorted by relevance

/external/lzma/CPP/Common/
DWildcard.cpp87 void SplitPathToParts(const UString &path, UStringVector &pathParts) in SplitPathToParts() argument
89 pathParts.Clear(); in SplitPathToParts()
99 pathParts.Add(name); in SplitPathToParts()
105 pathParts.Add(name); in SplitPathToParts()
170 bool CItem::CheckPath(const UStringVector &pathParts, bool isFile) const in CheckPath() argument
174 int delta = (int)pathParts.Size() - (int)PathParts.Size(); in CheckPath()
198 if (!CompareWildCardWithName(PathParts[i], pathParts[i + d])) in CheckPath()
273 bool CCensorNode::CheckPathCurrent(bool include, const UStringVector &pathParts, bool isFile) const in CheckPathCurrent() argument
277 if (items[i].CheckPath(pathParts, isFile)) in CheckPathCurrent()
282 bool CCensorNode::CheckPath(UStringVector &pathParts, bool isFile, bool &include) const in CheckPath() argument
[all …]
DWildcard.h10 void SplitPathToParts(const UString &path, UStringVector &pathParts);
25 bool CheckPath(const UStringVector &pathParts, bool isFile) const;
31 bool CheckPathCurrent(bool include, const UStringVector &pathParts, bool isFile) const;
33 bool CheckPath(UStringVector &pathParts, bool isFile, bool &include) const;
54 bool CheckPathToRoot(bool include, UStringVector &pathParts, bool isFile) const;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
DTestUtil.java35 public static File file(String... pathParts) { in file() argument
36 return file(new File("."), pathParts); in file()
39 public static File file(File f, String... pathParts) { in file() argument
40 for (String pathPart : pathParts) { in file()
72 public static File resourceFile(String... pathParts) { in resourceFile() argument
73 return file(resourcesBaseDir(), pathParts); in resourceFile()
/external/lzma/CPP/7zip/UI/Common/
DArchiveExtractCallback.cpp220 UStringVector pathParts; in GetStream() local
221 SplitPathToParts(fullPath, pathParts); in GetStream()
223 if (pathParts.IsEmpty()) in GetStream()
233 if (pathParts.Size() <= numRemovePathParts) in GetStream()
236 if (_removePathParts[i].CompareNoCase(pathParts[i]) != 0) in GetStream()
242 numRemovePathParts = pathParts.Size() - 1; in GetStream()
246 pathParts.Delete(0, numRemovePathParts); in GetStream()
247 MakeCorrectPath(pathParts); in GetStream()
248 UString processedPath = MakePathNameFromParts(pathParts); in GetStream()
253 if (!pathParts.IsEmpty()) in GetStream()
[all …]
DExtractingFilePath.cpp86 void MakeCorrectPath(UStringVector &pathParts) in MakeCorrectPath() argument
88 for (int i = 0; i < pathParts.Size();) in MakeCorrectPath()
90 UString &s = pathParts[i]; in MakeCorrectPath()
93 pathParts.Delete(i); in MakeCorrectPath()
DExtractingFilePath.h9 void MakeCorrectPath(UStringVector &pathParts);
DEnumDirItems.cpp229 UStringVector pathParts; in EnumerateDirItems() local
230 pathParts.Add(fi.Name); in EnumerateDirItems()
231 if (curNode.CheckPathToRoot(false, pathParts, !isDir)) in EnumerateDirItems()