Searched refs:FileSize (Results 1 – 14 of 14) sorted by relevance
57 return utils::DivRoundUp(utils::FileSize(filename_), kBlockSize); in GetBlockCount()88 const uint64_t file_size = utils::FileSize(filename_); in GetFiles()
57 utils::FileSize(path.c_str())); in ValidateExists()105 part.size = utils::FileSize(part.path); in LoadImageSize()
48 off_t file_size = utils::FileSize(filename); in CreateFromFile()
447 uint64_t file_size = utils::FileSize(payload_path); in ExtractPayloadProperties()
213 payload.size = utils::FileSize(payload_file); in ApplyPayload()
74 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()
311 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()
141 off_t p2p_size = utils::FileSize(p2p_sharing_fd_); in WriteToP2PFile()
396 const off_t resulting_file_size(utils::FileSize(temp_file.path())); in TestTerminateEarly()
118 off_t FileSize(const std::string& path);119 off_t FileSize(int fd);
366 if (offset >= FileSize(path)) { in ReadFileChunkAndAppend()409 off_t FileSize(int fd) { in FileSize() function425 off_t FileSize(const string& path) { in FileSize() function431 off_t size = FileSize(fd); in FileSize()
270 off_t p2p_size = utils::FileSize(path); in CheckP2PFile()
638 return utils::FileSize(path.value()); in FileGetSize()
382 static_cast<uint64_t>(utils::FileSize(metadata_filename))) { in VerifyPayloadApplicable()