/third_party/python/Lib/ |
D | zipfile.py | 491 def from_file(cls, filename, arcname=None, *, strict_timestamps=True): argument 511 if arcname is None: 512 arcname = filename 513 arcname = os.path.normpath(os.path.splitdrive(arcname)[1]) 514 while arcname[0] in (os.sep, os.altsep): 515 arcname = arcname[1:] 517 arcname += '/' 518 zinfo = cls(arcname, date_time) 1637 def _sanitize_windows_name(cls, arcname, pathsep): argument 1644 arcname = arcname.translate(table) [all …]
|
D | zipapp.py | 140 arcname = child.relative_to(source) 141 if filter is None or filter(arcname): 142 z.write(child, arcname.as_posix())
|
D | tarfile.py | 1813 def gettarinfo(self, name=None, arcname=None, fileobj=None): argument 1832 if arcname is None: 1833 arcname = name 1834 drv, arcname = os.path.splitdrive(arcname) 1835 arcname = arcname.replace(os.sep, "/") 1836 arcname = arcname.lstrip("/") 1857 inode in self.inodes and arcname != self.inodes[inode]: 1867 self.inodes[inode] = arcname 1884 tarinfo.name = arcname 1944 def add(self, name, arcname=None, recursive=True, *, filter=None): argument [all …]
|
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/contrib/untgz/ |
D | untgz.c | 132 char *TGZfname (const char *arcname) in TGZfname() argument 137 strcpy(buffer,arcname); in TGZfname() 152 void TGZnotfound (const char *arcname) in TGZnotfound() argument 159 arcname, in TGZnotfound()
|
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/contrib/untgz/ |
D | untgz.c | 132 char *TGZfname (const char *arcname) in TGZfname() argument 137 strcpy(buffer,arcname); in TGZfname() 152 void TGZnotfound (const char *arcname) in TGZnotfound() argument 159 arcname, in TGZnotfound()
|
/third_party/zlib/contrib/untgz/ |
D | untgz.c | 132 char *TGZfname (const char *arcname) in TGZfname() argument 137 strcpy(buffer,arcname); in TGZfname() 152 void TGZnotfound (const char *arcname) in TGZnotfound() argument 159 arcname, in TGZnotfound()
|
/third_party/python/Doc/library/ |
D | zipfile.rst | 387 .. method:: ZipFile.write(filename, arcname=None, compress_type=None, \ 391 *arcname* (by default, this will be the same as *filename*, but without a drive 405 If ``arcname`` (or ``filename``, if ``arcname`` is not given) contains a null 641 .. classmethod:: ZipInfo.from_file(filename, arcname=None, *, \ 649 If *arcname* is specified, it is used as the name within the archive. 650 If *arcname* is not specified, the name will be the same as *filename*, but
|
D | tarfile.rst | 461 .. method:: TarFile.add(name, arcname=None, recursive=True, *, filter=None) 464 (directory, fifo, symbolic link, etc.). If given, *arcname* specifies an 489 .. method:: TarFile.gettarinfo(name=None, arcname=None, fileobj=None) 495 given, *arcname* specifies an alternative name for the file in the 505 The :attr:`~TarInfo.name` may also be modified, in which case *arcname*
|
/third_party/python/Lib/test/ |
D | test_zipfile.py | 1480 for arcname, fixedname in hacknames: 1481 content = b'foobar' + arcname.encode() 1485 zinfo.filename = arcname 1489 arcname = arcname.replace(os.sep, "/") 1494 writtenfile = zipfp.extract(arcname, targetpath) 1497 (arcname, writtenfile, correctfile)) 1509 writtenfile = zipfp.extract(arcname) 1511 msg="extract %r" % arcname)
|
D | test_tarfile.py | 1299 tar.add(tempdir, arcname="empty_dir", filter=filter) 1333 tar.add(foo, arcname=path) 1364 tar.add(source_file, arcname="source") 1365 tar.add(target_file, arcname="symlink") 2345 tf.add(tardata, arcname=os.path.basename(tardata))
|
/third_party/vk-gl-cts/scripts/ |
D | make_release.py | 360 archive.add(dstBasePath, arcname=releaseName)
|
/third_party/cef/tools/ |
D | make_distrib.py | 51 tf.add(input_dir, arcname=os.path.basename(input_dir))
|