HomeSort by relevance Sort by last modified time
    Searched refs:pool_ (Results 1 - 25 of 97) sorted by null

1 2 3 4

  /external/chromium_org/chrome/browser/sync/glue/
tab_node_pool_unittest.cc 14 SyncTabNodePoolTest() : pool_(NULL) { pool_.SetMachineTag("tag"); }
16 int GetMaxUsedTabNodeId() const { return pool_.max_used_tab_node_id_; }
20 TabNodePool pool_; member in class:browser_sync::SyncTabNodePoolTest
25 pool_.free_nodes_pool_.insert(node_ids[i]);
33 pool_.AddTabNode(10);
35 pool_.AddTabNode(5);
37 pool_.AddTabNode(1000);
39 pool_.ReassociateTabNode(1000, 1);
40 pool_.ReassociateTabNode(5, 2)
    [all...]
  /external/chromium_org/chrome/browser/sync/sessions2/
tab_node_pool2_unittest.cc 17 SyncTabNodePool2Test() { pool_.SetMachineTag("tag"); }
19 int GetMaxUsedTabNodeId() const { return pool_.max_used_tab_node_id_; }
23 TabNodePool2 pool_; member in class:browser_sync::SyncTabNodePool2Test
29 pool_.free_nodes_pool_.insert(node_ids[i]);
38 pool_.AddTabNode(10);
40 pool_.AddTabNode(5);
42 pool_.AddTabNode(1000);
44 pool_.ReassociateTabNode(1000, 1);
45 pool_.ReassociateTabNode(5, 2);
46 pool_.ReassociateTabNode(10, 3)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
scoped_autorelease_pool.mm 35 pool_ = [[NSAutoreleasePool alloc] init];
39 [pool_ drain];
scoped_autorelease_pool.h 68 NSAutoreleasePool* pool_; member in class:talk_base::ScopedAutoreleasePool
  /external/chromium_org/net/http/
