Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 25 of 54) sorted by relevance

123

/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/
DRawInsnHelper.java27 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 …]
DFormat3rmi.java35 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()
DFormat3rms.java35 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()
DFormat23x.java35 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()
DFormat22cs.java37 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()
DFormat35mi.java37 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()
DFormat22t.java34 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()
DFormat35ms.java37 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()
DFormat22b.java35 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()
DFormat22s.java34 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()
DFormat12x.java33 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
DFormat20bc.java38 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
DFormat3rc.java37 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()
DFormat22x.java34 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
DFormat32x.java35 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
DFormat22c.java36 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()
DFormat35c.java39 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()
DFormat21t.java34 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
DFormat11n.java33 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
DFormat31t.java34 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/
Dart_dex_file_loader_test.cc95 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 …]
Ddex_file_loader_test.cc448 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/
Dnative_loader_namespace.cpp55 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/
DAndroid.bp3 // 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/
DAndroid.bp3 // 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"],

123