Home
last modified time | relevance | path

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

123456789

/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.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 …]
/art/libartbase/base/
Dstats.h34 void AddBytes(double bytes, size_t count = 1) { Add(bytes, count); }
35 void AddBits(double bits, size_t count = 1) { Add(bits / kBitsPerByte, count); }
36 void AddSeconds(double s, size_t count = 1) { Add(s, count); }
37 void AddNanoSeconds(double ns, size_t count = 1) { Add(ns / 1000000000.0, count); }
48 void Add(double value, size_t count = 1) {
50 count_ += count;
/art/test/1956-pop-frame-jit-calling/
Dexpected.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 …]
/art/test/1955-pop-frame-jit-called/
Dexpected.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 …]
/art/test/1954-pop-frame-jit/
Dexpected.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 …]
/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/test/1339-dead-reference-safe/
Dexpected.txt2 DeadReferenceUnsafe count: 5
3 DeadReferenceSafe count: N
4 ReachabilitySensitive count: 5
5 ReachabilitySensitiveFun count: 5
6 ReachabilityFence count: 5
/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.h106 static inline void ArrayBackwardCopy(T* d, const T* s, int32_t count) { in ArrayBackwardCopy() argument
107 d += count; in ArrayBackwardCopy()
108 s += count; in ArrayBackwardCopy()
109 for (int32_t i = 0; i < count; ++i) { in ArrayBackwardCopy()
119 static inline void ArrayForwardCopy(T* d, const T* s, int32_t count) { in ArrayForwardCopy() argument
120 for (int32_t i = 0; i < count; ++i) { in ArrayForwardCopy()
131 int32_t count) { in Memmove() argument
132 if (UNLIKELY(count == 0)) { in Memmove()
137 DCHECK_GT(count, 0); in Memmove()
140 DCHECK_LE(dst_pos, GetLength() - count); in Memmove()
[all …]
Dobject_array-inl.h106 int32_t count) { in AssignableMemmove() argument
108 for (int i = 0; i < count; ++i) { in AssignableMemmove()
119 const bool copy_forward = (src != this) || (dst_pos < src_pos) || (dst_pos - src_pos >= count); in AssignableMemmove()
130 for (int i = 0; i < count; ++i) { in AssignableMemmove()
139 for (int i = 0; i < count; ++i) { in AssignableMemmove()
155 for (int i = count - 1; i >= 0; --i) { in AssignableMemmove()
164 for (int i = count - 1; i >= 0; --i) { in AssignableMemmove()
171 WriteBarrier::ForArrayWrite(this, dst_pos, count); in AssignableMemmove()
173 for (int i = 0; i < count; ++i) { in AssignableMemmove()
184 int32_t count) { in AssignableMemcpy() 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/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 …]
Dbarrier.cc28 Barrier::Barrier(int count, bool verify_count_on_shutdown) in Barrier() argument
29 : count_(count), in Barrier()
47 void Barrier::Init(Thread* self, int count) { in Init() argument
49 SetCountLocked(self, count); in Init()
99 void Barrier::SetCountLocked(Thread* self, int count) { in SetCountLocked() argument
100 count_ = count; in SetCountLocked()
101 if (count == 0) { in SetCountLocked()
Dnative_bridge_art_interface.cc64 uint32_t count = 0; in GetNativeMethods() local
67 if (count < method_count) { in GetNativeMethods()
68 methods[count].name = m.GetName(); in GetNativeMethods()
69 methods[count].signature = m.GetShorty(); in GetNativeMethods()
70 methods[count].fnPtr = m.GetEntryPointFromJni(); in GetNativeMethods()
71 count++; in GetNativeMethods()
78 return count; in GetNativeMethods()
Dnth_caller_visitor.h33 count(0), in StackVisitor()
48 if (count == n) { in VisitFrame()
53 count++; in VisitFrame()
60 size_t count; member
/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/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()
/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/tools/ahat/src/ri-test-dump/
DDumpedStuff.java27 static int count = 0; field in DumpedStuff.Finalizable
30 count++; in Finalizable()
35 count--; in finalize()
/art/test/1001-app-image-regions/
Dbuild20 count=10000
22 for i in $(seq 1 "$count"); do
29 for i in $(seq 1 "$count"); do

123456789