Searched refs:targetpath (Results 1 – 3 of 3) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | tarfile.py | 2136 def _extract_member(self, tarinfo, targetpath): argument 2143 targetpath = targetpath.rstrip("/") 2144 targetpath = targetpath.replace("/", os.sep) 2147 upperdirs = os.path.dirname(targetpath) 2159 self.makefile(tarinfo, targetpath) 2161 self.makedir(tarinfo, targetpath) 2163 self.makefifo(tarinfo, targetpath) 2165 self.makedev(tarinfo, targetpath) 2167 self.makelink(tarinfo, targetpath) 2169 self.makeunknown(tarinfo, targetpath) [all …]
|
D | zipfile.py | 964 def _extract_member(self, member, targetpath, pwd): argument 971 if (targetpath[-1:] in (os.path.sep, os.path.altsep) 972 and len(os.path.splitdrive(targetpath)[1]) > 1): 973 targetpath = targetpath[:-1] 977 targetpath = os.path.join(targetpath, member.filename[1:]) 979 targetpath = os.path.join(targetpath, member.filename) 981 targetpath = os.path.normpath(targetpath) 984 upperdirs = os.path.dirname(targetpath) 989 if not os.path.isdir(targetpath): 990 os.mkdir(targetpath) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | zipfile.py | 1042 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
|