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

1 2 3

  /external/chromium_org/gpu/command_buffer/client/
fenced_allocator_test.cc 99 allocator_.reset(new FencedAllocator(kBufferSize, helper_.get()));
106 EXPECT_TRUE(allocator_->CheckConsistency());
111 scoped_ptr<FencedAllocator> allocator_; member in class:gpu::FencedAllocatorTest
116 allocator_->CheckConsistency();
117 EXPECT_FALSE(allocator_->InUse());
120 FencedAllocator::Offset offset = allocator_->Alloc(kSize);
121 EXPECT_TRUE(allocator_->InUse());
124 EXPECT_TRUE(allocator_->CheckConsistency());
126 allocator_->Free(offset);
127 EXPECT_FALSE(allocator_->InUse())
422 scoped_ptr<FencedAllocatorWrapper> allocator_; member in class:gpu::FencedAllocatorWrapperTest
    [all...]
mapped_memory.h 25 return allocator_.GetLargestFreeSize();
31 return allocator_.GetLargestFreeOrPendingSize();
55 return allocator_.Alloc(size);
61 return allocator_.GetOffset(pointer);
69 allocator_.Free(pointer);
79 allocator_.FreePendingToken(pointer, token);
84 allocator_.FreeUnused();
95 return allocator_.InUse();
99 return allocator_.bytes_in_use();
105 FencedAllocatorWrapper allocator_; member in class:gpu::MemoryChunk
    [all...]
ring_buffer_test.cc 125 allocator_.reset(new RingBuffer(kBaseOffset, kBufferSize, helper_.get()));
135 scoped_ptr<RingBuffer> allocator_; member in class:gpu::RingBufferTest
141 EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeOrPendingSize());
142 EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeSizeNoWaiting());
143 RingBuffer::Offset offset = allocator_->Alloc(kSize);
145 EXPECT_EQ(kBufferSize, allocator_->GetLargestFreeOrPendingSize());
146 EXPECT_EQ(kBufferSize - kSize, allocator_->GetLargestFreeSizeNoWaiting());
148 allocator_->FreePendingToken(offset, token);
161 RingBuffer::Offset offset = allocator_->Alloc(kSize);
164 allocator_->FreePendingToken(offset, tokens[ii])
234 scoped_ptr<RingBufferWrapper> allocator_; member in class:gpu::RingBufferWrapperTest
    [all...]
fenced_allocator.h 152 : allocator_(size, helper),
166 FencedAllocator::Offset offset = allocator_.Alloc(size);
191 allocator_.Free(GetOffset(pointer));
202 allocator_.FreePendingToken(GetOffset(pointer), token);
207 allocator_.FreeUnused();
228 return allocator_.GetLargestFreeSize();
234 return allocator_.GetLargestFreeOrPendingSize();
240 return allocator_.CheckConsistency();
245 return allocator_.InUse();
248 FencedAllocator &allocator() { return allocator_; }
253 FencedAllocator allocator_; member in class:gpu::FencedAllocatorWrapper
    [all...]
ring_buffer.h 124 : allocator_(base_offset, size, helper),
139 RingBuffer::Offset offset = allocator_.Alloc(size);
166 allocator_.FreePendingToken(GetOffset(pointer), token);
181 return allocator_.GetLargestFreeSizeNoWaiting();
187 return allocator_.GetLargestFreeOrPendingSize();
191 RingBuffer allocator_; member in class:gpu::RingBufferWrapper
  /external/chromium_org/base/memory/
discardable_memory_allocator_android_unittest.cc 29 DiscardableMemoryAllocatorTest() : allocator_(kAllocatorName) {}
31 DiscardableMemoryAllocator allocator_; member in class:base::internal::DiscardableMemoryAllocatorTest
43 scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(size));
52 scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(size));
58 scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(kPageSize));
65 scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(kPageSize));
68 scoped_ptr<DiscardableMemory> memory_lock(allocator_.Allocate(kPageSize));
73 memory = allocator_.Allocate(kPageSize);
81 scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(kPageSize));
88 memory = allocator_.Allocate(kPageSize)
    [all...]
