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

1234567

/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...]
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/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/dbus/dbus/
H A Ddbus-dataslot.c40 * Initializes a data slot allocator object, used to assign
43 * @param allocator the allocator to initialize
46 _dbus_data_slot_allocator_init (DBusDataSlotAllocator *allocator) argument
48 allocator->allocated_slots = NULL;
49 allocator->n_allocated_slots = 0;
50 allocator->n_used_slots = 0;
51 allocator->lock_loc = NULL;
63 * @param allocator the allocator
69 _dbus_data_slot_allocator_alloc(DBusDataSlotAllocator *allocator, DBusMutex **mutex_loc, dbus_int32_t *slot_id_p) argument
165 _dbus_data_slot_allocator_free(DBusDataSlotAllocator *allocator, dbus_int32_t *slot_id_p) argument
237 _dbus_data_slot_list_set(DBusDataSlotAllocator *allocator, DBusDataSlotList *list, int slot, void *data, DBusFreeFunction free_data_func, DBusFreeFunction *old_free_func, void **old_data) argument
298 _dbus_data_slot_list_get(DBusDataSlotAllocator *allocator, DBusDataSlotList *list, int slot) argument
382 DBusDataSlotAllocator allocator; local
[all...]
H A Ddbus-dataslot.h53 * An allocator that tracks a set of slot IDs.
73 dbus_bool_t _dbus_data_slot_allocator_init (DBusDataSlotAllocator *allocator);
74 dbus_bool_t _dbus_data_slot_allocator_alloc (DBusDataSlotAllocator *allocator,
77 void _dbus_data_slot_allocator_free (DBusDataSlotAllocator *allocator,
80 dbus_bool_t _dbus_data_slot_list_set (DBusDataSlotAllocator *allocator,
87 void* _dbus_data_slot_list_get (DBusDataSlotAllocator *allocator,
/external/webkit/Source/WebCore/platform/graphics/android/context/
H A DGraphicsOperation.cpp36 void* Operation::operator new(size_t size, LinearAllocator* allocator) argument
38 return allocator->alloc(size);
/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/webkit/Source/WebCore/platform/graphics/win/
H A DQTCFDictionary.cpp33 CFDataRef QTCFPropertyListCreateXMLData(CFAllocatorRef allocator, CFPropertyListRef propertyList) argument
36 typedef CFDataRef (* pfnCFPropertyListCreateXMLData)(CFAllocatorRef allocator, CFPropertyListRef propertyList);
45 return pCFPropertyListCreateXMLData(allocator, propertyList);
49 CFDictionaryRef QTCFDictionaryCreateCopyWithDataCallback(CFAllocatorRef allocator, CFDictionaryRef dictionary, QTCFDictonaryCreateFromDataCallback callback) argument
57 CFDictionaryRef outputDictionary = callback(allocator, CFDataGetBytePtr(data), CFDataGetLength(data));
/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/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/clang/test/SemaCXX/
H A DPR9902.cpp23 struct allocator {}; struct
27 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/webkit/Source/WebKit/chromium/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;
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();
/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);
/external/webkit/Source/WebCore/platform/text/cf/
H A DStringImplCF.cpp53 return CFSTR("WTF::String-based allocator");
109 // allocator that are mutable, and those typically are only created by callers who
110 // make a new string using the old string's allocator, such as some of the call
126 static CFAllocatorRef allocator() function in namespace:WTF::StringWrapperCFAllocator
128 static CFAllocatorRef allocator = create(); local
129 return allocator;
136 CFAllocatorRef allocator = (m_length && isMainThread()) ? StringWrapperCFAllocator::allocator() : 0; local
137 if (!allocator)
140 // Put pointer to the StringImpl in a global so the allocator ca
[all...]
/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/compiler-rt/lib/tsan/rtl/
H A Dtsan_mman.cc23 Allocator *allocator() { function in namespace:__tsan
28 allocator()->Init();
32 allocator()->SwallowCache(&thr->alloc_cache);
47 void *p = allocator()->Allocate(&thr->alloc_cache, sz, align);
50 MBlock *b = (MBlock*)allocator()->GetMetaData(p);
66 MBlock *b = (MBlock*)allocator()->GetMetaData(p);
82 allocator()->Deallocate(&thr->alloc_cache, p);
109 return (MBlock*)allocator()->GetMetaData(p);

Completed in 903 milliseconds

1234567