http_pipelined_host_pool_unittest.cc 74 factory_(new MockHostFactory), // Owned by pool_.
75 host_(new MockHost(key_)), // Owned by pool_.
77 pool_(new HttpPipelinedHostPool(
97 pool_->CreateStreamOnNewPipeline(key, connection,
105 EXPECT_CALL(*factory_, CreateNewHost(pool_.get(), Ref(key), _,
122 scoped_ptr<HttpPipelinedHostPool> pool_; member in class:net::__anon11862::HttpPipelinedHostPoolTest
132 EXPECT_TRUE(pool_->IsKeyEligibleForPipelining(key_));
133 EXPECT_CALL(*factory_, CreateNewHost(pool_.get(), Ref(key_), _,
139 pool_->OnHostIdle(host_);
143 EXPECT_CALL(*factory_, CreateNewHost(pool_.get(), Ref(key_), _
    [all...]
  /external/chromium_org/net/socket/
client_socket_pool_base_unittest.cc 693 DCHECK(!pool_.get());
696 pool_.reset(new TestClientSocketPool(max_sockets,
709 pool_.get(), group_name, priority, params);
740 scoped_ptr<TestClientSocketPool> pool_; member in class:net::__anon12059::ClientSocketPoolBaseTest
819 pool_.get(),
862 pool_.get(),
1516 TestClientSocketPool* const pool_; member in class:net::__anon12059::RequestSocketCallback
2591 TestClientSocketPool* const pool_; member in class:net::__anon12059::TestReleasingSocketRequest
2719 TestClientSocketPool* const pool_; member in class:net::__anon12059::ConnectWithinCallback
3767 TestClientSocketPool* const pool_; member in class:net::__anon12059::MockLayeredPool
    [all...]
client_socket_handle.cc 20 pool_(NULL),
40 CHECK(pool_);
46 pool_->ReleaseSocket(group_name_, socket_.Pass(), pool_id_);
55 pool_->CancelRequest(group_name_, this);
65 pool_ = NULL;
84 if (!pool_)
86 return pool_->GetLoadState(group_name_, this);
90 if (!pool_)
92 return pool_->IsStalled();
98 // TODO(mmenke): |pool_| should only be NULL in tests. Maybe stop doing tha
    [all...]
socks_client_socket_pool_unittest.cc 99 pool_(kMaxSockets, kMaxSocketsPerGroup,
110 &pool_, group_name, priority, CreateSOCKSv5Params());
125 SOCKSClientSocketPool pool_; member in class:net::__anon12069::SOCKSClientSocketPoolTest
136 &pool_, BoundNetLog());
156 CompletionCallback(), &pool_, BoundNetLog()));
175 CompletionCallback(), &pool_, BoundNetLog()));
189 &pool_, BoundNetLog());
208 &pool_, BoundNetLog());
222 &pool_, BoundNetLog());
244 &pool_, BoundNetLog())
    [all...]
  /external/chromium/testing/
platform_test.h 28 NSAutoreleasePool* pool_; member in class:PlatformTest
  /external/chromium_org/testing/
platform_test.h 30 NSAutoreleasePool* pool_; member in class:PlatformTest
  /external/chromium/base/threading/
worker_pool_posix_unittest.cc 22 : pool_(pool) {}
24 Lock* lock() { return &pool_->lock_; }
26 return &pool_->tasks_available_cv_;
28 const std::queue<Task*>& tasks() const { return pool_->tasks_; }
29 int num_idle_threads() const { return pool_->num_idle_threads_; }
31 return pool_->num_idle_threads_cv_.get();
34 pool_->num_idle_threads_cv_.reset(cv);
38 PosixDynamicThreadPool* pool_; member in class:base::PosixDynamicThreadPool::PosixDynamicThreadPoolPeer
124 : pool_(new base::PosixDynamicThreadPool("dynamic_pool", 60*60)),
125 peer_(pool_.get())
166 scoped_refptr<base::PosixDynamicThreadPool> pool_; member in class:base::__anon4217::PosixDynamicThreadPoolTest
    [all...]
worker_pool_posix.cc 33 scoped_refptr<base::PosixDynamicThreadPool> pool_; member in class:base::__anon4216::WorkerPoolImpl
37 : pool_(new base::PosixDynamicThreadPool("WorkerPool",
42 pool_->Terminate();
48 pool_->PostTask(task);
59 pool_(pool) {}
66 scoped_refptr<base::PosixDynamicThreadPool> pool_; member in class:base::__anon4216::WorkerThread
77 Task* task = pool_->WaitForTask();
  /external/chromium_org/base/threading/
worker_pool_posix_unittest.cc 23 : pool_(pool) {}
25 Lock* lock() { return &pool_->lock_; }
27 return &pool_->pending_tasks_available_cv_;
30 return pool_->pending_tasks_;
32 int num_idle_threads() const { return pool_->num_idle_threads_; }
34 return pool_->num_idle_threads_cv_.get();
37 pool_->num_idle_threads_cv_.reset(cv);
41 PosixDynamicThreadPool* pool_; member in class:base::PosixDynamicThreadPool::PosixDynamicThreadPoolPeer
93 : pool_(new base::PosixDynamicThreadPool("dynamic_pool", 60*60)),
94 peer_(pool_.get())
137 scoped_refptr<base::PosixDynamicThreadPool> pool_; member in class:base::__anon6457::PosixDynamicThreadPoolTest
    [all...]
worker_pool_posix.cc 47 scoped_refptr<base::PosixDynamicThreadPool> pool_; member in class:base::__anon6456::WorkerPoolImpl
51 : pool_(new base::PosixDynamicThreadPool("WorkerPool",
56 pool_->Terminate();
61 pool_->PostTask(from_here, task);
72 pool_(pool) {}
78 scoped_refptr<base::PosixDynamicThreadPool> pool_; member in class:base::__anon6456::WorkerThread
91 PendingTask pending_task = pool_->WaitForTask();
  /external/chromium/net/socket/
client_socket_handle.cc 39 if (pool_)
42 pool_->ReleaseSocket(group_name_, release_socket(), pool_id_);
46 pool_->CancelRequest(group_name_, this);
52 pool_ = NULL;
70 if (!pool_)
72 return pool_->GetLoadState(group_name_, this);
95 ClientSocketPoolHistograms* histograms = pool_->histograms();
client_socket_pool_base_unittest.cc 561 DCHECK(!pool_.get());
563 pool_.reset(new TestClientSocketPool(max_sockets,
575 pool_.get(), group_name, priority, params_);
601 scoped_ptr<TestClientSocketPool> pool_; member in class:net::__anon5605::ClientSocketPoolBaseTest
679 pool_.get(),
719 pool_.get(),
1358 TestClientSocketPool* const pool_; member in class:net::__anon5605::RequestSocketCallback
2220 TestClientSocketPool* const pool_; member in class:net::__anon5605::TestReleasingSocketRequest
2349 TestClientSocketPool* const pool_; member in class:net::__anon5605::ConnectWithinCallback
    [all...]
socks_client_socket_pool_unittest.cc 67 pool_(kMaxSockets, kMaxSocketsPerGroup,
78 &pool_, group_name, priority, ignored_socket_params_);
94 SOCKSClientSocketPool pool_; member in class:net::__anon5613::SOCKSClientSocketPoolTest
104 int rv = handle.Init("a", ignored_socket_params_, LOW, NULL, &pool_,
117 int rv = handle.Init("a", ignored_socket_params_, LOW, &callback, &pool_,
134 int rv = handle.Init("a", ignored_socket_params_, LOW, NULL, &pool_,
148 int rv = handle.Init("a", ignored_socket_params_, LOW, &callback, &pool_,
170 int rv = handle.Init("a", ignored_socket_params_, LOW, NULL, &pool_,
190 int rv = handle.Init("a", ignored_socket_params_, LOW, &callback, &pool_,
217 pool_.CancelRequest("a", (*requests())[0]->handle())
    [all...]
  /external/chromium_org/media/base/
video_frame_pool_unittest.cc 12 VideoFramePoolTest() : pool_(new VideoFramePool()) {}
19 return pool_->CreateFrame(
25 EXPECT_EQ(size, pool_->GetPoolSizeForTesting());
29 scoped_ptr<VideoFramePool> pool_; member in class:media::VideoFramePoolTest
65 pool_.reset();
video_frame_pool.h 43 scoped_refptr<PoolImpl> pool_; member in class:media::VideoFramePool
  /external/chromium_org/base/test/
sequenced_worker_pool_owner.cc 16 pool_(new SequencedWorkerPool(max_threads, thread_name_prefix, this)),
20 pool_ = NULL;
25 return pool_;
  /external/protobuf/src/google/protobuf/
dynamic_message_unittest.cc 58 DescriptorPool pool_; member in class:google::protobuf::DynamicMessageTest
67 DynamicMessageTest(): factory_(&pool_) {}
81 ASSERT_TRUE(pool_.BuildFile(unittest_import_file) != NULL);
82 ASSERT_TRUE(pool_.BuildFile(unittest_file) != NULL);
84 descriptor_ = pool_.FindMessageTypeByName("protobuf_unittest.TestAllTypes");
89 pool_.FindMessageTypeByName("protobuf_unittest.TestAllExtensions");
94 pool_.FindMessageTypeByName("protobuf_unittest.TestPackedTypes");
  /external/chromium_org/content/browser/renderer_host/media/
video_capture_buffer_pool_unittest.cc 27 : pool_(pool), id_(id), data_(data), size_(size) {}
28 ~Buffer() { pool_->RelinquishProducerReservation(id()); }
34 const scoped_refptr<VideoCaptureBufferPool> pool_; member in class:content::VideoCaptureBufferPoolTest::Buffer
41 pool_(new VideoCaptureBufferPool(3)) {}
53 int buffer_id = pool_->ReserveForProducer(frame_bytes, &buffer_id_to_drop);
59 pool_->GetBufferInfo(buffer_id, &memory, &size);
61 return scoped_ptr<Buffer>(new Buffer(pool_, buffer_id, memory, size));
65 scoped_refptr<VideoCaptureBufferPool> pool_; member in class:content::VideoCaptureBufferPoolTest
121 pool_->HoldForConsumers(buffer_id3, 2);
136 pool_->RelinquishConsumerHold(buffer_id3, 1)
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/
dynamic_message_unittest.cc 58 DescriptorPool pool_; member in class:google::protobuf::DynamicMessageTest
67 DynamicMessageTest(): factory_(&pool_) {}
84 ASSERT_TRUE(pool_.BuildFile(unittest_import_public_file) != NULL);
85 ASSERT_TRUE(pool_.BuildFile(unittest_import_file) != NULL);
86 ASSERT_TRUE(pool_.BuildFile(unittest_file) != NULL);
88 descriptor_ = pool_.FindMessageTypeByName("protobuf_unittest.TestAllTypes");
93 pool_.FindMessageTypeByName("protobuf_unittest.TestAllExtensions");
98 pool_.FindMessageTypeByName("protobuf_unittest.TestPackedTypes");
  /external/chromium_org/gpu/command_buffer/service/
memory_tracking.h 49 pool_(pool),
94 pool_);
101 MemoryTracker::Pool pool_; member in class:gpu::gles2::MemoryTypeTracker
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/
spinlock_pool.hpp 38 static spinlock pool_[ 41 ]; member in class:boost::detail::spinlock_pool
49 return pool_[ i ];
75 template< int I > spinlock spinlock_pool< I >::pool_[ 41 ] = member in class:boost::detail::spinlock_pool

Completed in 409 milliseconds

1 2 3 4