Home
last modified time | relevance | path

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

/system/libziparchive/include/ziparchive/
Dzip_archive.h276 int32_t ExtractToMemory(ZipArchiveHandle archive, const ZipEntry64* entry, uint8_t* begin,
296 int32_t ExtractToMemory(ZipArchiveHandle archive, const ZipEntry* entry, uint8_t* begin,
/system/libziparchive/
Dzip_archive_test.cc423 ASSERT_EQ(0, ExtractToMemory(handle, &data, buffer.get(), a_size)); in TEST()
431 ASSERT_EQ(0, ExtractToMemory(handle, &data, buffer.get(), b_size)); in TEST()
437 TEST(ziparchive, ExtractToMemory) { in TEST() argument
447 ASSERT_EQ(0, ExtractToMemory(handle, &data, buffer, a_size)); in TEST()
456 ASSERT_EQ(0, ExtractToMemory(handle, &data, buffer, b_size)); in TEST()
511 ASSERT_EQ(0, ExtractToMemory(handle, &entry, buffer, 1)); in TEST()
513 ASSERT_EQ(0, ExtractToMemory(handle, &entry, nullptr, 0)); in TEST()
538 ASSERT_EQ(0, ExtractToMemory(handle, &entry, &buffer[0], static_cast<uint32_t>(buffer.size()))); in TEST()
690 0, ExtractToMemory(handle, &entry, cmp_data.data(), static_cast<uint32_t>(cmp_data.size()))); in ZipArchiveStreamTestUsingMemory()
791 (*error_code_out) = ExtractToMemory(handle, &entry, &((*entry_out)[0]), 12); in ExtractEntryToMemory()
Dzip_archive_benchmark.cpp125 if (ExtractToMemory(handle, &data, buffer.data(), uint32_t(buffer.size()))) { in ExtractEntry()
Dzip_writer_test.cc283 ASSERT_EQ(0, ExtractToMemory(handle, &data, decompress.data(), in TEST_F()
419 if (ExtractToMemory(handle, zip_entry, buffer, static_cast<uint32_t>(actual.size())) != 0) { in AssertFileEntryContentsEq()
Dziptool.cpp205 int err = ExtractToMemory(zah, &entry, buffer, uncompressed_length); in ExtractToPipe()
Dzip_archive.cc1384 int32_t ExtractToMemory(ZipArchiveHandle archive, const ZipEntry* entry, uint8_t* begin, in ExtractToMemory() function
1387 return ExtractToMemory(archive, &entry64, begin, size); in ExtractToMemory()
1390 int32_t ExtractToMemory(ZipArchiveHandle archive, const ZipEntry64* entry, uint8_t* begin, in ExtractToMemory() function
/system/update_engine/payload_consumer/
Dcertificate_parser_android.cc46 if (int32_t extract_status = ExtractToMemory( in IterateZipEntriesAndSearchForKeys()
/system/extras/memory_replay/
DFile.cpp48 if (ExtractToMemory(archive, &entry, reinterpret_cast<uint8_t*>(contents.data()), in ZipGetContents()
/system/apex/apexd/
Dapex_file.cpp90 ret = ExtractToMemory(handle, &entry, in Open()
102 ret = ExtractToMemory(handle, &entry, in Open()
/system/extras/simpleperf/
Dutils.cpp140 if (ExtractToMemory(handle_, &entry, data->data(), data->size()) != 0) { in GetEntryData()
/system/core/fastboot/
Dfastboot.cpp540 int error = ExtractToMemory(zip, &zip_entry, reinterpret_cast<uint8_t*>(out->data()), in UnzipToMemory()