Home
last modified time | relevance | path

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

/external/lzma/CPP/Common/
DWildcard.cpp79 void SplitPathToParts(const UString &path, UStringVector &pathParts) in SplitPathToParts() argument
81 pathParts.Clear(); in SplitPathToParts()
91 pathParts.Add(name); in SplitPathToParts()
95 pathParts.Add(name); in SplitPathToParts()
182 bool CItem::CheckPath(const UStringVector &pathParts, bool isFile) const in CheckPath() argument
199 int delta = (int)pathParts.Size() - (int)PathParts.Size(); in CheckPath()
232 if (!DoesWildcardMatchName(PathParts[i], pathParts[i + d])) in CheckPath()
237 if (CompareFileNames(PathParts[i], pathParts[i + d]) != 0) in CheckPath()
334 bool CCensorNode::CheckPathCurrent(bool include, const UStringVector &pathParts, bool isFile) const in CheckPathCurrent() argument
338 if (items[i].CheckPath(pathParts, isFile)) in CheckPathCurrent()
[all …]
DWildcard.h15 void SplitPathToParts(const UString &path, UStringVector &pathParts);
30 unsigned GetNumPrefixParts_if_DrivePath(UStringVector &pathParts);
51 bool CheckPath(const UStringVector &pathParts, bool isFile) const;
58 bool CheckPathCurrent(bool include, const UStringVector &pathParts, bool isFile) const;
61 bool CheckPathVect(const UStringVector &pathParts, bool isFile, bool &include) const;
85 bool CheckPathToRoot(bool include, UStringVector &pathParts, bool isFile) const;
/external/lzma/CPP/7zip/UI/Common/
DArchiveExtractCallback.cpp782 UStringVector pathParts; in GetStream() local
783 SplitPathToParts(linkPath, pathParts); in GetStream()
787 if (CompareFileNames(_removePathParts[i], pathParts[i]) != 0) in GetStream()
794 pathParts.DeleteFrontal(_removePathParts.Size()); in GetStream()
795 linkPath = MakePathFromParts(pathParts); in GetStream()
812 UStringVector &pathParts = _item.PathParts; in GetStream() local
823 if (!pathParts.IsEmpty()) in GetStream()
829 numRemovePathParts = pathParts.Size(); in GetStream()
834 numRemovePathParts = pathParts.Size() - 1; in GetStream()
835 pathParts.DeleteFrontal(numRemovePathParts); in GetStream()
[all …]
DEnumDirItems.cpp632 UStringVector pathParts; in EnumerateDirItems() local
633 pathParts.Add(fs2us(fi.Name)); in EnumerateDirItems()
634 if (curNode.CheckPathToRoot(false, pathParts, !isDir)) in EnumerateDirItems()
667 UStringVector pathParts; in EnumerateDirItems() local
668 pathParts.Add(fs2us(fi.Name)); in EnumerateDirItems()
670 fullPath, pathParts, in EnumerateDirItems()
/external/lzma/CPP/7zip/Bundles/SFXSetup/
DExtractCallbackSfx.cpp151 UStringVector pathParts; in GetStream() local
152 SplitPathToParts(fullPath, pathParts); in GetStream()
153 if (pathParts.IsEmpty()) in GetStream()
159 pathParts.DeleteBack(); in GetStream()
160 if (!pathParts.IsEmpty()) in GetStream()
163 CreateComplexDirectory(pathParts); in GetStream()
/external/doclava/res/assets/templates-sdk/assets/design/
Ddefault.js15 var pathParts = pagePath.split('/');
22 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
24 relativePagePathParts.push(pathParts[pathParts.length - 1]);
/external/cldr/tools/java/org/unicode/cldr/api/
DCldrPaths.java282 XPathParts pathParts; in processXPath() local
284 pathParts = XPathParts.getFrozenInstance(fullPath); in processXPath()
288 int length = pathParts.size(); in processXPath()
289 checkArgument(length > 0, "cldr path must not be empty: %s", pathParts); in processXPath()
290 DtdData dtd = pathParts.getDtdData(); in processXPath()
291 checkArgument(dtd != null, "unknown DTD type: %s", pathParts); in processXPath()
305 String elementName = pathParts.getElement(n); in processXPath()
312 Map<String, String> attributes = pathParts.getAttributes(n); in processXPath()
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DUtil.java56 public static File file(String... pathParts) { in file() argument
57 return file(new File("."), pathParts); in file()
60 public static File file(File f, String... pathParts) { in file() argument
61 for (String pathPart : pathParts) { in file()
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/util/
DTestRunnerWithManifest.java20 private static FsFile resourceFile(String... pathParts) { in resourceFile() argument
21 return Fs.newFile(resourcesBaseDirFile()).join(pathParts); in resourceFile()
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/util/
DTestRunnerWithManifest.java20 private static FsFile resourceFile(String... pathParts) { in resourceFile() argument
21 return Fs.newFile(resourcesBaseDirFile()).join(pathParts); in resourceFile()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPaths.java417 XPathParts pathParts = XPathParts.getFrozenInstance(path); in TestNonLdml() local
418 String finalElementString = pathParts.getElement(-1); in TestNonLdml()
423 … if (pathParts.size() > 1 && "identity".equals(pathParts.getElement(1))) { in TestNonLdml()
426 } else if (pathParts.size() > 2 in TestNonLdml()
427 && "validity".equals(pathParts.getElement(2)) in TestNonLdml()
429 String typeValue = pathParts.getAttributeValue(-1, "type"); in TestNonLdml()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/util/
DTestUtil.java37 public static FsFile resourceFile(String... pathParts) { in resourceFile() argument
38 return resourcesBaseDir().join(pathParts); in resourceFile()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckDates.java718 XPathParts pathParts = XPathParts.getFrozenInstance(path); in checkPattern() local
719 String calendar = pathParts.findAttributeValue("calendar", "type"); in checkPattern()
723 id = pathParts.getAttributeValue(-1, "id"); in checkPattern()
726 id = pathParts.getAttributeValue(-2, "id"); in checkPattern()
729 id = pathParts.getAttributeValue(-3, "type"); in checkPattern()
779 String len = pathParts.findAttributeValue("timeFormatLength", "type"); in checkPattern()
784 len = pathParts.findAttributeValue("dateFormatLength", "type"); in checkPattern()
786 len = pathParts.findAttributeValue("dateTimeFormatLength", "type"); in checkPattern()
815 … String greatestDifference = pathParts.findAttributeValue("greatestDifference", "id"); in checkPattern()
1114 XPathParts pathParts = XPathParts.getFrozenInstance(path);
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DFileFsFile.java85 public FsFile join(String... pathParts) { in join() argument
87 for (String pathPart : pathParts) { in join()
DFsFile.java28 FsFile join(String... pathParts); in join() argument
DFs.java225 @Override public FsFile join(String... pathParts) { in join() argument
226 return new JarFsFile(path + "/" + Join.join("/", asList(pathParts))); in join()
/external/lzma/CPP/7zip/UI/Console/
DList.cpp1241 UStringVector pathParts; in ListArchives() local
1282 SplitPathToParts(fp.FilePath, pathParts);; in ListArchives()
1284 if (!wildcardCensor.CheckPathVect(pathParts, !fp.IsDir, include)) in ListArchives()
/external/doclava/res/assets/templates-sdk/assets/js/
Ddocs.js45 var pathParts = pagePath.split('/');
52 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
54 relativePagePathParts.push(pathParts[pathParts.length - 1]);