/external/chromium_org/native_client_sdk/src/libraries/sdk_util/ |
thread_pool.h | 21 // them num_tasks of work at a time. Each call 28 void Dispatch(int num_tasks, WorkFunction work, void* data); 34 void DispatchMany(int num_tasks, WorkFunction work, void* data); 35 void DispatchHere(int num_tasks, WorkFunction work, void* data);
|
thread_pool.cc | 107 void ThreadPool::DispatchMany(int num_tasks, WorkFunction work, void* data) { 109 Setup(num_tasks, work, data); 124 void ThreadPool::DispatchHere(int num_tasks, WorkFunction work, void* data) { 125 for (int i = 0; i < num_tasks; i++) 132 void ThreadPool::Dispatch(int num_tasks, WorkFunction work, void* data) { 134 DispatchMany(num_tasks, work, data); 136 DispatchHere(num_tasks, work, data);
|
/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/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...] |
/external/chromium_org/base/message_loop/ |
message_loop_unittest.cc | 190 int num_tasks = 1; local 194 FROM_HERE, Bind(&RecordRunTimeFunc, &run_time, &num_tasks), 201 EXPECT_EQ(0, num_tasks); 210 int num_tasks = 2; local 215 Bind(&RecordRunTimeFunc, &run_time1, &num_tasks), 221 Bind(&RecordRunTimeFunc, &run_time2, &num_tasks), 225 EXPECT_EQ(0, num_tasks); 244 int num_tasks = 2; 249 Bind(&RecordRunTimeFunc, &run_time1, &num_tasks), kDelay); 252 Bind(&RecordRunTimeFunc, &run_time2, &num_tasks), kDelay) 375 int num_tasks = 1; local [all...] |
/external/chromium/base/threading/ |
worker_pool_posix_unittest.cc | 140 void WaitForTasksToStart(int num_tasks) { 142 while (num_waiting_to_start_ < num_tasks) {
|
/external/chromium_org/base/threading/ |
worker_pool_posix_unittest.cc | 109 void WaitForTasksToStart(int num_tasks) { 111 while (num_waiting_to_start_ < num_tasks) {
|
sequenced_worker_pool_unittest.cc | 132 std::vector<int> WaitUntilTasksComplete(size_t num_tasks) { 136 while (complete_sequence_.size() < num_tasks) [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
in_process_command_buffer.cc | 117 size_t num_tasks; local 120 num_tasks = tasks_.size(); 123 while (num_tasks) { 129 num_tasks = tasks_.size();
|