/art/test/037-inherit/src/ |
D | Main.java | 10 MagicClass magic = new MagicClass(); in main() local 13 System.out.println(magic.getSomeData()); in main()
|
/art/runtime/gc/space/ |
D | large_object_space_test.cc | 58 byte magic = (request_size & 0xFF) | 1; in LargeObjectTest() local 59 memset(obj, magic, request_size); in LargeObjectTest() 76 byte magic = (request_size & 0xFF) | 1; in LargeObjectTest() local 78 ASSERT_EQ(reinterpret_cast<const byte*>(obj)[k], magic); in LargeObjectTest()
|
/art/runtime/ |
D | dex_file.cc | 53 static int OpenAndReadMagic(const char* filename, uint32_t* magic, std::string* error_msg) { in OpenAndReadMagic() argument 54 CHECK(magic != NULL); in OpenAndReadMagic() 60 int n = TEMP_FAILURE_RETRY(read(fd.get(), magic, sizeof(*magic))); in OpenAndReadMagic() 61 if (n != sizeof(*magic)) { in OpenAndReadMagic() 75 uint32_t magic; in GetChecksum() local 89 ScopedFd fd(OpenAndReadMagic(file_part, &magic, error_msg)); in GetChecksum() 94 if (IsZipMagic(magic)) { in GetChecksum() 109 if (IsDexMagic(magic)) { in GetChecksum() 123 uint32_t magic; in Open() local 124 ScopedFd fd(OpenAndReadMagic(filename, &magic, error_msg)); in Open() [all …]
|
D | utils.cc | 1311 bool IsZipMagic(uint32_t magic) { in IsZipMagic() argument 1312 return (('P' == ((magic >> 0) & 0xff)) && in IsZipMagic() 1313 ('K' == ((magic >> 8) & 0xff))); in IsZipMagic() 1316 bool IsDexMagic(uint32_t magic) { in IsDexMagic() argument 1317 return DexFile::IsMagicValid(reinterpret_cast<const byte*>(&magic)); in IsDexMagic() 1320 bool IsOatMagic(uint32_t magic) { in IsOatMagic() argument 1321 return (memcmp(reinterpret_cast<const byte*>(magic), in IsOatMagic()
|
D | utils.h | 520 bool IsZipMagic(uint32_t magic); 521 bool IsDexMagic(uint32_t magic); 522 bool IsOatMagic(uint32_t magic);
|
D | dex_file.h | 446 static bool IsMagicValid(const byte* magic); 449 static bool IsVersionValid(const byte* magic);
|
D | check_jni.cc | 917 uint32_t magic; member 955 pExtra->magic = kGuardMagic; in Create() 989 if (memcmp(&pExtra->magic, &kMagicCmp, 4) != 0) { in Check() 991 memcpy(buf, &pExtra->magic, 4); in Check()
|
/art/test/037-inherit/ |
D | expected.txt | 1 magic is 64.0
|
/art/compiler/ |
D | image_test.cc | 220 char* magic = const_cast<char*>(image_header.GetMagic()); in TEST_F() local 221 strcpy(magic, ""); // bad magic in TEST_F() 223 strcpy(magic, "art\n000"); // bad version in TEST_F()
|
D | oat_test.cc | 208 char* magic = const_cast<char*>(oat_header->GetMagic()); in TEST_F() local 209 strcpy(magic, ""); // bad magic in TEST_F() 211 strcpy(magic, "oat\n000"); // bad version in TEST_F()
|
/art/compiler/dex/quick/x86/ |
D | int_x86.cc | 525 void X86Mir2Lir::CalculateMagicAndShift(int64_t divisor, int64_t& magic, int& shift, bool is_long) { in CalculateMagicAndShift() argument 587 magic = (divisor > 0) ? (quotient2 + 1) : (-quotient2 - 1); in CalculateMagicAndShift() 590 magic = static_cast<int>(magic); in CalculateMagicAndShift() 652 int64_t magic; in GenDivRemLit() local 654 CalculateMagicAndShift((int64_t)imm, magic, shift, false /* is_long */); in GenDivRemLit() 684 if (!is_div || (imm > 0 && magic < 0) || (imm < 0 && magic > 0)) { in GenDivRemLit() 695 LoadConstantNoClobber(rs_r2, magic); in GenDivRemLit() 700 if (imm > 0 && magic < 0) { in GenDivRemLit() 704 } else if (imm < 0 && magic > 0) { in GenDivRemLit() 1846 int64_t magic; in GenDivRemLongLit() local [all …]
|
D | codegen_x86.h | 720 void CalculateMagicAndShift(int64_t divisor, int64_t& magic, int& shift, bool is_long);
|
/art/runtime/hprof/ |
D | hprof.cc | 636 char magic[] = "JAVA PROFILE 1.0.3"; in WriteFixedHeader() local 641 fwrite(magic, 1, sizeof(magic), header_fp_); in WriteFixedHeader()
|
/art/compiler/dex/quick/arm/ |
D | int_arm.cc | 467 uint32_t magic; member 503 LoadConstant(r_magic, magic_table[lit].magic); in SmallLiteralDivRem()
|