Lines Matching refs:rootfs_size
418 const size_t rootfs_size = 1028 * 1024; in AddHashFooterTest() local
425 rootfs.resize(rootfs_size); in AddHashFooterTest()
426 for (size_t n = 0; n < rootfs_size; n++) { in AddHashFooterTest()
437 EXPECT_EQ(rootfs_size, in AddHashFooterTest()
502 (int)(rootfs_size - 16 * 1024)); in AddHashFooterTest()
529 avb_sha256_update(&hasher_ctx, rootfs.data(), rootfs_size); in AddHashFooterTest()
595 EXPECT_EQ(static_cast<size_t>(erased_footer_file_size), rootfs_size); in AddHashFooterTest()
611 EXPECT_EQ(static_cast<size_t>(file_size), rootfs_size); in AddHashFooterTest()
742 const size_t rootfs_size = 1028 * 1024; in AddHashtreeFooterTest() local
747 rootfs.resize(rootfs_size); in AddHashtreeFooterTest()
748 for (size_t n = 0; n < rootfs_size; n++) in AddHashtreeFooterTest()
752 EXPECT_EQ(rootfs_size, in AddHashtreeFooterTest()
986 0, "truncate -s %d %s", (int)rootfs_size, rootfs_path.value().c_str()); in AddHashtreeFooterTest()
1016 const size_t rootfs_size = 1028 * 1024; in AddHashtreeFooterFECTest() local
1021 rootfs.resize(rootfs_size); in AddHashtreeFooterFECTest()
1022 for (size_t n = 0; n < rootfs_size; n++) in AddHashtreeFooterFECTest()
1025 EXPECT_EQ(rootfs_size, in AddHashtreeFooterFECTest()