Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 132) sorted by relevance

123456

/art/test/2019-constantcalculationsinking/src/
DMain.java50 for (int k = 0; k < iterations; k++) { in testLoopAddInt()
51 additionalVar += k; in testLoopAddInt()
67 for (int k = 0; k < iterations; k++) { in testLoopSubInt()
68 additionalVar += k; in testLoopSubInt()
84 for (long k = 0; k < iterations; k++) { in testLoopSubLong()
85 additionalVar += k; in testLoopSubLong()
101 for (int k = 0; k < 5; k++) { in testLoopMulInt()
102 additionalVar += k + n + k % 3 - i % 2 + n % 4 - i % 5 in testLoopMulInt()
103 + (k + 2) / 7 - (i - 5) / 3 + k * 3 - k / 2; in testLoopMulInt()
119 for (long k = 0; k < 5; k++) { in testLoopMulLong()
[all …]
/art/libartbase/base/
Dsafe_map.h80 size_type erase(const key_type& k) { return map_.erase(k); } in erase() argument
83 node_type extract(const key_type& k) { return map_.extract(k); } in extract() argument
91 template<typename Kv> iterator find(const Kv& k) { return map_.find(k); } in find() argument
92 template<typename Kv> const_iterator find(const Kv& k) const { return map_.find(k); } in find() argument
94 template<typename Kv> iterator lower_bound(const Kv& k) { return map_.lower_bound(k); } in lower_bound() argument
95 template<typename Kv> const_iterator lower_bound(const Kv& k) const { in lower_bound() argument
96 return map_.lower_bound(k); in lower_bound()
99 template<typename Kv> iterator upper_bound(const Kv& k) { return map_.upper_bound(k); } in upper_bound() argument
100 template<typename Kv> const_iterator upper_bound(const Kv& k) const { in upper_bound() argument
101 return map_.upper_bound(k); in upper_bound()
[all …]
Ddata_hash.h153 uint32_t k = block; in Murmur3Update() local
154 k *= kMurmur3C1; in Murmur3Update()
155 k = (k << kMurmur3R1) | (k >> (32 - kMurmur3R1)); in Murmur3Update()
156 k *= kMurmur3C2; in Murmur3Update()
157 hash ^= k; in Murmur3Update()
164 uint32_t k = block; in Murmur3UpdatePartial() local
165 k *= kMurmur3C1; in Murmur3UpdatePartial()
166 k = (k << kMurmur3R1) | (k >> (32 - kMurmur3R1)); in Murmur3UpdatePartial()
167 k *= kMurmur3C2; in Murmur3UpdatePartial()
168 hash ^= k; in Murmur3UpdatePartial()
/art/test/552-checker-x86-avx2-bit-manipulation/src/
DMain.java53 long k = 2; in and_not_64() local
86 int k = 2; in and_not_32() local
133 int k = 10; in reset_lowest_set_bit_32() local
139 k +=j; in reset_lowest_set_bit_32()
140 k = k & k-1; in reset_lowest_set_bit_32()
141 l +=k; in reset_lowest_set_bit_32()
144 return y + j + k + l; in reset_lowest_set_bit_32()
174 long k = 10; in reset_lowest_set_bit_64() local
180 k +=j; in reset_lowest_set_bit_64()
181 k = k & k-1; in reset_lowest_set_bit_64()
[all …]
/art/test/618-checker-induction/src/
DMain.java83 for (int k = 0; k < 4; k++) { in deadNestedAndFollowingLoops()
85 for (int k = 0; k < 4; k++) { in deadNestedAndFollowingLoops()
89 for (int k = 0; k < 4; k++) { in deadNestedAndFollowingLoops()
103 int k = 0; in deadConditional() local
107 k = i; in deadConditional()
123 int k = 0; in deadConditionalCycle() local
127 k--; in deadConditionalCycle()
211 static void deadCycleWithException(int k) { in deadCycleWithException() argument
218 dead += a[k]; in deadCycleWithException()
551 int k = 0; in periodicReturned9() local
[all …]
/art/test/992-source-data/src/art/
DTest992.java41 public static String printClass(Class<?> k) { in printClass() argument
42 if (k != null && Proxy.class.isAssignableFrom(k)) { in printClass()
43 return String.format("Proxy of %s", Arrays.toString(k.getInterfaces())); in printClass()
45 return String.format("%s", k); in printClass()
48 public static void doTest(Class<?> k) { in doTest() argument
49 String pk = printClass(k); in doTest()
51 System.out.println(pk + " is defined in file \"" + getSourceFileName(k) + "\""); in doTest()
56 System.out.println(pk + " has extension \"" + getSourceDebugExtension(k) + "\""); in doTest()
62 public static native String getSourceFileName(Class<?> k) throws Exception; in getSourceFileName() argument
63 public static native String getSourceDebugExtension(Class<?> k) throws Exception; in getSourceDebugExtension() argument
/art/test/661-checker-simd-reduc/src/
DMain.java588 for (int i = 0, k = -17; i < N; i++, k += 3) { in main()
589 xb[i] = (byte) k; in main()
590 xs[i] = (short) k; in main()
591 xc[i] = (char) k; in main()
592 xi[i] = k; in main()
593 xl[i] = k; in main()
602 for (int i = 0, k = 3; i < M; i++, k++) { in main()
603 xpb[i] = (byte) k; in main()
604 xps[i] = (short) k; in main()
605 xpc[i] = (char) k; in main()
[all …]
/art/test/530-checker-loops2/src/
DMain.java56 int k = 0; in periodicIdiom() local
59 result += x[k]; in periodicIdiom()
60 k = 1 - k; in periodicIdiom()
74 int k = 0; in periodicSequence2() local
78 result += x[k]; in periodicSequence2()
80 l = k; in periodicSequence2()
81 k = t; in periodicSequence2()
98 int k = 0; in periodicSequence4() local
104 result += x[k] + x[l] + x[m] + x[n]; // all used at once in periodicSequence4()
106 n = k; in periodicSequence4()
[all …]
/art/test/530-checker-loops-try-catch/src/
DMain.java477 int k = 3 * i + 5; in $noinline$poly2() local
478 a += k; in $noinline$poly2()
513 int k = 3 * i + 5; in $noinline$poly2_Blocking() local
514 a += k; in $noinline$poly2_Blocking()
836 for (int k = 0; k < 16; k++) { in $noinline$unrollingInTheNest()
926 for (int k = 0; k < 16; k++) { in $noinline$unrollingInTheNest_Blocking()
1027 for (int k = 0; k < 16; k++) { in $noinline$unrollingInTheNest_TryCatchNotBlocking()
1143 for (int k = 0; k < 128; k++) { in $noinline$unrollingTwoLoopsInTheNest()
1262 for (int k = 0; k < 128; k++) { in $noinline$unrollingTwoLoopsInTheNest_OneBlocking()
1376 for (int k = 0; k < 128; k++) { in $noinline$unrollingTwoLoopsInTheNest_OtherBlocking()
[all …]
/art/test/534-checker-bce-deoptimization/src/
DMain.java35 int i,k; in foo1() local
38 k = n - (i + 1); in foo1()
39 b[k] /= a[k][k]; in foo1()
40 t = -b[k]; in foo1()
41 foo2(k + 1000, t, b); in foo1()
/art/test/ti-agent/
Dearly_return_helper.cc30 JNIEnv* env, [[maybe_unused]] jclass k, jthread thr) { in Java_art_NonStandardExit_popFrame() argument
35 JNIEnv* env, [[maybe_unused]] jclass k, jthread thr, jfloat val) { in Java_art_NonStandardExit_forceEarlyReturnFloat() argument
40 JNIEnv* env, [[maybe_unused]] jclass k, jthread thr, jdouble val) { in Java_art_NonStandardExit_forceEarlyReturnDouble() argument
45 JNIEnv* env, [[maybe_unused]] jclass k, jthread thr, jlong val) { in Java_art_NonStandardExit_forceEarlyReturnLong() argument
50 JNIEnv* env, [[maybe_unused]] jclass k, jthread thr, jint val) { in Java_art_NonStandardExit_forceEarlyReturnInt() argument
55 JNIEnv* env, [[maybe_unused]] jclass k, jthread thr) { in Java_art_NonStandardExit_forceEarlyReturnVoid() argument
60 JNIEnv* env, [[maybe_unused]] jclass k, jthread thr, jobject val) { in Java_art_NonStandardExit_forceEarlyReturnObject() argument
/art/test/624-checker-stringops/src/
DMain.java41 int k = ABC.length() + XYZ.length(); // does LoadString before loops in liveIndexOf() local
43 k += ABC.indexOf(c); in liveIndexOf()
46 k += ABC.indexOf(c, 4); in liveIndexOf()
49 k += ABC.indexOf(XYZ); in liveIndexOf()
52 k += ABC.indexOf(XYZ, 2); in liveIndexOf()
54 return k; in liveIndexOf()
72 int k = ABC.length() + XYZ.length(); // does LoadString before loops in deadIndexOf() local
85 return k; in deadIndexOf()
95 int k = 0; in indexOfExceptions() local
97 k += s.indexOf(t); in indexOfExceptions()
[all …]
/art/test/2012-structural-redefinition-failures-jni-id/src-art/
DMain.java21 for (Class k : klasses) { in Check()
23 boolean res = Redefinition.isStructurallyModifiable(k); in Check()
24 System.out.println("Is Structurally modifiable " + k + " " + res); in Check()
26 System.out.println("Got exception " + e + " during check modifiablity of " + k); in Check()
57 public static native void SetPointerIdsUsed(Class<?> k); in SetPointerIdsUsed() argument
/art/test/562-bce-preheader/src/
DMain.java84 for (int k = 0; k < 10; ++k) { in doit()
85 a += z[k]; in doit()
98 int i = 0, i2 = 0, i3 = 0, k = 0; in hoistcheck() local
105 k += c[i3]; in hoistcheck()
109 return k; in hoistcheck()
/art/test/627-checker-unroll/src/
DMain.java93 for (int k = 6; k < 7; k++) { in unrollNest()
94 sA = k; in unrollNest()
/art/test/405-optimizing-long-allocator/src/
DMain.java139 long k = 42 + g - a; in $opt$TestAgressiveLive1() local
142 while (k != 1) { in $opt$TestAgressiveLive1()
143 --k; in $opt$TestAgressiveLive1()
150 k = 9; in $opt$TestAgressiveLive1()
153 return a - b - c - d - e - f - g - h - i - j - k; in $opt$TestAgressiveLive1()
160 long k = 42 + g - a; in $opt$TestAgressiveLive2() local
164 return a - b - c - d - e - f - g - h - i - j - k; in $opt$TestAgressiveLive2()
/art/test/440-stmp/src/
DMain.java24 baz(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o); in bar()
28 float h, float i, float j, float k, float l, float m, float n, float o) { in baz() argument
29 System.out.println(a - b - c - d - e - f - g - h - i - j - k - l - m - n - o); in baz()
42 float k = 11.0f; field in Main
/art/test/404-optimizing-allocator/src/
DMain.java133 int k = 42 + g - a; in $opt$reg$TestAgressiveLive1() local
136 while (k != 1) { in $opt$reg$TestAgressiveLive1()
137 --k; in $opt$reg$TestAgressiveLive1()
144 k = 9; in $opt$reg$TestAgressiveLive1()
147 return a - b - c - d - e - f - g - h - i - j - k; in $opt$reg$TestAgressiveLive1()
154 int k = 42 + g - a; in $opt$reg$TestAgressiveLive2() local
158 return a - b - c - d - e - f - g - h - i - j - k; in $opt$reg$TestAgressiveLive2()
/art/test/656-loop-deopt/src/
DMain.java87 int k = 0; in $noinline$loopIncrement() local
92 for (int i = 0; i < 5000; i++, k++) { in $noinline$loopIncrement()
96 myIntStatic = k; in $noinline$loopIncrement()
99 if (k != 5000) { in $noinline$loopIncrement()
100 throw new Error("Expected 5000, got " + k); in $noinline$loopIncrement()
/art/test/578-bce-visit/src/
DMain.java48 int k = 1; in main() local
52 mA[i0][i1][i2] = k++; in main()
54 k = doit(); in main()
58 System.out.println("FUZZ result = " + k + " " + mX); in main()
/art/test/646-checker-simd-hadd/src/
DHaddAltByte.java301 int k = 0; in main() local
304 sB1[k] = (byte) i; in main()
305 sB2[k] = (byte) j; in main()
306 k++; in main()
310 sB1[k] = (byte) i; in main()
311 sB2[k] = 100; in main()
312 k++; in main()
314 expectEquals(k, M); in main()
DHaddByte.java298 int k = 0; in main() local
301 sB1[k] = (byte) i; in main()
302 sB2[k] = (byte) j; in main()
303 k++; in main()
307 sB1[k] = (byte) i; in main()
308 sB2[k] = 100; in main()
309 k++; in main()
311 expectEquals(k, M); in main()
/art/test/660-checker-simd-sad/src/
DSimdSadLong.java213 int k = 0; in main() local
216 x[k] = interesting[i]; in main()
217 y[k] = interesting[j]; in main()
218 k++; in main()
221 x[k] = 10; in main()
222 y[k] = 2; in main()
/art/test/530-checker-loops5/src/
DMain.java69 int k = 3 * i + 5; in poly2() local
70 a += k; in poly2()
134 int k = 2 * i + 1; in polyBCE2() local
136 a += k; in polyBCE2()
/art/test/1972-jni-id-swap-indices/
Djni_id.cc30 [[maybe_unused]] jclass k, in Java_Main_GetMethodId() argument
45 extern "C" JNIEXPORT jobject JNICALL Java_Main_GetJniType(JNIEnv* env, [[maybe_unused]] jclass k) { in Java_Main_GetJniType() argument
52 [[maybe_unused]] jclass k) { in Java_Main_SetToPointerIds() argument
56 [[maybe_unused]] jclass k) { in Java_Main_SetToIndexIds() argument

123456