Home
last modified time | relevance | path

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

/system/core/fastboot/
Dbootimg.c66 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/
Dext4fixup.c124 unsigned long long magic; in get_fs_fixup_state() local
132 len = read(fd, &magic, sizeof(magic)); in get_fs_fixup_state()
133 if (len != sizeof(magic)) { in get_fs_fixup_state()
137 switch (magic) { in get_fs_fixup_state()
155 unsigned long long magic; in set_fs_fixup_state() local
166 magic = MAGIC_STATE_MARKING_INUMS; in set_fs_fixup_state()
169 magic = MAGIC_STATE_UPDATING_INUMS; in set_fs_fixup_state()
172 magic = MAGIC_STATE_UPDATING_SB; in set_fs_fixup_state()
176 magic = 0ll; in set_fs_fixup_state()
181 len = write(fd, &magic, sizeof(magic)); in set_fs_fixup_state()
[all …]
/system/core/libsparse/
Dsimg_dump.py58 magic = header[0]
68 if magic != 0xED26FF3A:
70 % (me, path, magic))
Dsparse_format.h22 __le32 magic; /* 0xed26ff3a */ member
Dsparse_read.c305 if (sparse_header.magic != SPARSE_HEADER_MAGIC) { in sparse_file_read_sparse()
436 if (sparse_header.magic != SPARSE_HEADER_MAGIC) { in sparse_file_import()
Doutput_file.c585 .magic = SPARSE_HEADER_MAGIC, in output_file_init()
/system/vold/
DAsec.h22 unsigned int magic; member
Dcryptfs.h64 __le32 magic; /* See above */ member
DVolumeManager.cpp292 sb.magic = ASEC_SB_MAGIC; in createAsec()
1073 SLOGD("Container sb magic/ver (%.8x/%.2x)", sb.magic, sb.ver); in mountAsec()
1075 if (sb.magic != ASEC_SB_MAGIC || sb.ver != ASEC_SB_VER) { in mountAsec()
1076 SLOGE("Bad container magic/version (%.8x/%.2x)", sb.magic, sb.ver); in mountAsec()
Dcryptfs.c412 if (crypt_ftr->magic != CRYPT_MNT_MAGIC) { in get_crypt_ftr_and_key()
1418 ftr->magic = CRYPT_MNT_MAGIC; in cryptfs_init_crypt_mnt_ftr()
/system/core/mkbootimg/
Dbootimg.h30 unsigned char magic[BOOT_MAGIC_SIZE]; member
Dmkbootimg.c193 memcpy(hdr.magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in main()
/system/core/adb/
Dtransport_local.c40 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()
Dtransport_usb.c39 p->msg.magic = H4(p->msg.magic); in fix_endians()
Dusb_linux_client.c67 .magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC),
136 .magic = cpu_to_le32(FUNCTIONFS_STRINGS_MAGIC),
Dtransport.c223 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()
1202 if(p->msg.magic != (p->msg.command ^ 0xffffffff)) { in check_header()
Dadb.h56 unsigned magic; /* command ^ 0xffffffff */ member
Dprotocol.txt37 unsigned magic; /* command ^ 0xffffffff */
/system/core/fastbootd/
Dbootimg.h41 unsigned char magic[BOOT_MAGIC_SIZE]; member
Dusb_linux_client.c82 .magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC),
151 .magic = cpu_to_le32(FUNCTIONFS_STRINGS_MAGIC),
/system/core/include/system/
Dwindow.h70 int magic; member
86 common.magic = ANDROID_NATIVE_BUFFER_MAGIC; in ANativeWindowBuffer()
349 common.magic = ANDROID_NATIVE_WINDOW_MAGIC; in ANativeWindow()
/system/core/gpttool/
Dgpttool.c47 u8 magic[8]; member
308 memcpy(hdr->magic, EFI_MAGIC, sizeof(hdr->magic)); in main()
/system/core/libutils/
DREADME238 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