/system/core/fastboot/ |
D | bootimg.c | 66 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in mkbootimg() 80 memcpy(hdr->magic + page_size, in mkbootimg() 82 memcpy(hdr->magic + page_size + kernel_actual, in mkbootimg() 84 memcpy(hdr->magic + page_size + kernel_actual + ramdisk_actual, 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/verity/ |
D | VerityVerifier.java | 88 int magic = fromle(img.readShort()); in getMetadataPosition() local 90 if (magic != EXT4_SB_MAGIC) { in getMetadataPosition() 117 int magic = fromle(img.readInt()); in verifyMetaData() local 119 if (magic != VERITY_MAGIC) { in verifyMetaData()
|
D | verify_boot_signature.c | 102 if (memcmp(BOOT_MAGIC, hdr.magic, BOOT_MAGIC_SIZE) != 0) { in get_signature_offset()
|
/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
|
D | sparse_read.c | 302 if (sparse_header.magic != SPARSE_HEADER_MAGIC) { in sparse_file_read_sparse() 432 if (sparse_header.magic != SPARSE_HEADER_MAGIC) { in sparse_file_import()
|
D | output_file.c | 574 .magic = SPARSE_HEADER_MAGIC, in output_file_init()
|
/system/vold/ |
D | Asec.h | 22 unsigned int magic; member
|
D | cryptfs.h | 88 __le32 magic; /* See above */ member
|
D | VolumeManager.cpp | 414 sb.magic = ASEC_SB_MAGIC; in createAsec() 670 SLOGD("Container sb magic/ver (%.8x/%.2x)", sb.magic, sb.ver); in resizeAsec() 672 if (sb.magic != ASEC_SB_MAGIC || sb.ver != ASEC_SB_VER) { in resizeAsec() 673 SLOGE("Bad container magic/version (%.8x/%.2x)", sb.magic, sb.ver); in resizeAsec() 1309 SLOGD("Container sb magic/ver (%.8x/%.2x)", sb.magic, sb.ver); in mountAsec() 1311 if (sb.magic != ASEC_SB_MAGIC || sb.ver != ASEC_SB_VER) { in mountAsec() 1312 SLOGE("Bad container magic/version (%.8x/%.2x)", sb.magic, sb.ver); in mountAsec()
|
/system/core/mkbootimg/ |
D | bootimg.h | 31 unsigned char magic[BOOT_MAGIC_SIZE]; member
|
D | mkbootimg.c | 194 memcpy(hdr.magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in main()
|
/system/core/adb/ |
D | transport_usb.c | 39 p->msg.magic = H4(p->msg.magic); in fix_endians()
|
D | transport_local.c | 40 p->msg.magic = H4(p->msg.magic); in fix_endians() 69 … p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic); in remote_read() 97 … p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic); in remote_write()
|
D | usb_linux_client.c | 67 .magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC), 136 .magic = cpu_to_le32(FUNCTIONFS_STRINGS_MAGIC),
|
D | transport.c | 223 p->msg.magic = p->msg.command ^ 0xffffffff; in send_packet() 271 p->msg.magic = A_SYNC ^ 0xffffffff; in output_thread() 302 p->msg.magic = A_SYNC ^ 0xffffffff; in output_thread() 1206 if(p->msg.magic != (p->msg.command ^ 0xffffffff)) { in check_header()
|
D | adb.h | 57 unsigned magic; /* command ^ 0xffffffff */ member
|
D | protocol.txt | 37 unsigned magic; /* command ^ 0xffffffff */
|
/system/core/fastbootd/ |
D | bootimg.h | 41 unsigned char magic[BOOT_MAGIC_SIZE]; member
|
D | usb_linux_client.c | 81 .magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC), 150 .magic = cpu_to_le32(FUNCTIONFS_STRINGS_MAGIC),
|
/system/core/gpttool/ |
D | gpttool.c | 46 u8 magic[8]; member 305 memcpy(hdr->magic, EFI_MAGIC, sizeof(hdr->magic)); in main()
|
/system/core/include/system/ |
D | window.h | 76 int magic; member 92 common.magic = ANDROID_NATIVE_BUFFER_MAGIC; in ANativeWindowBuffer() 376 common.magic = ANDROID_NATIVE_WINDOW_MAGIC; in ANativeWindow()
|
/system/core/libutils/ |
D | README | 238 idmap-magic constant spells "idmp" in ASCII. Offsets are given relative 242 header := idmap-magic <crc32-original-pkg> <crc32-overlay-pkg> 243 idmap-magic := <0x706d6469> 275 0x706d6469 # magic: all idmap files begin with this constant
|
/system/extras/f2fs_utils/ |
D | f2fs_sparseblock.c | 37 D_DISP_u32(sb, magic); in dbg_print_raw_sb_info() 187 if (le32_to_cpu(sb->magic) != F2FS_SUPER_MAGIC) { in read_f2fs_sb() 189 le32_to_cpu(sb->magic), F2FS_SUPER_MAGIC); in read_f2fs_sb()
|