/art/test/449-checker-bce-rem/src/ |
D | Main.java | 49 private static long $noinline$IntRemBy3(int v) { in $noinline$IntRemBy3() argument 51 if (v > 0) { in $noinline$IntRemBy3() 52 int q = v / 3; in $noinline$IntRemBy3() 53 int r = v % 3; in $noinline$IntRemBy3() 78 private static long $noinline$IntRemBy7(int v) { in $noinline$IntRemBy7() argument 80 if (v > 0) { in $noinline$IntRemBy7() 81 int q = v / 7; in $noinline$IntRemBy7() 82 int r = v % 7; in $noinline$IntRemBy7() 105 private static long $noinline$IntRemBy12(int v) { in $noinline$IntRemBy12() argument 107 if (v > 0) { in $noinline$IntRemBy12() [all …]
|
/art/test/411-checker-instruct-simplifier-hrem/src/ |
D | Main.java | 100 private static long $noinline$IntDivRemBy18(int v) { in $noinline$IntDivRemBy18() argument 101 int q = v / 18; in $noinline$IntDivRemBy18() 102 int r = v % 18; in $noinline$IntDivRemBy18() 122 private static long $noinline$IntDivRemByMinus18(int v) { in $noinline$IntDivRemByMinus18() argument 123 int q = v / -18; in $noinline$IntDivRemByMinus18() 124 int r = v % -18; in $noinline$IntDivRemByMinus18() 144 private static long $noinline$IntRemDivBy18(int v) { in $noinline$IntRemDivBy18() argument 145 int r = v % 18; in $noinline$IntRemDivBy18() 146 int q = v / 18; in $noinline$IntRemDivBy18() 168 private static long $noinline$IntDivRemBy5(int v) { in $noinline$IntDivRemBy5() argument [all …]
|
/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/411-checker-hdiv-hrem-const/src/ |
D | RemTest.java | 111 private static int $noinline$IntRemBy18(int v) { in $noinline$IntRemBy18() argument 112 int r = v % 18; in $noinline$IntRemBy18() 145 private static int $noinline$IntRemByMinus18(int v) { in $noinline$IntRemByMinus18() argument 146 int r = v % -18; in $noinline$IntRemByMinus18() 162 private static int $noinline$IntRemBy7(int v) { in $noinline$IntRemBy7() argument 163 int r = v % 7; in $noinline$IntRemBy7() 198 private static int $noinline$IntRemByMinus7(int v) { in $noinline$IntRemByMinus7() argument 199 int r = v % -7; in $noinline$IntRemByMinus7() 215 private static int $noinline$IntRemBy6(int v) { in $noinline$IntRemBy6() argument 216 int r = v % 6; in $noinline$IntRemBy6() [all …]
|
D | DivTest.java | 109 private static int $noinline$IntDivBy18(int v) { in $noinline$IntDivBy18() argument 110 int r = v / 18; in $noinline$IntDivBy18() 139 private static int $noinline$IntDivByMinus18(int v) { in $noinline$IntDivByMinus18() argument 140 int r = v / -18; in $noinline$IntDivByMinus18() 154 private static int $noinline$IntDivBy7(int v) { in $noinline$IntDivBy7() argument 155 int r = v / 7; in $noinline$IntDivBy7() 187 private static int $noinline$IntDivByMinus7(int v) { in $noinline$IntDivByMinus7() argument 188 int r = v / -7; in $noinline$IntDivByMinus7() 202 private static int $noinline$IntDivBy6(int v) { in $noinline$IntDivBy6() argument 203 int r = v / 6; in $noinline$IntDivBy6() [all …]
|
/art/test/1981-structural-redef-private-method-handles/src/art/ |
D | Test1981_Varhandles.java | 40 public void set(Object vh, Object v) throws Throwable { in set() argument 41 ((VarHandle) vh).set(v); in set() 43 public boolean instanceofVarHandle(Object v) { in instanceofVarHandle() argument 44 return v instanceof VarHandle; in instanceofVarHandle() 46 public Object getVarTypeName(Object v) { in getVarTypeName() argument 47 return ((VarHandle)v).varType().getName(); in getVarTypeName()
|
/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 | DivTest.java | 203 private static Integer $noinline$IntDivBy2(int v) { in $noinline$IntDivBy2() argument 204 int r = v / 2; in $noinline$IntDivBy2() 220 private static Integer $noinline$IntDivByMinus2(int v) { in $noinline$IntDivByMinus2() argument 221 int r = v / -2; in $noinline$IntDivByMinus2() 232 private static Integer $noinline$IntAbsDivBy2(int v) { in $noinline$IntAbsDivBy2() argument 233 int r = Math.abs(v) / 2; in $noinline$IntAbsDivBy2() 245 private static Integer $noinline$IntAbsDivByMinus2(int v) { in $noinline$IntAbsDivByMinus2() argument 246 int r = Math.abs(v) / -2; in $noinline$IntAbsDivByMinus2() 285 private static Integer $noinline$IntDivBy16(int v) { in $noinline$IntDivBy16() argument 286 int r = v / 16; in $noinline$IntDivBy16() [all …]
|
D | RemTest.java | 243 private static Integer $noinline$IntMod2(int v) { in $noinline$IntMod2() argument 244 int r = v % 2; in $noinline$IntMod2() 269 private static Integer $noinline$IntModMinus2(int v) { in $noinline$IntModMinus2() argument 270 int r = v % -2; in $noinline$IntModMinus2() 281 private static Integer $noinline$IntAbsMod2(int v) { in $noinline$IntAbsMod2() argument 282 int r = Math.abs(v) % 2; in $noinline$IntAbsMod2() 293 private static Integer $noinline$IntAbsModMinus2(int v) { in $noinline$IntAbsModMinus2() argument 294 int r = Math.abs(v) % -2; in $noinline$IntAbsModMinus2() 345 private static Integer $noinline$IntMod16(int v) { in $noinline$IntMod16() argument 346 int r = v % 16; in $noinline$IntMod16() [all …]
|
/art/test/551-checker-shifter-operand/src/ |
D | Main.java | 50 static char $noinline$byteToChar (byte v) { return (char)v; } in $noinline$byteToChar() argument 51 static short $noinline$byteToShort (byte v) { return (short)v; } in $noinline$byteToShort() argument 52 static int $noinline$byteToInt (byte v) { return (int)v; } in $noinline$byteToInt() argument 53 static long $noinline$byteToLong (byte v) { return (long)v; } in $noinline$byteToLong() argument 54 static byte $noinline$charToByte (char v) { return (byte)v; } in $noinline$charToByte() argument 55 static short $noinline$charToShort (char v) { return (short)v; } in $noinline$charToShort() argument 56 static int $noinline$charToInt (char v) { return (int)v; } in $noinline$charToInt() argument 57 static long $noinline$charToLong (char v) { return (long)v; } in $noinline$charToLong() argument 58 static byte $noinline$shortToByte (short v) { return (byte)v; } in $noinline$shortToByte() argument 59 static char $noinline$shortToChar (short v) { 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/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/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/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 | 98 iterator Put(const K& k, const V& v) { in Put() argument 99 std::pair<iterator, bool> result = map_.emplace(k, v); in Put() 103 iterator Put(const K& k, V&& v) { in Put() argument 104 std::pair<iterator, bool> result = map_.emplace(k, std::move(v)); in Put() 110 iterator PutBefore(const_iterator pos, const K& k, const V& v) { in PutBefore() argument 114 return map_.emplace_hint(pos, k, v); in PutBefore() 116 iterator PutBefore(const_iterator pos, const K& k, V&& v) { in PutBefore() argument 120 return map_.emplace_hint(pos, k, std::move(v)); in PutBefore() 126 iterator Overwrite(const K& k, const V& v) { in Overwrite() argument 127 std::pair<iterator, bool> result = map_.insert(std::make_pair(k, v)); in Overwrite() [all …]
|
/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/tools/jvmti-agents/ti-fast/ |
D | tifast.cc | 375 unsigned char** v, 379 const unsigned char* v, 383 const char* v, 387 const jvmtiAddrLocationMap* v, 391 jvalue v, 395 jobject v, 421 const jvmtiAddrLocationMap* v, in PrintRest() argument 423 if (v != nullptr) { in PrintRest() 425 << v->start_address << ", location: " << v->location << "]"; in PrintRest() 433 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jint* v, Args... args) { in PrintRest() argument [all …]
|
/art/test/952-invoke-custom/src/ |
D | TestLinkerMethodWithRange.java | 108 public static void test(int u, int v, int w, int x, int y, int z) throws Throwable { in test() argument 109 assertEquals(u + v + w + x + y + z, add(u, v, w, x, y, z)); in test() 110 System.out.println(u + v + w + x + y + z); in test() 157 public static void test(Double u, Double v, Double w, Double x, Double y, Double z) in test() argument 161 if (v != null) product *= v; in test() 166 assertEquals(product, multiply(u, v, w, x, y, z)); in test()
|
/art/test/1966-get-set-local-objects-no-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/1967-get-set-local-bad-slot/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/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/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/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()
|