Home
last modified time | relevance | path

Searched refs:FileSize (Results 1 – 18 of 18) sorted by relevance

/system/update_engine/payload_consumer/
Dextent_writer_unittest.cc73 utils::FileSize(temp_file_.path())); in TEST_F()
124 utils::FileSize(temp_file_.path())); in WriteAlignedExtents()
163 utils::FileSize(temp_file_.path())); in TEST_F()
Dpartition_update_generator_android.cc89 auto source_size = utils::FileSize(source_device); in GenerateOperationsForPartitionsNotInPayload()
90 auto target_size = utils::FileSize(target_device); in GenerateOperationsForPartitionsNotInPayload()
Ddelta_performer_integration_test.cc404 state->image_size = utils::FileSize(state->a_img->path()); in GenerateDeltaFile()
448 ASSERT_EQ(utils::FileSize(state->a_img->path()), in GenerateDeltaFile()
449 utils::FileSize(state->result_img->path())); in GenerateDeltaFile()
586 utils::FileSize(state->a_img->path())); in GenerateDeltaFile()
591 utils::FileSize(state->b_img->path())); in GenerateDeltaFile()
/system/update_engine/aosp/
Dcow_converter.cc130 auto payload_size = chromeos_update_engine::utils::FileSize(payload_fd); in main()
183 chromeos_update_engine::utils::FileSize(output_cow); in main()
Dupdate_attempter_android_integration_test.cc237 op.set_data_length(utils::FileSize(patch_file.fd())); in HydratePayload()
309 utils::FileSize(payload_file_.path()), in ApplyPayload()
Dota_extractor.cc233 auto payload_size = chromeos_update_engine::utils::FileSize(payload_fd); in main()
Dupdate_attempter_android.cc569 static_cast<uint64_t>(utils::FileSize(metadata_filename))) { in VerifyPayloadParseManifest()
/system/update_engine/payload_generator/
Dboot_img_filesystem.cc132 return utils::DivRoundUp(utils::FileSize(filename_), kBlockSize); in GetBlockCount()
164 const uint64_t file_size = utils::FileSize(filename_); in GetFiles()
Dpayload_properties.cc100 payload_size_ = utils::FileSize(payload_path_); in LoadFromPayload()
Dmapfile_filesystem.cc47 off_t file_size = utils::FileSize(filename); in CreateFromFile()
Dpayload_generation_config.cc73 utils::FileSize(path.c_str())); in ValidateExists()
132 part.size = utils::FileSize(part.path); in LoadImageSize()
Dgenerate_delta_main.cc194 payload.size = utils::FileSize(payload_file); in ApplyPayload()
473 const auto size = std::max<size_t>(utils::FileSize(part.path), kBlockSize); in RoundDownPartitions()
488 const auto size = utils::FileSize(part.path); in RoundUpPartitions()
Derofs_filesystem.cc275 << static_cast<float>(unaligned_bytes) / utils::FileSize(filename) * in GetFiles()
/system/update_engine/common/
Dhash_calculator.cc99 const auto file_size = utils::FileSize(name); in RawHashOfFile()
Dutils.cc329 if (offset >= FileSize(path)) { in ReadFileChunkAndAppend()
372 off_t FileSize(int fd) { in FileSize() function
388 off_t FileSize(const string& path) { in FileSize() function
394 off_t size = FileSize(fd); in FileSize()
Dutils.h159 off_t FileSize(const std::string& path);
160 off_t FileSize(int fd);
/system/core/fastboot/
Dvendor_boot_img_utils_test.cpp68 Result<uint64_t> FileSize(borrowed_fd fd, std::filesystem::path path) { in FileSize() function
130 return FileSize(fd_, abs_path_); in fsize()
152 auto size = FileSize(read_fd, abs_path_); in OpenImpl()
/system/update_engine/lz4diff/
Dlz4diff.cc68 << utils::FileSize(patch.path()); in StoreDstCompressedFileInfo()