Lines Matching refs:magic
122 * DEX header (which immediately follows the magic). If these don't
713 * magic number.
717 memcpy(optHdr.magic, DEX_OPT_MAGIC, 4);
718 memcpy(optHdr.magic+4, DEX_OPT_MAGIC_VERS, 4);
1175 const u1* magic;
1203 magic = optHdr.magic;
1204 if (memcmp(magic, DEX_MAGIC, 4) == 0) {
1208 } else if (memcmp(magic, DEX_OPT_MAGIC, 4) != 0) {
1210 ALOGD("DexOpt: incorrect opt magic number (0x%02x %02x %02x %02x)",
1211 magic[0], magic[1], magic[2], magic[3]);
1214 if (memcmp(magic+4, DEX_OPT_MAGIC_VERS, 4) != 0) {
1216 magic[4], magic[5], magic[6], magic[7]);
1559 const int nonSum = sizeof(pHeader->magic) + sizeof(pHeader->checksum);