Searched defs:count (Results 1 - 25 of 129) sorted by relevance

123456

/art/runtime/
H A Dmanaged_stack.cc28 size_t count = 0; local
36 count += current_frame->NumberOfVRegs();
40 return count;
H A Dnth_caller_visitor.h33 count(0),
48 if (count == n) {
53 count++;
60 size_t count; member in struct:art::NthCallerVisitor
H A Dbarrier.cc28 Barrier::Barrier(int count) argument
29 : count_(count),
46 void Barrier::Init(Thread* self, int count) { argument
48 SetCountLocked(self, count);
56 // Increment the count. If it becomes zero after the increment
60 // Pass function is called by the last thread, the count will
98 void Barrier::SetCountLocked(Thread* self, int count) { argument
99 count_ = count;
100 if (count == 0) {
108 CHECK_EQ(count_, 0) << "Attempted to destroy barrier with non zero count";
[all...]
H A Dclass_table_test.cc149 const size_t count = table.WriteToMemory(nullptr); local
150 std::unique_ptr<uint8_t[]> buffer(new uint8_t[count]());
151 ASSERT_EQ(table.WriteToMemory(&buffer[0]), count);
154 EXPECT_EQ(count, count2);
H A Dthread_pool_test.cc30 explicit CountTask(AtomicInteger* count) : count_(count), verbose_(false) {} argument
65 AtomicInteger count(0);
68 thread_pool.AddTask(self, new CountTask(&count));
74 EXPECT_EQ(num_tasks, count.LoadSequentiallyConsistent());
80 AtomicInteger count(0);
83 thread_pool.AddTask(self, new CountTask(&count));
87 EXPECT_EQ(0, count.LoadSequentiallyConsistent());
106 AtomicInteger count(0);
109 thread_pool.AddTask(self, new CountTask(&count));
127 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) argument
[all...]
/art/runtime/arch/
H A 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) { argument
24 for (size_t i = 0; i < count; i++) {
36 int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count) { argument
37 return MemCmp16(s0, s1, count);
H A 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) { argument
42 for (size_t i = 0; i < count; i++) {
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);
H A Dmemcmp16_test.cc38 int32_t memcmp16_compare(const uint16_t* s0, const uint16_t* s1, size_t count) { argument
39 for (size_t i = 0; i < count; i++) {
/art/test/004-ReferenceMap/
H A Dstack_walk_refmap_jni.cc202 extern "C" JNIEXPORT jint JNICALL Java_Main_refmap(JNIEnv*, jobject, jint count) { argument
208 return count + 1;
/art/test/023-many-interfaces/
H A Diface-gen.c11 static int createFiles(int count) argument
16 for (i = 0; i < count; i++) {
35 for (i = 0; i < count; i++) {
36 fprintf(fp, " Interface%03d%s\n", i, (i == count-1) ? "" : ",");
39 for (i = 1; i < count; i += 2) {
/art/test/004-StackWalk/
H A Dstack_walk_jni.cc79 extern "C" JNIEXPORT jint JNICALL Java_Main_stackmap(JNIEnv*, jobject, jint count) { argument
81 CHECK_EQ(count, 0);
88 return count + 1;
91 extern "C" JNIEXPORT jint JNICALL Java_Main_refmap2(JNIEnv*, jobject, jint count) { argument
99 return count + 1;
/art/test/303-verification-stress/
H A Dclasses-gen.c11 static int createFiles(int count, int array_size) argument
17 for (i = 0; i < count; i++) {
46 for (i = 0; i < count; i++) {
/art/dexlayout/
H A Ddex_ir_builder.cc112 const uint32_t count = map->size_; local
113 for (uint32_t i = 0; i < count; ++i) {
/art/libartbase/base/
H A Dhex_dump.cc71 size_t count = std::min(byte_count, 16 - gap); local
72 // CHECK_NE(count, 0U);
73 // CHECK_LE(count + gap, 16U);
82 for (i = gap ; i < count + gap; i++) {
104 byte_count -= count;
105 offset += count;
/art/test/626-const-class-linking/src/
H A DRacyLoader.java26 private int count; field in class:RacyLoader
30 public RacyLoader(ClassLoader parent, int count) { argument
32 this.count = count;
51 int my_index = syncWithOtherInstances(count);
53 syncWithOtherInstances(2 * count);
H A DRacyMisbehavingLoader.java26 private int count; field in class:RacyMisbehavingLoader
31 public RacyMisbehavingLoader(ClassLoader parent, int count, boolean throw_error) { argument
33 this.count = count;
44 if (index == 2 * count) {
62 int my_index = syncWithOtherInstances(count);
69 syncWithOtherInstances(2 * count);
/art/test/907-get-loaded-classes/
H A Dget_loaded_classes.cc45 jint count = -1; local
47 jvmtiError result = jvmti_env->GetLoadedClasses(&count, &classes);
61 jobjectArray ret = CreateObjectArray(env, count, "java/lang/String", callback);
/art/test/922-properties/
H A Dproperties.cc34 jint count; local
36 jvmtiError result = jvmti_env->GetSystemProperties(&count, &properties);
50 jobjectArray ret = CreateObjectArray(env, count, "java/lang/String", callback);
/art/test/927-timers/
H A Dtimers.cc36 jint count; local
37 jvmtiError result = jvmti_env->GetAvailableProcessors(&count);
41 return count;
/art/compiler/optimizing/
H A Dliveness_test.cc39 size_t count,
43 for (size_t i = 0; i < count; ++i) {
37 DumpBitVector(BitVector* vector, std::ostream& buffer, size_t count, const char* prefix) argument
/art/test/050-sync-test/src/
H A DMain.java118 int count = mCount;
128 count++;
129 mCount = count;
137 private static int count = 0; field in class:SleepyThread
143 setName("thread#" + count);
144 count++;
/art/test/529-checker-unresolved/src/
H A DMain.java205 static public void testLicm(int count) { argument
211 } while (i++ != count);
/art/test/904-object-allocation/src/art/
H A DTest904.java132 int count; field in class:Test904.SimpleBarrier
135 count = i;
139 count--;
144 while (count != 0) {
/art/benchmark/string-indexof/src/
H A DStringIndexOfBenchmark.java20 public void timeIndexOf0(int count) { argument
23 for (int i = 0; i < count; ++i) {
28 public void timeIndexOf1(int count) { argument
31 for (int i = 0; i < count; ++i) {
36 public void timeIndexOf2(int count) { argument
39 for (int i = 0; i < count; ++i) {
44 public void timeIndexOf3(int count) { argument
47 for (int i = 0; i < count; ++i) {
52 public void timeIndexOf4(int count) { argument
55 for (int i = 0; i < count;
60 timeIndexOf7(int count) argument
68 timeIndexOf8(int count) argument
76 timeIndexOfF(int count) argument
84 timeIndexOfG(int count) argument
92 timeIndexOfV(int count) argument
100 timeIndexOfW(int count) argument
108 timeIndexOf_(int count) argument
[all...]
/art/benchmark/type-check/src/
H A DTypeCheckBenchmark.java18 public void timeCheckCastLevel1ToLevel1(int count) { argument
20 for (int i = 0; i < count; ++i) {
25 public void timeCheckCastLevel2ToLevel1(int count) { argument
27 for (int i = 0; i < count; ++i) {
32 public void timeCheckCastLevel3ToLevel1(int count) { argument
34 for (int i = 0; i < count; ++i) {
39 public void timeCheckCastLevel9ToLevel1(int count) { argument
41 for (int i = 0; i < count; ++i) {
46 public void timeCheckCastLevel9ToLevel2(int count) { argument
48 for (int i = 0; i < count;
53 timeInstanceOfLevel1ToLevel1(int count) argument
64 timeInstanceOfLevel2ToLevel1(int count) argument
75 timeInstanceOfLevel3ToLevel1(int count) argument
86 timeInstanceOfLevel9ToLevel1(int count) argument
97 timeInstanceOfLevel9ToLevel2(int count) argument
[all...]

Completed in 735 milliseconds

123456