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

1234567

/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...]
H A D_iostream_string.h18 * The only diference rely on the allocator used to instanciate the basic_string.
20 * that could occur when requesting a big float ouput for instance. This allocator
41 class __iostring_allocator : public allocator<_CharT> {
47 typedef allocator<_CharT> _Base;
76 * As the __iostring_allocator allocator will only be used in the basic_string implementation
99 * A consequence of the non standard conformant allocator is that a string using it
100 * must always be presized to the allocator static buffer size because the basic_string implementation
101 * do not manage an allocator returning always the same memory adress as long as the
132 # define _STLP_BASIC_IOSTRING(_CharT) basic_string<_CharT, char_traits<_CharT>, allocator<_CharT> >
H A D_sstream.h107 _STLP_EXPORT_TEMPLATE_CLASS basic_stringbuf<char, char_traits<char>, allocator<char> >;
109 _STLP_EXPORT_TEMPLATE_CLASS basic_stringbuf<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
246 _STLP_EXPORT_TEMPLATE_CLASS basic_istringstream<char, char_traits<char>, allocator<char> >;
247 _STLP_EXPORT_TEMPLATE_CLASS basic_ostringstream<char, char_traits<char>, allocator<char> >;
248 _STLP_EXPORT_TEMPLATE_CLASS basic_stringstream<char, char_traits<char>, allocator<char> >;
250 _STLP_EXPORT_TEMPLATE_CLASS basic_istringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
251 _STLP_EXPORT_TEMPLATE_CLASS basic_ostringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
252 _STLP_EXPORT_TEMPLATE_CLASS basic_stringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
/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);
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.
232 // This STL compatible allocator is intended to be used as the allocator
256 pool_allocator() : allocator(GlobalPoolAllocator) { }
257 pool_allocator(TPoolAllocator& a) : allocator(a) { }
258 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...]
/external/clang/test/CodeGenCXX/
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 {
H A Deh.cpp93 template <class T> struct allocator { struct in namespace:test6
94 ~allocator() throw() { }
98 allocator<int> a;
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 Dthunk-use-after-free.cpp12 template < typename _Tp > struct allocator:new_allocator < _Tp > { struct in inherits:new_allocator
26 allocator < _Tp > >struct vector:_Vector_base < _Tp, _Alloc > { };
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(); }
/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/clang/test/Index/
H A Dindex-templates.cpp6 template<typename T> class allocator;
8 template<typename T, typename Alloc = allocator<T> >
93 typename Allocator = allocator<Pair<Key, Value> > >
113 // CHECK-LOAD: index-templates.cpp:6:28: ClassTemplate=allocator:6:28 Extent=[6:1 - 6:37]
118 // CHECK-LOAD: index-templates.cpp:8:39: TemplateRef=allocator:6:28 Extent=[8:39 - 8:48]
189 // CHECK-USRS: index-templates.cpp c:@CT>1#T@allocator Extent=[6:1 - 6:37]
198 // CHECK-USRS: index-templates.cpp c:@C@vector>#$@S@Z1#$@C@allocator>#S0_ Extent=[18:1 - 18:26]
200 // CHECK-USRS: index-templates.cpp c:@C@vector>#$@S@Z2#$@C@allocator>#S0_ Extent=[22:1 - 25:2]
201 // CHECK-USRS: index-templates.cpp c:@C@vector>#$@S@Z2#$@C@allocator>#S0_@F@clear# Extent=[24:3 - 24:15]
207 // CHECK-USRS: index-templates.cpp c:@F@f#$@S@map>#$@S@Z4#$@S@Pair>#I#S1_#$@S@compare>#$@S@Pair>#S1_#S2_#$@C@allocator>#S4
[all...]
/external/clang/test/SemaTemplate/
H A Dissue150.cpp75 template<typename > struct allocator ;
89 template<class> class = allocator> class IntervalSet>
98 template<class> class = allocator> class IntervalSet>
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/clang/test/Analysis/
H A Dcfref_PR2519.c19 extern CFDictionaryRef CFDictionaryCreate(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks);
23 extern CFNumberRef CFNumberCreate(CFAllocatorRef allocator, CFNumberType theType, const void *valuePtr);
H A DCFNumber.c16 extern CFNumberRef CFNumberCreate(CFAllocatorRef allocator, CFNumberType theType, const void *valuePtr);
/external/clang/test/Misc/
H A Ddiagnostic-crash.cpp3 template <typename _Alloc> class allocator;
6 typename _Alloc = allocator<_CharT> >
/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...]
H A Drawriter_test.cpp43 allocator<X> a;
/external/chromium/third_party/libjingle/source/talk/p2p/client/
H A Dhttpportallocator.h99 HttpPortAllocator* allocator,
119 virtual HttpPortAllocator* allocator() { function in class:cricket::HttpPortAllocatorSession
121 BasicPortAllocatorSession::allocator());
/external/stlport/src/
H A Dmessage_facets.h44 allocator<pair<_STLP_CONST nl_catd_type, locale> > > map_type;
79 allocator<pair<_STLP_CONST messages_base::catalog, nl_catd_type> > > map_type;
81 allocator<pair<_STLP_CONST nl_catd_type, messages_base::catalog> > > rmap_type;
/external/webkit/Source/JavaScriptCore/jit/
H A DExecutableAllocatorFixedVMPool.cpp485 static FixedVMPoolAllocator* allocator = 0; member in namespace:JSC
491 return allocator ? allocator->allocated() : 0;
502 if (!allocator)
503 allocator = new FixedVMPoolAllocator();
504 return allocator->isValid();
511 return allocator && (allocator->allocated() > (FixedVMPoolPageTables::size() / 2));
517 ASSERT(allocator);
518 return allocator
[all...]
/external/chromium/third_party/libjingle/source/talk/p2p/base/
H A Drawtransport.h44 PortAllocator* allocator);
/external/clang/test/SemaCXX/
H A Dcrashes.cpp4 template<typename _Alloc> class allocator;
7 typename _Alloc = allocator<_CharT> >

Completed in 2040 milliseconds

1234567