/art/runtime/ |
H A D | thread_pool_test.cc | 29 explicit CountTask(AtomicInteger* count) : count_(count), verbose_(false) {} argument 64 AtomicInteger count(0); 67 thread_pool.AddTask(self, new CountTask(&count)); 73 EXPECT_EQ(num_tasks, count.LoadSequentiallyConsistent()); 79 AtomicInteger count(0); 82 thread_pool.AddTask(self, new CountTask(&count)); 86 EXPECT_EQ(0, count.LoadSequentiallyConsistent()); 103 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) argument 105 count_(count), [all...] |
/art/runtime/verifier/ |
H A D | register_line.cc | 390 size_t depths = reg_to_lock_depths_.count(idx); 391 size_t incoming_depths = incoming_line->reg_to_lock_depths_.count(idx);
|
/art/test/003-omnibus-opcodes/src/ |
H A D | Array.java | 187 static void checkNegAlloc(int count) { argument 193 ints = new int[count]; 200 strings = new String[count];
|
H A D | IntMath.java | 279 static void divLiteralTestBody(int start, int count) { argument 282 for (int i = 0; i < count; i++) {
|
/art/test/004-NativeAllocations/src/ |
H A D | Main.java | 64 int count = 16; 65 int size = (int)(maxMem / 2 / count); 67 NativeAllocation[] allocations = new NativeAllocation[count]; 69 allocations[i % count] = new NativeAllocation(size, false); 76 allocations[i % count] = new NativeAllocation(size, true); 81 allocations[i % count] = new NativeAllocation(size, true);
|
/art/test/004-ReferenceMap/ |
H A D | stack_walk_refmap_jni.cc | 201 extern "C" JNIEXPORT jint JNICALL Java_Main_refmap(JNIEnv*, jobject, jint count) { argument 207 return count + 1;
|
/art/test/004-StackWalk/ |
H A D | stack_walk_jni.cc | 78 extern "C" JNIEXPORT jint JNICALL Java_Main_stackmap(JNIEnv*, jobject, jint count) { argument 80 CHECK_EQ(count, 0); 87 return count + 1; 90 extern "C" JNIEXPORT jint JNICALL Java_Main_refmap2(JNIEnv*, jobject, jint count) { argument 98 return count + 1;
|
/art/test/023-many-interfaces/ |
H A D | iface-gen.c | 11 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/023-many-interfaces/src/ |
H A D | ManyInterfaces.java | 302 static void testIface001(Interface001 iface, int count) { argument 303 while (count-- != 0) { 311 static void testIface049(Interface049 iface, int count) { argument 312 while (count-- != 0) { 320 static void testIface099(Interface099 iface, int count) { argument 321 while (count-- != 0) { 329 static void testVirt001(ManyInterfaces obj, int count) { argument 330 while (count-- != 0) { 338 static void testVirt049(ManyInterfaces obj, int count) { argument 339 while (count 347 testVirt099(ManyInterfaces obj, int count) argument 356 testInstance001(Object obj, int count) argument 380 testInstance049(Object obj, int count) argument 404 testInstance099(Object obj, int count) argument [all...] |
/art/test/036-finalizer/src/ |
H A D | Main.java | 159 private static void allocFinalizableObjects(int count) { argument 160 Object[] objs = new Object[count]; 161 for (int i = 0; i < count; ++i) {
|
/art/test/044-proxy/src/ |
H A D | NarrowingTest.java | 35 int count = 0; 40 if (count == 0) { 41 count++;
|
/art/test/050-sync-test/src/ |
H A D | Main.java | 118 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/074-gc-thrash/src/ |
H A D | Main.java | 335 int count = 0; 345 count++; 346 if ((count % 500) == 0) {
|
/art/test/303-verification-stress/ |
H A D | classes-gen.c | 11 static int createFiles(int count, int array_size) argument 17 for (i = 0; i < count; i++) { 46 for (i = 0; i < count; i++) {
|
/art/test/444-checker-nce/src/ |
H A D | Main.java | 106 public Main forRemoveTest(int count) { argument 109 for (int i = 0; i < count; i++) { 122 public Main forKeepTest(int count) { argument 125 for (int i = 0; i < count; i++) { 140 public Main phiFlowRemoveTest(int count) { argument 143 for (int i = 0; i < count; i++) { 149 for (int i = 0; i < count; i++) { 162 public Main phiFlowKeepTest(int count) { argument 165 for (int i = 0; i < count; i++) { 173 for (int i = 0; i < count; 186 scopeRemoveTest(int count, Main a) argument 204 scopeKeepTest(int count, Main a) argument [all...] |
/art/test/451-spill-splot/src/ |
H A D | Main.java | 48 for (int count = 0; count < 2; count++) {
|
/art/test/MyClassNatives/ |
H A D | MyClassNatives.java | 20 native int bar(int count); argument 21 static native int sbar(int count); argument
|
/art/tools/ |
H A D | cpplint.py | 135 'toplevel' is provided, then the count of errors in each of 137 also be printed. If 'detailed' is provided, then a count 556 self.error_count = 0 # global count of reported errors 623 for category, count in self.errors_by_category.iteritems(): 625 (category, count)) 930 return ((line.count('"') - line.count(r'\"') - line.count("'\"'")) & 1) == 1 1092 num_open = tail.count(startchar) - tail.count(endcha [all...] |
/art/tools/dexfuzz/src/dexfuzz/program/ |
H A D | MutatableCode.java | 321 public void allocateTemporaryVRegs(int count) { argument 322 if (count > tempVRegsAllocated) { 330 registersSize = (short) (initialTempVReg + count); 331 if (outsSize < count) { 332 outsSize = (short) count; 335 tempVRegsAllocated = (short) count;
|