/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-hdiv-hrem-const/src/ |
D | DivTest.java | 134 private static int $noinline$IntDivBy18(int v) { in $noinline$IntDivBy18() argument 135 int r = v / 18; in $noinline$IntDivBy18() 164 private static int $noinline$IntDivByMinus18(int v) { in $noinline$IntDivByMinus18() argument 165 int r = v / -18; in $noinline$IntDivByMinus18() 179 private static int $noinline$IntDivBy7(int v) { in $noinline$IntDivBy7() argument 180 int r = v / 7; in $noinline$IntDivBy7() 212 private static int $noinline$IntDivByMinus7(int v) { in $noinline$IntDivByMinus7() argument 213 int r = v / -7; in $noinline$IntDivByMinus7() 227 private static int $noinline$IntDivBy6(int v) { in $noinline$IntDivBy6() argument 228 int r = v / 6; in $noinline$IntDivBy6() [all …]
|
D | RemTest.java | 125 private static int $noinline$IntRemBy18(int v) { in $noinline$IntRemBy18() argument 126 int r = v % 18; in $noinline$IntRemBy18() 159 private static int $noinline$IntRemByMinus18(int v) { in $noinline$IntRemByMinus18() argument 160 int r = v % -18; in $noinline$IntRemByMinus18() 176 private static int $noinline$IntRemBy7(int v) { in $noinline$IntRemBy7() argument 177 int r = v % 7; in $noinline$IntRemBy7() 212 private static int $noinline$IntRemByMinus7(int v) { in $noinline$IntRemByMinus7() argument 213 int r = v % -7; in $noinline$IntRemByMinus7() 229 private static int $noinline$IntRemBy6(int v) { in $noinline$IntRemBy6() argument 230 int r = v % 6; in $noinline$IntRemBy6() [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-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/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/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/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/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/native/ |
D | java_lang_StringFactory.cc | 161 jchar* v; in StringFactory_newStringFromUtf8Bytes() local 163 v = stack_buffer; in StringFactory_newStringFromUtf8Bytes() 166 v = allocated_buffer.get(); in StringFactory_newStringFromUtf8Bytes() 185 v[s++] = (jchar) b; in StringFactory_newStringFromUtf8Bytes() 190 v[s++] = kReplacementChar; in StringFactory_newStringFromUtf8Bytes() 198 v[s++] = kReplacementChar; in StringFactory_newStringFromUtf8Bytes() 219 v[s++] = kReplacementChar; in StringFactory_newStringFromUtf8Bytes() 246 v[s++] = (jchar) code_point; in StringFactory_newStringFromUtf8Bytes() 248 v[s++] = (jchar) ((code_point >> 10) + 0xd7c0); in StringFactory_newStringFromUtf8Bytes() 249 v[s++] = (jchar) ((code_point & 0x3ff) + 0xdc00); in StringFactory_newStringFromUtf8Bytes() [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 | 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/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/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/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/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/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/jvmti-common/ |
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()
|