Searched defs:allocator (Results 51 - 75 of 160) sorted by relevance

1234567

/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dp2ptransport.cc63 PortAllocator* allocator)
65 content_name, NS_GINGLE_P2P, allocator) {
60 P2PTransport(rtc::Thread* signaling_thread, rtc::Thread* worker_thread, const std::string& content_name, PortAllocator* allocator) argument
H A Drawtransportchannel.cc58 PortAllocator *allocator)
61 allocator_(allocator),
101 // Create an allocator that only returns stun and relay ports.
54 RawTransportChannel(const std::string& content_name, int component, RawTransport* transport, rtc::Thread *worker_thread, PortAllocator *allocator) argument
H A Dsessionmanager.cc43 SessionManager::SessionManager(PortAllocator *allocator, argument
45 allocator_ = allocator;
/external/chromium_org/third_party/skia/src/core/
H A DSkResourceCache.h134 * Use this allocator for bitmaps, so they can use ashmem when available.
198 SkBitmap::Allocator* allocator() const { return fAllocator; }; function in class:SkResourceCache
213 // the allocator is NULL or one that matches discardables
/external/chromium_org/third_party/skia/src/gpu/
H A DSkGrPixelRef.cpp154 SkBitmap::Allocator* allocator = SkBitmapCache::GetAllocator(); local
155 if (NULL != allocator) {
156 return allocator->allocPixelRef(bitmap, 0);
158 // DiscardableMemory is not available, fallback to default allocator
/external/chromium_org/third_party/skia/src/utils/
H A DSkTextureCompressor.cpp196 SkTBlitterAllocator *allocator, Format format) {
199 return CreateLATCBlitter(width, height, compressedBuffer, allocator);
202 return CreateR11EACBlitter(width, height, compressedBuffer, allocator);
205 return CreateASTCBlitter(width, height, compressedBuffer, allocator);
195 CreateBlitterForFormat(int width, int height, void* compressedBuffer, SkTBlitterAllocator *allocator, Format format) argument
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dpagemap.h72 explicit TCMalloc_PageMap1(void* (*allocator)(size_t)) { argument
73 array_ = reinterpret_cast<void**>((*allocator)(sizeof(void*) << BITS));
134 void* (*allocator_)(size_t); // Memory allocator
139 explicit TCMalloc_PageMap2(void* (*allocator)(size_t)) { argument
140 allocator_ = allocator;
229 void* (*allocator_)(size_t); // Memory allocator
242 explicit TCMalloc_PageMap3(void* (*allocator)(size_t)) { argument
243 allocator_ = allocator;
/external/chromium_org/v8/src/
H A Dsplay-tree.h38 explicit SplayTree(AllocationPolicy allocator = AllocationPolicy())
39 : root_(NULL), allocator_(allocator) {}
43 AllocationPolicy allocator = AllocationPolicy())) {
44 return allocator.New(static_cast<int>(size));
54 AllocationPolicy allocator() { return allocator_; } function in class:v8::internal::SplayTree
108 INLINE(void* operator new(size_t size, AllocationPolicy allocator)) { argument
109 return allocator.New(static_cast<int>(size));
116 INLINE(void operator delete(void* p, AllocationPolicy allocator)) { argument
/external/clang/test/CodeGenCXX/
H A D2007-09-10-RecursiveTypeResolution.cpp28 template < typename _Tp > struct allocator struct in namespace:std
50 template < typename _Tp, typename _Alloc = std::allocator < _Tp > >
H A Dexceptions.cpp7 struct allocator { struct in namespace:test0
8 allocator();
9 allocator(const allocator&);
10 ~allocator();
17 throw allocator();
H A Dglobal-init.cpp55 struct allocator { allocator(); ~allocator(); }; struct in namespace:test2
56 struct A { A(const allocator &a = allocator()); ~A(); };
H A Ddestructors.cpp40 struct allocator { struct in namespace:PR7526
41 ~allocator() throw();
44 struct allocator_derived : allocator { };
49 // CHECK-LABEL: define void @_ZN6PR75269allocatorD2Ev(%"struct.PR7526::allocator"* %this) unnamed_addr
51 allocator::~allocator() throw() { foo(); }
/external/clang/test/SemaTemplate/
H A Ddeduction.cpp29 template<typename T> struct allocator { }; struct
30 template<typename T, typename Alloc = allocator<T> > struct vector {};
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_testlib.cc46 static Allocator allocator; member in namespace:__anon19634
57 allocator.SwallowCache(&cache);
63 allocator.Init();
76 void *p = allocator.Allocate(&cache, size, 8);
85 allocator.Deallocate(&cache, p);
92 void *p = allocator.Allocate(&cache, size, 8, false);
104 p = allocator.Reallocate(&cache, p, size, 8);
114 void *p = allocator.Allocate(&cache, size, alignment);
122 *memptr = allocator.Allocate(&cache, size, alignment);
132 void *p = allocator
[all...]
/external/libvpx/libvpx/third_party/nestegg/halloc/src/
H A Dhalloc.c4 * Hierarchical memory allocator, 1.2.1
44 #define allocator halloc_allocator macro
62 /* set up default allocator */
63 if (! allocator)
66 assert(allocator);
75 p = allocator(0, len + sizeof_hblock);
93 p = allocator(p, len + sizeof_hblock);
106 allocator(p, 0);
178 assert(! allocator);
190 allocator
[all...]
/external/stlport/src/
H A Ddll_main.cpp114 template class _STLP_CLASS_DECLSPEC allocator<_STLP_PRIV _Slist_node_base*>; variable in typeref:class:_STLP_CLASS_DECLSPEC
118 allocator<_Slist_node_base*> >;
120 allocator<_Slist_node_base*> >;
127 allocator<_Slist_node_base*> >;
132 allocator<_STLP_PRIV _Slist_node_base*> >;
137 template class _STLP_CLASS_DECLSPEC allocator<locale::facet*>; variable in typeref:class:_STLP_CLASS_DECLSPEC
140 template class _STLP_CLASS_DECLSPEC _STLP_alloc_proxy<locale::facet**, locale::facet*, allocator<locale::facet*> >;
141 template class _STLP_CLASS_DECLSPEC _Vector_base<locale::facet*, allocator<locale::facet*> >;
148 template class _STLP_CLASS_DECLSPEC __construct_checker<_STLP_PRIV _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> > >;
149 template class _STLP_CLASS_DECLSPEC _STLP_NON_DBG_VECTOR<locale::facet*, allocator<local
158 template class _STLP_CLASS_DECLSPEC allocator<void*>; variable in typeref:class:_STLP_CLASS_DECLSPEC
161 template class _STLP_CLASS_DECLSPEC allocator<_VoidPtr_Node>; variable in typeref:class:_STLP_CLASS_DECLSPEC
167 template class _STLP_CLASS_DECLSPEC _STLP_PTR_IMPL_NAME(vector)<void*, allocator<void*> >; variable
172 template class _STLP_CLASS_DECLSPEC _STLP_PTR_IMPL_NAME(list)<void*, allocator<void*> >; variable
177 template class _STLP_CLASS_DECLSPEC _STLP_PTR_IMPL_NAME(slist)<void*, allocator<void*> >; variable
183 template class _STLP_CLASS_DECLSPEC _STLP_PTR_IMPL_NAME(deque)<void*, allocator<void*> >; variable
[all...]
/external/stlport/test/unit/
H A Dmvctor_declaration_test.cpp79 class allocator<specially_allocated_struct> { class in namespace:std
80 //This allocator just represent what a STLport could do and in this
83 //allocator.
94 typedef allocator<_Tp1> other;
97 allocator() _STLP_NOTHROW {}
99 template <class _Tp1> allocator(const allocator<_Tp1>&) _STLP_NOTHROW {}
101 allocator(const allocator&) _STLP_NOTHROW {}
102 ~allocator() _STLP_NOTHRO
[all...]
/external/chromium_org/base/allocator/
H A Dallocator_shim.cc5 #include "base/allocator/allocator_shim.h"
8 #include "base/allocator/allocator_extension_thunks.h"
27 TCMALLOC, // TCMalloc is the default allocator.
28 WINHEAP, // Windows Heap (standard Windows allocator).
32 // This is the default allocator. This value can be changed at startup by
35 // allocator.
39 static Allocator allocator = WINHEAP; variable
41 static Allocator allocator = TCMALLOC; variable
44 // selection of the allocator. The primary may be used to control overall
45 // allocator selectio
339 namespace allocator { namespace in namespace:base
[all...]
/external/chromium_org/content/renderer/p2p/
H A Dport_allocator.cc98 P2PPortAllocator* allocator,
104 allocator, content_name, component,
106 allocator_(allocator),
97 P2PPortAllocatorSession( P2PPortAllocator* allocator, const std::string& content_name, int component, const std::string& ice_username_fragment, const std::string& ice_password) argument
/external/chromium_org/gpu/command_buffer/client/
H A Dfenced_allocator.h254 FencedAllocator &allocator() { return allocator_; } function in class:gpu::FencedAllocatorWrapper
/external/chromium_org/remoting/client/plugin/
H A Dpepper_port_allocator.cc31 cricket::HttpPortAllocatorBase* allocator,
66 cricket::HttpPortAllocatorBase* allocator,
75 : HttpPortAllocatorSessionBase(allocator,
65 PepperPortAllocatorSession( cricket::HttpPortAllocatorBase* allocator, const std::string& content_name, int component, const std::string& ice_username_fragment, const std::string& ice_password, const std::vector<rtc::SocketAddress>& stun_hosts, const std::vector<std::string>& relay_hosts, const std::string& relay_token, const pp::InstanceHandle& instance) argument
/external/chromium_org/skia/ext/
H A Dimage_operations.cc344 SkBitmap::Allocator* allocator) {
347 dest_subset, allocator);
350 allocator);
358 SkBitmap::Allocator* allocator) {
389 height, subset, allocator);
398 result.allocPixels(allocator, NULL);
469 SkBitmap::Allocator* allocator) {
513 result.allocPixels(allocator, NULL);
533 SkBitmap::Allocator* allocator) {
536 allocator);
340 Resize(const SkBitmap& source, ResizeMethod method, int dest_width, int dest_height, const SkIRect& dest_subset, SkBitmap::Allocator* allocator) argument
355 ResizeSubpixel(const SkBitmap& source, int dest_width, int dest_height, const SkIRect& dest_subset, SkBitmap::Allocator* allocator) argument
[all...]
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DCompiler.h46 // Memory allocator. Allocates and tracks memory required by the compiler.
48 TPoolAllocator allocator; member in class:TShHandleBase
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Dpeerconnectionfactory_unittest.cc117 webrtc::FakePortAllocatorFactory* allocator = local
120 ASSERT_TRUE(allocator != NULL);
121 EXPECT_EQ(stun_config.size(), allocator->stun_configs().size());
124 allocator->stun_configs()[i].server.ToString());
129 webrtc::FakePortAllocatorFactory* allocator = local
132 ASSERT_TRUE(allocator != NULL);
133 EXPECT_EQ(turn_config.size(), allocator->turn_configs().size());
136 allocator->turn_configs()[i].server.ToString());
137 EXPECT_EQ(turn_config[i].username, allocator->turn_configs()[i].username);
138 EXPECT_EQ(turn_config[i].password, allocator
[all...]
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/
H A Dbasicportallocator.h119 BasicPortAllocatorSession(BasicPortAllocator* allocator,
126 virtual BasicPortAllocator* allocator() { return allocator_; } function in class:cricket::BasicPortAllocatorSession

Completed in 676 milliseconds

1234567