Searched refs:allocator (Results 26 - 50 of 299) sorted by relevance

1234567891011>>

/external/clang/test/CodeGenCXX/
H A Dlpad-linetable.cpp14 class allocator class in namespace:std
19 { typedef allocator<_Tp1> other; };
20 ~allocator() throw() { }
37 template<typename _Tp, typename _Alloc = std::allocator<_Tp> >
H A Dglobal-init.cpp55 struct allocator { allocator(); ~allocator(); }; struct in namespace:test2
56 struct A { A(const allocator &a = allocator()); ~A(); };
H A Dmangle-subst-std.cpp24 template<typename> struct allocator { }; struct in namespace:std
28 void f(std::allocator<char>, std::allocator<int>) { }
40 typedef std::basic_string<char, std::char_traits<char>, std::allocator<char> > string;
95 typedef basic_string<char, std::char_traits<char>, std::allocator<char> > not_string;
H A Dexceptions.cpp7 struct allocator { struct in namespace:test0
8 allocator();
9 allocator(const allocator&);
10 ~allocator();
17 throw allocator();
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,
200 std::allocator;
205 allocator < _Tp > >class hash_map {
/external/valgrind/main/drd/tests/
H A Dcustom_alloc_fiw.stderr.exp2 --free-is-write=yes is incompatible with custom memory allocator client requests
6 --free-is-write=yes is incompatible with custom memory allocator client requests
/external/chromium_org/third_party/WebKit/Source/core/platform/text/cf/
H A DStringImplCF.cpp51 return CFSTR("WTF::String-based allocator");
107 // allocator that are mutable, and those typically are only created by callers who
108 // make a new string using the old string's allocator, such as some of the call
119 static CFAllocatorRef allocator() function in namespace:WTF::StringWrapperCFAllocator
121 static CFAllocatorRef allocator = create(); local
122 return allocator;
136 CFAllocatorRef allocator = StringWrapperCFAllocator::allocator(); local
138 // Put pointer to the StringImpl in a global so the allocator can store it with the CFString.
144 string = CFStringCreateWithBytesNoCopy(allocator, reinterpret_cas
[all...]
/external/chromium_org/third_party/WebKit/Source/core/tests/
H A DPODFreeListArenaTest.cpp75 RefPtr<TrackedAllocator> allocator = TrackedAllocator::create(); local
76 RefPtr<PODFreeListArena<TestClass1> > arena = PODFreeListArena<TestClass1>::create(allocator);
80 EXPECT_GT(allocator->numRegions(), 1);
86 RefPtr<TrackedAllocator> allocator = TrackedAllocator::create(); local
88 RefPtr<PODFreeListArena<TestClass1> > arena = PODFreeListArena<TestClass1>::create(allocator);
91 EXPECT_GT(allocator->numRegions(), 0);
93 EXPECT_TRUE(allocator->isEmpty());
/external/stlport/src/
H A Dlocale_impl.h35 _STLP_EXPORT_TEMPLATE_CLASS allocator<locale::facet*>; variable
39 _STLP_EXPORT_TEMPLATE_CLASS _STLP_alloc_proxy<locale::facet**, locale::facet*, allocator<locale::facet*> >;
40 _STLP_EXPORT_TEMPLATE_CLASS _Vector_base<locale::facet*, allocator<locale::facet*> >;
47 _STLP_EXPORT_TEMPLATE_CLASS __construct_checker<_STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> > >;
48 _STLP_EXPORT_TEMPLATE_CLASS _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> >;
53 _STLP_EXPORT_TEMPLATE_CLASS vector<locale::facet*, allocator<locale::facet*> >;
72 basic_string<char, char_traits<char>, allocator<char> > name;
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_testlib.cc46 static Allocator allocator; member in namespace:__anon16740
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/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/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Dportallocatorfactory.cc45 talk_base::RefCountedObject<PortAllocatorFactory>* allocator = local
47 return allocator;
70 scoped_ptr<cricket::BasicPortAllocator> allocator(
82 allocator->AddRelay(relay_server);
89 return allocator.release();
H A Dfakeportallocatorfactory.h28 // This file defines a fake port allocator factory used for testing.
42 talk_base::RefCountedObject<FakePortAllocatorFactory>* allocator = local
44 return allocator;
/external/chromium_org/v8/src/
H A Dhashmap.h52 AllocationPolicy allocator = AllocationPolicy());
72 AllocationPolicy allocator = AllocationPolicy());
109 void Initialize(uint32_t capacity, AllocationPolicy allocator);
110 void Resize(AllocationPolicy allocator);
117 MatchFun match, uint32_t initial_capacity, AllocationPolicy allocator) {
119 Initialize(initial_capacity, allocator);
132 void* key, uint32_t hash, bool insert, AllocationPolicy allocator) {
149 Resize(allocator);
279 uint32_t capacity, AllocationPolicy allocator) {
281 map_ = reinterpret_cast<Entry*>(allocator
116 TemplateHashMapImpl( MatchFun match, uint32_t initial_capacity, AllocationPolicy allocator) argument
131 Lookup( void* key, uint32_t hash, bool insert, AllocationPolicy allocator) argument
278 Initialize( uint32_t capacity, AllocationPolicy allocator) argument
292 Resize(AllocationPolicy allocator) argument
[all...]
H A Dsplay-tree.h61 SplayTree(AllocationPolicy allocator = AllocationPolicy())
62 : root_(NULL), allocator_(allocator) { }
66 AllocationPolicy allocator = AllocationPolicy())) {
67 return allocator.New(static_cast<int>(size));
77 AllocationPolicy allocator() { return allocator_; } function in class:v8::internal::SplayTree
131 INLINE(void* operator new(size_t size, AllocationPolicy allocator)) { argument
132 return allocator.New(static_cast<int>(size));
139 INLINE(void operator delete(void* p, AllocationPolicy allocator)) { argument
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapScaler.h96 SkBitmap::Allocator* allocator = NULL);
105 SkBitmap::Allocator* allocator = NULL);
/external/skia/src/core/
H A DSkBitmapScaler.h96 SkBitmap::Allocator* allocator = NULL);
105 SkBitmap::Allocator* allocator = NULL);
/external/chromium_org/base/allocator/
H A Dallocator_extension.h10 #include "base/allocator/allocator_extension_thunks.h"
15 namespace allocator { namespace in namespace:base
17 // Request the allocator to report value of its waste memory size.
26 // Request that the allocator print a human-readable description of the current
27 // state of the allocator into a null-terminated string in the memory segment
34 // Request that the allocator release any free memory it knows about to the
39 // These settings allow specifying a callback used to implement the allocator
41 // once. These will typically called in an allocator-specific initialization
56 } // namespace allocator
H A Dallocator_extension_thunks.cc5 #include "base/allocator/allocator_extension_thunks.h"
10 namespace allocator { namespace in namespace:base
51 } // namespace allocator
H A Dtcmalloc_unittest.cc5 #include "base/allocator/allocator_shim.h"
12 using base::allocator::TCMallocDoMallocForTest;
13 using base::allocator::TCMallocDoFreeForTest;
14 using base::allocator::ExcludeSpaceForMarkForTest;
/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DPODFreeListArena.h45 static PassRefPtr<PODFreeListArena> create(PassRefPtr<Allocator> allocator) argument
47 return adoptRef(new PODFreeListArena(allocator));
85 explicit PODFreeListArena(PassRefPtr<Allocator> allocator) argument
86 : PODArena(allocator), m_freeList(0) { }
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));
113 explicit PODArena(PassRefPtr<Allocator> allocator) argument
114 : m_allocator(allocator)
155 Chunk(Allocator* allocator, size_t size) argument
156 : m_allocator(allocator)
/external/stlport/stlport/stl/
H A D_iosfwd.h45 _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) >
49 _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) >
53 _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) >
57 _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) >
125 typedef basic_stringbuf<char, char_traits<char>, allocator<char> > stringbuf;
126 typedef basic_istringstream<char, char_traits<char>, allocator<char> > istringstream;
127 typedef basic_ostringstream<char, char_traits<char>, allocator<char> > ostringstream;
128 typedef basic_stringstream<char, char_traits<char>, allocator<char> > stringstream;
142 typedef basic_stringbuf<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > wstringbuf;
143 typedef basic_istringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_
[all...]
/external/chromium_org/third_party/angle_dx11/src/compiler/
H A DPoolAlloc.h15 // This header defines an allocator that can be used to efficiently
27 // Individual classes can use this allocator by supplying their own
30 // STL containers can use this allocator by using the pool_allocator
31 // class as the allocator (second) template argument.
220 // with everyone using the same global allocator.
226 // This STL compatible allocator is intended to be used as the allocator
250 pool_allocator() : allocator(GetGlobalPoolAllocator()) { }
251 pool_allocator(TPoolAllocator& a) : allocator(&a) { }
252 pool_allocator(const pool_allocator<T>& p) : allocator(
297 TPoolAllocator* allocator; member in class:pool_allocator
[all...]
/external/chromium/base/
H A Dstack_container.h14 // This allocator can be used with STL containers to provide a stack buffer
19 // STL likes to make copies of allocators, so the allocator itself can't hold
21 // StackAllocator::Source which contains the data. Copying the allocator
23 // based on our allocator will share the same stack buffer.
33 class StackAllocator : public std::allocator<T> {
35 typedef typename std::allocator<T>::pointer pointer;
36 typedef typename std::allocator<T>::size_type size_type;
38 // Backing store for the allocator. The container owner is responsible for
39 // maintaining this for as long as any containers using this allocator are
68 // Used by containers when they want to refer to an allocator o
[all...]

Completed in 674 milliseconds

1234567891011>>