discardable_memory_allocator_android.cc 133 allocator_->lock_.AssertAcquired();
154 AutoLock auto_lock(allocator_->lock_);
186 allocator_(allocator),
199 allocator_->lock_.AssertAcquired();
252 allocator_->lock_.AssertAcquired();
292 allocator_->DeleteAshmemRegion_Locked(this); // Deletes |this|.
296 allocator_->lock_.AssertAcquired();
314 allocator_->lock_.AssertAcquired();
326 allocator_->lock_.AssertAcquired();
339 DiscardableMemoryAllocator* const allocator_; member in class:base::internal::DiscardableMemoryAllocator::AshmemRegion
    [all...]
  /external/chromium_org/content/renderer/p2p/
port_allocator.cc 120 allocator_(allocator),
169 if (!allocator_->config_.stun_server.empty() &&
176 if (allocator_->config_.legacy_relay) {
188 new P2PHostAddressRequest(allocator_->socket_dispatcher_);
189 stun_address_request_->Request(allocator_->config_.stun_server, base::Bind(
198 << allocator_->config_.stun_server;
205 net::IPEndPoint(address, allocator_->config_.stun_server_port),
213 for (size_t i = 0; i < allocator_->config_.relays.size(); ++i) {
215 new P2PHostAddressRequest(allocator_->socket_dispatcher_);
217 allocator_->config_.relays[i].server_address
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/
TCPageMap.h 110 void* (*allocator_)(size_t); // Memory allocator member in class:TCMalloc_PageMap2
116 allocator_ = allocator;
140 Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf)));
202 void* (*allocator_)(size_t); // Memory allocator member in class:TCMalloc_PageMap3
205 Node* result = reinterpret_cast<Node*>((*allocator_)(sizeof(Node)));
216 allocator_ = allocator;
250 Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf)));
  /external/chromium_org/third_party/tcmalloc/vendor/src/
pagemap.h 134 void* (*allocator_)(size_t); // Memory allocator member in class:TCMalloc_PageMap2
140 allocator_ = allocator;
170 Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf)));
229 void* (*allocator_)(size_t); // Memory allocator member in class:TCMalloc_PageMap3
232 Node* result = reinterpret_cast<Node*>((*allocator_)(sizeof(Node)));
243 allocator_ = allocator;
284 Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf)));
  /external/chromium_org/third_party/tcmalloc/chromium/src/
pagemap.h 337 void* (*allocator_)(size_t); // Memory allocator member in class:TCMalloc_PageMap2
343 allocator_ = allocator;
373 Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf)));
432 void* (*allocator_)(size_t); // Memory allocator member in class:TCMalloc_PageMap3
435 Node* result = reinterpret_cast<Node*>((*allocator_)(sizeof(Node)));
446 allocator_ = allocator;
487 Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf)));
  /external/chromium_org/third_party/libjingle/source/talk/p2p/client/
