Home
last modified time | relevance | path

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

/bootable/recovery/minadbd/
Dtransport_usb.c35 p->msg.magic = H4(p->msg.magic); in fix_endians()
Dtransport.c218 p->msg.magic = p->msg.command ^ 0xffffffff; in send_packet()
266 p->msg.magic = A_SYNC ^ 0xffffffff; in output_thread()
297 p->msg.magic = A_SYNC ^ 0xffffffff; in output_thread()
794 if(p->msg.magic != (p->msg.command ^ 0xffffffff)) { in check_header()
Dadb.h55 unsigned magic; /* command ^ 0xffffffff */ member
/bootable/recovery/applypatch/
Dapplypatch.c142 const char* magic = strtok(copy, ":"); in LoadPartitionContents() local
146 if (strcmp(magic, "MTD") == 0) { in LoadPartitionContents()
148 } else if (strcmp(magic, "EMMC") == 0) { in LoadPartitionContents()
364 const char* magic = strtok(copy, ":"); in WriteToPartition() local
367 if (strcmp(magic, "MTD") == 0) { in WriteToPartition()
369 } else if (strcmp(magic, "EMMC") == 0) { in WriteToPartition()