Searched refs:CheckPartition (Results 1 – 4 of 4) sorted by relevance
95 TEST_F(ApplyPatchTest, CheckPartition) { in TEST_F() argument96 ASSERT_TRUE(CheckPartition(source_partition)); in TEST_F()100 ASSERT_FALSE(CheckPartition(Partition(source_file, target_size, target_sha1))); in TEST_F()101 ASSERT_FALSE(CheckPartition(Partition(source_file, source_size, bad_sha1_a))); in TEST_F()103 ASSERT_FALSE(CheckPartition(Partition(source_file, source_size - 1, source_sha1))); in TEST_F()104 ASSERT_FALSE(CheckPartition(Partition(source_file, source_size + 1, source_sha1))); in TEST_F()
88 bool CheckPartition(const Partition& target);
45 return CheckPartition(target) ? 0 : 1; in CheckMode()
426 bool CheckPartition(const Partition& partition) { in CheckPartition() function