Searched refs:zippath (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Lib/ |
D | zipfile.py | 1520 def addToZip(zf, path, zippath): argument 1522 zf.write(path, zippath, ZIP_DEFLATED) 1524 if zippath: 1525 zf.write(path, zippath) 1528 os.path.join(path, nm), os.path.join(zippath, nm)) 1533 zippath = os.path.basename(path) 1534 if not zippath: 1535 zippath = os.path.basename(os.path.dirname(path)) 1536 if zippath in ('', os.curdir, os.pardir): 1537 zippath = '' [all …]
|
/external/chromium-trace/catapult/third_party/zipfile/ |
D | zipfile_2_7_13.py | 1522 def addToZip(zf, path, zippath): argument 1524 zf.write(path, zippath, ZIP_DEFLATED) 1526 if zippath: 1527 zf.write(path, zippath) 1530 os.path.join(path, nm), os.path.join(zippath, nm)) 1535 zippath = os.path.basename(path) 1536 if not zippath: 1537 zippath = os.path.basename(os.path.dirname(path)) 1538 if zippath in ('', os.curdir, os.pardir): 1539 zippath = '' [all …]
|
/external/python/cpython3/Lib/ |
D | zipfile.py | 2136 def addToZip(zf, path, zippath): argument 2138 zf.write(path, zippath, ZIP_DEFLATED) 2140 if zippath: 2141 zf.write(path, zippath) 2144 os.path.join(path, nm), os.path.join(zippath, nm)) 2149 zippath = os.path.basename(path) 2150 if not zippath: 2151 zippath = os.path.basename(os.path.dirname(path)) 2152 if zippath in ('', os.curdir, os.pardir): 2153 zippath = '' [all …]
|