Home
last modified time | relevance | path

Searched refs:archive (Results 1 – 13 of 13) sorted by relevance

/system/libziparchive/
Dzip_archive.cc92 uint64_t GetOwnerTag(const ZipArchive* archive) { in GetOwnerTag() argument
94 reinterpret_cast<uint64_t>(archive)); in GetOwnerTag()
153 static ZipError FindCentralDirectoryInfoForZip64(const char* debugFileName, ZipArchive* archive, in FindCentralDirectoryInfoForZip64() argument
162 if (!archive->mapped_zip.ReadAtOffset(reinterpret_cast<uint8_t*>((&zip64EocdLocator)), in FindCentralDirectoryInfoForZip64()
184 if (!archive->mapped_zip.ReadAtOffset(reinterpret_cast<uint8_t*>(&zip64EocdRecord), in FindCentralDirectoryInfoForZip64()
212 static ZipError FindCentralDirectoryInfo(const char* debug_file_name, ZipArchive* archive, in FindCentralDirectoryInfo() argument
218 if (!archive->mapped_zip.ReadAtOffset(scan_buffer.data(), read_amount, search_start)) { in FindCentralDirectoryInfo()
263 return FindCentralDirectoryInfoForZip64(debug_file_name, archive, eocd_offset, cdInfo); in FindCentralDirectoryInfo()
290 static ZipError MapCentralDirectory(const char* debug_file_name, ZipArchive* archive) { in MapCentralDirectory() argument
292 off64_t file_length = archive->mapped_zip.GetFileLength(); in MapCentralDirectory()
[all …]
Dzip_archive_stream_entry.cc92 ZipArchive* archive = reinterpret_cast<ZipArchive*>(handle_); in Read() local
94 if (!archive->mapped_zip.ReadAtOffset(data_.data(), bytes, offset_)) { in Read()
223 ZipArchive* archive = reinterpret_cast<ZipArchive*>(handle_); in Read() local
225 if (!archive->mapped_zip.ReadAtOffset(in_.data(), bytes, offset_)) { in Read()
/system/libziparchive/include/ziparchive/
Dzip_archive.h183 void CloseArchive(ZipArchiveHandle archive);
196 ZipArchiveInfo GetArchiveInfo(ZipArchiveHandle archive);
213 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName,
229 int32_t StartIteration(ZipArchiveHandle archive, void** cookie_ptr,
239 int32_t StartIteration(ZipArchiveHandle archive, void** cookie_ptr,
266 int32_t ExtractEntryToFile(ZipArchiveHandle archive, const ZipEntry64* entry, int fd);
276 int32_t ExtractToMemory(ZipArchiveHandle archive, const ZipEntry64* entry, uint8_t* begin,
279 int GetFileDescriptor(const ZipArchiveHandle archive);
285 off64_t GetFileDescriptorOffset(const ZipArchiveHandle archive);
292 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, ZipEntry* data);
[all …]
/system/core/adb/fastdeploy/deployagent/test/com/android/fastdeploy/
DApkArchiveTest.java42 ApkArchive archive = new ApkArchive(SAMPLE_APK); in testApkArchiveSizes() local
44 ApkArchive.Location cdLoc = archive.getCDLocation(); in testApkArchiveSizes()
50 ApkArchive.Location sigLoc = archive.getSignatureLocation(cdLoc.offset); in testApkArchiveSizes()
58 ApkArchive archive = new ApkArchive(SAMPLE_APK); in testApkArchiveDump() local
60 ApkArchive.Dump dump = archive.extractMetadata(); in testApkArchiveDump()
70 ApkArchive archive = new ApkArchive(WRONG_APK); in testApkArchiveDumpWrongApk() local
72 archive.extractMetadata(); in testApkArchiveDumpWrongApk()
/system/extras/memory_replay/
DFile.cpp35 ZipArchiveHandle archive; in ZipGetContents() local
36 if (OpenArchive(filename, &archive) != 0) { in ZipGetContents()
43 if (StartIteration(archive, &cookie) == 0) { in ZipGetContents()
48 if (ExtractToMemory(archive, &entry, reinterpret_cast<uint8_t*>(contents.data()), in ZipGetContents()
55 CloseArchive(archive); in ZipGetContents()
/system/core/adb/fastdeploy/deploypatchgenerator/
Dpatch_utils.cpp59 ApkArchive archive(apkPath); in GetHostAPKMetaData() local
60 auto dump = archive.ExtractMetadata(); in GetHostAPKMetaData()
71 archive.CalculateLocalFileEntrySize(apkEntry.dataoffset(), apkEntry.datasize()); in GetHostAPKMetaData()
Ddeploy_patch_generator_test.cpp73 ApkArchive archive(apkPath); in TEST() local
74 auto dump = archive.ExtractMetadata(); in TEST()
/system/timezone/distro/
DREADME4 A distro file is a zip archive containing the files needed to update the time
/system/bt/build/toolchain/gcc/
DBUILD.gn59 rspfile_content = "-Wl,--whole-archive {{inputs}} {{solibs}} -Wl,--no-whole-archive {{libs}}"
/system/bt/build/toolchain/clang/
DBUILD.gn78 rspfile_content = "-Wl,--whole-archive {{inputs}} {{solibs}} -Wl,--no-whole-archive {{libs}}"
/system/core/cpio/
Dmkbootfs.c276 void archive(const char *start, const char *prefix) in archive() function
360 archive(*argv, x); in main()
/system/timezone/
DREADME.android118 an APK. The Android time zone "distro" is a zip archive containing the files
/system/media/audio_utils/
DDoxyfile1282 # startup. See https://developer.apple.com/library/archive/featuredarticles/Doxy