Lines Matching refs:utils
52 brillo::Blob data(utils::BlocksInExtents(extents) * block_size); in CopyExtentsToFile()
54 utils::ReadExtents(in_path, extents, &data, data.size(), block_size)); in CopyExtentsToFile()
56 utils::WriteFile(out_path.c_str(), data.data(), data.size())); in CopyExtentsToFile()
64 utils::BlocksInExtents(file.extents) >= in IsSquashfsImage()
68 utils::ReadFileChunk(part_path, in IsSquashfsImage()
100 num_blocks += utils::BlocksInExtents(in_file.extents); in RealignSplittedFiles()
104 TEST_AND_RETURN_FALSE(utils::BlocksInExtents(file.extents) == num_blocks); in RealignSplittedFiles()
133 if (utils::BlocksInExtents(base_extents) < in ShiftExtentsOverExtents()
134 utils::BlocksInExtents(*over_extents)) { in ShiftExtentsOverExtents()
183 utils::BlocksInExtents(base_extents) * kBlockSize); in ShiftBitExtentsOverExtents()
319 TEST_AND_RETURN_FALSE(utils::ReadExtents( in PreprocessPartitionFiles()
323 kBlockSize * utils::BlocksInExtents(file.extents), in PreprocessPartitionFiles()