Searched refs:b_size (Results 1 – 1 of 1) sorted by relevance
/system/libziparchive/ |
D | zip_archive_test.cc | 428 const auto b_size = static_cast<size_t>(data.uncompressed_length); in TEST() local 429 ASSERT_EQ(b_size, kBTxtContents.size()); in TEST() 430 buffer = std::unique_ptr<uint8_t[]>(new uint8_t[b_size]); in TEST() 431 ASSERT_EQ(0, ExtractToMemory(handle, &data, buffer.get(), b_size)); in TEST() 432 ASSERT_EQ(0, memcmp(buffer.get(), kBTxtContents.data(), b_size)); in TEST() 453 const auto b_size = static_cast<size_t>(data.uncompressed_length); in TEST() local 454 ASSERT_EQ(b_size, kBTxtContents.size()); in TEST() 455 buffer = new uint8_t[b_size]; in TEST() 456 ASSERT_EQ(0, ExtractToMemory(handle, &data, buffer, b_size)); in TEST() 457 ASSERT_EQ(0, memcmp(buffer, kBTxtContents.data(), b_size)); in TEST()
|