Searched refs:num_ready_handles (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/mojo/public/cpp/system/tests/ |
D | wait_set_unittest.cc | 66 size_t num_ready_handles = 2; in TEST_F() local 70 wait_set.Wait(nullptr, &num_ready_handles, ready_handles, ready_results, hss); in TEST_F() 72 EXPECT_EQ(1u, num_ready_handles); in TEST_F() 84 num_ready_handles = 2; in TEST_F() 87 wait_set.Wait(nullptr, &num_ready_handles, ready_handles, ready_results, hss); in TEST_F() 89 EXPECT_EQ(1u, num_ready_handles); in TEST_F() 97 num_ready_handles = 2; in TEST_F() 100 wait_set.Wait(nullptr, &num_ready_handles, ready_handles, ready_results, hss); in TEST_F() 101 EXPECT_EQ(2u, num_ready_handles); in TEST_F() 112 num_ready_handles = 1; in TEST_F() [all …]
|
/external/libchrome/mojo/public/cpp/system/ |
D | wait_set.cc | 132 size_t* num_ready_handles, in Wait() argument 137 DCHECK(num_ready_handles); in Wait() 147 DCHECK_LE(*num_ready_handles, std::numeric_limits<uint32_t>::max()); in Wait() 149 static_cast<uint32_t>(*num_ready_handles); in Wait() 210 *num_ready_handles = std::min(*num_ready_handles, ready_handles_.size()); in Wait() 211 for (size_t i = 0; i < *num_ready_handles; ++i) { in Wait() 357 size_t* num_ready_handles, in Wait() argument 361 state_->Wait(ready_event, num_ready_handles, ready_handles, ready_results, in Wait()
|
D | wait_set.h | 108 size_t* num_ready_handles,
|
D | README.md | 376 size_t num_ready_handles = 1; 379 wait_set.Wait(&ready_event, &num_ready_handles, &ready_handle, &ready_result); 388 if (num_ready_handles > 0) {
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | sync_handle_registry.cc | 125 size_t num_ready_handles; in Wait() local 139 num_ready_handles = 1; in Wait() 140 wait_set_.Wait(&ready_event, &num_ready_handles, &ready_handle, in Wait() 142 if (num_ready_handles) { in Wait() 143 DCHECK_EQ(1u, num_ready_handles); in Wait()
|