/system/extras/boot_control_copy/ |
D | bootinfo.c | 172 if (info->magic[0] != 'B' || in boot_info_validate() 173 info->magic[1] != 'C' || in boot_info_validate() 174 info->magic[2] != 'c') in boot_info_validate() 184 info->magic[0] = 'B'; in boot_info_reset() 185 info->magic[1] = 'C'; in boot_info_reset() 186 info->magic[2] = 'c'; in boot_info_reset()
|
D | bootinfo.h | 34 uint8_t magic[3]; member
|
/system/core/fastboot/ |
D | bootimg_utils.cpp | 59 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in mkbootimg() 72 memcpy(hdr->magic + page_size, kernel, kernel_size); in mkbootimg() 73 memcpy(hdr->magic + page_size + kernel_actual, ramdisk, ramdisk_size); in mkbootimg() 74 memcpy(hdr->magic + page_size + kernel_actual + ramdisk_actual, second, second_size); in mkbootimg()
|
/system/extras/ext4_utils/ |
D | ext4fixup.c | 88 unsigned long long magic; in get_fs_fixup_state() local 96 len = read(fd, &magic, sizeof(magic)); in get_fs_fixup_state() 97 if (len != sizeof(magic)) { in get_fs_fixup_state() 101 switch (magic) { in get_fs_fixup_state() 119 unsigned long long magic; in set_fs_fixup_state() local 130 magic = MAGIC_STATE_MARKING_INUMS; in set_fs_fixup_state() 133 magic = MAGIC_STATE_UPDATING_INUMS; in set_fs_fixup_state() 136 magic = MAGIC_STATE_UPDATING_SB; in set_fs_fixup_state() 140 magic = 0ll; in set_fs_fixup_state() 145 len = write(fd, &magic, sizeof(magic)); in set_fs_fixup_state() [all …]
|
/system/extras/libfec/ |
D | fec_verity.cpp | 490 if (header->magic != VERITY_MAGIC && in validate_header() 491 header->magic != VERITY_MAGIC_DISABLE) { in validate_header() 546 if (v->header.magic == VERITY_MAGIC_DISABLE) { in verity_parse_header() 567 if (!v->disabled && v->header.magic != v->ecc_header.magic) { in verity_parse_header() 569 v->header.magic = v->ecc_header.magic; in verity_parse_header() 634 uint32_t magic = enabled ? VERITY_MAGIC : VERITY_MAGIC_DISABLE; in fec_verity_set_status() local 636 if (!raw_pwrite(f, &magic, sizeof(magic), v->metadata_start)) { in fec_verity_set_status() 637 error("failed to update verity magic to %08x: %s", magic, in fec_verity_set_status() 642 warn("updated verity magic to %08x (%s)", magic, in fec_verity_set_status()
|
D | fec_private.h | 60 uint32_t magic; member
|
/system/core/libsparse/ |
D | simg_dump.py | 58 magic = header[0] 68 if magic != 0xED26FF3A: 70 % (me, path, magic))
|
D | sparse_format.h | 22 __le32 magic; /* 0xed26ff3a */ member
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
D | header.h | 63 u64 magic; member 74 u64 magic; member
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
D | header.h | 48 u64 magic; member 59 u64 magic; member 152 bool is_perf_magic(u64 magic);
|
/system/vold/ |
D | Asec.h | 22 unsigned int magic; member
|
D | cryptfs.h | 96 __le32 magic; /* See above */ member
|
D | VolumeManager.cpp | 788 sb.magic = ASEC_SB_MAGIC; in createAsec() 1039 SLOGD("Container sb magic/ver (%.8x/%.2x)", sb.magic, sb.ver); in resizeAsec() 1041 if (sb.magic != ASEC_SB_MAGIC || sb.ver != ASEC_SB_VER) { in resizeAsec() 1042 SLOGE("Bad container magic/version (%.8x/%.2x)", sb.magic, sb.ver); in resizeAsec() 1676 SLOGD("Container sb magic/ver (%.8x/%.2x)", sb.magic, sb.ver); in mountAsec() 1678 if (sb.magic != ASEC_SB_MAGIC || sb.ver != ASEC_SB_VER) { in mountAsec() 1679 SLOGE("Bad container magic/version (%.8x/%.2x)", sb.magic, sb.ver); in mountAsec()
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 474 uint32_t magic; in metadata_find() local 490 fread(&magic, sizeof(magic), 1, fp) != 1) { in metadata_find() 495 if (magic != METADATA_MAGIC) { in metadata_find() 496 magic = METADATA_MAGIC; in metadata_find() 499 fwrite(&magic, sizeof(magic), 1, fp) != 1) { in metadata_find() 504 rc = metadata_add(fp, start + sizeof(magic), stag, slength, offset); in metadata_find() 512 start += sizeof(magic); in metadata_find()
|
/system/extras/simpleperf/ |
D | record_file_format.h | 69 char magic[8]; member
|
D | record_file_writer.cpp | 259 memcpy(header.magic, PERF_MAGIC, sizeof(header.magic)); in WriteFileHeader()
|
/system/core/mkbootimg/ |
D | bootimg.h | 33 uint8_t magic[BOOT_MAGIC_SIZE]; member
|
/system/core/liblog/tests/ |
D | liblog_benchmark.cpp | 127 pmsg_header.magic = LOGGER_MAGIC; in BM_pmsg_short() 215 buffer->pmsg_header.magic = LOGGER_MAGIC; in BM_pmsg_short_aligned() 291 buffer->pmsg_header.magic = LOGGER_MAGIC; in BM_pmsg_short_unaligned1() 367 buffer->pmsg_header.magic = LOGGER_MAGIC; in BM_pmsg_long_aligned() 440 buffer->pmsg_header.magic = LOGGER_MAGIC; in BM_pmsg_long_unaligned1()
|
/system/core/liblog/ |
D | pmsg_reader.c | 173 &buf.p.magic + preread_count, in pmsgRead() 183 if ((buf.p.magic != LOGGER_MAGIC) in pmsgRead() 189 memmove(&buf.p.magic, &buf.p.magic + 1, --preread_count); in pmsgRead() 190 } while (preread_count && (buf.p.magic != LOGGER_MAGIC)); in pmsgRead()
|
/system/core/include/system/ |
D | window.h | 77 int magic; member 93 common.magic = ANDROID_NATIVE_BUFFER_MAGIC; in ANativeWindowBuffer() 408 common.magic = ANDROID_NATIVE_WINDOW_MAGIC; in ANativeWindow()
|
/system/core/include/private/ |
D | android_logger.h | 34 uint8_t magic; member
|
/system/core/adb/ |
D | usb_linux_client.cpp | 94 __le32 magic; member 232 .magic = cpu_to_le32(FUNCTIONFS_STRINGS_MAGIC), 389 v2_descriptor.header.magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC_V2); in init_functionfs() 413 v1_descriptor.header.magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC); in init_functionfs()
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 284 local magic=$(head --bytes=4 "${image}" | hexdump -e '1/1 "%.2x"') 285 if [[ "${magic}" == "504b0304" ]]; then
|
/system/extras/verity/fec/ |
D | image.cpp | 236 if (p->magic != FEC_MAGIC) { in image_ecc_load() 237 FATAL("invalid magic in '%s': %08x\n", filename.c_str(), p->magic); in image_ecc_load() 300 f->magic = FEC_MAGIC; in image_ecc_save()
|
/system/extras/libfec/include/fec/ |
D | io.h | 45 uint32_t magic; member
|