Home
last modified time | relevance | path

Searched refs:pool_ (Results 1 – 3 of 3) sorted by relevance

/system/utest/libfzl/
A Dvmo-pool-tests.cpp45 fzl::VmoPool pool_; member in __anonb2c9061f0111::VmoPoolTester
116 ASSERT_TRUE(pool_.HasBufferInProgress()); in CheckHasBuffer()
117 void* addr = pool_.CurrentBufferAddress(); in CheckHasBuffer()
119 size_t mem_size = pool_.CurrentBufferSize(); in CheckHasBuffer()
128 ASSERT_FALSE(pool_.HasBufferInProgress()); in CheckHasNoBuffer()
129 void* addr = pool_.CurrentBufferAddress(); in CheckHasNoBuffer()
131 size_t mem_size = pool_.CurrentBufferSize(); in CheckHasNoBuffer()
185 ASSERT_NE(tester.pool_.Init(vmo_vector), ZX_OK); in vmo_pool_init_vector_test()
206 ASSERT_EQ(tester.pool_.GetNewBuffer(), ZX_OK); in vmo_pool_double_get_buffer_test()
274 tester.pool_.Reset(); in vmo_pool_reset_test()
[all …]
/system/ulib/dispatcher-pool/
A Ddispatcher-thread-pool.cpp261 : pool_(std::move(pool)), in Thread()
285 ZX_DEBUG_ASSERT(pool_ == nullptr); in Join()
289 printf("[Thread %03u-%02u] ", id_, pool_->priority()); in PrintDebugPrefix()
295 ZX_DEBUG_ASSERT(pool_ != nullptr); in Main()
298 res = zx_thread_set_priority(pool_->priority()); in Main()
311 res = pool_->port().wait(zx::time::infinite(), &pkt); in Main()
343 pool_.reset(); in Main()
/system/ulib/dispatcher-pool/include/dispatcher-pool/
A Ddispatcher-thread-pool.h64 fbl::RefPtr<ThreadPool> pool_; variable

Completed in 5 milliseconds