Searched refs:arcname (Results 1 – 6 of 6) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | zipfile.py | 1048 arcname = member.filename.replace('/', os.path.sep) 1051 arcname = arcname.replace(os.path.altsep, os.path.sep) 1054 arcname = os.path.splitdrive(arcname)[1] 1055 arcname = os.path.sep.join(x for x in arcname.split(os.path.sep) 1060 if isinstance(arcname, unicode): 1064 arcname = arcname.translate(table) 1066 arcname = (x.rstrip('.') for x in arcname.split(os.path.sep)) 1067 arcname = os.path.sep.join(x for x in arcname if x) 1069 targetpath = os.path.join(targetpath, arcname) 1116 def write(self, filename, arcname=None, compress_type=None): argument [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/ |
D | FileHook.py | 116 arcname = os.path.normpath(item.path) 117 arcname = arcname[len(self.workspace)+1:].encode('utf_8') 118 if os.sep != "/" and os.sep in arcname: 119 arcname = arcname.replace(os.sep, '/') 120 mtime = self.zip.getinfo(arcname).date_time 121 content = self.zip.read(arcname)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/ |
D | bdist_wininst.py | 182 arcname = self.make_archive(archive_basename, "zip", 185 self.create_exe(arcname, fullname, self.bitmap) 193 log.debug("removing temporary file '%s'", arcname) 194 os.remove(arcname) 250 def create_exe (self, arcname, fullname, bitmap=None): argument 301 file.write(open(arcname, "rb").read())
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | zipfile.py | 1024 def write(self, filename, arcname=None, compress_type=None): argument 1036 if arcname is None: 1037 arcname = filename 1038 arcname = os.path.normpath(os.path.splitdrive(arcname)[1]) 1039 while arcname[0] in (os.sep, os.altsep): 1040 arcname = arcname[1:] 1042 arcname += '/' 1043 zinfo = ZipInfo(arcname, date_time) 1289 fname, arcname = self._get_codename(initname[0:-3], basename) 1291 print "Adding", arcname [all …]
|
D | tarfile.py | 1813 def gettarinfo(self, name=None, arcname=None, fileobj=None): argument 1830 if arcname is None: 1831 arcname = name 1832 drv, arcname = os.path.splitdrive(arcname) 1833 arcname = arcname.replace(os.sep, "/") 1834 arcname = arcname.lstrip("/") 1856 inode in self.inodes and arcname != self.inodes[inode]: 1866 self.inodes[inode] = arcname 1883 tarinfo.name = arcname 1940 def add(self, name, arcname=None, recursive=True, exclude=None, filter=None): argument [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_tarfile.py | 739 tar.add(tempdir, arcname="empty_dir", exclude=exclude) 764 tar.add(tempdir, arcname="empty_dir", filter=filter) 790 tar.add(foo, arcname=path) 859 tar.add(source_file, arcname=os.path.basename(source_file)) 860 tar.add(target_file, arcname=os.path.basename(target_file)) 889 tar.add(target_file, arcname=os.path.basename(target_file)) 919 tar.add(source_file, arcname=os.path.basename(source_file)) 920 tar.add(target_file, arcname=os.path.basename(target_file))
|