Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/assemble_cvd/
Dboot_image_utils.cc114 static constexpr std::string_view CPIO_MAGIC = "070701"; in IsCpioArchive() local
116 std::array<char, CPIO_MAGIC.size()> buf{}; in IsCpioArchive()
117 if (fd->Read(buf.data(), buf.size()) != CPIO_MAGIC.size()) { in IsCpioArchive()
120 return memcmp(buf.data(), CPIO_MAGIC.data(), CPIO_MAGIC.size()) == 0; in IsCpioArchive()