Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 172) sorted by relevance

1234567

/art/runtime/gc/
Dheap_verification_test.cc50 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/
DMain.java410 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/
DTest1981_Varhandles.java40 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/411-checker-hdiv-hrem-pow2/src/
DRemTest.java106 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 …]
DDivTest.java100 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/
DMain.java53 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/
DMain.java101 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/
DTest913.java376 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/
Dswap_space_test.cc44 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/
Darithmetic.S241 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/
Dsafe_map.h98 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/
Dtifast.cc375 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/
DTestLinkerMethodWithRange.java108 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/1967-get-set-local-bad-slot/src/art/
DLocals.java60 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/
DLocals.java60 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/
DLocals.java60 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/1965-get-set-local-primitive-no-tables/src/art/
DLocals.java60 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/
DLocals.java60 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/
DLocals.java60 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/
DLocals.java60 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/
DLocals.java60 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/
DLocals.java60 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/
DLocals.java60 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/
DLocals.java60 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/
DLocals.java60 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()

1234567