Home
last modified time | relevance | path

Searched refs:arcname (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/
Dzipfile.py491 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 …]
Dzipapp.py140 arcname = child.relative_to(source)
141 if filter is None or filter(arcname):
142 z.write(child, arcname.as_posix())
Dtarfile.py1813 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/
Duntgz.c132 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/
Duntgz.c132 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/
Duntgz.c132 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/
Dzipfile.rst387 .. 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
Dtarfile.rst461 .. 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/
Dtest_zipfile.py1480 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)
Dtest_tarfile.py1299 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/
Dmake_release.py360 archive.add(dstBasePath, arcname=releaseName)
/third_party/cef/tools/
Dmake_distrib.py51 tf.add(input_dir, arcname=os.path.basename(input_dir))