Searched refs:FileSize (Results 1 – 18 of 18) sorted by relevance
73 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()
89 auto source_size = utils::FileSize(source_device); in GenerateOperationsForPartitionsNotInPayload()90 auto target_size = utils::FileSize(target_device); in GenerateOperationsForPartitionsNotInPayload()
404 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()
130 auto payload_size = chromeos_update_engine::utils::FileSize(payload_fd); in main()183 chromeos_update_engine::utils::FileSize(output_cow); in main()
237 op.set_data_length(utils::FileSize(patch_file.fd())); in HydratePayload()309 utils::FileSize(payload_file_.path()), in ApplyPayload()
233 auto payload_size = chromeos_update_engine::utils::FileSize(payload_fd); in main()
569 static_cast<uint64_t>(utils::FileSize(metadata_filename))) { in VerifyPayloadParseManifest()
132 return utils::DivRoundUp(utils::FileSize(filename_), kBlockSize); in GetBlockCount()164 const uint64_t file_size = utils::FileSize(filename_); in GetFiles()
100 payload_size_ = utils::FileSize(payload_path_); in LoadFromPayload()
47 off_t file_size = utils::FileSize(filename); in CreateFromFile()
73 utils::FileSize(path.c_str())); in ValidateExists()132 part.size = utils::FileSize(part.path); in LoadImageSize()
194 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()
275 << static_cast<float>(unaligned_bytes) / utils::FileSize(filename) * in GetFiles()
99 const auto file_size = utils::FileSize(name); in RawHashOfFile()
329 if (offset >= FileSize(path)) { in ReadFileChunkAndAppend()372 off_t FileSize(int fd) { in FileSize() function388 off_t FileSize(const string& path) { in FileSize() function394 off_t size = FileSize(fd); in FileSize()
159 off_t FileSize(const std::string& path);160 off_t FileSize(int fd);
68 Result<uint64_t> FileSize(borrowed_fd fd, std::filesystem::path path) { in FileSize() function130 return FileSize(fd_, abs_path_); in fsize()152 auto size = FileSize(read_fd, abs_path_); in OpenImpl()
68 << utils::FileSize(patch.path()); in StoreDstCompressedFileInfo()