Home
last modified time | relevance | path

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

/external/apache-http/src/org/apache/http/impl/cookie/
DBasicPathHandler.java78 String targetpath = origin.getPath(); in match() local
86 boolean match = targetpath.startsWith (topmostPath); in match()
89 if (match && targetpath.length() != topmostPath.length()) { in match()
91 match = (targetpath.charAt(topmostPath.length()) == '/'); in match()
/external/python/cpython2/Lib/
Dtarfile.py2171 def _extract_member(self, tarinfo, targetpath): argument
2178 targetpath = targetpath.rstrip("/")
2179 targetpath = targetpath.replace("/", os.sep)
2182 upperdirs = os.path.dirname(targetpath)
2194 self.makefile(tarinfo, targetpath)
2196 self.makedir(tarinfo, targetpath)
2198 self.makefifo(tarinfo, targetpath)
2200 self.makedev(tarinfo, targetpath)
2202 self.makelink(tarinfo, targetpath)
2204 self.makeunknown(tarinfo, targetpath)
[all …]
Dzipfile.py1042 def _extract_member(self, member, targetpath, pwd): argument
1069 targetpath = os.path.join(targetpath, arcname)
1070 targetpath = os.path.normpath(targetpath)
1073 upperdirs = os.path.dirname(targetpath)
1078 if not os.path.isdir(targetpath):
1079 os.mkdir(targetpath)
1080 return targetpath
1083 file(targetpath, "wb") as target:
1086 return targetpath
/external/python/cpython3/Lib/
Dtarfile.py2126 def _extract_member(self, tarinfo, targetpath, set_attrs=True, argument
2134 targetpath = targetpath.rstrip("/")
2135 targetpath = targetpath.replace("/", os.sep)
2138 upperdirs = os.path.dirname(targetpath)
2150 self.makefile(tarinfo, targetpath)
2152 self.makedir(tarinfo, targetpath)
2154 self.makefifo(tarinfo, targetpath)
2156 self.makedev(tarinfo, targetpath)
2158 self.makelink(tarinfo, targetpath)
2160 self.makeunknown(tarinfo, targetpath)
[all …]
Dzipfile.py1650 def _extract_member(self, member, targetpath, pwd): argument
1673 targetpath = os.path.join(targetpath, arcname)
1674 targetpath = os.path.normpath(targetpath)
1677 upperdirs = os.path.dirname(targetpath)
1682 if not os.path.isdir(targetpath):
1683 os.mkdir(targetpath)
1684 return targetpath
1687 open(targetpath, "wb") as target:
1690 return targetpath
/external/python/cpython2/Lib/test/
Dtest_zipfile.py555 targetpath = os.path.join('target', 'subdir', 'subsub')
556 correctfile = os.path.join(targetpath, *fixedname.split('/'))
559 writtenfile = zipfp.extract(arcname, targetpath)
566 zipfp.extractall(targetpath)
/external/python/cpython3/Lib/test/
Dtest_zipfile.py1488 targetpath = os.path.join('target', 'subdir', 'subsub')
1489 correctfile = os.path.join(targetpath, *fixedname.split('/'))
1492 writtenfile = zipfp.extract(arcname, targetpath)
1500 zipfp.extractall(targetpath)
/external/openssh/
DPROTOCOL356 string targetpath