/system/core/fastboot/ |
H A D | bootimg_utils.cpp | 59 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); 72 memcpy(hdr->magic + page_size, kernel, kernel_size); 73 memcpy(hdr->magic + page_size + kernel_actual, ramdisk, ramdisk_size); 74 memcpy(hdr->magic + page_size + kernel_actual + ramdisk_actual, second, second_size);
|
/system/vold/ |
H A D | Asec.h | 22 unsigned int magic; member in struct:asec_superblock
|
/system/chre/apps/chqts/src/general_test/ |
H A D | event_between_apps_test.cc | 121 uint32_t magic; local 122 nanoapp_testing::memcpy(&magic, eventData, sizeof(magic)); 123 if (magic != EventBetweenApps0::kMagic) { 124 sendFatalFailureToHost("Got incorrect magic data: ", &magic);
|
/system/extras/boot_control_copy/ |
H A D | bootinfo.c | 166 if (info->magic[0] != 'B' || 167 info->magic[1] != 'C' || 168 info->magic[2] != 'c') 178 info->magic[0] = 'B'; 179 info->magic[1] = 'C'; 180 info->magic[2] = 'c';
|
H A D | bootinfo.h | 34 uint8_t magic[3]; member in struct:BrilloBootInfo
|
/system/chre/platform/shared/nanoapp/ |
H A D | nanoapp_dso_util.cc | 35 if (appInfo->magic != CHRE_NSL_NANOAPP_INFO_MAGIC) { 36 LOGE("Invalid app info magic: got 0x%08" PRIx32 " expected 0x%08" PRIx32, 37 appInfo->magic, static_cast<uint32_t>(CHRE_NSL_NANOAPP_INFO_MAGIC));
|
H A D | nanoapp_support_lib_dso.c | 38 .magic = CHRE_NSL_NANOAPP_INFO_MAGIC,
|
/system/libufdt/utils/src/ |
H A D | dt_table.c | 30 header->magic = cpu_to_fdt32(DT_TABLE_MAGIC);
|
H A D | dt_table.h | 30 uint32_t magic; /* DT_TABLE_MAGIC */ member in struct:dt_table_header
|
/system/chre/platform/shared/include/chre/platform/shared/ |
H A D | nanoapp_support_lib_dso.h | 39 //! Special magic value to uniquely identify the nanoapp info structure 58 uint32_t magic; member in struct:chreNslNanoappInfo
|
/system/core/libsparse/ |
H A D | sparse_format.h | 26 __le32 magic; /* 0xed26ff3a */ member in struct:sparse_header
|
H A D | simg_dump.py | 79 magic = header[0] 89 if magic != 0xED26FF3A: 91 % (me, path, magic))
|
/system/core/mkbootimg/ |
H A D | bootimg.h | 33 uint8_t magic[BOOT_MAGIC_SIZE]; member in struct:boot_img_hdr
|
/system/extras/simpleperf/ |
H A D | record_file_format.h | 102 char magic[8]; member in struct:PerfFileFormat::FileHeader
|
H A D | tracing.cpp | 102 char magic[10]; member in class:TracingFile 119 memcpy(magic, TRACING_INFO_MAGIC, sizeof(TRACING_INFO_MAGIC)); 181 ret.insert(ret.end(), magic, magic + sizeof(magic)); 210 CHECK(memcmp(p, magic, sizeof(magic)) == 0); 211 p += sizeof(magic); 249 PrintIndented(indent + 1, "magic: "); 251 printf("0x%x ", magic[ [all...] |
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
H A D | header.h | 63 u64 magic; member in struct:perf_file_header 74 u64 magic; member in struct:perf_pipe_file_header
|
/system/chre/platform/linux/include/chre/target_platform/ |
H A D | static_nanoapp_init.h | 38 appInfo.magic = CHRE_NSL_NANOAPP_INFO_MAGIC; \
|
/system/chre/platform/slpi/include/chre/target_platform/ |
H A D | static_nanoapp_init.h | 40 appInfo.magic = CHRE_NSL_NANOAPP_INFO_MAGIC; \
|
/system/nvram/core/ |
H A D | persistence.cpp | 42 // this gives us the opportunity to encode a magic constant in the field number 45 template <uint32_t magic, typename Object> 49 writer.set_field_number(magic); 62 // record produced by |EncodeObject|. It then checks the magic field number to 66 template <uint32_t magic, typename Object> 70 if (!reader.ReadWireTag() || reader.field_number() != magic ||
|
/system/nfc/halimpl/bcm2079x/gki/common/ |
H A D | gki_debug.c | 88 ** stack used by looking non magic num. Magic num is consider 152 uint32_t* magic; local 170 magic = (uint32_t*)((uint8_t*)hdr + BUFFER_HDR_SIZE + size); 172 (*magic == MAGIC_NO) ? "OK" : "CORRUPTED"); 191 uint32_t* magic; local 206 magic = (uint32_t*)((uint8_t*)p_hdr + buf_size - sizeof(uint32_t)); 214 p_hdr->status, (*magic == MAGIC_NO) ? "OK" : "CORRUPTED", p[0], p[1],
|
/system/extras/ext4_utils/ |
H A D | ext4fixup.c | 61 /* Internal state variables corresponding to the magic numbers */ 93 unsigned long long magic; local 101 len = read(fd, &magic, sizeof(magic)); 102 if (len != sizeof(magic)) { 106 switch (magic) { 124 unsigned long long magic; local 135 magic = MAGIC_STATE_MARKING_INUMS; 138 magic = MAGIC_STATE_UPDATING_INUMS; 141 magic [all...] |
/system/extras/libfec/ |
H A D | fec_verity.cpp | 511 if (header->magic != VERITY_MAGIC && 512 header->magic != VERITY_MAGIC_DISABLE) { 565 /* use raw data to check for the alternative magic, because it will 567 if (v->header.magic == VERITY_MAGIC_DISABLE) { 588 if (!v->disabled && v->header.magic != v->ecc_header.magic) { 589 warn("corrected verity header magic"); 590 v->header.magic = v->ecc_header.magic; 641 error("cannot update verity magic 658 uint32_t magic = enabled ? VERITY_MAGIC : VERITY_MAGIC_DISABLE; local [all...] |
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
H A D | header.h | 48 u64 magic; member in struct:perf_file_header 59 u64 magic; member in struct:perf_pipe_file_header 152 bool is_perf_magic(u64 magic);
|
/system/chre/build/app_support/qcom_nanohub/ |
H A D | app_support.cc | 59 char magic[13]; member in struct:LegacyAppHdr 104 .magic = LEGACY_APP_HDR_MAGIC_ARRAY,
|
/system/update_engine/scripts/ |
H A D | brillo_update_payload | 295 # Brillo images are zip files. We detect the 4-byte magic header of the zip 297 local magic=$(head --bytes=4 "${image}" | hexdump -e '1/1 "%.2x"') 298 if [[ "${magic}" == "504b0304" ]]; then 439 local magic=$(head --bytes=4 "${part_file}" | hexdump -e '1/1 "%.2x"') 440 if [[ "${magic}" == "3aff26ed" ]]; then
|