/build/tools/releasetools/ |
test_common.py | 46 def _verify(self, zip_file, zip_file_name, arcname, contents, 59 info = zip_file.getinfo(arcname) 70 self.assertEqual(zip_file.read(arcname), contents) 83 arcname = extra_zipwrite_args.get("arcname", test_file_name) 84 if arcname[0] == "/": 85 arcname = arcname[1:] 103 self._verify(zip_file, zip_file_name, arcname, contents, test_file_name, 124 arcname = zinfo_or_arcnam [all...] |
/external/v8/build/android/gyp/ |
aidl.py | 52 arcname = '%s/%s' % (pkg_name.replace('.', '/'), os.path.basename(path)) 53 srcjar.writestr(arcname, data)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
zipfile.py | [all...] |
tarfile.py | [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
zipfile.py | [all...] |
tarfile.py | [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
zipfile.py | [all...] |
tarfile.py | [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
zipfile.py | [all...] |
tarfile.py | [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/distutils/command/ |
bdist_wininst.py | 186 arcname = self.make_archive(archive_basename, "zip", 189 self.create_exe(arcname, fullname, self.bitmap) 197 log.debug("removing temporary file '%s'", arcname) 198 os.remove(arcname) 254 def create_exe (self, arcname, fullname, bitmap=None): 305 file.write(open(arcname, "rb").read())
|
/prebuilts/gdb/linux-x86/lib/python2.7/distutils/command/ |
bdist_wininst.py | 186 arcname = self.make_archive(archive_basename, "zip", 189 self.create_exe(arcname, fullname, self.bitmap) 197 log.debug("removing temporary file '%s'", arcname) 198 os.remove(arcname) 254 def create_exe (self, arcname, fullname, bitmap=None): 305 file.write(open(arcname, "rb").read())
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
bdist_wininst.py | 186 arcname = self.make_archive(archive_basename, "zip", 189 self.create_exe(arcname, fullname, self.bitmap) 197 log.debug("removing temporary file '%s'", arcname) 198 os.remove(arcname) 254 def create_exe (self, arcname, fullname, bitmap=None): 305 file.write(open(arcname, "rb").read())
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
bdist_wininst.py | 186 arcname = self.make_archive(archive_basename, "zip", 189 self.create_exe(arcname, fullname, self.bitmap) 197 log.debug("removing temporary file '%s'", arcname) 198 os.remove(arcname) 254 def create_exe (self, arcname, fullname, bitmap=None): 305 file.write(open(arcname, "rb").read())
|
/external/autotest/client/profilers/pgo/ |
pgo.py | 44 tar.add(self._source_dir, arcname='chrome', recursive=True)
|
/external/zlib/src/contrib/untgz/ |
untgz.c | 132 char *TGZfname (const char *arcname) 137 strcpy(buffer,arcname); 152 void TGZnotfound (const char *arcname) 159 arcname,
|
/ndk/build/lib/ |
build_support.py | 239 arcname = os.path.join(basename, 'repo.prop') 240 zip_file.write(os.path.join(tmpdir, 'repo.prop'), arcname)
|
/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
trace_data.py | 168 zip_file.write(tmp_file_name, arcname=part.raw_field_name)
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
test_update.py | 105 tar.add(gsutil_src, arcname='./gsutil')
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_zipfile.py | 364 """Check that calling ZipFile.write without arcname specified 494 for arcname, fixedname in hacknames: 495 content = b'foobar' + arcname.encode() 499 zinfo.filename = arcname 503 arcname = arcname.replace(os.sep, "/") 508 writtenfile = zipfp.extract(arcname, targetpath) 510 msg="extract %r" % arcname) 522 writtenfile = zipfp.extract(arcname) 524 msg="extract %r" % arcname) [all...] |
test_tarfile.py | 762 tar.add(tempdir, arcname="empty_dir", exclude=exclude) 787 tar.add(tempdir, arcname="empty_dir", filter=filter) 813 tar.add(foo, arcname=path) 882 tar.add(source_file, arcname=os.path.basename(source_file)) 883 tar.add(target_file, arcname=os.path.basename(target_file)) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_zipfile.py | 364 """Check that calling ZipFile.write without arcname specified 494 for arcname, fixedname in hacknames: 495 content = b'foobar' + arcname.encode() 499 zinfo.filename = arcname 503 arcname = arcname.replace(os.sep, "/") 508 writtenfile = zipfp.extract(arcname, targetpath) 510 msg="extract %r" % arcname) 522 writtenfile = zipfp.extract(arcname) 524 msg="extract %r" % arcname) [all...] |
test_tarfile.py | 762 tar.add(tempdir, arcname="empty_dir", exclude=exclude) 787 tar.add(tempdir, arcname="empty_dir", filter=filter) 813 tar.add(foo, arcname=path) 882 tar.add(source_file, arcname=os.path.basename(source_file)) 883 tar.add(target_file, arcname=os.path.basename(target_file)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_zipfile.py | 364 """Check that calling ZipFile.write without arcname specified 494 for arcname, fixedname in hacknames: 495 content = b'foobar' + arcname.encode() 499 zinfo.filename = arcname 503 arcname = arcname.replace(os.sep, "/") 508 writtenfile = zipfp.extract(arcname, targetpath) 510 msg="extract %r" % arcname) 522 writtenfile = zipfp.extract(arcname) 524 msg="extract %r" % arcname) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_zipfile.py | 364 """Check that calling ZipFile.write without arcname specified 494 for arcname, fixedname in hacknames: 495 content = b'foobar' + arcname.encode() 499 zinfo.filename = arcname 503 arcname = arcname.replace(os.sep, "/") 508 writtenfile = zipfp.extract(arcname, targetpath) 510 msg="extract %r" % arcname) 522 writtenfile = zipfp.extract(arcname) 524 msg="extract %r" % arcname) [all...] |