Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dboot_img_filesystem.cc57 return utils::DivRoundUp(utils::FileSize(filename_), kBlockSize); in GetBlockCount()
88 const uint64_t file_size = utils::FileSize(filename_); in GetFiles()
Dpayload_generation_config.cc57 utils::FileSize(path.c_str())); in ValidateExists()
105 part.size = utils::FileSize(part.path); in LoadImageSize()
Dmapfile_filesystem.cc48 off_t file_size = utils::FileSize(filename); in CreateFromFile()
Dpayload_signer.cc447 uint64_t file_size = utils::FileSize(payload_path); in ExtractPayloadProperties()
Dgenerate_delta_main.cc213 payload.size = utils::FileSize(payload_file); in ApplyPayload()
/system/update_engine/payload_consumer/
Dextent_writer_unittest.cc74 utils::FileSize(temp_file_.path())); in TEST_F()
127 utils::FileSize(temp_file_.path())); in WriteAlignedExtents()
167 utils::FileSize(temp_file_.path())); in TEST_F()
Ddelta_performer_integration_test.cc311 state->image_size = utils::FileSize(state->a_img); in GenerateDeltaFile()
381 EXPECT_EQ(utils::FileSize(state->a_img), in GenerateDeltaFile()
382 utils::FileSize(state->result_img)); in GenerateDeltaFile()
525 utils::FileSize(state->a_img)); in GenerateDeltaFile()
530 utils::FileSize(state->b_img)); in GenerateDeltaFile()
Ddownload_action.cc141 off_t p2p_size = utils::FileSize(p2p_sharing_fd_); in WriteToP2PFile()
Ddownload_action_unittest.cc396 const off_t resulting_file_size(utils::FileSize(temp_file.path())); in TestTerminateEarly()
/system/update_engine/common/
Dutils.h118 off_t FileSize(const std::string& path);
119 off_t FileSize(int fd);
Dutils.cc366 if (offset >= FileSize(path)) { in ReadFileChunkAndAppend()
409 off_t FileSize(int fd) { in FileSize() function
425 off_t FileSize(const string& path) { in FileSize() function
431 off_t size = FileSize(fd); in FileSize()
/system/update_engine/
Dp2p_manager_unittest.cc270 off_t p2p_size = utils::FileSize(path); in CheckP2PFile()
Dp2p_manager.cc638 return utils::FileSize(path.value()); in FileGetSize()
Dupdate_attempter_android.cc382 static_cast<uint64_t>(utils::FileSize(metadata_filename))) { in VerifyPayloadApplicable()