Searched refs:magic (Results 1 - 20 of 20) sorted by relevance

/system/core/fastboot/
H A Dbootimg.c66 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE);
77 memcpy(hdr->magic + page_size,
79 memcpy(hdr->magic + page_size + kernel_actual,
81 memcpy(hdr->magic + page_size + kernel_actual + ramdisk_actual,
/system/core/mkbootimg/
H A Dbootimg.h30 unsigned char magic[BOOT_MAGIC_SIZE]; member in struct:boot_img_hdr
H A Dmkbootimg.c192 memcpy(hdr.magic, BOOT_MAGIC, BOOT_MAGIC_SIZE);
/system/vold/
H A DAsec.h22 unsigned int magic; member in struct:asec_superblock
H A Dcryptfs.h46 __le32 magic; /* See above */ member in struct:crypt_mnt_ftr
H A DVolumeManager.cpp258 sb.magic = ASEC_SB_MAGIC;
910 SLOGD("Container sb magic/ver (%.8x/%.2x)", sb.magic, sb.ver);
912 if (sb.magic != ASEC_SB_MAGIC || sb.ver != ASEC_SB_VER) {
913 SLOGE("Bad container magic/version (%.8x/%.2x)", sb.magic, sb.ver);
H A Dcryptfs.c302 if (crypt_ftr->magic != CRYPT_MNT_MAGIC) {
303 SLOGE("Bad magic for real block device %s\n", fname);
990 ftr->magic = CRYPT_MNT_MAGIC;
/system/core/libsparse/
H A Dsparse_format.h22 __le32 magic; /* 0xed26ff3a */ member in struct:sparse_header
H A Dsimg_dump.py58 magic = header[0]
68 if magic != 0xED26FF3A:
70 % (me, path, magic))
H A Dsparse_read.c305 if (sparse_header.magic != SPARSE_HEADER_MAGIC) {
436 if (sparse_header.magic != SPARSE_HEADER_MAGIC) {
437 verbose_error(verbose, -EINVAL, "header magic");
H A Doutput_file.c585 .magic = SPARSE_HEADER_MAGIC,
/system/extras/ext4_utils/
H A Dext4fixup.c56 /* Internal state variables corresponding to the magic numbers */
124 unsigned long long magic; local
132 len = read(fd, &magic, sizeof(magic));
133 if (len != sizeof(magic)) {
137 switch (magic) {
155 unsigned long long magic; local
166 magic = MAGIC_STATE_MARKING_INUMS;
169 magic = MAGIC_STATE_UPDATING_INUMS;
172 magic
[all...]
/system/core/adb/
H A Dtransport_usb.c39 p->msg.magic = H4(p->msg.magic);
H A Dtransport_local.c37 p->msg.magic = H4(p->msg.magic);
65 D("read remote packet: %04x arg0=%0x arg1=%0x data_length=%0x data_check=%0x magic=%0x\n",
66 p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic);
93 D("write remote packet: %04x arg0=%0x arg1=%0x data_length=%0x data_check=%0x magic=%0x\n",
94 p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic);
H A Dusb_linux_client.c67 .magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC),
136 .magic = cpu_to_le32(FUNCTIONFS_STRINGS_MAGIC),
H A Dadb.h56 unsigned magic; /* command ^ 0xffffffff */ member in struct:amessage
H A Dtransport.c218 p->msg.magic = p->msg.command ^ 0xffffffff;
266 p->msg.magic = A_SYNC ^ 0xffffffff;
297 p->msg.magic = A_SYNC ^ 0xffffffff;
1156 if(p->msg.magic != (p->msg.command ^ 0xffffffff)) {
1157 D("check_header(): invalid magic\n");
/system/core/include/system/
H A Dwindow.h69 /* a magic value defined by the actual EGL native type */
70 int magic; member in struct:android_native_base_t
86 common.magic = ANDROID_NATIVE_BUFFER_MAGIC;
341 common.magic = ANDROID_NATIVE_WINDOW_MAGIC;
/system/core/gpttool/
H A Dgpttool.c47 u8 magic[8]; member in struct:efi_header
308 memcpy(hdr->magic, EFI_MAGIC, sizeof(hdr->magic));
/system/core/init/
H A Dproperty_service.c185 pa->magic = PROP_AREA_MAGIC;

Completed in 151 milliseconds