Lines Matching refs:CB
332 struct CB { in TEST_P() struct
336 CB(std::atomic<int>* p, int i) : last_id_ptr(p), id(i) {} in TEST_P() argument
339 CB* cb = reinterpret_cast<CB*>(v); in TEST_P()
347 CB cb1(&last_id, 1); in TEST_P()
348 CB cb2(&last_id, 2); in TEST_P()
349 CB cb3(&last_id, 3); in TEST_P()
350 CB cb4(&last_id, 4); in TEST_P()
351 env_->Schedule(&CB::Run, &cb1); in TEST_P()
352 env_->Schedule(&CB::Run, &cb2); in TEST_P()
353 env_->Schedule(&CB::Run, &cb3); in TEST_P()
354 env_->Schedule(&CB::Run, &cb4); in TEST_P()
403 class CB { in TEST_P() class
405 CB(const std::string& pool_name, int pool_size, port::Mutex* trigger_mu, in TEST_P() function in ROCKSDB_NAMESPACE::TEST_P::CB
417 CB* cb = reinterpret_cast<CB*>(v); in TEST_P()
468 CB low_pool_job("low", kLowPoolSize, &mutex, &cv, &should_start); in TEST_P()
469 CB high_pool_job("high", kHighPoolSize, &mutex, &cv, &should_start); in TEST_P()
479 env_->Schedule(&CB::Run, &low_pool_job); in TEST_P()
480 env_->Schedule(&CB::Run, &high_pool_job, Env::Priority::HIGH); in TEST_P()
529 env_->Schedule(&CB::Run, &low_pool_job); in TEST_P()
530 env_->Schedule(&CB::Run, &high_pool_job, Env::Priority::HIGH); in TEST_P()