Searched refs:allocator (Results 1 - 25 of 299) sorted by relevance

1234567891011>>

/external/stlport/src/
H A Dsstream.cpp27 template class _STLP_CLASS_DECLSPEC basic_stringbuf<char, char_traits<char>, allocator<char> >;
28 template class _STLP_CLASS_DECLSPEC basic_ostringstream<char, char_traits<char>, allocator<char> >;
29 template class _STLP_CLASS_DECLSPEC basic_istringstream<char, char_traits<char>, allocator<char> >;
30 template class _STLP_CLASS_DECLSPEC basic_stringstream<char, char_traits<char>, allocator<char> >;
33 template class _STLP_CLASS_DECLSPEC basic_stringbuf<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
34 template class _STLP_CLASS_DECLSPEC basic_ostringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
35 template class _STLP_CLASS_DECLSPEC basic_istringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
36 template class _STLP_CLASS_DECLSPEC basic_stringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
H A Dstring.cpp33 template class _STLP_CLASS_DECLSPEC allocator<char>; variable in typeref:class:_STLP_CLASS_DECLSPEC
37 template class _STLP_CLASS_DECLSPEC _STLP_alloc_proxy<char*, char, allocator<char> >;
38 template class _STLP_CLASS_DECLSPEC _String_base<char, allocator<char> >;
43 template class _STLP_CLASS_DECLSPEC basic_string<char, char_traits<char>, allocator<char> >;
44 template class _STLP_CLASS_DECLSPEC __construct_checker<basic_string<char, char_traits<char>, allocator<char> > >;
55 template class _STLP_CLASS_DECLSPEC basic_string<char, char_traits<char>, allocator<char> >;
63 template class _STLP_CLASS_DECLSPEC allocator<wchar_t>; variable in typeref:class:_STLP_CLASS_DECLSPEC
67 template class _STLP_CLASS_DECLSPEC _String_base<wchar_t, allocator<wchar_t> >;
72 template class _STLP_CLASS_DECLSPEC basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
73 template class _STLP_CLASS_DECLSPEC __construct_checker<basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_
[all...]
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/chromium_org/gpu/command_buffer/common/
H A Did_allocator_test.cc25 IdAllocator *allocator = id_allocator(); local
27 EXPECT_FALSE(allocator->InUse(1));
30 ResourceId id1 = allocator->AllocateID();
31 EXPECT_TRUE(allocator->InUse(id1));
35 ResourceId id2 = allocator->AllocateID();
36 EXPECT_TRUE(allocator->InUse(id2));
40 allocator->FreeID(id1);
41 EXPECT_FALSE(allocator->InUse(id1));
44 allocator->FreeID(id2);
45 EXPECT_FALSE(allocator
50 IdAllocator *allocator = id_allocator(); local
74 IdAllocator* allocator = id_allocator(); local
92 IdAllocator* allocator = id_allocator(); local
104 IdAllocator* allocator = id_allocator(); local
114 IdAllocator* allocator = id_allocator(); local
[all...]
/external/chromium/base/allocator/
H A Dallocator_shim.h9 namespace allocator { namespace in namespace:base
18 } // namespace allocator.
H A Dallocator_shim.cc5 #include "base/allocator/allocator_shim.h"
33 TCMALLOC, // TCMalloc is the default allocator.
35 WINHEAP, // Windows Heap (standard Windows allocator).
39 // This is the default allocator. This value can be changed at startup by
42 // allocator.
44 static Allocator allocator = WINHEAP; variable
47 // selection of the allocator. The primary may be used to control overall
48 // allocator selection, and the secondary can be used to specify an allocator
113 switch (allocator) {
282 namespace allocator { namespace in namespace:base
[all...]
/external/chromium_org/third_party/WebKit/public/web/
H A DWebMemoryUsageInfo.h34 WebMemoryUsageInfo(const WebString& allocator, size_t allocated) argument
35 : allocatorName(allocator)
/external/clang/test/CodeCompletion/
H A Dtemplates.cpp3 class allocator { class in namespace:std
8 template<typename T, typename Alloc = std::allocator<T> >
21 // CHECK-CC1: allocator<<#typename T#>>
/external/chromium_org/v8/src/
H A Dlist.h53 explicit List(AllocationPolicy allocator = AllocationPolicy()) {
54 Initialize(0, allocator);
57 AllocationPolicy allocator = AllocationPolicy())) {
58 Initialize(capacity, allocator);
70 AllocationPolicy allocator = AllocationPolicy())) {
71 return allocator.New(static_cast<int>(size));
78 INLINE(void operator delete(void* p, AllocationPolicy allocator)) { argument
104 void Add(const T& element, AllocationPolicy allocator = AllocationPolicy());
108 AllocationPolicy allocator = AllocationPolicy());
112 AllocationPolicy allocator
[all...]
/external/stlport/stlport/stl/
H A D_string_fwd.h31 class _Alloc = allocator<_CharT> >
40 typedef basic_string<char, char_traits<char>, allocator<char> > string;
43 typedef basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > wstring;
H A D_alloc.h56 // Malloc-based allocator. Typically slower than default alloc below.
86 // New-based allocator. Typically slower than default alloc below.
98 // NDEBUG, but it's far better to just use the underlying allocator
145 // Default node allocator.
175 /* macro to convert the allocator for initialization
179 * not used implicitly to convert allocator parameter, so let us do it explicitly */
191 // Another allocator adaptor: _Alloc_traits. This serves two
193 // either SGI-style allocators or standard-conforming allocator.
270 class allocator //: public _AllocatorAux<_Tp> class in inherits:__stlport_class
271 /* A small helper struct to recognize STLport allocator implementatio
364 class _STLP_CLASS_DECLSPEC allocator<void> { class
388 _STLP_EXPORT_TEMPLATE_CLASS allocator<char>; variable
390 _STLP_EXPORT_TEMPLATE_CLASS allocator<wchar_t>; variable
393 _STLP_EXPORT_TEMPLATE_CLASS allocator<void*>; variable
465 __stl_alloc_create(const allocator<_Tp1>&, const _Tp2*) argument
[all...]
/external/chromium_org/base/allocator/
H A Dallocator_shim.h11 namespace allocator { namespace in namespace:base
24 } // namespace allocator.
H A Dallocator_shim.cc5 #include "base/allocator/allocator_shim.h"
8 #include "base/allocator/allocator_extension_thunks.h"
37 TCMALLOC, // TCMalloc is the default allocator.
39 WINHEAP, // Windows Heap (standard Windows allocator).
43 // This is the default allocator. This value can be changed at startup by
46 // allocator.
50 static Allocator allocator = WINHEAP; variable
52 static Allocator allocator = TCMALLOC; variable
55 // selection of the allocator. The primary may be used to control overall
56 // allocator selectio
405 namespace allocator { namespace in namespace:base
[all...]
H A Dallocator_extension_thunks.h11 namespace allocator { namespace in namespace:base
15 // new allocator extension from a specific allocator implementation to base.
33 } // namespace allocator
/external/chromium_org/skia/ext/
H A Dimage_operations.h105 SkBitmap::Allocator* allocator = NULL);
112 SkBitmap::Allocator* allocator = NULL);
122 SkBitmap::Allocator* allocator = NULL);
128 SkBitmap::Allocator* allocator = NULL);
/external/clang/test/Analysis/
H A DNewDelete-custom.cpp10 void *allocator(std::size_t size);
12 void *operator new[](std::size_t size) throw() { return allocator(size); }
13 void *operator new(std::size_t size) throw() { return allocator(size); }
14 void *operator new(std::size_t size, std::nothrow_t& nothrow) throw() { return allocator(size); }
/external/clang/test/SemaCXX/
H A DPR9902.cpp24 struct allocator {}; struct
28 allocator_traits<allocator<char>>::rebind_alloc<int> a;
/external/stlport/test/compiler/
H A Deh.cc1 #include <list> /* required, to expose allocator */
14 typedef allocator<BigStruct> BigStructAllocType;
35 allocator<BigStruct> all;
/external/compiler-rt/lib/lsan/
H A Dlsan_allocator.cc43 static Allocator allocator; member in namespace:__lsan
47 allocator.Init();
51 allocator.SwallowCache(&cache);
55 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p));
83 void *p = allocator.Allocate(&cache, size, alignment, cleared);
90 allocator.Deallocate(&cache, p);
98 allocator.Deallocate(&cache, p);
101 p = allocator.Reallocate(&cache, p, new_size, alignment);
120 allocator.ForceLock();
124 allocator
[all...]
/external/chromium_org/third_party/WebKit/Source/core/tests/
H A DPODArenaTest.cpp67 RefPtr<TrackedAllocator> allocator = TrackedAllocator::create(); local
68 RefPtr<PODArena> arena = PODArena::create(allocator);
72 EXPECT_GT(allocator->numRegions(), 1);
78 RefPtr<TrackedAllocator> allocator = TrackedAllocator::create(); local
80 RefPtr<PODArena> arena = PODArena::create(allocator);
83 EXPECT_GT(allocator->numRegions(), 0);
85 EXPECT_TRUE(allocator->isEmpty());
/external/clang/test/CodeGenCXX/
H A Dweak-external.cpp30 template<class T> class allocator;
33 class _Allocator = allocator<_CharT> >
35 typedef basic_string<char, char_traits<char>, allocator<char> > string;
/external/compiler-rt/lib/msan/
H A Dmsan_allocator.cc12 // MemorySanitizer allocator.
37 static Allocator allocator; member in namespace:__msan
45 allocator.Init();
51 void *res = allocator.Allocate(&cache, size, alignment, false);
52 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(res));
72 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(p));
80 allocator.Deallocate(&cache, p);
91 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(old_p));
93 uptr actually_allocated_size = allocator.GetActuallyAllocatedSize(old_p);
113 const void *beg = allocator
[all...]
/external/chromium_org/webkit/renderer/compositor_bindings/
H A Dweb_external_bitmap_impl.cc18 SharedMemoryAllocationFunction allocator) {
19 g_memory_allocator = allocator;
17 SetSharedMemoryAllocationFunction( SharedMemoryAllocationFunction allocator) argument
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_mman.cc68 Allocator *allocator() { function in namespace:__tsan
73 allocator()->Init();
77 allocator()->InitCache(&thr->alloc_cache);
82 allocator()->DestroyCache(&thr->alloc_cache);
87 allocator()->PrintStats();
108 void *p = allocator()->Allocate(&thr->alloc_cache, sz, align);
111 MBlock *b = new(allocator()->GetMetaData(p)) MBlock;
124 MBlock *b = (MBlock*)allocator()->GetMetaData(p);
139 allocator()->Deallocate(&thr->alloc_cache, p);
167 MBlock *b = (MBlock*)allocator()
[all...]
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/
H A Dp8.cpp79 template <class Tp> class allocator;
82 class allocator<void> class in namespace:redecl::n1
89 class allocator class in namespace:redecl::n1
94 void allocate(allocator<void>::const_pointer = 0);

Completed in 791 milliseconds

1234567891011>>