/art/runtime/gc/ |
D | heap_verification_test.cc | 50 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F() local 51 EXPECT_FALSE(v->IsValidHeapObjectAddress(reinterpret_cast<const void*>(1))); in TEST_F() 52 EXPECT_FALSE(v->IsValidHeapObjectAddress(reinterpret_cast<const void*>(4))); in TEST_F() 53 EXPECT_FALSE(v->IsValidHeapObjectAddress(nullptr)); in TEST_F() 57 EXPECT_TRUE(v->IsValidHeapObjectAddress(string.Get())); in TEST_F() 61 EXPECT_TRUE(v->IsAddressInHeapSpace(unaligned_address)); in TEST_F() 62 EXPECT_FALSE(v->IsValidHeapObjectAddress(unaligned_address)); in TEST_F() 63 EXPECT_TRUE(v->IsValidHeapObjectAddress(string->GetClass())); in TEST_F() 67 EXPECT_TRUE(v->IsValidHeapObjectAddress( in TEST_F() 69 EXPECT_FALSE(v->IsValidHeapObjectAddress( in TEST_F() [all …]
|
/art/test/950-redefine-intrinsic/src/ |
D | Main.java | 410 return new FuncCmp(name, (v) -> a.applyAsLong(v) == b.applyAsLong(v)); in l2l() 413 return new FuncCmp(name, (v) -> a.applyAsInt(v) == b.applyAsInt(v)); in l2i() 421 public boolean test(long v) { in li2l() 423 return a.applyToLongInt(v, i) == b.applyToLongInt(v, i); in li2l() 456 .mapToLong((v) -> (long)v)
|
/art/test/411-checker-hdiv-hrem-pow2/src/ |
D | RemTest.java | 106 private static Integer $noinline$IntMod2(int v) { in $noinline$IntMod2() argument 107 int r = v % 2; in $noinline$IntMod2() 126 private static Integer $noinline$IntModMinus2(int v) { in $noinline$IntModMinus2() argument 127 int r = v % -2; in $noinline$IntModMinus2() 147 private static Integer $noinline$IntMod16(int v) { in $noinline$IntMod16() argument 148 int r = v % 16; in $noinline$IntMod16() 168 private static Integer $noinline$IntModMinus16(int v) { in $noinline$IntModMinus16() argument 169 int r = v % -16; in $noinline$IntModMinus16() 189 private static Integer $noinline$IntModIntMin(int v) { in $noinline$IntModIntMin() argument 190 int r = v % Integer.MIN_VALUE; in $noinline$IntModIntMin() [all …]
|
D | DivTest.java | 100 private static Integer $noinline$IntDivBy2(int v) { in $noinline$IntDivBy2() argument 101 int r = v / 2; in $noinline$IntDivBy2() 111 private static Integer $noinline$IntDivByMinus2(int v) { in $noinline$IntDivByMinus2() argument 112 int r = v / -2; in $noinline$IntDivByMinus2() 121 private static Integer $noinline$IntDivBy16(int v) { in $noinline$IntDivBy16() argument 122 int r = v / 16; in $noinline$IntDivBy16() 131 private static Integer $noinline$IntDivByMinus16(int v) { in $noinline$IntDivByMinus16() argument 132 int r = v / -16; in $noinline$IntDivByMinus16() 142 private static Integer $noinline$IntDivByIntMin(int v) { in $noinline$IntDivByIntMin() argument 143 int r = v / Integer.MIN_VALUE; in $noinline$IntDivByIntMin() [all …]
|
/art/test/551-checker-shifter-operand/src/ |
D | Main.java | 53 static char $noinline$byteToChar (byte v) { if (doThrow) throw new Error(); return (char)v; } in $noinline$byteToChar() argument 54 static short $noinline$byteToShort (byte v) { if (doThrow) throw new Error(); return (short)v; } in $noinline$byteToShort() argument 55 static int $noinline$byteToInt (byte v) { if (doThrow) throw new Error(); return (int)v; } in $noinline$byteToInt() argument 56 static long $noinline$byteToLong (byte v) { if (doThrow) throw new Error(); return (long)v; } in $noinline$byteToLong() argument 57 static byte $noinline$charToByte (char v) { if (doThrow) throw new Error(); return (byte)v; } in $noinline$charToByte() argument 58 static short $noinline$charToShort (char v) { if (doThrow) throw new Error(); return (short)v; } in $noinline$charToShort() argument 59 static int $noinline$charToInt (char v) { if (doThrow) throw new Error(); return (int)v; } in $noinline$charToInt() argument 60 static long $noinline$charToLong (char v) { if (doThrow) throw new Error(); return (long)v; } in $noinline$charToLong() argument 61 static byte $noinline$shortToByte (short v) { if (doThrow) throw new Error(); return (byte)v; } in $noinline$shortToByte() argument 62 static char $noinline$shortToChar (short v) { if (doThrow) throw new Error(); return (char)v; } in $noinline$shortToChar() argument [all …]
|
/art/test/959-invoke-polymorphic-accessors/src/ |
D | Main.java | 101 static void setByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure) in setByte() argument 105 if (v == null) { in setByte() 109 m.invokeExact(v, value); in setByte() 122 static void getByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure) in getByte() argument 127 if (v == null) { in getByte() 130 got = (byte) m.invokeExact(v); in getByte() 144 static void setChar(MethodHandle m, ValueHolder v, char value, boolean expectFailure) in setChar() argument 148 if (v == null) { in setChar() 152 m.invokeExact(v, value); in setChar() 165 static void getChar(MethodHandle m, ValueHolder v, char value, boolean expectFailure) in getChar() argument [all …]
|
/art/test/913-heaps/src/art/ |
D | Test913.java | 376 Verifier v = new Verifier(); in doFollowReferencesTestNonRoot() local 377 tagClasses(v); in doFollowReferencesTestNonRoot() 378 A a = createTree(v); in doFollowReferencesTestNonRoot() 380 v.add("0@0", "1@1000"); // tmpStorage[0] --(array-element)--> a. in doFollowReferencesTestNonRoot() 382 doFollowReferencesTestImpl(null, stopAfter, followSet, null, v, null); in doFollowReferencesTestNonRoot() 383 doFollowReferencesTestImpl(a.foo2, stopAfter, followSet, null, v, "3@1001"); in doFollowReferencesTestNonRoot() 389 Verifier v = new Verifier(); in doFollowReferencesTestRoot() local 390 tagClasses(v); in doFollowReferencesTestRoot() 391 A a = createTree(v); in doFollowReferencesTestRoot() 393 doFollowReferencesTestImpl(null, stopAfter, followSet, a, v, null); in doFollowReferencesTestRoot() [all …]
|
/art/compiler/utils/ |
D | swap_space_test.cc | 44 SwapVector<int32_t> v(alloc); in SwapTest() local 45 v.reserve(1000000); in SwapTest() 47 v.push_back(i); in SwapTest() 48 EXPECT_EQ(i, v[i]); in SwapTest() 67 EXPECT_EQ(i, v[i]); in SwapTest()
|
/art/runtime/interpreter/mterp/x86/ |
D | arithmetic.S | 241 GET_VREG rIBASE, %eax # rIBASE <- v[BB+0] 242 GET_VREG_HIGH %eax, %eax # eax <- v[BB+1] 245 SET_VREG rIBASE, rINST # v[AA+0] <- rIBASE 247 SET_VREG_HIGH %eax, rINST # v[AA+1] <- eax 257 GET_VREG %eax, %ecx # eax<- v[B+0] 258 GET_VREG_HIGH %ecx, %ecx # eax<- v[B+1] 401 GET_VREG_HIGH %eax, %eax # eax <- v[BB+1], BB is clobbered 406 GET_VREG %eax, %eax # eax <- v[BB] 498 SET_VREG_HIGH rIBASE, rINST # v[A+1] <- rIBASE 499 SET_VREG %eax, rINST # v[A+0] <- %eax [all …]
|
/art/libartbase/base/ |
D | safe_map.h | 94 iterator Put(const K& k, const V& v) { in Put() argument 95 std::pair<iterator, bool> result = map_.emplace(k, v); in Put() 99 iterator Put(const K& k, V&& v) { in Put() argument 100 std::pair<iterator, bool> result = map_.emplace(k, std::move(v)); in Put() 106 iterator PutBefore(const_iterator pos, const K& k, const V& v) { in PutBefore() argument 110 return map_.emplace_hint(pos, k, v); in PutBefore() 112 iterator PutBefore(const_iterator pos, const K& k, V&& v) { in PutBefore() argument 116 return map_.emplace_hint(pos, k, std::move(v)); in PutBefore() 122 iterator Overwrite(const K& k, const V& v) { in Overwrite() argument 123 std::pair<iterator, bool> result = map_.insert(std::make_pair(k, v)); in Overwrite() [all …]
|
/art/tools/jvmti-agents/ti-fast/ |
D | tifast.cc | 378 unsigned char** v, 382 const unsigned char* v, 386 const char* v, 390 const jvmtiAddrLocationMap* v, 394 jvalue v, 398 jobject v, 424 const jvmtiAddrLocationMap* v, in PrintRest() argument 426 if (v != nullptr) { in PrintRest() 428 << v->start_address << ", location: " << v->location << "]"; in PrintRest() 436 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jint* v, Args... args) { in PrintRest() argument [all …]
|
/art/test/1914-get-local-instance/src/art/ |
D | Locals.java | 60 VariableDescription v = (VariableDescription)other; in equals() local 61 return Objects.equals(v.signature, signature) && in equals() 62 Objects.equals(v.name, name) && in equals() 63 Objects.equals(v.generic_signature, generic_signature) && in equals() 64 v.slot == slot && in equals() 65 v.start_location == start_location && in equals() 66 v.length == length; in equals()
|
/art/test/1915-get-set-local-current-thread/src/art/ |
D | Locals.java | 60 VariableDescription v = (VariableDescription)other; in equals() local 61 return Objects.equals(v.signature, signature) && in equals() 62 Objects.equals(v.name, name) && in equals() 63 Objects.equals(v.generic_signature, generic_signature) && in equals() 64 v.slot == slot && in equals() 65 v.start_location == start_location && in equals() 66 v.length == length; in equals()
|
/art/test/1916-get-set-current-frame/src/art/ |
D | Locals.java | 60 VariableDescription v = (VariableDescription)other; in equals() local 61 return Objects.equals(v.signature, signature) && in equals() 62 Objects.equals(v.name, name) && in equals() 63 Objects.equals(v.generic_signature, generic_signature) && in equals() 64 v.slot == slot && in equals() 65 v.start_location == start_location && in equals() 66 v.length == length; in equals()
|
/art/test/1939-proxy-frames/src/art/ |
D | Locals.java | 60 VariableDescription v = (VariableDescription)other; in equals() local 61 return Objects.equals(v.signature, signature) && in equals() 62 Objects.equals(v.name, name) && in equals() 63 Objects.equals(v.generic_signature, generic_signature) && in equals() 64 v.slot == slot && in equals() 65 v.start_location == start_location && in equals() 66 v.length == length; in equals()
|
/art/test/1924-frame-pop-toggle/src/art/ |
D | Locals.java | 60 VariableDescription v = (VariableDescription)other; in equals() local 61 return Objects.equals(v.signature, signature) && in equals() 62 Objects.equals(v.name, name) && in equals() 63 Objects.equals(v.generic_signature, generic_signature) && in equals() 64 v.slot == slot && in equals() 65 v.start_location == start_location && in equals() 66 v.length == length; in equals()
|
/art/test/1923-frame-pop/src/art/ |
D | Locals.java | 60 VariableDescription v = (VariableDescription)other; in equals() local 61 return Objects.equals(v.signature, signature) && in equals() 62 Objects.equals(v.name, name) && in equals() 63 Objects.equals(v.generic_signature, generic_signature) && in equals() 64 v.slot == slot && in equals() 65 v.start_location == start_location && in equals() 66 v.length == length; in equals()
|
/art/test/1913-get-set-local-objects/src/art/ |
D | Locals.java | 60 VariableDescription v = (VariableDescription)other; in equals() local 61 return Objects.equals(v.signature, signature) && in equals() 62 Objects.equals(v.name, name) && in equals() 63 Objects.equals(v.generic_signature, generic_signature) && in equals() 64 v.slot == slot && in equals() 65 v.start_location == start_location && in equals() 66 v.length == length; in equals()
|
/art/test/1911-get-local-var-table/src/art/ |
D | Locals.java | 60 VariableDescription v = (VariableDescription)other; in equals() local 61 return Objects.equals(v.signature, signature) && in equals() 62 Objects.equals(v.name, name) && in equals() 63 Objects.equals(v.generic_signature, generic_signature) && in equals() 64 v.slot == slot && in equals() 65 v.start_location == start_location && in equals() 66 v.length == length; in equals()
|
/art/test/1926-missed-frame-pop/src/art/ |
D | Locals.java | 60 VariableDescription v = (VariableDescription)other; in equals() local 61 return Objects.equals(v.signature, signature) && in equals() 62 Objects.equals(v.name, name) && in equals() 63 Objects.equals(v.generic_signature, generic_signature) && in equals() 64 v.slot == slot && in equals() 65 v.start_location == start_location && in equals() 66 v.length == length; in equals()
|
/art/test/1925-self-frame-pop/src/art/ |
D | Locals.java | 60 VariableDescription v = (VariableDescription)other; in equals() local 61 return Objects.equals(v.signature, signature) && in equals() 62 Objects.equals(v.name, name) && in equals() 63 Objects.equals(v.generic_signature, generic_signature) && in equals() 64 v.slot == slot && in equals() 65 v.start_location == start_location && in equals() 66 v.length == length; in equals()
|
/art/test/1912-get-set-local-primitive/src/art/ |
D | Locals.java | 60 VariableDescription v = (VariableDescription)other; in equals() local 61 return Objects.equals(v.signature, signature) && in equals() 62 Objects.equals(v.name, name) && in equals() 63 Objects.equals(v.generic_signature, generic_signature) && in equals() 64 v.slot == slot && in equals() 65 v.start_location == start_location && in equals() 66 v.length == length; in equals()
|
/art/test/1935-get-set-current-frame-jit/src/art/ |
D | Locals.java | 60 VariableDescription v = (VariableDescription)other; in equals() local 61 return Objects.equals(v.signature, signature) && in equals() 62 Objects.equals(v.name, name) && in equals() 63 Objects.equals(v.generic_signature, generic_signature) && in equals() 64 v.slot == slot && in equals() 65 v.start_location == start_location && in equals() 66 v.length == length; in equals()
|
/art/test/068-classloader/src-ex/ |
D | Mutator.java | 22 public static void mutate(int v) { in mutate() argument 23 MutationTarget.value = v; in mutate()
|
/art/test/411-optimizing-arith/src/ |
D | RemTest.java | 131 int[] v = {25, 1}; in $noinline$RemLoaded1() local 132 return a % v[1]; in $noinline$RemLoaded1() 136 int [] v = {25, -1}; in $noinline$RemLoadedN1() local 137 return a % v[1]; in $noinline$RemLoadedN1() 141 long[] v = {25, 1}; in $noinline$RemLoaded1() local 142 return a % v[1]; in $noinline$RemLoaded1() 146 long [] v = {25, -1}; in $noinline$RemLoadedN1() local 147 return a % v[1]; in $noinline$RemLoadedN1()
|