Home
last modified time | relevance | path

Searched refs:targetpath (Results 1 – 9 of 9) 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.py2090 def _extract_member(self, tarinfo, targetpath, set_attrs=True, argument
2098 targetpath = targetpath.rstrip("/")
2099 targetpath = targetpath.replace("/", os.sep)
2102 upperdirs = os.path.dirname(targetpath)
2114 self.makefile(tarinfo, targetpath)
2116 self.makedir(tarinfo, targetpath)
2118 self.makefifo(tarinfo, targetpath)
2120 self.makedev(tarinfo, targetpath)
2122 self.makelink(tarinfo, targetpath)
2124 self.makeunknown(tarinfo, targetpath)
[all …]
Dzipfile.py1633 def _extract_member(self, member, targetpath, pwd): argument
1656 targetpath = os.path.join(targetpath, arcname)
1657 targetpath = os.path.normpath(targetpath)
1660 upperdirs = os.path.dirname(targetpath)
1665 if not os.path.isdir(targetpath):
1666 os.mkdir(targetpath)
1667 return targetpath
1670 open(targetpath, "wb") as target:
1673 return targetpath
/external/chromium-trace/catapult/third_party/zipfile/
Dzipfile_2_7_13.py1045 def _extract_member(self, member, targetpath, pwd): argument
1072 targetpath = os.path.join(targetpath, arcname)
1073 targetpath = os.path.normpath(targetpath)
1076 upperdirs = os.path.dirname(targetpath)
1081 if not os.path.isdir(targetpath):
1082 os.mkdir(targetpath)
1083 return targetpath
1086 file(targetpath, "wb") as target:
1089 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.py1177 targetpath = os.path.join('target', 'subdir', 'subsub')
1178 correctfile = os.path.join(targetpath, *fixedname.split('/'))
1181 writtenfile = zipfp.extract(arcname, targetpath)
1189 zipfp.extractall(targetpath)
/external/openssh/
DPROTOCOL345 string targetpath