Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 243) sorted by relevance

12345678910

/art/benchmark/string-indexof/src/
DStringIndexOfBenchmark.java20 public void timeIndexOf0(int count) { in timeIndexOf0() argument
23 for (int i = 0; i < count; ++i) { in timeIndexOf0()
28 public void timeIndexOf1(int count) { in timeIndexOf1() argument
31 for (int i = 0; i < count; ++i) { in timeIndexOf1()
36 public void timeIndexOf2(int count) { in timeIndexOf2() argument
39 for (int i = 0; i < count; ++i) { in timeIndexOf2()
44 public void timeIndexOf3(int count) { in timeIndexOf3() argument
47 for (int i = 0; i < count; ++i) { in timeIndexOf3()
52 public void timeIndexOf4(int count) { in timeIndexOf4() argument
55 for (int i = 0; i < count; ++i) { in timeIndexOf4()
[all …]
/art/benchmark/type-check/src/
DTypeCheckBenchmark.java18 public void timeCheckCastLevel1ToLevel1(int count) { in timeCheckCastLevel1ToLevel1() argument
20 for (int i = 0; i < count; ++i) { in timeCheckCastLevel1ToLevel1()
25 public void timeCheckCastLevel2ToLevel1(int count) { in timeCheckCastLevel2ToLevel1() argument
27 for (int i = 0; i < count; ++i) { in timeCheckCastLevel2ToLevel1()
32 public void timeCheckCastLevel3ToLevel1(int count) { in timeCheckCastLevel3ToLevel1() argument
34 for (int i = 0; i < count; ++i) { in timeCheckCastLevel3ToLevel1()
39 public void timeCheckCastLevel9ToLevel1(int count) { in timeCheckCastLevel9ToLevel1() argument
41 for (int i = 0; i < count; ++i) { in timeCheckCastLevel9ToLevel1()
46 public void timeCheckCastLevel9ToLevel2(int count) { in timeCheckCastLevel9ToLevel2() argument
48 for (int i = 0; i < count; ++i) { in timeCheckCastLevel9ToLevel2()
[all …]
/art/test/1953-pop-frame/
Dexpected-stdout.txt2 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
3 result is StandardTestObject { cnt: 2 } base-call count: 1
5 Single call with PopFrame on SynchronizedFunctionTestObject { cnt: 0 } base-call-count: 0
6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1
8 Single call with PopFrame on SynchronizedTestObject { cnt: 0 } base-call-count: 0
9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1
11 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
12 result is StandardTestObject { cnt: 2 } base-call count: 1
14 Single call with PopFrame on FieldBasedTestObject { cnt: 0, TARGET_FIELD: 0 } base-call-count: 0
15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1
[all …]
Dclass-loading-expected.patch3 > Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
4 > result is StandardTestObject { cnt: 2 } base-call count: 1
6 > Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
7 > result is StandardTestObject { cnt: 1 } base-call count: 1
9 > Single call with PopFrame on ExceptionThrowTestObject { cnt: 0 } base-call-count: 0
11 > result is ExceptionThrowTestObject { cnt: 2 } base-call count: 1
13 > Single call with PopFrame on ExceptionCatchTestObject { cnt: 0 } base-call-count: 0
15 > result is ExceptionCatchTestObject { cnt: 1 } base-call count: 1
18 > Single call with PopFrame on ClassLoadObject { cnt: 0, curClass: 0} base-call-count: 0
26 > result is ClassLoadObject { cnt: 1, curClass: 1} base-call count: 1
[all …]
/art/test/1956-pop-frame-jit-calling/
Dexpected-stdout.txt2 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
3 result is StandardTestObject { cnt: 2 } base-call count: 1
5 Single call with PopFrame on SynchronizedFunctionTestObject { cnt: 0 } base-call-count: 0
6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1
8 Single call with PopFrame on SynchronizedTestObject { cnt: 0 } base-call-count: 0
9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1
11 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
12 result is StandardTestObject { cnt: 2 } base-call count: 1
14 Single call with PopFrame on FieldBasedTestObject { cnt: 0, TARGET_FIELD: 0 } base-call-count: 0
15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1
[all …]
Djvm-expected.patch3 < Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
4 < result is StandardTestObject { cnt: 2 } base-call count: 1
6 < Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
7 < result is StandardTestObject { cnt: 1 } base-call count: 1
9 < Single call with PopFrame on ExceptionThrowTestObject { cnt: 0 } base-call-count: 0
11 < result is ExceptionThrowTestObject { cnt: 2 } base-call count: 1
13 < Single call with PopFrame on ExceptionCatchTestObject { cnt: 0 } base-call-count: 0
15 < result is ExceptionCatchTestObject { cnt: 1 } base-call count: 1
18 < Single call with PopFrame on ClassLoadObject { cnt: 0, curClass: 0} base-call-count: 0
26 < result is ClassLoadObject { cnt: 1, curClass: 1} base-call count: 1
[all …]
/art/test/1954-pop-frame-jit/
Dexpected-stdout.txt2 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
3 result is StandardTestObject { cnt: 2 } base-call count: 1
5 Single call with PopFrame on SynchronizedFunctionTestObject { cnt: 0 } base-call-count: 0
6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1
8 Single call with PopFrame on SynchronizedTestObject { cnt: 0 } base-call-count: 0
9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1
11 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
12 result is StandardTestObject { cnt: 2 } base-call count: 1
14 Single call with PopFrame on FieldBasedTestObject { cnt: 0, TARGET_FIELD: 0 } base-call-count: 0
15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1
[all …]
Djvm-expected.patch3 < Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
4 < result is StandardTestObject { cnt: 2 } base-call count: 1
6 < Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
7 < result is StandardTestObject { cnt: 1 } base-call count: 1
9 < Single call with PopFrame on ExceptionThrowTestObject { cnt: 0 } base-call-count: 0
11 < result is ExceptionThrowTestObject { cnt: 2 } base-call count: 1
13 < Single call with PopFrame on ExceptionCatchTestObject { cnt: 0 } base-call-count: 0
15 < result is ExceptionCatchTestObject { cnt: 1 } base-call count: 1
18 < Single call with PopFrame on ClassLoadObject { cnt: 0, curClass: 0} base-call-count: 0
26 < result is ClassLoadObject { cnt: 1, curClass: 1} base-call count: 1
[all …]
/art/test/1955-pop-frame-jit-called/
Dexpected-stdout.txt2 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
3 result is StandardTestObject { cnt: 2 } base-call count: 1
5 Single call with PopFrame on SynchronizedFunctionTestObject { cnt: 0 } base-call-count: 0
6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1
8 Single call with PopFrame on SynchronizedTestObject { cnt: 0 } base-call-count: 0
9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1
11 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
12 result is StandardTestObject { cnt: 2 } base-call count: 1
14 Single call with PopFrame on FieldBasedTestObject { cnt: 0, TARGET_FIELD: 0 } base-call-count: 0
15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1
[all …]
Djvm-expected.patch3 < Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
4 < result is StandardTestObject { cnt: 2 } base-call count: 1
6 < Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0
7 < result is StandardTestObject { cnt: 1 } base-call count: 1
9 < Single call with PopFrame on ExceptionThrowTestObject { cnt: 0 } base-call-count: 0
11 < result is ExceptionThrowTestObject { cnt: 2 } base-call count: 1
13 < Single call with PopFrame on ExceptionCatchTestObject { cnt: 0 } base-call-count: 0
15 < result is ExceptionCatchTestObject { cnt: 1 } base-call count: 1
18 < Single call with PopFrame on ClassLoadObject { cnt: 0, curClass: 0} base-call-count: 0
26 < result is ClassLoadObject { cnt: 1, curClass: 1} base-call count: 1
[all …]
/art/libartbase/base/
Dstats.h37 void AddBytes(double bytes, size_t count = 1) { Add(bytes, count); }
38 void AddBits(double bits, size_t count = 1) { Add(bits / kBitsPerByte, count); }
39 void AddSeconds(double s, size_t count = 1) { Add(s, count); }
40 void AddNanoSeconds(double ns, size_t count = 1) { Add(ns / 1000000000.0, count); }
53 void Add(double value, size_t count = 1) {
55 count_ += count;
/art/test/165-lock-owner-proxy/src/
DMain.java65 int count = totalOperations; in run() local
66 while (count > 0) { in run()
69 inf.foo(10000 - count, 11000 - count, 12000 - count, 13000 - count, in run()
70 14000 - count, 15000 - count); in run()
76 count--; in run()
83 int count = totalOperations; in run() local
84 while (count > 0) { in run()
94 count--; in run()
/art/benchmark/stringbuilder-append/src/
DStringBuilderAppendBenchmark.java24 public void timeAppendStrings(int count) { in timeAppendStrings() argument
28 for (int i = 0; i < count; ++i) { in timeAppendStrings()
32 if (sum != count * (s1.length() + s2.length())) { in timeAppendStrings()
37 public void timeAppendLongStrings(int count) { in timeAppendLongStrings() argument
41 for (int i = 0; i < count; ++i) { in timeAppendLongStrings()
45 if (sum != count * (s1.length() + s2.length())) { in timeAppendLongStrings()
50 public void timeAppendStringAndInt(int count) { in timeAppendStringAndInt() argument
54 for (int i = 0; i < count; ++i) { in timeAppendStringAndInt()
58 if (sum != count * (s1.length() + Integer.toString(i1).length())) { in timeAppendStringAndInt()
/art/runtime/native/
Djava_lang_System.cc53 const jint count = length; in System_arraycopy() local
81 if (UNLIKELY(srcPos < 0) || UNLIKELY(dstPos < 0) || UNLIKELY(count < 0) || in System_arraycopy()
82 UNLIKELY(srcPos > srcArray->GetLength() - count) || in System_arraycopy()
83 UNLIKELY(dstPos > dstArray->GetLength() - count)) { in System_arraycopy()
87 count); in System_arraycopy()
106 dstPos, ObjPtr<mirror::ByteArray>::DownCast(srcArray), srcPos, count); in System_arraycopy()
113 dstPos, ObjPtr<mirror::ShortArray>::DownCast(srcArray), srcPos, count); in System_arraycopy()
120 dstPos, ObjPtr<mirror::IntArray>::DownCast(srcArray), srcPos, count); in System_arraycopy()
127 dstPos, ObjPtr<mirror::LongArray>::DownCast(srcArray), srcPos, count); in System_arraycopy()
134 dstObjArray->AssignableMemmove(dstPos, srcObjArray, srcPos, count); in System_arraycopy()
[all …]
/art/test/444-checker-nce/src/
DMain.java97 public Main forRemoveTest(int count) { in forRemoveTest() argument
100 for (int i = 0; i < count; i++) { in forRemoveTest()
113 public Main forKeepTest(int count) { in forKeepTest() argument
116 for (int i = 0; i < count; i++) { in forKeepTest()
131 public Main phiFlowRemoveTest(int count) { in phiFlowRemoveTest() argument
134 for (int i = 0; i < count; i++) { in phiFlowRemoveTest()
140 for (int i = 0; i < count; i++) { in phiFlowRemoveTest()
153 public Main phiFlowKeepTest(int count) { in phiFlowKeepTest() argument
156 for (int i = 0; i < count; i++) { in phiFlowKeepTest()
164 for (int i = 0; i < count; i++) { in phiFlowKeepTest()
[all …]
/art/runtime/mirror/
Darray-inl.h107 static inline void ArrayBackwardCopy(T* d, const T* s, int32_t count) { in ArrayBackwardCopy() argument
108 d += count; in ArrayBackwardCopy()
109 s += count; in ArrayBackwardCopy()
110 for (int32_t i = 0; i < count; ++i) { in ArrayBackwardCopy()
120 static inline void ArrayForwardCopy(T* d, const T* s, int32_t count) { in ArrayForwardCopy() argument
121 for (int32_t i = 0; i < count; ++i) { in ArrayForwardCopy()
132 int32_t count) { in Memmove() argument
133 if (UNLIKELY(count == 0)) { in Memmove()
138 DCHECK_GT(count, 0); in Memmove()
141 DCHECK_LE(dst_pos, GetLength() - count); in Memmove()
[all …]
/art/test/1339-dead-reference-safe/
Dexpected-stdout.txt2 DeadReferenceUnsafe count: 5
3 DeadReferenceSafe count: N
4 ReachabilitySensitive count: 5
5 ReachabilitySensitiveFun count: 5
6 ReachabilityFence count: 5
/art/runtime/
Dthread_pool_test.cc30 explicit CountTask(AtomicInteger* count) : count_(count), verbose_(false) {} in CountTask() argument
65 AtomicInteger count(0); in TEST_F() local
68 thread_pool.AddTask(self, new CountTask(&count)); in TEST_F()
74 EXPECT_EQ(num_tasks, count.load(std::memory_order_seq_cst)); in TEST_F()
80 AtomicInteger count(0); in TEST_F() local
83 thread_pool.AddTask(self, new CountTask(&count)); in TEST_F()
87 EXPECT_EQ(0, count.load(std::memory_order_seq_cst)); in TEST_F()
106 AtomicInteger count(0); in TEST_F() local
109 thread_pool.AddTask(self, new CountTask(&count)); in TEST_F()
127 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) in TreeTask() argument
[all …]
/art/test/626-const-class-linking/src/
DRacyMisbehavingLoader.java26 private int count; field in RacyMisbehavingLoader
31 public RacyMisbehavingLoader(ClassLoader parent, int count, boolean throw_error) { in RacyMisbehavingLoader() argument
33 this.count = count; in RacyMisbehavingLoader()
44 if (index == 2 * count) { in reportAfterLoading()
62 int my_index = syncWithOtherInstances(count); in loadClass()
69 syncWithOtherInstances(2 * count); in loadClass()
DRacyLoader.java26 private int count; field in RacyLoader
30 public RacyLoader(ClassLoader parent, int count) { in RacyLoader() argument
32 this.count = count; in RacyLoader()
51 int my_index = syncWithOtherInstances(count); in loadClass()
53 syncWithOtherInstances(2 * count); in loadClass()
/art/test/911-get-stack-trace/src/art/
DFrames.java41 int count = getFrameCount(t); in doTestSameThread() local
42 System.out.println(count); in doTestSameThread()
48 for (int i = 0; i < count; i++) { in doTestSameThread()
52 System.out.println(Arrays.toString(getFrameLocation(t, count))); in doTestSameThread()
74 int count = getFrameCount(t); in doTestOtherThreadWait() local
75 System.out.println(count); in doTestOtherThreadWait()
81 for (int i = 0; i < count; i++) { in doTestOtherThreadWait()
85 System.out.println(Arrays.toString(getFrameLocation(t, count))); in doTestOtherThreadWait()
112 int count = getFrameCount(t); in doTestOtherThreadBusyLoop() local
113 System.out.println(count); in doTestOtherThreadBusyLoop()
[all …]
/art/runtime/arch/
Dmemcmp16.cc22 int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count);
23 int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count) { in memcmp16_generic_static() argument
24 for (size_t i = 0; i < count; i++) { in memcmp16_generic_static()
36 int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count) { in MemCmp16Testing() argument
37 return MemCmp16(s0, s1, count); in MemCmp16Testing()
Dmemcmp16.h35 extern "C" uint32_t __memcmp16(const uint16_t* s0, const uint16_t* s1, size_t count);
41 static inline int32_t MemCmp16(const uint16_t* s0, const uint16_t* s1, size_t count) { in MemCmp16() argument
42 for (size_t i = 0; i < count; i++) { in MemCmp16()
50 extern "C" int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count);
60 int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count);
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatArrayInstance.java274 String asString(int offset, int count, int maxChars) { in asString() argument
279 if (count == 0) { in asString()
283 if (0 <= maxChars && maxChars < count) { in asString()
284 count = maxChars; in asString()
287 int end = offset + count - 1; in asString()
289 return new String(mCharArray, offset, count); in asString()
298 String asAsciiString(int offset, int count, int maxChars) { in asAsciiString() argument
303 if (count == 0) { in asAsciiString()
307 if (0 <= maxChars && maxChars < count) { in asAsciiString()
308 count = maxChars; in asAsciiString()
[all …]
/art/test/023-many-interfaces/
Diface-gen.c11 static int createFiles(int count) in createFiles() argument
16 for (i = 0; i < count; i++) { in createFiles()
35 for (i = 0; i < count; i++) { in createFiles()
36 fprintf(fp, " Interface%03d%s\n", i, (i == count-1) ? "" : ","); in createFiles()
39 for (i = 1; i < count; i += 2) { in createFiles()

12345678910