Home
last modified time | relevance | path

Searched refs:allocator (Results 1 – 25 of 510) sorted by relevance

12345678910>>...21

/external/chromium_org/gpu/command_buffer/common/
Did_allocator_test.cc25 IdAllocator *allocator = id_allocator(); in TEST_F() local
27 EXPECT_FALSE(allocator->InUse(1)); in TEST_F()
30 ResourceId id1 = allocator->AllocateID(); in TEST_F()
31 EXPECT_TRUE(allocator->InUse(id1)); in TEST_F()
35 ResourceId id2 = allocator->AllocateID(); in TEST_F()
36 EXPECT_TRUE(allocator->InUse(id2)); in TEST_F()
40 allocator->FreeID(id1); in TEST_F()
41 EXPECT_FALSE(allocator->InUse(id1)); in TEST_F()
44 allocator->FreeID(id2); in TEST_F()
45 EXPECT_FALSE(allocator->InUse(id2)); in TEST_F()
[all …]
/external/stlport/src/
Ddll_main.cpp114 template class _STLP_CLASS_DECLSPEC allocator<_STLP_PRIV _Slist_node_base*>; variable
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
140 template class _STLP_CLASS_DECLSPEC _STLP_alloc_proxy<locale::facet**, locale::facet*, allocator<lo…
141 template class _STLP_CLASS_DECLSPEC _Vector_base<locale::facet*, allocator<locale::facet*> >;
148 …PEC __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<locale::facet*> …
[all …]
Dstring.cpp33 template class _STLP_CLASS_DECLSPEC allocator<char>; variable
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 …_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
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 …SS_DECLSPEC __construct_checker<basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > >;
[all …]
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_…
34 template class _STLP_CLASS_DECLSPEC basic_ostringstream<wchar_t, char_traits<wchar_t>, allocator<wc…
35 template class _STLP_CLASS_DECLSPEC basic_istringstream<wchar_t, char_traits<wchar_t>, allocator<wc…
36 template class _STLP_CLASS_DECLSPEC basic_stringstream<wchar_t, char_traits<wchar_t>, allocator<wch…
/external/llvm/test/CodeGen/X86/
D2009-11-17-UpdateTerminator.ll8 …std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string<char, std::char_tr…
9 …ntInfo,std::allocator<llvm::InlineAsm::ConstraintInfo> >" = type { %"struct.std::_Vector_base<llvm…
10 %"struct.std::_Vector_base<llvm::InlineAsm::ConstraintInfo,std::allocator<llvm::InlineAsm::Constrai…
11allocator<char> >,std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<ch…
12 …std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string<char, std::char_tr…
13 %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Alloc_hider" = type…
14 …g" = type { %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Alloc_…
15 …ntInfo,std::allocator<llvm::InlineAsm::ConstraintInfo> >" = type { %"struct.std::_Vector_base<llvm…
16allocator<char> >,std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<ch…
18 …, i64 %Str.1, %"struct.std::vector<llvm::InlineAsm::ConstraintInfo,std::allocator<llvm::InlineAsm:…
Dscev-interchange.ll8 …,std::allocator<Polynomials::Polynomial<double> > >", i32, %"struct.std::vector<int,std::allocator
9 …mial<double>" = type { %struct.Subscriptor, %"struct.std::vector<double,std::allocator<double> >" }
15 …%"struct.std::_Bvector_base<std::allocator<bool> >" = type { %"struct.std::_Bvector_base<std::allo…
16 …%"struct.std::_Bvector_base<std::allocator<bool> >::_Bvector_impl" = type { %"struct.std::_Bit_con…
17 …ouble>,std::allocator<Polynomials::Polynomial<double> > >" = type { %"struct.std::_Vector_base<Pol…
18 …%"struct.std::_Vector_base<Polynomials::Polynomial<double>,std::allocator<Polynomials::Polynomial<…
19 …struct.std::_Vector_base<double,std::allocator<double> >" = type { %"struct.std::_Vector_base<doub…
20 …%"struct.std::_Vector_base<double,std::allocator<double> >::_Vector_impl" = type { double*, double…
21 …%"struct.std::_Vector_base<int,std::allocator<int> >" = type { %"struct.std::_Vector_base<int,std:…
22 %"struct.std::_Vector_base<int,std::allocator<int> >::_Vector_impl" = type { i32*, i32*, i32* }
[all …]
/external/stlport/stlport/stl/
D_alloc.h270 class allocator //: public _AllocatorAux<_Tp>
274 : public __stlport_class<allocator<_Tp> >
286 typedef allocator<_Tp1> other;
289 allocator() _STLP_NOTHROW {} in allocator() function
291 template <class _Tp1> allocator(const allocator<_Tp1>&) _STLP_NOTHROW {} in allocator() function
293 allocator(const allocator<_Tp>&) _STLP_NOTHROW {} in allocator() function
295 allocator(__move_source<allocator<_Tp> > _STLP_UNUSED(src)) _STLP_NOTHROW {} in allocator() function
297 ~allocator() _STLP_NOTHROW {} in ~allocator()
359 void _M_swap_workaround(allocator<_Tp>& __other) {} in _M_swap_workaround()
364 class _STLP_CLASS_DECLSPEC allocator<void> {
[all …]
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_t> > wistringstream;
[all …]
/external/chromium_org/v8/src/
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)) { in INLINE() argument
104 void Add(const T& element, AllocationPolicy allocator = AllocationPolicy());
108 AllocationPolicy allocator = AllocationPolicy());
112 AllocationPolicy allocator = AllocationPolicy());
[all …]
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) { in TemplateHashMapImpl() argument
119 Initialize(initial_capacity, allocator); in TemplateHashMapImpl()
132 void* key, uint32_t hash, bool insert, AllocationPolicy allocator) { in Lookup() argument
149 Resize(allocator); in Lookup()
279 uint32_t capacity, AllocationPolicy allocator) { in Initialize() argument
281 map_ = reinterpret_cast<Entry*>(allocator.New(capacity * sizeof(Entry))); in Initialize()
[all …]
/external/chromium_org/third_party/WebKit/Source/wtf/
DPartitionAllocTest.cpp54 static PartitionAllocator<kTestMaxAllocation> allocator; variable
69 allocator.init(); in TestSetup()
76 EXPECT_TRUE(allocator.shutdown()); in TestShutdown()
83 WTF::PartitionBucket* bucket = &allocator.root()->buckets()[bucketIdx]; in GetFullPage()
89 void* ptr = partitionAlloc(allocator.root(), size); in GetFullPage()
100 EXPECT_TRUE(bucket->activePagesHead != &allocator.root()->seedPage); in GetFullPage()
121 WTF::PartitionBucket* bucket = &allocator.root()->buckets()[kTestBucketIndex]; in TEST()
127 void* ptr = partitionAlloc(allocator.root(), kTestAllocSize); in TEST()
144 void* leakedPtr = partitionAlloc(allocator.root(), kTestAllocSize); in TEST()
146 EXPECT_FALSE(allocator.shutdown()); in TEST()
[all …]
/external/chromium_org/base/allocator/
Dallocator_shim.cc48 static Allocator allocator = WINHEAP; variable
50 static Allocator allocator = TCMALLOC; variable
120 switch (allocator) { in malloc()
143 switch (allocator) { in free()
166 switch (allocator) { in realloc()
193 switch (allocator) { in malloc_stats()
210 switch (allocator) { in _msize()
228 switch (allocator) { in get_allocator_waste_size_thunk()
264 allocator = JEMALLOC; in _heap_init()
266 allocator = WINHEAP; in _heap_init()
[all …]
/external/oprofile/libregex/tests/
Dmangled-name.in17 vector<basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> >, allocator<…
20 map<int, image_name, less<int>, allocator<image_name> >
23 …ring<char, string_char_traits<char>, __default_alloc_template<true, 0> > >, allocator<image_name> >
26 multimap<int, long, less<int>, allocator<long> >
29 prefix_multimap<int, long, less<int>, allocator<long> >
30 prefix_multimap<int, long, less<int>, allocator<long>>
32 map<int, long, compare, allocator<long> >
45 deque<int, allocator<int>, 0>
48 std::deque<int, std::allocator<int>, 0>
51 prefix_deque<int, allocator<int>, 0>
[all …]
/external/llvm/test/Transforms/InstCombine/
D2009-02-20-InstCombine-SROA.ll8 %"struct.__gnu_cxx::__normal_iterator<int*,std::vector<int, std::allocator<int> > >" = type { i32* }
9 %"struct.std::_Vector_base<int,std::allocator<int> >" = type { %"struct.std::_Vector_base<int,std::
10 %"struct.std::_Vector_base<int,std::allocator<int> >::_Vector_impl" = type { i32*, i32*, i32* }
15 %"struct.std::vector<int,std::allocator<int> >" = type { %"struct.std::_Vector_base<int,std::alloca…
17 define i32* @_Z3fooRSt6vectorIiSaIiEE(%"struct.std::vector<int,std::allocator<int> >"* %X) {
19 %0 = alloca %"struct.__gnu_cxx::__normal_iterator<int*,std::vector<int, std::allocator<int> > >"
20 …r.i.i = alloca %"struct.__gnu_cxx::__normal_iterator<int*,std::vector<int, std::allocator<int> > >"
21 …r.i.i = alloca %"struct.__gnu_cxx::__normal_iterator<int*,std::vector<int, std::allocator<int> > >"
24 …ddr.i = alloca %"struct.__gnu_cxx::__normal_iterator<int*,std::vector<int, std::allocator<int> > >"
26 %3 = alloca %"struct.__gnu_cxx::__normal_iterator<int*,std::vector<int, std::allocator<int> > >"
[all …]
/external/compiler-rt/lib/lsan/
Dlsan_allocator.cc43 static Allocator allocator; variable
47 allocator.Init(); in InitializeAllocator()
51 allocator.SwallowCache(&cache); in AllocatorThreadFinish()
55 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p)); in Metadata()
83 void *p = allocator.Allocate(&cache, size, alignment, cleared); in Allocate()
90 allocator.Deallocate(&cache, p); in Deallocate()
98 allocator.Deallocate(&cache, p); in Reallocate()
101 p = allocator.Reallocate(&cache, p, new_size, alignment); in Reallocate()
120 allocator.ForceLock(); in LockAllocator()
124 allocator.ForceUnlock(); in UnlockAllocator()
[all …]
/external/llvm/test/CodeGen/Thumb2/
D2009-10-15-ITBlockBranch.ll5 …mal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::allocator<char> > >" = typ…
7 …ar>,std::allocator<char> >" = type { %"struct.__gnu_cxx::__normal_iterator<char*,std::basic_string…
8 …::char_traits<char>,std::allocator<char> >::_Rep" = type { %"struct.std::basic_string<char,std::ch…
9 %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep_base" = type { …
12 …std::char_traits<char>,std::allocator<char> >"* %this, %"struct.std::basic_string<char,std::char_t…
18 …NKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %this)…
19 …NKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %__str…
22 …s7_M_dataEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %this)…
23 …NKSs4dataEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %__str…
38 …ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %this)
[all …]
D2009-08-02-CoalescerBug.ll8 %"struct.std::CharVectorType" = type { %"struct.std::_Vector_base<char,std::allocator<char> >" }
11 …%"struct.std::_Bvector_base<std::allocator<bool> >" = type { %"struct.std::_Bvector_base<std::allo…
12 …%"struct.std::_Bvector_base<std::allocator<bool> >::_Bvector_impl" = type { %"struct.std::_Bit_con…
13 …%"struct.std::_Vector_base<char,std::allocator<char> >" = type { %"struct.std::_Vector_base<char,s…
14 %"struct.std::_Vector_base<char,std::allocator<char> >::_Vector_impl" = type { i8*, i8*, i8* }
15 …<short unsigned int,std::allocator<short unsigned int> >" = type { %"struct.std::_Vector_base<shor…
16 …%"struct.std::_Vector_base<short unsigned int,std::allocator<short unsigned int> >::_Vector_impl" …
18 …%"struct.std::vector<bool,std::allocator<bool> >" = type { %"struct.std::_Bvector_base<std::alloca…
19 …<short unsigned int,std::allocator<short unsigned int> >" = type { %"struct.std::_Vector_base<shor…
21allocator<bool> >", %"struct.xalanc_1_8::XalanDOMString", i8, i8, i8, i8, i8, %"struct.xalanc_1_8:…
[all …]
/external/chromium/base/allocator/
Dallocator_shim.cc44 static Allocator allocator = WINHEAP; variable
113 switch (allocator) { in malloc()
141 switch (allocator) { in free()
165 switch (allocator) { in realloc()
197 switch (allocator) { in malloc_stats()
214 switch (allocator) { in _msize()
236 allocator = JEMALLOC; in _heap_init()
238 allocator = WINHEAP; in _heap_init()
240 allocator = WINLFH; in _heap_init()
242 allocator = TCMALLOC; in _heap_init()
[all …]
/external/compiler-rt/lib/msan/
Dmsan_allocator.cc37 static Allocator allocator; variable
45 allocator.Init(); in Init()
51 void *res = allocator.Allocate(&cache, size, alignment, false); in MsanAllocate()
52 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(res)); in MsanAllocate()
72 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(p)); in MsanDeallocate()
80 allocator.Deallocate(&cache, p); in MsanDeallocate()
91 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(old_p)); in MsanReallocate()
93 uptr actually_allocated_size = allocator.GetActuallyAllocatedSize(old_p); in MsanReallocate()
113 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
116 Metadata *b = (Metadata*)allocator.GetMetaData(p); in AllocationSize()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mman.cc68 Allocator *allocator() { in allocator() function
73 allocator()->Init(); in InitializeAllocator()
77 allocator()->InitCache(&thr->alloc_cache); in AllocatorThreadStart()
82 allocator()->DestroyCache(&thr->alloc_cache); in AllocatorThreadFinish()
87 allocator()->PrintStats(); in AllocatorPrintStats()
108 void *p = allocator()->Allocate(&thr->alloc_cache, sz, align); in user_alloc()
111 MBlock *b = new(allocator()->GetMetaData(p)) MBlock; in user_alloc()
124 MBlock *b = (MBlock*)allocator()->GetMetaData(p); in user_free()
139 allocator()->Deallocate(&thr->alloc_cache, p); in user_free()
167 MBlock *b = (MBlock*)allocator()->GetMetaData(p); in user_alloc_usable_size()
[all …]
/external/llvm/test/Transforms/IndVarSimplify/
D2004-04-05-InvokeCastCrash.ll6allocator<int> >" = type { %"struct.__gnu_cxx::hashtable<std::pair<const llvm::Value* const, int>,…
7allocator<const llvm::Constant*> >" = type { %"struct.__gnu_cxx::hashtable<const llvm::Constant*,c…
8allocator<const llvm::Constant*> >" = type { %struct.__false_type, %struct.__false_type, %struct._…
9allocator<int> >" = type { %struct.__false_type, %struct.__false_type, %struct.__false_type, %stru…
17 …m::AbstractTypeUser", %"struct.std::vector<llvm::AbstractTypeUser*,std::allocator<llvm::AbstractTy…
28allocator<const llvm::Constant*> >", %"struct.__gnu_cxx::hash_map<const llvm::Value*,int,__gnu_cxx…
30 …Instr" = type { i16, i8, %"struct.std::vector<llvm::MachineOperand,std::allocator<llvm::MachineOpe…
36 …%"struct.std::vector<std::pair<const llvm::PassInfo*, llvm::Pass*>,std::allocator<std::pair<const …
37 …t.std::type_info"*, i8, %"struct.std::vector<const llvm::PassInfo*,std::allocator<const llvm::Pass…
46 …32 (...)**, %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >", %"stru…
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_testlib.cc46 static Allocator allocator; variable
57 allocator.SwallowCache(&cache); in thread_dtor()
63 allocator.Init(); in thread_init()
76 void *p = allocator.Allocate(&cache, size, 8); in malloc()
85 allocator.Deallocate(&cache, p); in free()
92 void *p = allocator.Allocate(&cache, size, 8, false); in calloc()
104 p = allocator.Reallocate(&cache, p, size, 8); in realloc()
114 void *p = allocator.Allocate(&cache, size, alignment); in memalign()
122 *memptr = allocator.Allocate(&cache, size, alignment); in posix_memalign()
132 void *p = allocator.Allocate(&cache, size, GetPageSizeCached()); in valloc()
/external/llvm/test/Transforms/GVN/
D2009-03-10-PREOnVoid.ll13allocator<ShadowInfo> > >,std::_Select1st<std::pair<void* const, std::vector<ShadowInfo, std::allo…
14allocator<ShadowInfo> > >,std::_Select1st<std::pair<void* const, std::vector<ShadowInfo, std::allo…
15 …%"struct.std::_Rb_tree_iterator<std::pair<void* const, std::vector<ShadowInfo, std::allocator<Shad…
17 …o, std::allocator<ShadowInfo> > > >,bool>" = type { %"struct.std::_Rb_tree_iterator<std::pair<void…
37allocator<ShadowInfo> > > >,bool>"* noalias nocapture sret %agg.result, %"struct.std::_Rb_tree<voi…
/external/chromium_org/third_party/WebKit/Source/platform/
DPODArenaTest.cpp67 RefPtr<TrackedAllocator> allocator = TrackedAllocator::create(); in TEST_F() local
68 RefPtr<PODArena> arena = PODArena::create(allocator); in TEST_F()
72 EXPECT_GT(allocator->numRegions(), 1); in TEST_F()
78 RefPtr<TrackedAllocator> allocator = TrackedAllocator::create(); in TEST_F() local
80 RefPtr<PODArena> arena = PODArena::create(allocator); in TEST_F()
83 EXPECT_GT(allocator->numRegions(), 0); in TEST_F()
85 EXPECT_TRUE(allocator->isEmpty()); in TEST_F()
/external/libvpx/libvpx/nestegg/halloc/src/
Dhalloc.c44 #define allocator halloc_allocator macro
63 if (! allocator) in halloc()
66 assert(allocator); in halloc()
75 p = allocator(0, len + sizeof_hblock); in halloc()
93 p = allocator(p, len + sizeof_hblock); in halloc()
106 allocator(p, 0); in halloc()
178 assert(! allocator); in _set_allocator()
190 allocator = realloc; in _set_allocator()
198 allocator = _realloc; in _set_allocator()
251 allocator(q, 0); in _free_children()

12345678910>>...21