/art/runtime/ |
thread_pool_test.cc | 64 static const int32_t num_tasks = num_threads * 4; local 65 for (int32_t i = 0; i < num_tasks; ++i) { 72 EXPECT_EQ(num_tasks, count); 79 static const int32_t num_tasks = num_threads * 4; local 80 for (int32_t i = 0; i < num_tasks; ++i) { 97 while (count.load() != num_tasks && bad_count.load() != 1) {
|
barrier_test.cc | 127 const int32_t num_tasks = num_threads * 4; local 129 for (int32_t i = 0; i < num_tasks; ++i) { 133 const int32_t expected_total_tasks = num_sub_tasks * num_tasks;
|
/external/chromium_org/base/message_loop/ |
message_loop_test.cc | 180 int num_tasks = 1; local 184 FROM_HERE, Bind(&RecordRunTimeFunc, &run_time, &num_tasks), 191 EXPECT_EQ(0, num_tasks); 200 int num_tasks = 2; local 205 Bind(&RecordRunTimeFunc, &run_time1, &num_tasks), 211 Bind(&RecordRunTimeFunc, &run_time2, &num_tasks), 215 EXPECT_EQ(0, num_tasks); 234 int num_tasks = 2; 239 Bind(&RecordRunTimeFunc, &run_time1, &num_tasks), kDelay); 242 Bind(&RecordRunTimeFunc, &run_time2, &num_tasks), kDelay) [all...] |
message_loop_unittest.cc | 133 // By setting num_tasks to 1, we ensure that the first task to run causes the 135 int num_tasks = 1; local 143 Bind(&RecordRunTimeFunc, &run_time, &num_tasks), 155 EXPECT_EQ(1, num_tasks); 811 explicit DummyTaskObserver(int num_tasks) 814 num_tasks_(num_tasks) {} [all...] |
/external/chromium/base/ |
message_loop_unittest.cc | 200 int num_tasks = 1; local 204 FROM_HERE, new RecordRunTimeTask(&run_time, &num_tasks), kDelayMS); 210 EXPECT_EQ(0, num_tasks); 219 int num_tasks = 2; local 223 FROM_HERE, new RecordRunTimeTask(&run_time1, &num_tasks), 200); 227 FROM_HERE, new RecordRunTimeTask(&run_time2, &num_tasks), 10); 230 EXPECT_EQ(0, num_tasks); 248 int num_tasks = 2; 252 FROM_HERE, new RecordRunTimeTask(&run_time1, &num_tasks), kDelayMS); 254 FROM_HERE, new RecordRunTimeTask(&run_time2, &num_tasks), kDelayMS) 381 int num_tasks = 1; local [all...] |