Home
last modified time | relevance | path

Searched refs:p2p_size (Results 1 – 2 of 2) sorted by relevance

/aosp12/system/update_engine/cros/
H A Ddownload_action_chromeos.cc138 off_t p2p_size = utils::FileSize(p2p_sharing_fd_); in WriteToP2PFile() local
139 if (p2p_size < 0) { in WriteToP2PFile()
144 if (p2p_size < file_offset) { in WriteToP2PFile()
146 << " but existing p2p file is only " << p2p_size << " bytes."; in WriteToP2PFile()
H A Dp2p_manager_unittest.cc278 off_t p2p_size = utils::FileSize(path); in CheckP2PFile() local
279 if (p2p_size < 0) { in CheckP2PFile()
285 if (p2p_size != expected_size) { in CheckP2PFile()
287 << p2p_size; in CheckP2PFile()