portallocator_unittest.cc 105 allocator_(new cricket::BasicPortAllocator(
109 allocator_->set_step_delay(cricket::kMinimumStepDelay);
116 return allocator_->SetPortRange(min_port, max_port);
151 allocator_->CreateSession(
205 return *allocator_;
222 for (size_t i = 0; i < allocator_->relays().size(); ++i) {
223 cricket::RelayServerConfig server_config = allocator_->relays()[i];
244 talk_base::scoped_ptr<cricket::BasicPortAllocator> allocator_; member in class:PortAllocatorTest
297 allocator_->set_step_delay(cricket::kDefaultStepDelay);
340 allocator_->set_flags(allocator_->flags()
    [all...]
  /external/chromium/base/
stack_container.h 138 StackContainer() : allocator_(&stack_data_), container_(allocator_) {
169 Allocator allocator_; member in class:StackContainer
  /external/chromium_org/base/containers/
stack_container.h 138 StackContainer() : allocator_(&stack_data_), container_(allocator_) {
169 Allocator allocator_; member in class:base::StackContainer
  /external/chromium_org/v8/src/
splay-tree.h 62 : root_(NULL), allocator_(allocator) { }
77 AllocationPolicy allocator() { return allocator_; }
218 AllocationPolicy allocator_; member in class:v8::internal::SplayTree
string-stream.h 116 allocator_(allocator),
119 buffer_(allocator_->allocate(kInitialCapacity)) {
184 StringAllocator* allocator_; member in class:v8::internal::StringStream
splay-tree-inl.h 49 root_ = new(allocator_) Node(key, Config::NoValue());
61 Node* node = new(allocator_) Node(key, Config::NoValue());
304 List<Node*, Allocator> nodes_to_visit(10, allocator_);
305 nodes_to_visit.Add(root_, allocator_);
309 if (node->left() != NULL) nodes_to_visit.Add(node->left(), allocator_);
310 if (node->right() != NULL) nodes_to_visit.Add(node->right(), allocator_);
  /external/v8/src/
string-stream.h 116 allocator_(allocator),
119 buffer_(allocator_->allocate(kInitialCapacity)) {
178 StringAllocator* allocator_; member in class:v8::internal::StringStream
  /external/chromium_org/third_party/libjingle/source/talk/p2p/base/
portallocatorsessionproxy_unittest.cc 106 allocator_(talk_base::Thread::Current(), NULL),
129 cricket::FakePortAllocator allocator_; member in class:PortAllocatorSessionProxyTest
  /external/chromium/third_party/libjingle/source/talk/p2p/base/
rawtransportchannel.h 95 PortAllocator* allocator_; member in class:cricket::RawTransportChannel
rawtransportchannel.cc 61 allocator_(allocator),
98 allocator_session_ = allocator_->CreateSession(name(), content_type());
  /external/openfst/src/include/fst/
cache.h 128 allocator_ = allocator ? allocator : new C();
138 allocator_ = allocator ? allocator : new C();
149 allocator_ = new C();
157 cache_first_state_ = allocator_->Allocate(cache_first_state_id_);
167 S *copied_state = allocator_->Allocate(s);
179 allocator_->Free(cache_first_state_, cache_first_state_id_);
180 delete allocator_;
349 allocator_->Free(cache_first_state_, cache_first_state_id_);
351 allocator_->Free(VectorFstBaseImpl<S>::GetState(s), s);
462 return allocator_;
484 C *allocator_; \/\/ used to allocate new states member in class:fst::CacheBaseImpl
    [all...]
  /external/qemu/elff/
elf_file.cc 46 allocator_(NULL),
76 if (allocator_ != NULL) {
77 delete allocator_;
148 allocator_ = new ElfAllocator();
149 assert(allocator_ != NULL);
150 if (allocator_ == NULL) {
  /ndk/sources/host-tools/ndk-stack/elff/
elf_file.cc 46 allocator_(NULL),
76 if (allocator_ != NULL) {
77 delete allocator_;
148 allocator_ = new ElfAllocator();
149 assert(allocator_ != NULL);
150 if (allocator_ == NULL) {
  /external/chromium/third_party/libjingle/source/talk/p2p/client/
basicportallocator.cc 223 : PortAllocatorSession(allocator->flags()), allocator_(allocator),
299 PortConfiguration* config = new PortConfiguration(allocator_->stun_address(),
304 if (!allocator_->relay_address_udp().IsAny())
306 allocator_->relay_address_udp(), PROTO_UDP));
307 if (!allocator_->relay_address_tcp().IsAny())
309 allocator_->relay_address_tcp(), PROTO_TCP));
310 if (!allocator_->relay_address_ssl().IsAny())
312 allocator_->relay_address_ssl(), PROTO_SSLTCP));
340 if (!allocator_->network_manager()->GetNetworks(&networks)) {
403 if (allocator_->proxy().type != talk_base::PROXY_NONE
    [all...]

Completed in 659 milliseconds

1 2 3