Searched refs:a_size (Results 1 – 1 of 1) sorted by relevance
/system/libziparchive/ |
D | zip_archive_test.cc | 420 const auto a_size = static_cast<size_t>(data.uncompressed_length); in TEST() local 421 ASSERT_EQ(a_size, kATxtContents.size()); in TEST() 422 auto buffer = std::unique_ptr<uint8_t[]>(new uint8_t[a_size]); in TEST() 423 ASSERT_EQ(0, ExtractToMemory(handle, &data, buffer.get(), a_size)); in TEST() 424 ASSERT_EQ(0, memcmp(buffer.get(), kATxtContents.data(), a_size)); in TEST() 444 const auto a_size = static_cast<size_t>(data.uncompressed_length); in TEST() local 445 ASSERT_EQ(a_size, kATxtContents.size()); in TEST() 446 uint8_t* buffer = new uint8_t[a_size]; in TEST() 447 ASSERT_EQ(0, ExtractToMemory(handle, &data, buffer, a_size)); in TEST() 448 ASSERT_EQ(0, memcmp(buffer, kATxtContents.data(), a_size)); in TEST()
|