Searched refs:FAKE_DATA_SIZE (Results 1 – 1 of 1) sorted by relevance
31 #define FAKE_DATA_SIZE 40960 macro32 #define FAKE_PARTITION_SIZE FAKE_DATA_SIZE * 2541 std::unique_ptr<uint8_t[]> buffer = std::make_unique<uint8_t[]>(FAKE_DATA_SIZE); in GeneratePartitionImage()42 for (size_t c = 0; c < FAKE_DATA_SIZE; c++) { in GeneratePartitionImage()46 SparsePtr file(sparse_file_new(512 /* block size */, FAKE_DATA_SIZE), sparse_file_destroy); in GeneratePartitionImage()48 EXPECT_EQ(0, sparse_file_add_data(file.get(), buffer.get(), FAKE_DATA_SIZE, in GeneratePartitionImage()