Home
last modified time | relevance | path

Searched refs:zip_info (Results 1 – 11 of 11) sorted by relevance

/external/python/setuptools/pkg_resources/tests/
Dtest_pkg_resources.py57 zip_info = zipfile.ZipInfo()
58 zip_info.filename = 'mod.py'
59 zip_info.date_time = cls.ref_time.timetuple()
60 zip_egg.writestr(zip_info, 'x = 3\n')
61 zip_info = zipfile.ZipInfo()
62 zip_info.filename = 'data.dat'
63 zip_info.date_time = cls.ref_time.timetuple()
64 zip_egg.writestr(zip_info, 'hello, world!')
65 zip_info = zipfile.ZipInfo()
66 zip_info.filename = 'subdir/mod2.py'
[all …]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dcloud_storage_info_unittest.py57 zip_info = archive_info.ArchiveInfo(
61 archive_info=zip_info)
64 'cs_remote_path', archive_info=zip_info)
67 None, 'cs_remote_path', archive_info=zip_info)
71 archive_info=zip_info)
75 zip_info = archive_info.ArchiveInfo(
79 archive_info=zip_info)
84 self.assertEqual(zip_info, cs_info._archive_info)
88 zip_info = archive_info.ArchiveInfo(
93 archive_info=zip_info)
[all …]
Ddependency_manager_util.py49 def GetModeFromZipInfo(zip_info): argument
50 return zip_info.external_attr >> 16
67 for zip_info in archive.infolist():
68 archive_acls = GetModeFromZipInfo(zip_info)
72 os.path.join(unzipped_dir, zip_info.filename))
Dbase_config.py162 zip_info = None
172 zip_info = archive_info.ArchiveInfo(
178 version_in_cs=version_in_cs, archive_info=zip_info)
/external/zlib/google/
Dzip_internal.cc248 zip_fileinfo zip_info = {}; in TimeToZipFileInfo() local
255 zip_info.tmz_date.tm_year = file_time_parts.year; in TimeToZipFileInfo()
256 zip_info.tmz_date.tm_mon = file_time_parts.month - 1; in TimeToZipFileInfo()
257 zip_info.tmz_date.tm_mday = file_time_parts.day_of_month; in TimeToZipFileInfo()
258 zip_info.tmz_date.tm_hour = file_time_parts.hour; in TimeToZipFileInfo()
259 zip_info.tmz_date.tm_min = file_time_parts.minute; in TimeToZipFileInfo()
260 zip_info.tmz_date.tm_sec = file_time_parts.second; in TimeToZipFileInfo()
263 return zip_info; in TimeToZipFileInfo()
Dzip_reader.cc387 unz_global_info zip_info = {}; // Zero-clear. in OpenInternal() local
388 if (unzGetGlobalInfo(zip_file_, &zip_info) != UNZ_OK) { in OpenInternal()
391 num_entries_ = zip_info.number_entry; in OpenInternal()
/external/angle/third_party/zlib/google/
Dzip_internal.cc248 zip_fileinfo zip_info = {}; in TimeToZipFileInfo() local
255 zip_info.tmz_date.tm_year = file_time_parts.year; in TimeToZipFileInfo()
256 zip_info.tmz_date.tm_mon = file_time_parts.month - 1; in TimeToZipFileInfo()
257 zip_info.tmz_date.tm_mday = file_time_parts.day_of_month; in TimeToZipFileInfo()
258 zip_info.tmz_date.tm_hour = file_time_parts.hour; in TimeToZipFileInfo()
259 zip_info.tmz_date.tm_min = file_time_parts.minute; in TimeToZipFileInfo()
260 zip_info.tmz_date.tm_sec = file_time_parts.second; in TimeToZipFileInfo()
263 return zip_info; in TimeToZipFileInfo()
Dzip_reader.cc387 unz_global_info zip_info = {}; // Zero-clear. in OpenInternal() local
388 if (unzGetGlobalInfo(zip_file_, &zip_info) != UNZ_OK) { in OpenInternal()
391 num_entries_ = zip_info.number_entry; in OpenInternal()
/external/ImageMagick/coders/
Dmiff.c508 zip_info; in ReadMIFFImage() local
1366 (void) memset(&zip_info,0,sizeof(zip_info)); in ReadMIFFImage()
1410 zip_info.zalloc=AcquireZIPMemory; in ReadMIFFImage()
1411 zip_info.zfree=RelinquishZIPMemory; in ReadMIFFImage()
1412 zip_info.opaque=(voidpf) image; in ReadMIFFImage()
1413 code=inflateInit(&zip_info); in ReadMIFFImage()
1526 zip_info.next_out=pixels; in ReadMIFFImage()
1527 zip_info.avail_out=(uInt) (packet_size*image->columns); in ReadMIFFImage()
1533 if (zip_info.avail_in == 0) in ReadMIFFImage()
1535 zip_info.next_in=compress_pixels; in ReadMIFFImage()
[all …]
Dmat.c486 z_stream zip_info; in decompress_block() local
525 zip_info.zalloc=AcquireZIPMemory; in decompress_block()
526 zip_info.zfree=RelinquishZIPMemory; in decompress_block()
527 zip_info.opaque = (voidpf) NULL; in decompress_block()
528 zip_status = inflateInit(&zip_info); in decompress_block()
541 zip_info.avail_in = 0; in decompress_block()
542 zip_info.total_out = 0; in decompress_block()
548 zip_info.next_in = (Bytef *) cache_block; in decompress_block()
549 zip_info.avail_in = (uInt) magick_size; in decompress_block()
551 while(zip_info.avail_in>0) in decompress_block()
[all …]
/external/libchrome/build/android/gyp/util/
Dmd5_check.py405 for zip_info in zip_file.infolist():
407 if zip_info.CRC:
409 (zip_info.filename, zip_info.CRC + zip_info.compress_type))