Home
last modified time | relevance | path

Searched refs:uncompressed_length (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/runtime_core/libziparchive/tests/
Dlibziparchive_tests.cpp123 uint32_t uncompressed_length = entry.GetUncompressedSize(); in UnzipFileCheckDirectory() local
132 GTEST_COUT << "Filename: " << filename << ", Uncompressed size: " << uncompressed_length in UnzipFileCheckDirectory()
179 uint32_t uncompressed_length = entry.GetUncompressedSize(); in UnzipFileCheckTxt() local
180 if (uncompressed_length == 0) { in UnzipFileCheckTxt()
188 ASSERT_EQ(uncompressed_length, strlen(buf) + 1); in UnzipFileCheckTxt()
190 ASSERT_EQ(uncompressed_length, entry.GetCompressedSize()); in UnzipFileCheckTxt()
193 ASSERT_GE(uncompressed_length, entry.GetCompressedSize()); in UnzipFileCheckTxt()
197 GTEST_COUT << "Filename: " << filename << ", Uncompressed size: " << uncompressed_length in UnzipFileCheckTxt()
204 uint32_t min_pages = uncompressed_length / page_size; in UnzipFileCheckTxt()
206uncompressed_length % page_size == 0 ? min_pages * page_size : (min_pages + 1) * page_size; in UnzipFileCheckTxt()
[all …]
/arkcompiler/runtime_core/libpandafile/
Dfile.cpp139 uint32_t uncompressed_length = entry.GetUncompressedSize(); in OpenPandaFileFromZipFile() local
140 ASSERT(uncompressed_length != 0U); in OpenPandaFileFromZipFile()
142 size_t size_to_mmap = AlignUp(uncompressed_length, panda::os::mem::GetPageSize()); in OpenPandaFileFromZipFile()