Home
last modified time | relevance | path

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

1234

/art/runtime/gc/
Dheap_verification_test.cc49 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F() local
50 EXPECT_FALSE(v->IsValidHeapObjectAddress(reinterpret_cast<const void*>(1))); in TEST_F()
51 EXPECT_FALSE(v->IsValidHeapObjectAddress(reinterpret_cast<const void*>(4))); in TEST_F()
52 EXPECT_FALSE(v->IsValidHeapObjectAddress(nullptr)); in TEST_F()
56 EXPECT_TRUE(v->IsValidHeapObjectAddress(string.Get())); in TEST_F()
60 EXPECT_TRUE(v->IsAddressInHeapSpace(unaligned_address)); in TEST_F()
61 EXPECT_FALSE(v->IsValidHeapObjectAddress(unaligned_address)); in TEST_F()
62 EXPECT_TRUE(v->IsValidHeapObjectAddress(string->GetClass())); in TEST_F()
66 EXPECT_TRUE(v->IsValidHeapObjectAddress( in TEST_F()
68 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/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/runtime/interpreter/mterp/x86/
Dop_not_long.S5 GET_VREG %eax, %ecx # eax <- v[B+0]
6 GET_VREG_HIGH %ecx, %ecx # ecx <- v[B+1]
9 SET_VREG %eax, rINST # v[A+0] <- eax
10 SET_VREG_HIGH %ecx, rINST # v[A+1] <- ecx
Dop_neg_long.S5 GET_VREG %eax, %ecx # eax <- v[B+0]
6 GET_VREG_HIGH %ecx, %ecx # ecx <- v[B+1]
10 SET_VREG %eax, rINST # v[A+0] <- eax
11 SET_VREG_HIGH %ecx, rINST # v[A+1] <- ecx
DbinopWide.S8 GET_VREG rIBASE, %eax # rIBASE <- v[BB+0]
9 GET_VREG_HIGH %eax, %eax # eax <- v[BB+1]
12 SET_VREG rIBASE, rINST # v[AA+0] <- rIBASE
14 SET_VREG_HIGH %eax, rINST # v[AA+1] <- eax
Dop_shr_long.S16 GET_VREG_HIGH rIBASE, %eax # rIBASE<- v[BB+1]
18 GET_VREG %eax, %eax # eax <- v[BB+0]
26 SET_VREG_HIGH rIBASE, rINST # v[AA+1] <- rIBASE
28 SET_VREG %eax, rINST # v[AA+0] <- eax
Dop_shl_long.S16 GET_VREG_HIGH rIBASE, %eax # ecx <- v[BB+1]
18 GET_VREG %eax, %eax # eax <- v[BB+0]
26 SET_VREG_HIGH rIBASE, rINST # v[AA+1] <- rIBASE
28 SET_VREG %eax, rINST # v[AA+0] <- %eax
Dop_ushr_long.S16 GET_VREG_HIGH rIBASE, %eax # rIBASE <- v[BB+1]
18 GET_VREG %eax, %eax # eax <- v[BB+0]
26 SET_VREG_HIGH rIBASE, rINST # v[AA+1] <- rIBASE
28 SET_VREG %eax, rINST # v[BB+0] <- eax
Dop_shl_long_2addr.S11 GET_VREG %eax, rINST # eax <- v[AA+0]
14 GET_VREG_HIGH rIBASE, rINST # rIBASE <- v[AA+1]
23 SET_VREG_HIGH rIBASE, rINST # v[AA+1] <- rIBASE
25 SET_VREG %eax, rINST # v[AA+0] <- eax
Dop_ushr_long_2addr.S11 GET_VREG %eax, rINST # eax <- v[AA+0]
14 GET_VREG_HIGH rIBASE, rINST # rIBASE <- v[AA+1]
23 SET_VREG_HIGH rIBASE, rINST # v[AA+1] <- rIBASE
25 SET_VREG %eax, rINST # v[AA+0] <- eax
Dop_shr_long_2addr.S11 GET_VREG %eax, rINST # eax <- v[AA+0]
14 GET_VREG_HIGH rIBASE, rINST # rIBASE <- v[AA+1]
23 SET_VREG_HIGH rIBASE, rINST # v[AA+1] <- rIBASE
25 SET_VREG %eax, rINST # v[AA+0] <- eax
Dop_mul_long.S18 leal (rFP,%eax,4), %esi # esi <- &v[B]
19 leal (rFP,%ecx,4), rFP # rFP <- &v[C]
30 SET_VREG_HIGH rIBASE, rINST # v[B+1] <- rIBASE
32 SET_VREG %eax, rINST # v[B] <- eax
Dop_mul_long_2addr.S20 leal (rFP,%eax,4), %esi # esi <- &v[A]
21 leal (rFP,rINST,4), rFP # rFP <- &v[B]
30 movl rIBASE, 4(%esi) # v[A+1] <- rIBASE
31 movl %eax, (%esi) # v[A] <- %eax
Dop_move_wide_16.S5 GET_WIDE_FP_VREG %xmm0, %ecx # xmm0 <- v[B]
6 SET_WIDE_FP_VREG %xmm0, %eax # v[A] <- xmm0
Dop_move_wide_from16.S5 GET_WIDE_FP_VREG %xmm0, %ecx # xmm0 <- v[B]
6 SET_WIDE_FP_VREG %xmm0, %eax # v[A] <- xmm0
Dop_const_wide_high16.S4 SET_VREG_HIGH %eax, rINST # v[AA+1] <- eax
6 SET_VREG %eax, rINST # v[AA+0] <- eax
/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/test/959-invoke-polymorphic-accessors/src/
DMain.java86 static void setByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure) in setByte() argument
90 if (v == null) { in setByte()
94 m.invokeExact(v, value); in setByte()
107 static void getByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure) in getByte() argument
112 if (v == null) { in getByte()
115 got = (byte)m.invokeExact(v); in getByte()
129 static void setChar(MethodHandle m, ValueHolder v, char value, boolean expectFailure) in setChar() argument
133 if (v == null) { in setChar()
137 m.invokeExact(v, value); in setChar()
150 static void getChar(MethodHandle m, ValueHolder v, char value, boolean expectFailure) in getChar() argument
[all …]
/art/compiler/utils/
Dswap_space_test.cc42 SwapVector<int32_t> v(alloc); in SwapTest() local
43 v.reserve(1000000); in SwapTest()
45 v.push_back(i); in SwapTest()
46 EXPECT_EQ(i, v[i]); in SwapTest()
65 EXPECT_EQ(i, v[i]); in SwapTest()
/art/runtime/
Dsafe_map.h95 iterator Put(const K& k, const V& v) { in Put() argument
96 std::pair<iterator, bool> result = map_.emplace(k, v); in Put()
100 iterator Put(const K& k, V&& v) { in Put() argument
101 std::pair<iterator, bool> result = map_.emplace(k, std::move(v)); in Put()
107 iterator PutBefore(const_iterator pos, const K& k, const V& v) { in PutBefore() argument
111 return map_.emplace_hint(pos, k, v); in PutBefore()
113 iterator PutBefore(const_iterator pos, const K& k, V&& v) { in PutBefore() argument
117 return map_.emplace_hint(pos, k, std::move(v)); in PutBefore()
123 iterator Overwrite(const K& k, const V& v) { in Overwrite() argument
124 std::pair<iterator, bool> result = map_.insert(std::make_pair(k, v)); in Overwrite()
[all …]
/art/test/068-classloader/src-ex/
DMutator.java22 public static void mutate(int v) { in mutate() argument
23 MutationTarget.value = v; in mutate()
/art/runtime/interpreter/mterp/x86_64/
Dop_move_wide_from16.S4 GET_WIDE_VREG %rdx, %rcx # rdx <- v[B]
5 SET_WIDE_VREG %rdx, rINSTq # v[A] <- rdx
Dop_move_wide_16.S5 GET_WIDE_VREG %rdx, %rcx # rdx <- v[B]
6 SET_WIDE_VREG %rdx, %rax # v[A] <- rdx
Dop_move_wide.S6 GET_WIDE_VREG %rdx, rINSTq # rdx <- v[B]
7 SET_WIDE_VREG %rdx, %rcx # v[A] <- rdx

1234