/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/ |
D | RawInsnHelper.java | 27 public static long getSignedByteFromByte(byte[] raw, int idx) { in getSignedByteFromByte() argument 28 return (long) raw[idx]; in getSignedByteFromByte() 34 public static long getUnsignedByteFromByte(byte[] raw, int idx) { in getUnsignedByteFromByte() argument 35 return ((long) raw[idx]) & 0xff; in getUnsignedByteFromByte() 41 public static long getUnsignedLowNibbleFromByte(byte[] raw, int idx) { in getUnsignedLowNibbleFromByte() argument 42 return ((long) raw[idx]) & 0xf; in getUnsignedLowNibbleFromByte() 48 public static long getUnsignedHighNibbleFromByte(byte[] raw, int idx) { in getUnsignedHighNibbleFromByte() argument 49 return (((long) raw[idx]) >> 4) & 0xf; in getUnsignedHighNibbleFromByte() 55 public static long getUnsignedShortFromTwoBytes(byte[] raw, int idx) { in getUnsignedShortFromTwoBytes() argument 56 return (long) ( (((long) raw[idx]) & 0xff) in getUnsignedShortFromTwoBytes() [all …]
|
D | Format3rmi.java | 35 public long getA(byte[] raw) throws IOException { in getA() argument 36 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 40 public long getB(byte[] raw) throws IOException { in getB() argument 41 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 45 public long getC(byte[] raw) throws IOException { in getC() argument 46 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 4); in getC()
|
D | Format3rms.java | 35 public long getA(byte[] raw) throws IOException { in getA() argument 36 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 40 public long getB(byte[] raw) throws IOException { in getB() argument 41 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 45 public long getC(byte[] raw) throws IOException { in getC() argument 46 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 4); in getC()
|
D | Format23x.java | 35 public long getA(byte[] raw) throws IOException { in getA() argument 36 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 40 public long getB(byte[] raw) throws IOException { in getB() argument 41 return RawInsnHelper.getUnsignedByteFromByte(raw, 2); in getB() 45 public long getC(byte[] raw) throws IOException { in getC() argument 46 return RawInsnHelper.getUnsignedByteFromByte(raw, 3); in getC()
|
D | Format22cs.java | 37 public long getA(byte[] raw) throws IOException { in getA() argument 38 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1); in getA() 42 public long getB(byte[] raw) throws IOException { in getB() argument 43 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getB() 47 public long getC(byte[] raw) throws IOException { in getC() argument 48 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getC()
|
D | Format35mi.java | 37 public long getA(byte[] raw) throws IOException { in getA() argument 38 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getA() 42 public long getB(byte[] raw) throws IOException { in getB() argument 43 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 47 public long getC(byte[] raw) throws IOException { in getC() argument 48 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 4); in getC()
|
D | Format22t.java | 34 public long getA(byte[] raw) throws IOException { in getA() argument 35 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1); in getA() 39 public long getB(byte[] raw) throws IOException { in getB() argument 40 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getB() 44 public long getC(byte[] raw) throws IOException { in getC() argument 45 return RawInsnHelper.getSignedShortFromTwoBytes(raw, 2); in getC()
|
D | Format35ms.java | 37 public long getA(byte[] raw) throws IOException { in getA() argument 38 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getA() 42 public long getB(byte[] raw) throws IOException { in getB() argument 43 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 47 public long getC(byte[] raw) throws IOException { in getC() argument 48 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 4); in getC()
|
D | Format22b.java | 35 public long getA(byte[] raw) throws IOException { in getA() argument 36 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 40 public long getB(byte[] raw) throws IOException { in getB() argument 41 return RawInsnHelper.getUnsignedByteFromByte(raw, 2); in getB() 45 public long getC(byte[] raw) throws IOException { in getC() argument 46 return RawInsnHelper.getSignedByteFromByte(raw, 3); in getC()
|
D | Format22s.java | 34 public long getA(byte[] raw) throws IOException { in getA() argument 35 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1); in getA() 39 public long getB(byte[] raw) throws IOException { in getB() argument 40 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getB() 44 public long getC(byte[] raw) throws IOException { in getC() argument 45 return RawInsnHelper.getSignedShortFromTwoBytes(raw, 2); in getC()
|
D | Format12x.java | 33 public long getA(byte[] raw) throws IOException { in getA() argument 34 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1); in getA() 38 public long getB(byte[] raw) throws IOException { in getB() argument 39 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getB() 43 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format20bc.java | 38 public long getA(byte[] raw) throws IOException { in getA() argument 39 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 43 public long getB(byte[] raw) throws IOException { in getB() argument 44 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 1); in getB() 48 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format3rc.java | 37 public long getA(byte[] raw) throws IOException { in getA() argument 38 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 42 public long getB(byte[] raw) throws IOException { in getB() argument 43 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 47 public long getC(byte[] raw) throws IOException { in getC() argument 48 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 4); in getC()
|
D | Format22x.java | 34 public long getA(byte[] raw) throws IOException { in getA() argument 35 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 39 public long getB(byte[] raw) throws IOException { in getB() argument 40 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 44 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format32x.java | 35 public long getA(byte[] raw) throws IOException { in getA() argument 36 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getA() 40 public long getB(byte[] raw) throws IOException { in getB() argument 41 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 4); in getB() 45 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format22c.java | 36 public long getA(byte[] raw) throws IOException { in getA() argument 37 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1); in getA() 41 public long getB(byte[] raw) throws IOException { in getB() argument 42 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getB() 46 public long getC(byte[] raw) throws IOException { in getC() argument 47 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getC()
|
D | Format35c.java | 39 public long getA(byte[] raw) throws IOException { in getA() argument 40 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getA() 44 public long getB(byte[] raw) throws IOException { in getB() argument 45 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 49 public long getC(byte[] raw) throws IOException { in getC() argument 50 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 4); in getC()
|
D | Format21t.java | 34 public long getA(byte[] raw) throws IOException { in getA() argument 35 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 39 public long getB(byte[] raw) throws IOException { in getB() argument 40 return RawInsnHelper.getSignedShortFromTwoBytes(raw, 2); in getB() 44 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format11n.java | 33 public long getA(byte[] raw) throws IOException { in getA() argument 34 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1); in getA() 38 public long getB(byte[] raw) throws IOException { in getB() argument 39 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getB() 43 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format31t.java | 34 public long getA(byte[] raw) throws IOException { in getA() argument 35 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 39 public long getB(byte[] raw) throws IOException { in getB() argument 40 return RawInsnHelper.getSignedIntFromFourBytes(raw, 2); in getB() 44 public long getC(byte[] raw) throws IOException { in getC() argument
|
/art/libdexfile/dex/ |
D | art_dex_file_loader_test.cc | 95 std::unique_ptr<const DexFile> raw(OpenTestDexFile("Main")); in TEST_F() local 96 EXPECT_NE(raw->GetHeader().checksum_, raw->GetLocationChecksum()); in TEST_F() 147 std::unique_ptr<const DexFile> raw(OpenTestDexFile("Nested")); in TEST_F() local 148 ASSERT_TRUE(raw.get() != nullptr); in TEST_F() 149 EXPECT_EQ(3U, raw->NumClassDefs()); in TEST_F() 151 const dex::ClassDef& c0 = raw->GetClassDef(0); in TEST_F() 152 EXPECT_STREQ("LNested$1;", raw->GetClassDescriptor(c0)); in TEST_F() 154 const dex::ClassDef& c1 = raw->GetClassDef(1); in TEST_F() 155 EXPECT_STREQ("LNested$Inner;", raw->GetClassDescriptor(c1)); in TEST_F() 157 const dex::ClassDef& c2 = raw->GetClassDef(2); in TEST_F() [all …]
|
D | dex_file_loader_test.cc | 448 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex, kLocationString, &dex_bytes)); in TEST_F() local 449 ValidateDexFileHeader(std::move(raw)); in TEST_F() 454 std::unique_ptr<const DexFile> raw = in TEST_F() local 456 ValidateDexFileHeader(std::move(raw)); in TEST_F() 461 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex38, kLocationString, &dex_bytes)); in TEST_F() local 462 ASSERT_TRUE(raw.get() != nullptr); in TEST_F() 464 const DexFile::Header& header = raw->GetHeader(); in TEST_F() 470 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex39, kLocationString, &dex_bytes)); in TEST_F() local 471 ASSERT_TRUE(raw.get() != nullptr); in TEST_F() 473 const DexFile::Header& header = raw->GetHeader(); in TEST_F() [all …]
|
/art/libnativeloader/ |
D | native_loader_namespace.cpp | 55 android_namespace_t* raw = android_get_exported_namespace(name.c_str()); in GetExportedNamespace() local 56 if (raw != nullptr) { in GetExportedNamespace() 57 return NativeLoaderNamespace(name, raw); in GetExportedNamespace() 60 native_bridge_namespace_t* raw = NativeBridgeGetExportedNamespace(name.c_str()); in GetExportedNamespace() local 61 if (raw != nullptr) { in GetExportedNamespace() 62 return NativeLoaderNamespace(name, raw); in GetExportedNamespace() 124 android_namespace_t* raw = in Create() local 127 if (raw != nullptr) { in Create() 128 return NativeLoaderNamespace(name, raw); in Create() 131 native_bridge_namespace_t* raw = NativeBridgeCreateNamespace( in Create() local [all …]
|
/art/test/1943-suspend-raw-monitor-wait/ |
D | Android.bp | 3 // Build rules for ART run-test `1943-suspend-raw-monitor-wait`. 16 name: "art-run-test-1943-suspend-raw-monitor-wait", 21 ":art-run-test-1943-suspend-raw-monitor-wait-expected-stdout", 22 ":art-run-test-1943-suspend-raw-monitor-wait-expected-stderr", 28 name: "art-run-test-1943-suspend-raw-monitor-wait-expected-stdout", 29 out: ["art-run-test-1943-suspend-raw-monitor-wait-expected-stdout.txt"], 36 name: "art-run-test-1943-suspend-raw-monitor-wait-expected-stderr", 37 out: ["art-run-test-1943-suspend-raw-monitor-wait-expected-stderr.txt"],
|
/art/test/1942-suspend-raw-monitor-exit/ |
D | Android.bp | 3 // Build rules for ART run-test `1942-suspend-raw-monitor-exit`. 16 name: "art-run-test-1942-suspend-raw-monitor-exit", 21 ":art-run-test-1942-suspend-raw-monitor-exit-expected-stdout", 22 ":art-run-test-1942-suspend-raw-monitor-exit-expected-stderr", 28 name: "art-run-test-1942-suspend-raw-monitor-exit-expected-stdout", 29 out: ["art-run-test-1942-suspend-raw-monitor-exit-expected-stdout.txt"], 36 name: "art-run-test-1942-suspend-raw-monitor-exit-expected-stderr", 37 out: ["art-run-test-1942-suspend-raw-monitor-exit-expected-stderr.txt"],
|