Home
last modified time | relevance | path

Searched refs:expect_ptr_id (Results 1 – 2 of 2) sorted by relevance

/art/test/1973-jni-id-swap-pointer/src/
DMain.java41 long expect_ptr_id = GetId(PtrCls.class, "doNothingPtr"); in main() local
42 DbgPrint(String.format("expected_ptr_id is 0x%x", expect_ptr_id)); in main()
43 if (expect_ptr_id % 4 != 0) { in main()
44 throw new Error("ID " + expect_ptr_id + " is not aligned!"); in main()
53 throw new Error("ID " + expect_ptr_id + " is not aligned!"); in main()
58 if (expect_ptr_id != again_ptr_id) { in main()
60 "Got different id values for same method. " + expect_ptr_id + " vs " + again_ptr_id); in main()
/art/test/1972-jni-id-swap-indices/src/
DMain.java43 long expect_ptr_id = GetId(PtrCls.class, "doNothingPtr"); in main() local
44 DbgPrint(String.format("expected_ptr_id is 0x%x", expect_ptr_id)); in main()
45 if (expect_ptr_id % 4 != 0) { in main()
46 throw new Error("ID " + expect_ptr_id + " is not aligned!"); in main()
55 throw new Error("ID " + expect_ptr_id + " is not odd!"); in main()
60 if (expect_ptr_id != again_ptr_id) { in main()
62 "Got different id values for same method. " + expect_ptr_id + " vs " + again_ptr_id); in main()