Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dboot_img_filesystem.cc40 !utils::ReadFileChunk(filename, 0, BOOT_MAGIC_SIZE, &header_magic) || in CreateFromFile()
41 memcmp(header_magic.data(), BOOT_MAGIC, BOOT_MAGIC_SIZE) != 0) { in CreateFromFile()
50 BOOT_MAGIC_SIZE + 8 * sizeof(uint32_t); in CreateFromFile()
78 CHECK_EQ(0, memcmp(hdr_v0->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE)); in CreateFromFile()
85 CHECK_EQ(0, memcmp(hdr_v3->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE)); in CreateFromFile()
Dboot_img_filesystem_unittest.cc44 memcpy(hdr_v3.magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in GetBootImg()
52 memcpy(hdr_v0.magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in GetBootImg()
/system/tools/mkbootimg/include/bootimg/
Dbootimg.h22 #define BOOT_MAGIC_SIZE 8 macro
69 uint8_t magic[BOOT_MAGIC_SIZE];
252 uint8_t magic[BOOT_MAGIC_SIZE];
/system/core/fastboot/
Dbootimg_utils.cpp63 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in mkbootimg_v3_and_above()
105 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in mkbootimg()
Dfastboot.cpp500 if (!memcmp(kernel_data.data(), BOOT_MAGIC, BOOT_MAGIC_SIZE)) { in LoadBootableImage()
/system/tools/mkbootimg/
Dmkbootimg.py35 BOOT_MAGIC_SIZE = 8 variable