Searched defs:allocator (Results 26 - 50 of 85) sorted by relevance

1234

/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.cpp37 struct allocator { struct in namespace:PR7526
38 ~allocator() throw();
41 struct allocator_derived : allocator { };
43 // CHECK: define void @_ZN6PR75269allocatorD2Ev(%"struct.PR7526::allocator"* %this) unnamed_addr
45 allocator::~allocator() throw() { foo(); }
H A Ddebug-info-use-after-free.cpp99 template < typename _Tp > struct allocator:new_allocator < _Tp > { struct in inherits:new_allocator
113 allocator < _Tp > >struct vector:_Vector_base < _Tp, _Alloc > { };
139 template < typename _Tp > class allocator:__gnu_cxx::new_allocator < _Tp > { class in namespace:std
143 template < typename _Tp, typename _Alloc = std::allocator < _Tp > >class vector:_Vector_base < _Tp,
199 std::allocator;
204 allocator < _Tp > >class hash_map {
/external/clang/test/SemaTemplate/
H A Ddeduction.cpp29 template<typename T> struct allocator { }; struct
30 template<typename T, typename Alloc = allocator<T> > struct vector {};
H A Ddefault-arguments.cpp126 template<typename T> class allocator {}; class in namespace:PR9643
127 template<typename T, typename U = allocator<T> > class vector {};
129 template<template<typename U, typename = allocator<U> > class container,
136 vector<int, allocator<int> > v = initializer<vector>(5);
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator64_testlib.cc32 static Allocator allocator; member in namespace:__anon4915
40 allocator.Init();
62 return allocator.Allocate(&cache, size, 8);
67 allocator.Deallocate(&cache, p);
72 return allocator.Allocate(&cache, nmemb * size, 8, /*cleared=*/true);
77 return allocator.Reallocate(&cache, p, new_size, 8);
83 *memptr = allocator.Allocate(&cache, size, alignment);
90 return allocator.Allocate(&cache, size, kPageSize);
96 return allocator.Allocate(&cache, size, kPageSize);
/external/libvpx/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/llvm/lib/Support/
H A DAllocator.cpp24 SlabAllocator &allocator)
26 Allocator(allocator), CurSlab(0), BytesAllocated(0) { }
23 BumpPtrAllocator(size_t size, size_t threshold, SlabAllocator &allocator) argument
/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/v8/src/
H A Dlog-utils.cc96 HeapStringAllocator allocator; local
97 StringStream stream(&allocator);
H A Ddisassembler.cc223 HeapStringAllocator allocator; local
224 StringStream accumulator(&allocator);
H A Dstring-stream.h48 // Normal allocator uses new[] and delete[].
115 explicit StringStream(StringAllocator* allocator): argument
116 allocator_(allocator),
/external/webkit/Source/JavaScriptCore/assembler/
H A DARMAssembler.cpp346 void* ARMAssembler::executableCopy(ExecutablePool* allocator) argument
353 char* data = reinterpret_cast<char*>(m_buffer.executableCopy(allocator));
H A DAssemblerBuffer.h142 void* executableCopy(ExecutablePool* allocator) argument
147 void* result = allocator->alloc(m_size);
H A DAssemblerBufferWithConstantPool.h205 void* executableCopy(ExecutablePool* allocator) argument
208 return AssemblerBuffer::executableCopy(allocator);
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
H A DCompiler.cpp56 TScopedPoolAllocator(TPoolAllocator* allocator, bool pushPop) argument
57 : mAllocator(allocator), mPushPopAllocator(pushPop) {
73 allocator.push();
74 SetGlobalPoolAllocator(&allocator);
79 allocator.popAll();
94 TScopedPoolAllocator scopedAlloc(&allocator, false);
108 TScopedPoolAllocator scopedAlloc(&allocator, true);
/external/webkit/Source/WebCore/platform/graphics/gpu/
H A DPODArena.h47 // The arena is configured with an allocator, which is responsible
58 // The Arena's default allocator, which uses fastMalloc and
81 static PassRefPtr<PODArena> create(PassRefPtr<Allocator> allocator) argument
83 return adoptRef(new PODArena(allocator));
124 explicit PODArena(PassRefPtr<Allocator> allocator) argument
125 : m_allocator(allocator)
166 Chunk(Allocator* allocator, size_t size) argument
167 : m_allocator(allocator)
/external/chromium/third_party/libjingle/source/talk/p2p/base/
H A Dsessionmanager.cc41 SessionManager::SessionManager(PortAllocator *allocator, argument
43 allocator_ = allocator;
H A Dtransport.cc84 PortAllocator* allocator)
86 worker_thread_(worker_thread), type_(type), allocator_(allocator),
81 Transport(talk_base::Thread* signaling_thread, talk_base::Thread* worker_thread, const std::string& type, PortAllocator* allocator) argument
/external/chromium/third_party/libjingle/source/talk/p2p/client/
H A Dbasicportallocator.h106 BasicPortAllocatorSession(BasicPortAllocator* allocator,
111 virtual BasicPortAllocator* allocator() { return allocator_; } function in class:cricket::BasicPortAllocatorSession
H A Dhttpportallocator.cc121 HttpPortAllocator* allocator, const std::string &name,
127 : BasicPortAllocatorSession(allocator, name, session_type),
174 request->set_proxy(allocator()->proxy());
120 HttpPortAllocatorSession( HttpPortAllocator* allocator, const std::string &name, const std::string& session_type, const std::vector<talk_base::SocketAddress>& stun_hosts, const std::vector<std::string>& relay_hosts, const std::string& relay_token, const std::string& user_agent) argument
/external/webkit/Source/JavaScriptCore/wtf/
H A DTCPageMap.h68 void init(void* (*allocator)(size_t)) { argument
69 array_ = reinterpret_cast<void**>((*allocator)(sizeof(void*) << BITS));
117 void* (*allocator_)(size_t); // Memory allocator
122 void init(void* (*allocator)(size_t)) { argument
123 allocator_ = allocator;
211 void* (*allocator_)(size_t); // Memory allocator
224 void init(void* (*allocator)(size_t)) { argument
225 allocator_ = allocator;

Completed in 464 milliseconds

1234