Home
last modified time | relevance | path

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

/external/lzma/CPP/Common/
DWildcard.cpp91 void SplitPathToParts(const UString &path, UStringVector &pathParts) in SplitPathToParts() argument
93 pathParts.Clear(); in SplitPathToParts()
103 pathParts.Add(name); in SplitPathToParts()
107 pathParts.Add(name); in SplitPathToParts()
211 bool CItem::CheckPath(const UStringVector &pathParts, bool isFile) const in CheckPath() argument
215 int delta = (int)pathParts.Size() - (int)PathParts.Size(); in CheckPath()
248 if (!DoesWildcardMatchName(PathParts[i], pathParts[i + d])) in CheckPath()
253 if (CompareFileNames(PathParts[i], pathParts[i + d]) != 0) in CheckPath()
349 bool CCensorNode::CheckPathCurrent(bool include, const UStringVector &pathParts, bool isFile) const in CheckPathCurrent() argument
353 if (items[i].CheckPath(pathParts, isFile)) in CheckPathCurrent()
[all …]
DWildcard.h24 void SplitPathToParts(const UString &path, UStringVector &pathParts);
60 bool CheckPath(const UStringVector &pathParts, bool isFile) const;
67 bool CheckPathCurrent(bool include, const UStringVector &pathParts, bool isFile) const;
69 bool CheckPathVect(const UStringVector &pathParts, bool isFile, bool &include) const;
93 bool CheckPathToRoot(bool include, UStringVector &pathParts, bool isFile) const;
/external/robolectric/v1/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.cpp556 UStringVector pathParts; in GetStream() local
557 SplitPathToParts(linkPath, pathParts); in GetStream()
561 if (CompareFileNames(_removePathParts[i], pathParts[i]) != 0) in GetStream()
568 pathParts.DeleteFrontal(_removePathParts.Size()); in GetStream()
569 linkPath = MakePathNameFromParts(pathParts); in GetStream()
590 UStringVector pathParts; in GetStream() local
598 RINOK(_arc->GetItemPathToParent(index, baseParent, pathParts)); in GetStream()
599 if (_pathMode == NExtract::NPathMode::kNoPaths && !pathParts.IsEmpty()) in GetStream()
600 pathParts.DeleteFrontal(pathParts.Size() - 1); in GetStream()
604 SplitPathToParts(fullPath, pathParts); in GetStream()
[all …]
DExtractingFilePath.cpp106 void MakeCorrectPath(bool isPathFromRoot, UStringVector &pathParts, bool replaceAltStreamColon) in MakeCorrectPath() argument
108 for (unsigned i = 0; i < pathParts.Size();) in MakeCorrectPath()
110 UString &s = pathParts[i]; in MakeCorrectPath()
112 bool needReplaceColon = (replaceAltStreamColon || i != pathParts.Size() - 1); in MakeCorrectPath()
125 pathParts.Delete(i); in MakeCorrectPath()
DEnumDirItems.cpp494 UStringVector pathParts; in EnumerateDirItems() local
495 pathParts.Add(fs2us(fi.Name)); in EnumerateDirItems()
496 if (curNode.CheckPathToRoot(false, pathParts, !isDir)) in EnumerateDirItems()
522 UStringVector pathParts; in EnumerateDirItems() local
523 pathParts.Add(fs2us(fi.Name)); in EnumerateDirItems()
525 pathParts, dirItems); in EnumerateDirItems()
DExtractingFilePath.h14 void MakeCorrectPath(bool isPathFromRoot, UStringVector &pathParts, bool replaceAltStreamColon);
/external/lzma/CPP/7zip/Bundles/SFXSetup/
DExtractCallbackSfx.cpp143 UStringVector pathParts; in GetStream() local
144 SplitPathToParts(fullPath, pathParts); in GetStream()
145 if (pathParts.IsEmpty()) in GetStream()
151 pathParts.DeleteBack(); in GetStream()
152 if (!pathParts.IsEmpty()) in GetStream()
155 CreateComplexDirectory(pathParts); in GetStream()