/art/runtime/ |
thread_pool_test.cc | 65 static const int32_t num_tasks = num_threads * 4; local 66 for (int32_t i = 0; i < num_tasks; ++i) { 73 EXPECT_EQ(num_tasks, count.LoadSequentiallyConsistent()); 80 static const int32_t num_tasks = num_threads * 4; local 81 for (int32_t i = 0; i < num_tasks; ++i) { 98 while (count.LoadSequentiallyConsistent() != num_tasks &&
|
barrier_test.cc | 117 const int32_t num_tasks = num_threads * 4; local 119 for (int32_t i = 0; i < num_tasks; ++i) { 123 const int32_t expected_total_tasks = num_sub_tasks * num_tasks;
|
/external/chromium_org/base/message_loop/ |
message_loop_test.cc | 125 int num_tasks = 1; local 129 FROM_HERE, Bind(&RecordRunTimeFunc, &run_time, &num_tasks), 136 EXPECT_EQ(0, num_tasks); 145 int num_tasks = 2; local 150 Bind(&RecordRunTimeFunc, &run_time1, &num_tasks), 156 Bind(&RecordRunTimeFunc, &run_time2, &num_tasks), 160 EXPECT_EQ(0, num_tasks); 179 int num_tasks = 2; 184 Bind(&RecordRunTimeFunc, &run_time1, &num_tasks), kDelay); 187 Bind(&RecordRunTimeFunc, &run_time2, &num_tasks), kDelay) [all...] |
message_loop_unittest.cc | 109 // By setting num_tasks to 1, we ensure that the first task to run causes the 111 int num_tasks = 1; local 119 Bind(&RecordRunTimeFunc, &run_time, &num_tasks), 131 EXPECT_EQ(1, num_tasks); 662 explicit DummyTaskObserver(int num_tasks) 665 num_tasks_(num_tasks) {} [all...] |
/external/chromium_org/v8/src/ |
isolate.cc | 2285 int num_tasks = pending_microtask_count(); local 2314 int num_tasks = pending_microtask_count(); local [all...] |